/* AI generated: Responsive landing page styles based on the supplied AI Chat reference. */
:root {
  --bg: #f7fbff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: #ffffff;
  --ink: #071033;
  --muted: #506187;
  --line: rgba(95, 124, 181, 0.18);
  --blue: #2563ff;
  --blue-2: #5b6cff;
  --violet: #7c4dff;
  --cyan: #10d7f5;
  --green: #22c55e;
  --shadow: 0 20px 60px rgba(42, 80, 170, 0.12);
  --shadow-soft: 0 12px 34px rgba(50, 75, 140, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 8%, rgba(124, 77, 255, 0.12), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(16, 215, 245, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(124, 77, 255, 0.12), transparent 32%, rgba(16, 215, 245, 0.16), transparent 68%, rgba(37, 99, 255, 0.1)),
    repeating-linear-gradient(90deg, rgba(37, 99, 255, 0.035) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(124, 77, 255, 0.026) 0 1px, transparent 1px 96px);
  background-size: 180% 180%, 96px 96px, 96px 96px;
  animation: backgroundDrift 26s ease-in-out infinite alternate;
  will-change: background-position;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(247, 251, 255, 0.54) 48%, rgba(255, 255, 255, 0.72));
}

.animated-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint style;
}

.motion-ribbon {
  position: absolute;
  left: -12%;
  width: 124%;
  height: 150px;
  opacity: 0.34;
  filter: blur(8px);
  transform: translate3d(-3%, 0, 0) rotate(-9deg);
  background: linear-gradient(90deg, transparent 0%, rgba(124, 77, 255, 0.14) 18%, rgba(37, 99, 255, 0.13) 44%, rgba(16, 215, 245, 0.14) 68%, transparent 100%);
  animation: ribbonFlow 20s ease-in-out infinite alternate;
  will-change: transform;
}

.ribbon-one {
  top: 10%;
}

.ribbon-two {
  top: 44%;
  opacity: 0.28;
  transform: rotate(7deg);
  animation-duration: 18s;
  animation-delay: -4s;
}

.ribbon-three {
  top: 72%;
  opacity: 0.22;
  transform: rotate(-4deg);
  animation-duration: 22s;
  animation-delay: -8s;
}

.motion-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(37, 99, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 77, 255, 0.07) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
  animation: gridFlow 34s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.motion-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2563ff;
  box-shadow:
    0 0 0 8px rgba(37, 99, 255, 0.08),
    0 0 30px rgba(37, 99, 255, 0.42);
  opacity: 0.62;
  transform: translate3d(0, 0, 0);
  animation: nodeDrift 13s ease-in-out infinite alternate;
  will-change: transform;
}

.node-one {
  left: 18%;
  top: 24%;
}

.node-two {
  left: 68%;
  top: 18%;
  width: 12px;
  height: 12px;
  background: #7c4dff;
  animation-duration: 12s;
  animation-delay: -3s;
}

.node-three {
  left: 82%;
  top: 58%;
  background: #10d7f5;
  animation-duration: 11s;
  animation-delay: -6s;
}

.node-four {
  left: 34%;
  top: 74%;
  width: 11px;
  height: 11px;
  background: #22c55e;
  animation-duration: 14s;
  animation-delay: -5s;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1640px, 100%);
  margin: 0 auto;
  padding: 34px 42px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(103, 129, 190, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 48px rgba(38, 71, 154, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 28px rgba(37, 99, 255, 0.22);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.header-actions {
  gap: 12px;
}

.language-switcher {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 250, 255, 0.9);
}

.language-button,
.ghost-button,
.primary-button {
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.language-button {
  min-width: 54px;
  min-height: 36px;
  padding: 7px 14px;
  color: var(--muted);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
}

.language-button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 10px 24px rgba(75, 94, 255, 0.22);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  color: var(--blue);
  border: 1px solid rgba(37, 99, 255, 0.55);
  border-radius: var(--radius);
  background: #ffffff;
  font-weight: 700;
}

.ghost-button:hover,
.primary-button:hover,
.channel-card:hover {
  transform: translateY(-2px);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(300px, 0.76fr) minmax(340px, 0.74fr);
  align-items: center;
  gap: 26px;
  min-height: auto;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  padding: 10px 16px;
  color: #6236f5;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.11);
  font-weight: 700;
}

.eyebrow svg {
  width: 18px;
  height: 18px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--violet), var(--blue), #16a3ff);
  background-clip: text;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
}

