:root {
  /* Brand colors — preserved from original */
  --accent: #3b5bdb;
  --accent-dark: #88a0ff;
  --accent-soft: rgba(59, 91, 219, 0.16);
  --accent-line: rgba(199, 210, 255, 0.42);
  --brand-violet: #5540de;
  --indigo: #6366f1;
  --violet: #7c3aed;
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* xAI-inspired surface tokens */
  --canvas: #0a0a0a;
  --canvas-card: #141416;
  --canvas-soft: #1a1c20;
  --hairline: #212327;
  --hairline-soft: rgba(255, 255, 255, 0.08);

  /* Text */
  --ink: #ffffff;
  --body: #dadbdf;
  --mute: #7d8187;

  /* Spacing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  font-family: "Inter", "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% -4%, rgba(59, 91, 219, 0.34), transparent 32rem),
    radial-gradient(circle at 84% 6%, rgba(124, 58, 237, 0.2), transparent 34rem),
    radial-gradient(circle at 52% 42%, rgba(59, 130, 246, 0.08), transparent 38rem),
    linear-gradient(180deg, #050509 0%, var(--canvas) 44%, #030305 100%);
  overflow-x: hidden;
  font-weight: 400;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

main, footer {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 65%);
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 20px;
  padding-right: 0;
  border: 1px solid transparent;
  border-radius: 9999px;
  transition: 280ms var(--ease);
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(10, 10, 10, 0.86);
  border-color: var(--hairline);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--brand-violet));
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.main-nav a,
.login-link,
.register-link {
  transition: color 180ms var(--ease);
}

.main-nav a:hover,
.login-link:hover,
.register-link:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 400;
}

/* ─── Buttons ─── */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 9999px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid var(--hairline);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
  will-change: transform;
}

.button:active {
  transform: translate3d(var(--mx, 0), calc(var(--my, 0) + 1px), 0) scale(0.98);
}

.button-dark {
  color: #0a0a0a;
  background: #ffffff;
  border-color: #ffffff;
}

.button-dark:hover {
  background: #f0f0f0;
}

.button-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ink);
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.06);
}

.button-small {
  min-height: 34px;
  padding-inline: 14px;
  font-size: 13px;
}

/* ─── Menu toggle ─── */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  border-radius: 10px;
  background: #ffffff;
  transition: transform 180ms var(--ease);
}

/* ─── Sections ─── */
.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.compact { padding-top: 32px; }

/* ─── Eyebrow (xAI: mono, uppercase, tracked) ─── */
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ─── Typography ─── */
h1, h2, h3, p { margin: 0; }

h1 {
  max-width: 100%;
  min-height: calc(clamp(38px, 4.2vw, 64px) * 1.02 * 2);
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -1.6px;
  background: linear-gradient(135deg, #ffffff, #cdddf0, #f5d8b8, #cdddf0, #ffffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 8s ease-in-out infinite;
}

@keyframes textShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.typewriter-cursor {
  color: var(--accent);
  font-weight: 400;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

h2 {
  max-width: 720px;
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1.4px;
}

h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-copy p,
.final-panel p {
  max-width: 620px;
  margin-top: 20px;
  color: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 48px 36px;
  min-height: calc(100dvh - 72px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.hero-lead {
  max-width: 600px;
  margin-top: 20px;
  color: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.hero-lead span {
  display: inline;
}

.hero-lead-accent {
  color: var(--ink);
  padding: 2px 8px;
  background: rgba(59, 91, 219, 0.2);
  border-radius: 4px;
  white-space: nowrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.hero-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--mute);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 360px;
}

.hero-status span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.hero-avatars {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-avatars i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 2px solid var(--canvas);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  margin-left: -8px;
}

.hero-avatars i:first-child { margin-left: 0; }
.hero-avatars i:nth-child(1) { background: var(--accent); z-index: 3; }
.hero-avatars i:nth-child(2) { background: var(--info); z-index: 2; }
.hero-avatars i:nth-child(3) { background: var(--violet); z-index: 1; }

.hero-avatars small {
  margin-left: 10px;
  color: var(--mute);
  font-size: 12px;
  font-weight: 400;
}

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

.dashboard-glow {
  position: absolute;
  inset: 10% 0 0 10%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 91, 219, 0.18), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ─── Cards (xAI: 8px radius, hairline border, canvas-card fill) ─── */
.dashboard,
.wide-dashboard,
.analytics-board {
  border: 1px solid var(--hairline);
  background: var(--canvas-card);
}

.hero-dashboard {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  padding: 0;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.95), rgba(10, 10, 14, 0.98));
  overflow: hidden;
}

.hero-dashboard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wide-dashboard {
  border-radius: 8px;
  padding: 16px;
}

.analytics-board {
  border-radius: 8px;
  padding: 16px;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.015);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) { background: #ff5f57; }
.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }

.window-bar strong {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
  letter-spacing: -0.01em;
  margin-right: 40px;
}

/* ─── Inbox / Dashboard internals ─── */
.inbox-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.4fr 0.88fr;
  gap: 0;
}