.trust-row,
.channel-actions,
.metric-strip,
.impact-strip,
.feature-grid,
.api-tabs,
.form-assurance {
  display: grid;
  gap: 16px;
}

.trust-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 26px;
}

.trust-row article,
.metric-strip article,
.impact-strip article,
.feature-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
}

.trust-row article {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.trust-row i,
.metric-strip i,
.impact-strip i,
.feature-grid i,
.trust-row article > svg,
.metric-strip article > svg,
.impact-strip article > svg,
.feature-grid article > svg {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--blue);
  border-radius: 50%;
  background: rgba(37, 99, 255, 0.1);
}

.trust-row svg,
.metric-strip svg,
.impact-strip svg,
.feature-grid svg {
  width: 22px;
  height: 22px;
}

.trust-row article > svg,
.metric-strip article > svg,
.impact-strip article > svg,
.feature-grid article > svg {
  padding: 10px;
  overflow: visible;
}

.trust-row strong,
.metric-strip strong,
.impact-strip strong,
.feature-grid strong {
  font-weight: 800;
}

.trust-row small,
.metric-strip span,
.impact-strip span,
.feature-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.channel-actions {
  grid-template-columns: repeat(2, minmax(0, 300px));
}

.channel-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.channel-card strong,
.channel-card small {
  display: block;
}

.channel-card small {
  margin-top: 5px;
  color: var(--muted);
}

.channel-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.22);
}

.channel-icon.whatsapp,
.channel-icon.wechat {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
  perspective: 900px;
}

.hero-bot-image {
  position: relative;
  z-index: 2;
  width: min(620px, 112%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 32px 42px rgba(37, 99, 255, 0.18));
  animation: heroBotFloat 7s ease-in-out infinite;
  will-change: transform;
}

.hero-chat-stream {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-chat-bubble {
  position: absolute;
  display: grid;
  gap: 10px;
  width: min(300px, 58%);
  padding: 16px 18px;
  color: var(--ink);
  border: 1px solid rgba(95, 124, 181, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(42, 80, 170, 0.14);
  backdrop-filter: blur(10px);
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  animation: chatBubbleFloat 8s ease-in-out infinite;
}

.hero-chat-bubble p {
  margin: 0;
  color: #34476d;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.bubble-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
}

.bubble-avatar {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #14b8a6);
  font-size: 12px;
  font-weight: 800;
}

.agent-avatar,
.action-avatar {
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.bubble-avatar svg {
  width: 15px;
  height: 15px;
}

.customer-bubble {
  left: -34px;
  bottom: 76px;
  animation-delay: -1.4s;
}

.agent-bubble {
  right: -30px;
  top: -18px;
  animation-delay: -3.2s;
}

.action-bubble {
  right: 34px;
  bottom: 6px;
  width: min(260px, 52%);
  animation-delay: -5.1s;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(78, 105, 230, 0.32);
  border-radius: 50%;
}

.orbit-one {
  width: min(390px, 78vw);
  height: min(390px, 78vw);
  animation: spin 42s linear infinite;
  will-change: transform;
}

.orbit-two {
  width: min(300px, 62vw);
  height: min(300px, 62vw);
  animation: spin 36s linear infinite reverse;
  will-change: transform;
}

.floating-badge {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  animation: float 4.8s ease-in-out infinite;
}

.floating-badge svg {
  width: 30px;
  height: 30px;
}

.badge-security {
  top: 54px;
  left: 22%;
  color: var(--green);
}

.badge-chat {
  top: 76px;
  right: 18%;
  color: var(--blue-2);
  animation-delay: -1.2s;
}

.badge-chart {
  right: 12%;
  bottom: 98px;
  color: var(--violet);
  animation-delay: -2.2s;
}

.robot {
  position: relative;
  width: min(300px, 68vw);
  height: 405px;
  filter: drop-shadow(0 30px 38px rgba(37, 99, 255, 0.17));
  transform-style: preserve-3d;
  animation: robotBob 5.2s ease-in-out infinite;
}

.antenna {
  position: absolute;
  left: 50%;
  top: 34px;
  width: 8px;
  height: 58px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--violet), var(--blue));
}

.antenna::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #91f5ff, var(--violet) 48%, var(--blue));
  box-shadow: 0 0 24px rgba(37, 99, 255, 0.35);
}

.robot-head {
  position: absolute;
  left: 50%;
  top: 72px;
  width: 246px;
  height: 190px;
  transform: translateX(-50%);
  border-radius: 42% 42% 36% 36%;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.95) 0 28%, transparent 42%),
    linear-gradient(145deg, #ffffff 0%, #f4f8ff 48%, #d9e7ff 100%);
  box-shadow:
    inset -20px -22px 42px rgba(73, 112, 204, 0.18),
    inset 16px 16px 34px rgba(255, 255, 255, 0.86),
    0 32px 60px rgba(29, 80, 180, 0.18);
}

.robot-head::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 27px;
  width: 78px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  transform: rotate(-12deg);
}

.robot-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 82px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(82, 120, 222, 0.13);
}

.face {
  position: absolute;
  left: 50%;
  top: 58px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 178px;
  height: 84px;
  transform: translateX(-50%);
  border-radius: 34px;
  background:
    radial-gradient(circle at 32% 28%, rgba(20, 244, 255, 0.16), transparent 26%),
    linear-gradient(145deg, #020925, #071340 56%, #0b1d5d);
  box-shadow:
    inset 0 0 28px rgba(16, 215, 245, 0.13),
    0 12px 24px rgba(8, 21, 74, 0.18);
  overflow: hidden;
}

.face::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 28%, rgba(255, 255, 255, 0.13) 42%, transparent 58%);
  transform: translateX(-120%);
  animation: faceShine 4.6s ease-in-out infinite;
}

.face span {
  width: 34px;
  height: 18px;
  border-top: 7px solid #15f4ff;
  border-radius: 999px 999px 0 0;
  filter: drop-shadow(0 0 8px rgba(21, 244, 255, 0.72));
}

.ear {
  position: absolute;
  top: 78px;
  width: 24px;
  height: 66px;
  border-radius: 999px;
  background: linear-gradient(180deg, #39ddff, #198cff 64%, var(--blue));
  box-shadow: inset -6px -8px 14px rgba(3, 48, 160, 0.2), 0 10px 20px rgba(37, 99, 255, 0.24);
}

.ear.left {
  left: -12px;
}

.ear.right {
  right: -12px;
}

.robot-body {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 190px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 48% 48% 42% 42%;
  background:
    radial-gradient(circle at 38% 18%, #ffffff 0 32%, transparent 45%),
    linear-gradient(145deg, #ffffff, #eef5ff 58%, #c9dcff);
  box-shadow:
    inset -18px -22px 36px rgba(95, 129, 205, 0.17),
    inset 15px 12px 28px rgba(255, 255, 255, 0.82),
    0 28px 50px rgba(29, 80, 180, 0.18);
}

.robot-body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 80px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(37, 99, 255, 0.1);
}

.robot-arm {
  position: absolute;
  top: 28px;
  width: 38px;
  height: 112px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #d9e7ff);
  box-shadow: inset -9px -10px 16px rgba(99, 129, 204, 0.18);
}

.robot-arm.left {
  left: -32px;
  transform: rotate(28deg);
}

.robot-arm.right {
  right: -32px;
  transform: rotate(-14deg);
}

.chest {
  position: absolute;
  left: 50%;
  top: 52px;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  transform: translateX(-50%);
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--violet), var(--blue));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.18), 0 16px 32px rgba(77, 92, 255, 0.28);
  animation: chestPulse 2.8s ease-in-out infinite;
}

.contact-card,
.metric-strip,
.integration-section,
.features-section,
.workflow-section,
.api-section,
.impact-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.contact-card {
  align-self: center;
  padding: 30px;
}

.contact-card h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 2.5vw, 34px);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.6;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #485a82;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  color: var(--ink);
  border: 1px solid rgba(95, 124, 181, 0.24);
  border-radius: var(--radius);
  outline: 0;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(37, 99, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(37, 99, 255, 0.12);
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

.checkbox-line a {
  color: var(--blue);
  font-weight: 800;
}

.primary-button {
  min-height: 58px;
  color: #ffffff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 18px 36px rgba(37, 99, 255, 0.24);
  font-weight: 800;
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.form-message.is-success {
  color: #059669;
}

.form-message.is-error {
  color: #dc2626;
}

.form-assurance {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  font-size: 12px;
  color: #486084;
}

.form-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.form-assurance svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.metric-strip,
.impact-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 36px;
  padding: 22px 24px;
}

.metric-strip article,
.impact-strip article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  min-width: 0;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.metric-strip article strong,
.metric-strip article span,
.impact-strip article strong,
.impact-strip article span {
  display: block;
  min-width: 0;
}

.metric-strip article strong,
.impact-strip article strong {
  margin-bottom: 5px;
  line-height: 1.15;
}

.metric-strip article:last-child,
.impact-strip article:last-child {
  border-right: 0;
}

.metric-strip i,
.impact-strip i,
.metric-strip article > svg,
.impact-strip article > svg {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
}

.metric-strip article strong,
.metric-strip article span,
.impact-strip article strong,
.impact-strip article span {
  grid-column: 2;
}

.integration-section,
.features-section,
.workflow-section,
.api-section {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 44px);
}