.dialog-list,
.chat-panel,
.profile-card,
.dash-sidebar,
.dash-conversation,
.dash-profile {
  border: none;
  border-radius: 0;
  background: transparent;
}

.dialog-list {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-right: 1px solid var(--hairline);
  align-content: start;
}

.dialog {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--mute);
  cursor: default;
  transition: background 180ms var(--ease);
}

.dialog:hover {
  background: rgba(255, 255, 255, 0.03);
}

.dialog.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dialog.unread strong {
  color: var(--ink);
}

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

.dialog strong,
.profile-card strong {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.dialog small,
.profile-card small,
.chat-head small {
  margin-top: 2px;
  color: var(--mute);
  font-size: 10px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dialog b {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  color: #fff;
  background: var(--accent);
  font-size: 10px;
  font-weight: 400;
}

.channel {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ─── Chat panel ─── */
.chat-panel {
  display: flex;
  flex-direction: column;
  height: 440px;
  padding: 0;
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
}

.chat-head strong {
  font-size: 14px;
  font-weight: 400;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 9999px;
  color: var(--success);
  font-size: 11px;
  font-weight: 400;
  background: rgba(34, 197, 94, 0.08);
}

.live-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px 16px 8px;
  overflow-y: auto;
  overflow-x: hidden;
}

.message {
  width: fit-content;
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  position: relative;
  opacity: 1;
}

.message time {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.5;
  text-align: right;
}

.message.client {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 6px;
  color: var(--body);
}

.message.ai {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--brand-violet));
  border-bottom-right-radius: 6px;
}

.message.ai.is-latest {
  box-shadow: 0 4px 20px -8px rgba(59, 91, 219, 0.4);
}

.message.wide { max-width: 100%; }

.confidence {
  display: block;
  margin-top: 6px;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.04em;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
  margin-bottom: 6px;
  padding: 10px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: fit-content;
}

.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mute);
  animation: dotBounce 1.4s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
}

.composer-placeholder {
  flex: 1;
  color: var(--mute);
  font-size: 12px;
  font-weight: 400;
}

.composer-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 11px;
  animation: checkPop 3s ease-in-out infinite;
}

@keyframes checkPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ─── Integrations ─── */
.integrations-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(1300px, calc(100% - 32px));
}

.integrations-section .section-heading {
  margin-bottom: 48px;
}

/* ─── Layout ─── */
.intg-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 100px;
  align-items: center;
}

/* ─── Animated Hub ─── */
.intg-hub {
  position: relative;
  display: grid;
  place-items: center;
  height: 420px;
}

.hub-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
}

.hub-logo {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent), var(--brand-violet));
  color: #fff;
  font-size: 22px;
  font-weight: 400;
}

.hub-pulse {
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 2px solid rgba(59, 91, 219, 0.4);
  animation: hubPulse 2.4s ease-out infinite;
}

@keyframes hubPulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hub-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.ring-1 { inset: -60px; animation: spin 12s linear infinite; }
.ring-2 { inset: -110px; animation: spin 18s linear infinite reverse; }
.ring-3 { inset: -160px; animation: spin 24s linear infinite; }

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

.hub-ring i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 12px rgba(136, 160, 255, 0.7);
}

.ring-1 i:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.ring-1 i:nth-child(2) { bottom: 15%; right: 0; transform: translate(50%, -50%); }
.ring-1 i:nth-child(3) { bottom: 15%; left: 0; transform: translate(-50%, -50%); }

.ring-2 i:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--violet); }
.ring-2 i:nth-child(2) { top: 50%; right: 0; transform: translate(50%, -50%); }
.ring-2 i:nth-child(3) { bottom: 0; left: 50%; transform: translate(-50%, 50%); background: var(--violet); }
.ring-2 i:nth-child(4) { top: 50%; left: 0; transform: translate(-50%, -50%); }

.ring-3 i:nth-child(1) { top: 10%; right: 10%; transform: translate(50%, -50%); background: var(--success); }
.ring-3 i:nth-child(2) { bottom: 10%; left: 10%; transform: translate(-50%, 50%); }
.ring-3 i:nth-child(3) { top: 60%; right: 0; transform: translate(50%, -50%); background: var(--success); }

/* Hub particles */
.hub-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-dark);
  opacity: 0;
}

.p1 { animation: particle 3s ease-in-out infinite; }
.p2 { animation: particle 3s ease-in-out 0.7s infinite; }
.p3 { animation: particle 3s ease-in-out 1.4s infinite; }
.p4 { animation: particle 3s ease-in-out 2.1s infinite; }
.p5 { animation: particle 3.6s ease-in-out 0.4s infinite; background: var(--violet); }
.p6 { animation: particle 3.6s ease-in-out 2s infinite; background: var(--violet); }

.p1 { --px: -100px; --py: -120px; }
.p2 { --px: 120px; --py: -80px; }
.p3 { --px: -130px; --py: 60px; }
.p4 { --px: 80px; --py: 110px; }
.p5 { --px: -60px; --py: -150px; }
.p6 { --px: 140px; --py: 40px; }

@keyframes particle {
  0% { opacity: 0; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; top: calc(50% + var(--py, -140px)); left: calc(50% + var(--px, 100px)); transform: translate(-50%, -50%) scale(1); }
}

/* ─── Cards column ─── */
.intg-cards-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.intg-cat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intg-cat-label {
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  padding-left: 4px;
}

.intg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
}

/* ─── Cards ─── */
.intg-card {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  gap: 3px 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--canvas-card);
  transition: border-color 280ms var(--ease), background 280ms var(--ease), transform 280ms var(--ease);
}

.intg-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--canvas-soft);
  transform: translateY(-1px);
}

.intg-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  color: #fff;
}

.wa-icon  { background: #25D366; }
.tg-icon  { background: #0088cc; }
.ig-icon  { background: linear-gradient(135deg, #f77737, #c13584, #833AB4); }
.fb-icon  { background: #0084ff; }
.amocrm-icon { background: #428bf9; }
.b24-icon { background: #2fc6f6; }
.gc-icon  { background: #4285f4; }
.gs-icon  { background: #34a853; }

.intg-card strong {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  align-self: end;
}

.intg-card small {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.4;
  align-self: start;
}



.profile-card {
  padding: 16px;
  border-left: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), var(--brand-violet));
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}

.profile-head strong {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.profile-head small {
  display: block;
  margin-top: 2px;
  color: var(--mute);
  font-size: 10px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 11px;
}

.profile-row span {
  color: var(--mute);
}

.profile-row b { color: var(--ink); font-weight: 400; }

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.profile-tags span {
  padding: 4px 8px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-size: 10px;
  color: var(--mute);
  font-weight: 400;
}


/* ─── Social proof ─── */
.proof-head {
  text-align: center;
  margin-bottom: 40px;
}

.proof-title {
  max-width: 680px;
  margin: 0 auto;
}

/* ─── Marquee ─── */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.marquee-track {
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
  transition: transform 0.05s linear;
}

.biz-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 14px;
  flex-shrink: 0;
  min-width: 240px;
  padding: 18px 22px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--canvas-card);
  transition: transform 0.15s ease-out, border-color 0.3s ease;
  will-change: transform;
}

.biz-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--brand-violet));
  font-style: normal;
}

/* Each biz-card gets its own icon color via the card's position */
.marquee-inner .biz-card:nth-child(1) .biz-icon  { background: linear-gradient(145deg, #f472b6, #c026d3); }
.marquee-inner .biz-card:nth-child(2) .biz-icon  { background: linear-gradient(145deg, #34d399, #059669); }
.marquee-inner .biz-card:nth-child(3) .biz-icon  { background: linear-gradient(145deg, #f59e0b, #d97706); }
.marquee-inner .biz-card:nth-child(4) .biz-icon  { background: linear-gradient(145deg, #6366f1, #4f46e5); }
.marquee-inner .biz-card:nth-child(5) .biz-icon  { background: linear-gradient(145deg, #f87171, #dc2626); }
.marquee-inner .biz-card:nth-child(6) .biz-icon  { background: linear-gradient(145deg, #38bdf8, #0284c7); }
.marquee-inner .biz-card:nth-child(7) .biz-icon  { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.marquee-inner .biz-card:nth-child(8) .biz-icon  { background: linear-gradient(145deg, #fb923c, #ea580c); }
/* Duplicate cards (marquee clones) get same colors */
.marquee-inner .biz-card:nth-child(9) .biz-icon  { background: linear-gradient(145deg, #f472b6, #c026d3); }
.marquee-inner .biz-card:nth-child(10) .biz-icon { background: linear-gradient(145deg, #34d399, #059669); }
.marquee-inner .biz-card:nth-child(11) .biz-icon { background: linear-gradient(145deg, #f59e0b, #d97706); }
.marquee-inner .biz-card:nth-child(12) .biz-icon { background: linear-gradient(145deg, #6366f1, #4f46e5); }
.marquee-inner .biz-card:nth-child(13) .biz-icon { background: linear-gradient(145deg, #f87171, #dc2626); }
.marquee-inner .biz-card:nth-child(14) .biz-icon { background: linear-gradient(145deg, #38bdf8, #0284c7); }
.marquee-inner .biz-card:nth-child(15) .biz-icon { background: linear-gradient(145deg, #a78bfa, #7c3aed); }
.marquee-inner .biz-card:nth-child(16) .biz-icon { background: linear-gradient(145deg, #fb923c, #ea580c); }

.biz-card strong {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}

.biz-card small {
  font-size: 12px;
  color: var(--mute);
}

/* ─── Flow bridge ─── */
.flow-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  padding: 32px 24px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 180px;
}

.flow-step strong {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}

.flow-step small {
  font-size: 12px;
  color: var(--mute);
  max-width: 160px;
  line-height: 1.4;
}

.flow-center {
  min-width: 160px;
}

.flow-icons {
  display: flex;
  gap: -4px;
  margin-bottom: 4px;
}

.flow-icons i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid var(--canvas);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  margin-left: -6px;
}

.flow-icons i:first-child { margin-left: 0; }
.fi-wa { background: var(--accent); z-index: 3; }
.fi-tg { background: var(--info); z-index: 2; }
.fi-ig { background: var(--violet); z-index: 1; }

.flow-kliento {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--brand-violet));
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
  box-shadow: 0 0 32px -8px rgba(59, 91, 219, 0.4);
}

.flow-results {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.flow-results i {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.flow-arrow {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 12px;
  margin-bottom: 24px;
}

.flow-arrow span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--accent-line);
  border-top: 1.5px solid var(--accent-line);
  transform: rotate(45deg);
  animation: flowChevron 1.4s ease-in-out infinite;
}

.flow-arrow span:nth-child(2) { animation-delay: 0.18s; }
.flow-arrow span:nth-child(3) { animation-delay: 0.36s; }

@keyframes flowChevron {
  0%, 100% { opacity: 0.25; transform: rotate(45deg) translateX(0); }
  50% { opacity: 1; transform: rotate(45deg) translateX(4px); }
}

/* ─── Stats grid ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 16px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--canvas-card);
  overflow: hidden;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--canvas-soft);
}

.stat-card .stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-card strong {
  font-size: 48px;
  font-weight: 400;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.stat-card .stat-unit {
  font-size: 17px;
  font-weight: 400;
  color: var(--mute);
}

.stat-card b {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}

.stat-card small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.4;
}

.stat-card i[data-bar] {
  display: block;
  height: 3px;
  margin-top: 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.stat-card i[data-bar]::after {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(var(--w) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  transition: width 1.2s var(--ease);
}

/* ─── Split sections ─── */
.agent-section,
.analytics-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.analytics-section { grid-template-columns: 0.95fr 1.05fr; }

/* ─── Agent section ─── */
.agent-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.capabilities p {
  margin-top: 16px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.5;
  max-width: 520px;
}

/* ─── Handoff illustration ─── */
.handoff-illustration {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--canvas-card);
}

.handoff-ai,
.handoff-human {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.handoff-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  flex-shrink: 0;
}

.ai-avatar {
  background: linear-gradient(135deg, var(--accent), var(--brand-violet));
}

.human-avatar {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.handoff-bubble {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  max-width: 380px;
}

.ai-bubble {
  background: linear-gradient(135deg, var(--accent), var(--brand-violet));
  color: #fff;
  border-bottom-left-radius: 6px;
}

.human-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--body);
  border-bottom-left-radius: 6px;
}

.handoff-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 10px;
  opacity: 0.6;
}

.handoff-confidence {
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.04em;
}

.handoff-label {
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Handoff trigger (the transfer animation) ─── */
.handoff-trigger {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 0 0 54px;
}

.handoff-line {
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.handoff-pulse-ring {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
  flex-shrink: 0;
  animation: transferPulse 2s ease-in-out infinite;
}

@keyframes transferPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
  50% { box-shadow: 0 0 0 16px rgba(245, 158, 11, 0); }
}

.handoff-icon {
  color: #f59e0b;
  animation: transferIcon 2s ease-in-out infinite;
}

@keyframes transferIcon {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}

/* ─── Handoff statuses ─── */
.handoff-statuses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.handoff-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--canvas-card);
  text-align: center;
  transition: border-color 240ms var(--ease);
}

.handoff-status:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.handoff-status i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 auto 6px;
}

.ai-status i { background: var(--accent); }
.transfer-status i { background: #f59e0b; animation: pulse 1.6s infinite; }
.human-status i { background: var(--success); }

.handoff-status strong {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
}

.handoff-status small {
  font-size: 11px;
  color: var(--mute);
  line-height: 1.4;
}

/* ─── Capabilities ─── */
.capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.cap-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 240ms var(--ease);
}

.cap-item:last-child {
  border-bottom: none;
}

.cap-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.cap-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: var(--mute);
}

.cap-item strong {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}

.cap-item small {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.45;
}

/* ─── Section heading ─── */
.section-heading {
  display: grid;
  justify-items: start;
  gap: 0;
  margin-bottom: 36px;
}

/* ─── Features section ─── */
.features-section {
  width: min(1300px, calc(100% - 32px));
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.features-copy p {
  margin-top: 16px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.5;
  max-width: 520px;
}

/* ─── Features list ─── */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--hairline);
}

.feat-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 240ms var(--ease);
}

.feat-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.feat-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  color: var(--accent-dark);
  flex-shrink: 0;
}

.feat-item strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 3px;
}

.feat-item small {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.45;
}

/* ─── Inbox visual ─── */
.inbox-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--canvas-card);
}

.incoming-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
}

.incoming-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--canvas-soft);
  font-size: 12px;
  color: var(--mute);
  animation: msgDrop 4s ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0;
}

@keyframes msgDrop {
  0% { opacity: 0; transform: translateY(-8px); }
  10% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0.3; transform: translateY(0); }
}

.incoming-msg div {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-badge {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 5px;
  border-radius: 5px;
  color: #fff;
  font-size: 9px;
  font-weight: 400;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.04em;
}

.wa-badge { background: #25D366; }
.tg-badge { background: #0088cc; }
.ig-badge { background: #c13584; }
.fb-badge { background: #0084ff; }

.merge-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 4px 0 12px;
}

.merge-arrows span {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--accent-line);
  border-bottom: 1.5px solid var(--accent-line);
  transform: rotate(45deg);
  animation: mergeArrow 1.5s ease-in-out infinite;
}

.merge-arrows span:nth-child(2) { animation-delay: 0.2s; }
.merge-arrows span:nth-child(3) { animation-delay: 0.4s; }

@keyframes mergeArrow {
  0%, 100% { opacity: 0.2; transform: rotate(45deg) translate(0, 0); }
  50% { opacity: 1; transform: rotate(45deg) translate(3px, 3px); }
}

.unified-inbox {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.inbox-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
}

.inbox-tab {
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  font-size: 11px;
  color: var(--mute);
}

.active-tab {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.inbox-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--accent-dark);
}

.inbox-items {
  display: flex;
  flex-direction: column;
}

.inbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  transition: background 180ms var(--ease);
}

.inbox-row:last-child {
  border-bottom: none;
}

.inbox-row strong {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  flex: 1;
}

.inbox-row small {
  font-size: 11px;
  color: var(--mute);
}

.active-row {
  background: rgba(59, 91, 219, 0.08);
}

.chat-head button {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 8px 14px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

/* ─── Business section ─── */
.business-section {
  width: min(1300px, calc(100% - 32px));
}

.business-section .section-heading {
  justify-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.business-section .section-heading h2 {
  max-width: 700px;
}

.biz-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 14px;
}

.biz-card-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--canvas-card);
  overflow: hidden;
  transition: border-color 300ms var(--ease), background 300ms var(--ease), transform 300ms var(--ease);
}

.biz-card-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 91, 219, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}

.biz-card-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.biz-card-item:hover::after {
  opacity: 1;
}

.biz-card-item:nth-child(1) { min-height: 280px; }
.biz-card-item:nth-child(2) { min-height: 220px; }
.biz-card-item:nth-child(3) { min-height: 220px; }
.biz-card-item:nth-child(4) { min-height: 240px; }

.biz-num {
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.biz-card-item h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
}

.biz-card-item p {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.5;
  max-width: 400px;
}

/* ─── Biz card visuals ─── */
.biz-visual {
  position: relative;
  margin-bottom: 16px;
  min-height: 70px;
  display: flex;
  align-items: center;
}

/* Calendar slots */
.cal-visual {
  gap: 8px;
}

.cal-slots {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 90px;
}

.cal-slot {
  width: 44px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--canvas-soft);
  transition: all 0.6s var(--ease);
}

.s1 { height: 48px; }
.s2 { height: 72px; border-color: rgba(255, 255, 255, 0.12); }
.s3 { height: 40px; }

.cal-slot.filled {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.06));
  border-color: rgba(245, 158, 11, 0.4);
  animation: slotFill 2.5s ease-in-out infinite;
}

@keyframes slotFill {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.cal-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* CRM pipeline */
.crm-visual-new {
  flex-direction: column;
  gap: 16px;
}

.crm-pipeline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crm-stage {
  display: grid;
  place-items: center;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-size: 12px;
  font-style: normal;
  color: var(--mute);
  background: var(--canvas-soft);
  transition: all 0.6s var(--ease);
}

.crm-stage.active {
  color: #fff;
  background: linear-gradient(135deg, #34d399, #059669);
  border-color: transparent;
  animation: stagePulse 2s ease-in-out infinite;
}

@keyframes stagePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.crm-arrow {
  font-size: 14px;
  color: var(--mute);
  animation: arrowFlow 1.5s ease-in-out infinite;
}

.crm-arrow:last-child { animation-delay: 0.3s; }

@keyframes arrowFlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.crm-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.crm-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hairline);
  transition: all 0.4s var(--ease);
}

.crm-dots .active-dot {
  background: #34d399;
  animation: dotGlow 1.5s ease-in-out infinite;
}

@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

/* Automation nodes */
.auto-visual {
  justify-content: center;
}

.auto-nodes {
  display: flex;
  align-items: center;
  gap: 0;
}

.auto-node {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--canvas-soft);
  font-style: normal;
  transition: all 0.4s var(--ease);
}

.auto-node span {
  font-size: 16px;
}

.auto-node.done {
  background: linear-gradient(135deg, #34d399, #059669);
  border-color: transparent;
  animation: nodeDone 2s ease-in-out infinite;
}

@keyframes nodeDone {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.auto-line {
  width: 28px;
  height: 1.5px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}

.auto-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #34d399;
  animation: lineFlow 1.8s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes lineFlow {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* Retention circles */
.retain-visual {
  justify-content: center;
}

.retain-circles {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
}

.retain-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--hairline);
  animation: ringExpand 3s ease-in-out infinite;
}

.r1 {
  inset: 0;
  animation-delay: 0s;
}

.r2 {
  inset: 20px;
  animation-delay: 0.5s;
}

.r3 {
  inset: 40px;
  animation-delay: 1s;
}

@keyframes ringExpand {
  0%, 100% { transform: scale(0.85); opacity: 0.3; border-color: var(--hairline); }
  50% { transform: scale(1.15); opacity: 1; border-color: var(--accent-line); }
}

.retain-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f472b6, #c026d3);
  color: #fff;
  font-size: 16px;
  font-style: normal;
  animation: coreSpin 4s linear infinite;
}

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

/* ─── Shared paragraph styles ─── */
.business-card p,
.enterprise-grid p,
.pricing-grid p,
.case-row p,
.faq-list p,
.site-footer p {
  margin-top: 10px;
  color: var(--mute);
  line-height: 1.5;
  font-weight: 400;
}

/* ─── Analytics ─── */
.analytics-copy p {
  margin-top: 16px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.5;
  max-width: 520px;
}

/* ─── Insight cards ─── */
.insight-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--hairline);
}

.insight {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 240ms var(--ease);
}

.insight:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.insight-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  color: var(--accent-dark);
  flex-shrink: 0;
}

.insight strong {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 3px;
}

.insight small {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.4;
}

/* ─── Analytics board ─── */
.analytics-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--canvas-card);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpi {
  position: relative;
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--canvas-soft);
  transition: border-color 240ms var(--ease);
}

.kpi:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.kpi span {
  display: block;
  color: var(--mute);
  font-size: 12px;
}

.kpi strong {
  display: block;
  margin-top: 10px;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.kpi small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--mute);
}

.kpi-bar {
  display: block;
  height: 3px;
  margin-top: 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.kpi-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(var(--w) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  transition: width 1.2s var(--ease);
}

/* ─── Chart ─── */
.chart-card {
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--canvas-soft);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chart-header span {
  font-size: 13px;
  color: var(--ink);
}

.chart-header small {
  font-size: 11px;
  color: var(--mute);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 140px;
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.bar-group i {
  display: block;
  width: 100%;
  height: calc(var(--h) * 100%);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  animation: barGrow 0.8s var(--ease) forwards;
  animation-play-state: paused;
  transform-origin: bottom;
  transform: scaleY(0);
}

.bar-group i.animate {
  animation-play-state: running;
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.bar-group:nth-child(1) i { background: linear-gradient(180deg, var(--accent), var(--accent-soft)); animation-delay: 0s; }
.bar-group:nth-child(2) i { background: linear-gradient(180deg, var(--indigo), var(--accent-soft)); animation-delay: 0.08s; }
.bar-group:nth-child(3) i { background: linear-gradient(180deg, var(--violet), rgba(124, 58, 237, 0.16)); animation-delay: 0.16s; }
.bar-group:nth-child(4) i { background: linear-gradient(180deg, var(--accent), var(--accent-soft)); animation-delay: 0.24s; }
.bar-group:nth-child(5) i { background: linear-gradient(180deg, var(--success), rgba(34, 197, 94, 0.16)); animation-delay: 0.32s; }
.bar-group:nth-child(6) i { background: linear-gradient(180deg, var(--warning), rgba(245, 158, 11, 0.18)); animation-delay: 0.4s; }
.bar-group:nth-child(7) i { background: linear-gradient(180deg, var(--mute), rgba(255, 255, 255, 0.06)); animation-delay: 0.48s; }

.bar-group small {
  font-size: 11px;
  color: var(--mute);
}

/* ─── Enterprise ─── */
.enterprise-section {
  width: min(1300px, calc(100% - 32px));
}

.enterprise-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

/* ─── Enterprise grid (left) ─── */
.enterprise-grid,
.pricing-grid,
.case-row {
  display: grid;
  gap: 12px;
}

.enterprise-grid {
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
}

.enterprise-grid article {
  position: relative;
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--canvas-card);
  transition: border-color 300ms var(--ease), background 300ms var(--ease), transform 300ms var(--ease);
  overflow: hidden;
}

.enterprise-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 91, 219, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}

.enterprise-grid article:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.enterprise-grid article:hover::after {
  opacity: 1;
}

.enterprise-grid .trust-panel {
  grid-row: span 2;
  min-height: 380px;
  background: linear-gradient(145deg, #1a1a24, #1a2f2a);
  border-color: rgba(52, 211, 153, 0.25);
  color: #fff;
}

.enterprise-grid .trust-panel p {
  color: rgba(255, 255, 255, 0.6);
}

.enterprise-grid article:nth-child(4) {
  grid-column: span 2;
}

.enterprise-grid h3 {
  font-weight: 400;
  font-size: 17px;
  margin-bottom: 8px;
  margin-top: 14px;
}

.enterprise-grid p {
  font-size: 13px;
  line-height: 1.5;
}

.ent-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  transition: all 300ms var(--ease);
}

.trust-panel .ent-icon {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.25);
  color: #34d399;
}

.enterprise-grid article:nth-child(2) .ent-icon {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.enterprise-grid article:nth-child(3) .ent-icon {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

.enterprise-grid article:nth-child(4) .ent-icon {
  background: rgba(244, 114, 182, 0.1);
  border-color: rgba(244, 114, 182, 0.2);
  color: #f472b6;
}

.ent-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 12px;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--success);
}

.ent-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.6s infinite;
}

/* ─── Enterprise copy (right) ─── */
.enterprise-copy p {
  margin-top: 18px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.55;
  max-width: 440px;
}

.ent-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.ent-stat {
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--canvas-card);
  transition: border-color 240ms var(--ease);
}

.ent-stat:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.ent-stat:first-child strong { color: #34d399; }
.ent-stat:last-child strong { color: #f59e0b; }

.ent-stat strong {
  display: block;
  font-size: 38px;
  font-weight: 400;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.ent-stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--body);
}

.ent-stat small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--mute);
}