.section-copy {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-copy.centered {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.18;
}

.section-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.integration-flow {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(190px, 0.7fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 20px;
}

.flow-card,
.agent-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.flow-card h3,
.agent-card h3 {
  text-align: center;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.icon-grid span {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.icon-grid i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--blue);
  border-radius: 14px;
  background: rgba(37, 99, 255, 0.09);
}

.icon-grid span > svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--blue);
  border-radius: 14px;
  background: rgba(37, 99, 255, 0.09);
}

.flow-arrow {
  display: grid;
  color: var(--blue-2);
}

.agent-card {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(124, 77, 255, 0.11), rgba(37, 99, 255, 0.08));
}

.mini-robot {
  position: relative;
  width: min(150px, 42vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(37, 99, 255, 0.16));
  animation: miniBotFloat 7.5s ease-in-out infinite;
  will-change: transform;
}

.agent-card p {
  color: var(--blue);
  font-weight: 800;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(95, 124, 181, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, rgba(247, 250, 255, 0.92));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-grid article:hover,
.api-tab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.workflow-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.workflow-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 190px;
  padding: 18px 12px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  text-align: center;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.workflow-step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -18px;
  width: 20px;
  height: 1px;
  border-top: 1px dashed rgba(37, 99, 255, 0.42);
}

.workflow-step:last-child::after {
  display: none;
}

.workflow-step i,
.workflow-step > svg {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: var(--blue);
  border: 1px solid rgba(37, 99, 255, 0.28);
  border-radius: 50%;
  background: #ffffff;
}

.workflow-step svg {
  width: 26px;
  height: 26px;
}

.workflow-step > svg {
  width: 66px;
  height: 66px;
  padding: 18px;
}

.workflow-step span {
  color: var(--muted);
  line-height: 1.45;
}

.workflow-step.is-active {
  border-color: rgba(37, 99, 255, 0.22);
  background: rgba(37, 99, 255, 0.06);
  transform: translateY(-4px);
}

.api-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.api-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 66px;
  padding: 12px 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.api-tab svg {
  width: 23px;
  height: 23px;
  color: var(--blue);
}

.api-tab.is-active {
  color: var(--blue);
  border-color: rgba(37, 99, 255, 0.38);
  box-shadow: var(--shadow-soft);
}

.api-detail {
  margin-top: 18px;
  padding: 22px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.impact-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 36px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes robotBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroBotFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(1deg);
  }
}

@keyframes chatBubbleFloat {
  0%,
  100% {
    opacity: 0.86;
    transform: translate3d(0, 0, 0);
  }
  45% {
    opacity: 1;
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes backgroundDrift {
  0% {
    background-position: 0% 50%, 0 0, 0 0;
  }
  100% {
    background-position: 100% 50%, 28px 16px, -20px 24px;
  }
}

@keyframes ribbonFlow {
  0% {
    transform: translate3d(-4%, 0, 0) rotate(-9deg);
  }
  100% {
    transform: translate3d(6%, 18px, 0) rotate(-5deg);
  }
}

@keyframes gridFlow {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(88px, 88px, 0);
  }
}

@keyframes nodeDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(54px, -34px, 0);
  }
}

@keyframes miniBotFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes faceShine {
  0%,
  58%,
  100% {
    transform: translateX(-120%);
  }
  72% {
    transform: translateX(120%);
  }
}