/* ─── Pricing ─── */
.pricing-grid {
  grid-template-columns: 0.95fr 1.1fr 0.95fr;
  align-items: stretch;
  margin-top: 48px;
}

.pricing-grid article {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 32px 28px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--canvas-card);
  transition: border-color 300ms var(--ease), transform 300ms var(--ease);
}

.pricing-grid article:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-grid article.featured {
  color: #fff;
  background:
    radial-gradient(circle at 18% 10%, rgba(99, 102, 241, 0.22), transparent 18rem),
    linear-gradient(145deg, #18181b, #1a1a2e);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-14px);
}

.pricing-grid article.featured p,
.pricing-grid article.featured li {
  color: rgba(255, 255, 255, 0.7);
}

.plan-label {
  color: var(--accent-dark);
  font-weight: 400;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-grid article.featured .plan-label {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-grid h3 {
  margin-top: 18px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.pricing-grid p {
  margin-top: 10px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-grid article.featured p {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-grid ul {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.pricing-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--body);
  font-weight: 400;
  font-size: 14px;
}

.pricing-grid li i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--mute);
  font-size: 10px;
  font-style: normal;
  flex-shrink: 0;
}

.pricing-grid article.featured li i {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.pricing-grid a {
  display: grid;
  place-items: center;
  min-height: 44px;
  margin-top: auto;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ink);
  font-weight: 400;
  font-size: 14px;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}

.pricing-grid a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.pricing-grid article.featured a {
  background: #fff;
  border-color: #fff;
  color: #0a0a0a;
}

.pricing-grid article.featured a:hover {
  background: #e5e5e5;
}

/* ─── Cases ─── */

.case-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.case-row article {
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--canvas-card);
  transition: border-color 300ms var(--ease), transform 300ms var(--ease);
}

.case-row article:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.case-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.case-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  font-weight: 400;
  font-size: 13px;
  flex-shrink: 0;
}

.c-avatar-1 { background: linear-gradient(145deg, #f472b6, #c026d3); }
.c-avatar-2 { background: linear-gradient(145deg, #f59e0b, #d97706); }
.c-avatar-3 { background: linear-gradient(145deg, #34d399, #059669); }

.case-card-head strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
}

.case-card-head span {
  font-size: 12px;
  color: var(--mute);
}

.case-diff {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-before,
.case-after {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--body);
}

.case-before {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
}

.case-before span {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  font-size: 10px;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-after {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.case-after span {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  font-size: 10px;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-arrow {
  font-size: 16px;
  color: var(--mute);
  padding: 0 4px;
}

/* ─── FAQ ─── */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 400;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 18px;
  color: var(--mute);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list .faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease);
}

.faq-list .faq-answer-inner {
  padding-top: 12px;
}

.faq-list p {
  font-weight: 400;
}

/* ─── Final CTA ─── */
.final-cta {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  /*padding: 33px 0;*/
  margin: 0;
  width: 100%;
}

.final-panel {
  display: grid;
  justify-items: center;
  padding: clamp(80px, 12vw, 140px) clamp(24px, 6vw, 80px);
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(59, 91, 219, 0.2), transparent 28rem),
    radial-gradient(circle at 86% 36%, rgba(124, 58, 237, 0.12), transparent 24rem),
    var(--canvas-card);
  border: 1px solid var(--hairline);
  width: 100%;
  will-change: transform;
}

.final-panel h2 { max-width: 780px; }

.final-panel .cta-row {
  margin-top: 36px;
}

/* ─── Footer ─── */
.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
  border-top: 1px solid var(--hairline);
  will-change: transform, opacity;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-weight: 400;
  color: var(--ink);
}

.site-footer a {
  display: block;
  margin-top: 9px;
  color: var(--mute);
  font-size: 14px;
  font-weight: 400;
  transition: color 180ms var(--ease);
}

.site-footer a:hover { color: var(--body); }

.footer-brand .brand {
  font-size: 22px;
  gap: 12px;
  white-space: nowrap;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}

.footer-brand .brand span {
  color: var(--ink);
  white-space: nowrap;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 15px;
  flex-shrink: 0;
}

.footer-brand p {
  max-width: 300px;
  color: var(--mute);
  margin-top: 12px;
}


.mobile-cta { display: none; }

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}

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

/* ─── Keyframes ─── */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.42; }
}

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

@keyframes stream {
  to { background-position: 120px 0; }
}

@keyframes bars {
  0%, 100% { transform: scaleY(0.86); }
  50% { transform: scaleY(1); }
}



/* ─── Responsive: 1040px ─── */
@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav,
  .header-actions { display: none; }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-actions {
    display: flex;
  }

  .site-header.menu-open {
    grid-template-columns: 1fr auto;
    border-radius: 24px;
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-actions {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .agent-section,
  .biz-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .biz-grid,
  .business-grid,
  .analytics-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .handoff-statuses {
    grid-template-columns: repeat(3, 1fr);
  }

  .handoff-illustration {
    padding: 24px;
  }

  .hero {
    padding: 24px 24px 32px;
    gap: 36px;
  }

  .hero-visual { min-height: 0; }

  .dashboard-glow { display: none; }

  .hero-dashboard {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .chat-panel { height: 380px; }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 20px;
    margin-top: 24px;
  }

  .intg-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intg-hub {
    height: 260px;
  }

  .hub-ring.ring-3 {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .flow-bridge {
    flex-direction: column;
    gap: 16px;
  }

  .flow-arrow {
    flex-direction: column;
    margin-bottom: 0;
  }

  .flow-arrow span {
    transform: rotate(135deg);
    animation-name: flowChevronDown;
  }

  @keyframes flowChevronDown {
    0%, 100% { opacity: 0.25; transform: rotate(135deg) translateY(0); }
    50% { opacity: 1; transform: rotate(135deg) translateY(4px); }
  }

  .biz-card-item,
  .biz-card-item:nth-child(1),
  .biz-card-item:nth-child(2),
  .biz-card-item:nth-child(3),
  .biz-card-item:nth-child(4) {
    min-height: auto;
  }

  .features-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .incoming-channels {
    grid-template-columns: repeat(2, 1fr);
  }

  .wide-dashboard,
  .enterprise-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ent-stats {
    grid-template-columns: 1fr 1fr;
  }

  .enterprise-grid,
  .pricing-grid,
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .enterprise-grid article:first-child,
  .enterprise-grid article:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

  .enterprise-grid .trust-panel {
    min-height: auto;
  }
}

/* ─── Responsive: 720px ─── */
@media (max-width: 720px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .section-shell { padding: 56px 0; }

  .hero {
    min-height: auto;
    padding: 20px 16px 28px;
    gap: 32px;
  }

  h1 { font-size: 34px; letter-spacing: -0.6px; min-height: calc(34px * 1.02 * 2); }
  h2 { font-size: 32px; letter-spacing: -0.6px; }

  .hero-lead,
  .section-copy p { font-size: 15px; }

  .button { width: 100%; }

  .hero-visual { min-height: 0; }

  .hero-dashboard {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
  }

  .dashboard-glow { display: none; }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .hero-avatars { display: none; }

  .inbox-layout {
    grid-template-columns: 1fr;
  }

  .dialog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }

  .profile-card { display: none; }
  .chat-panel { height: auto; min-height: 320px; }

  .chat-messages {
    max-height: 280px;
  }

  .features-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .incoming-channels {
    grid-template-columns: 1fr;
  }

  .inbox-visual {
    padding: 16px;
  }

  .wide-dashboard,
  .biz-grid,
  .business-grid,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .chart-bars {
    height: 100px;
  }

  .analytics-board,
  .enterprise-grid,
  .pricing-grid,
  .faq-list,
  .site-footer,
  .agent-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ent-stats {
    grid-template-columns: 1fr 1fr;
  }

  .enterprise-grid .trust-panel {
    grid-row: auto;
    min-height: auto;
  }

  .handoff-statuses {
    grid-template-columns: 1fr;
  }

  .handoff-illustration {
    padding: 20px;
  }

  .capability-grid {
    gap: 8px;
  }

  .intg-grid {
    grid-template-columns: 1fr;
  }

  .intg-hub {
    height: 200px;
  }

  .hub-ring.ring-2,
  .hub-ring.ring-3 {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }


  .stat-card strong {
    font-size: 38px;
  }

  .stat-card {
    padding: 16px 18px 14px;
  }

  .stat-card b {
    font-size: 13px;
    margin-top: 8px;
  }

  .stat-card small {
    font-size: 11px;
  }

  .flow-bridge {
    flex-direction: column;
    gap: 14px;
  }

  .flow-arrow {
    flex-direction: column;
    margin-bottom: 0;
  }

  .flow-arrow span {
    transform: rotate(135deg);
    animation-name: flowChevronDown;
  }

  @keyframes flowChevronDown {
    0%, 100% { opacity: 0.25; transform: rotate(135deg) translateY(0); }
    50% { opacity: 1; transform: rotate(135deg) translateY(4px); }
  }

  .biz-card {
    min-width: 200px;
    padding: 14px 16px;
  }

  .biz-card-item {
    padding: 24px;
    border-radius: 12px;
  }

  .pricing-grid article.featured { transform: none; }

  .case-row {
    grid-template-columns: repeat(3, 1fr);
    overflow-x: auto;
  }

  .case-row article {
    min-width: 280px;
  }


  .mobile-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 19;
    display: grid;
    place-items: center;
    min-height: 52px;
    border-radius: 9999px;
    color: #0a0a0a;
    background: #ffffff;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.01em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