@keyframes chestPulse {
  0%,
  100% {
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.18), 0 16px 32px rgba(77, 92, 255, 0.28);
  }
  50% {
    box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.26), 0 16px 38px rgba(77, 92, 255, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .motion-ribbon,
  .motion-grid,
  .motion-node,
  .orbit,
  .hero-bot-image,
  .mini-robot {
    animation: none !important;
  }

  .channel-card,
  .feature-grid article,
  .api-tab,
  .workflow-step {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-height: 820px) and (min-width: 1000px) {
  .page-shell {
    padding-top: 18px;
  }

  .site-header {
    margin-bottom: 22px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(38px, 3.35vw, 52px);
  }

  .hero-description {
    margin-bottom: 14px;
    line-height: 1.55;
  }

  .trust-row {
    margin-bottom: 14px;
    gap: 12px;
  }

  .trust-row article {
    min-height: 78px;
    padding: 12px;
  }

  .channel-card {
    min-height: 82px;
    padding: 14px;
  }

  .channel-icon {
    width: 48px;
    height: 48px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-bot-image {
    width: min(520px, 108%);
  }

  .floating-badge {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-card h2 {
    font-size: 28px;
  }

  form {
    gap: 10px;
  }

  input,
  textarea {
    min-height: 46px;
    padding: 12px 14px;
  }

  textarea {
    max-height: 104px;
  }

  .primary-button {
    min-height: 50px;
  }
}

@media (max-width: 1180px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
  }

  .hero-chat-bubble {
    width: min(270px, 54%);
    padding: 14px 16px;
  }

  .agent-bubble {
    right: 0;
  }

  .customer-bubble {
    left: 0;
  }

  .contact-card {
    grid-column: 1 / -1;
  }

  .metric-strip,
  .impact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip article,
  .impact-strip article {
    border-right: 0;
  }

  .workflow-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-step::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .motion-ribbon {
    height: 120px;
    opacity: 0.2;
    filter: blur(4px);
    animation-duration: 34s;
  }

  .ribbon-two,
  .ribbon-three,
  .node-three,
  .node-four {
    display: none;
  }

  .motion-grid {
    opacity: 0.18;
    background-size: 112px 112px;
    animation-duration: 46s;
  }

  .motion-node {
    opacity: 0.38;
    animation-duration: 18s;
  }

  .page-shell {
    padding: 20px;
  }

  .site-header {
    align-items: flex-start;
    border-radius: 22px;
    top: 10px;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-section,
  .integration-flow {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 20px;
  }

  .hero-visual {
    min-height: 460px;
    order: 2;
  }

  .hero-chat-bubble {
    width: min(280px, 50%);
  }

  .customer-bubble {
    left: 6%;
    bottom: 46px;
  }

  .agent-bubble {
    right: 5%;
    top: 44px;
  }

  .action-bubble {
    display: none;
  }

  .contact-card {
    order: 3;
  }

  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .feature-grid,
  .api-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip {
    margin-top: 28px;
  }
}

@media (max-width: 640px) {
  body::before {
    animation-duration: 38s;
  }

  .motion-ribbon {
    opacity: 0.16;
    animation-duration: 48s;
  }

  .motion-grid {
    opacity: 0.14;
    animation-duration: 60s;
  }

  .node-two {
    display: none;
  }

  .page-shell {
    padding: 14px;
  }

  .site-header {
    position: static;
    display: grid;
    justify-items: stretch;
    gap: 14px;
    padding: 14px;
  }

  .brand {
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
  }

  .ghost-button {
    width: 100%;
    justify-content: center;
  }

  .language-switcher {
    width: 100%;
  }

  .language-button {
    flex: 1;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.13;
  }

  .hero-description {
    font-size: 16px;
  }

  .trust-row,
  .channel-actions,
  .metric-strip,
  .impact-strip,
  .feature-grid,
  .api-tabs,
  .workflow-line,
  .form-assurance {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 470px;
    align-content: start;
  }

  .hero-bot-image {
    width: min(360px, 96vw);
  }

  .hero-chat-stream {
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    gap: 10px;
    margin-top: -34px;
  }

  .hero-chat-bubble {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 13px 14px;
    animation: chatBubbleFloat 9s ease-in-out infinite;
  }

  .hero-chat-bubble p {
    font-size: 14px;
  }

  .agent-bubble {
    animation-delay: -3s;
  }

  .customer-bubble {
    display: none;
  }

  .contact-card,
  .integration-section,
  .features-section,
  .workflow-section,
  .api-section,
  .metric-strip,
  .impact-strip {
    padding: 20px;
  }

  .metric-strip article,
  .impact-strip article {
    align-items: flex-start;
    padding-right: 0;
  }
}
