*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f8fc;
  --bg-alt: #eef2f8;
  --surface: #ffffff;
  --surface-soft: #f3f5fb;
  --border-subtle: rgba(30, 26, 21, 0.12);
  --text: #16120d;
  --text-soft: #495164;
  --headline: #e11d48;
  --accent: #3b49df;
  --accent-soft: rgba(59, 73, 223, 0.1);
  --accent-strong: #2f3aba;
  --muted: #697386;
  --shadow-soft: 0 24px 60px rgba(26, 19, 10, 0.08);
  --shadow-crisp: 0 14px 34px rgba(26, 19, 10, 0.10);
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 999px;
  --nav-height: 72px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(59, 73, 223, 0.045), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(225, 29, 72, 0.02), transparent 20%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(247, 248, 252, 0.42) 36%, #f7f8fc 78%);
}

.page-shell > * {
  position: relative;
  z-index: 2;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.site-header .container {
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(30, 26, 21, 0.1);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 0 14px 0 18px;
  margin-top: 12px;
}

@media (min-width: 1024px) {
  .site-header .container {
    max-width: 1320px;
  }

  .site-header .header-inner {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
    padding: 0 14px 0 18px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
}

.site-header .logo-img {
  height: 56px;
}

.text-accent {
  color: #e11d48;
}

.logo-img-small {
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 15px;
  margin-left: auto;
  margin-right: 32px;
}

.nav a {
  text-decoration: none;
  color: #16120d;
  padding: 8px 0;
  position: relative;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.22s ease-out;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out, background 0.12s ease-out, color 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #4a55f2, #303bbd);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(48, 59, 189, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(48, 59, 189, 0.28);
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.1);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.btn-sales {
  background: #ffffff;
  color: #d61f2c;
  border-color: rgba(214, 31, 44, 0.2);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.btn-sales:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(214, 31, 44, 0.16);
}

.btn.full-width {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 999;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 3px 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}

/* HERO */
.hero {
  position: relative;
  padding: 140px 0 96px;
  overflow: hidden;
  background: transparent;
  z-index: 2;
}

.hero-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
                    linear-gradient(to right, rgba(148, 163, 184, 0.18) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(148, 163, 184, 0.11) 1px, transparent 1px);
  background-repeat: no-repeat, repeat, repeat;
  background-position: center, center, center;
  background-size: 70px 70px, 70px 70px;
  opacity: 0.12;
  pointer-events: none;
}

.hero-orbit {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 0 0, rgba(59, 73, 223, 0.08), transparent 52%),
    radial-gradient(circle at 100% 20%, rgba(225, 29, 72, 0.05), transparent 56%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  z-index: 1;
}

.hero-copy {
  max-width: 540px;
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 18px 0 14px;
  font-weight: 900;
  color: var(--text);
}

.headline-accent {
  color: var(--headline);
}

.headline-rotator {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  min-width: 10.5ch;
  height: 1.08em;
  vertical-align: top;
  white-space: nowrap;
  overflow: visible;
}

.headline-rotator-word {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translate3d(-72%, 0, 0);
  transition:
    transform 1.35s ease,
    opacity 0.58s ease 0.42s;
  will-change: opacity, transform;
  pointer-events: none;
}

.headline-rotator-word.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.headline-rotator-word.is-entering {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.headline-rotator-word.is-exiting {
  opacity: 0;
  transform: translate3d(72%, 0, 0);
  transition:
    transform 1.35s ease,
    opacity 0.52s ease;
}

.headline-main {
  color: var(--text);
}

.hero-sub {
  font-size: 18px;
  color: var(--text);
  margin: 0 0 22px;
  max-width: 560px;
  line-height: 1.55;
}

.hero-sub-break {
  display: none;
}

@media (min-width: 981px) {
  .hero-sub-break {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .headline-rotator-word {
    transition: none;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}


.hero-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.metric-pill {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  min-width: 120px;
}

.metric-label {
  font-size: 11px;
  color: var(--muted);
}

.metric-value {
  font-size: 16px;
  font-weight: 600;
}

.hero-trust-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.hero-trust-inline .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulse 1.6s infinite;
}

.hero-visual {
  position: relative;
  justify-self: flex-end;
}

.hero-floating-tag {
  position: absolute;
  left: -4px;
  bottom: -10px;
  transform: translateY(100%);
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 11px;
}

.hero-tag-title {
  font-weight: 600;
}

.hero-tag-sub {
  color: var(--muted);
}

/* Phone visual */
.phone-shell {
  width: 240px;
  max-width: 100%;
  border-radius: 32px;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  display: none;
}

.hero-pill-nav {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  z-index: 6;
}

.hero-pill {
  width: 28px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, rgba(203, 213, 225, 0.65), rgba(241, 245, 249, 0.9));
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-pill:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(91, 45, 255, 0.18);
}

.hero-pill.is-active {
  opacity: 1;
  background: linear-gradient(120deg, rgba(91, 45, 255, 0.65), rgba(167, 139, 250, 0.8));
  box-shadow: 0 10px 24px rgba(91, 45, 255, 0.25);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.phone-screen {
  margin-top: 26px;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  border-radius: 26px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}


.hero .phone-screen {
  aspect-ratio: 3 / 5;
}

.hero-phone-content {
  position: absolute;
  inset: 0;
  padding: 12px 10px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  transform: translateX(16px) scale(0.97);
  overflow-y: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}


.hero-phone-content.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hero-phone-content.is-leaving {
  opacity: 0;
  transform: translateX(-16px) scale(0.97);
}

.hero-phone-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* CRM integration line into phone */
.hero-visual {
  position: relative;
}

.crm-integration-line {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}

.knowledge-base-line {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}

.knowledge-base-line span {
  order: 1;
}

.knowledge-base-line::before {
  order: 0;
}
.crm-integration-line::before,
.knowledge-base-line::before {
  content: none;
  display: none;
}

/* Slight tweaks for multiple CTAs */
.animated-card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}
.chat-bubble {
  max-width: 83%;
  padding: 8px 9px;
  border-radius: 14px;
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 6px;
  position: relative;
}

.chat-bubble span {
  display: block;
}

.chat-bubble time {
  display: block;
  font-size: 10px;
  color: #9ca3af;
  margin-top: 3px;
}

.chat-bubble.you {
  margin-left: auto;
  background: #eff6ff;
  border-bottom-right-radius: 4px;
  border: 1px solid #bfdbfe;
}

.chat-bubble.them {
  background: #ede9fe;
  border-bottom-left-radius: 4px;
  border: 1px solid #c7d2fe;
}

.chat-bubble.them.mini {
  font-size: 10px;
  max-width: 70%;
  opacity: 0.9;
}

.chat-typing {
  background: #ede9fe;
  border-bottom-left-radius: 4px;
  border: 1px solid #c7d2fe;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #9ca3af;
  animation: typing-bounce 1s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.7; }
  40% { transform: translateY(-3px); opacity: 1; }
}

.animated-card {
  margin: 8px 0 8px auto;
  width: calc(100% - 10px);
  border-radius: 16px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(91, 45, 255, 0.06), rgba(147, 107, 255, 0.14));
  border: 1px solid rgba(91, 45, 255, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  animation: float-soft 4s ease-in-out infinite;
  transition: transform 0.35s ease, margin 0.35s ease;
}

.animated-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.animated-card-header .pill {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  color: var(--muted);
  white-space: nowrap;
}

.hero-phone-content.lead-activation .animated-card-header .pill {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.animated-card-header .sparkle {
  font-size: 11px;
}

.animated-card-body {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
  background: transparent;
}

.hero-phone-content.lead-activation .animated-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  animation: float-soft 5s ease-in-out infinite;
  margin: 4px 0 2px auto;
  padding: 8px;
  overflow: visible;
}

.lead-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 2px;
  background: transparent;
}

.lead-card-logo {
  width: 120px;
  max-width: 80%;
  height: auto;
}

.lead-card-text {
  margin: 0;
  font-size: 10px;
  line-height: 1.3;
  color: #0f172a;
}

.lead-card-note {
  margin: 0;
  font-size: 9px;
  color: #64748b;
}

.lead-tryme-gif {
  width: 130px;
  max-width: 80%;
  height: auto;
  margin: 6px auto 0;
  display: block;
  pointer-events: none;
}

.hero-phone-content.lead-activation .animated-card {
  padding-bottom: 6px;
}

.hero-phone-content.lead-activation .animated-card-footer {
  margin-top: -18px;
  padding-bottom: 6px;
  position: relative;
  z-index: 2;
}

.hero-phone-content.lead-activation .animated-card-body {
  margin-bottom: 4px;
}


.hero-phone-content.event-card-shift .animated-card {
  transform: translateY(-32px) scale(0.96);
  margin-bottom: 4px;
}

.hero-phone-content.event-hide-media .animated-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0 0 6px;
  animation: none;
}

.hero-phone-content.event-hide-media .animated-card-header,
.hero-phone-content.event-hide-media .animated-card-body {
  display: none;
}

.hero-phone-content.event-hide-media .animated-card-footer {
  justify-content: flex-start;
  gap: 8px;
}

.hero-phone-content.commerce-hide-media .animated-card,
.hero-phone-content.commerce-hide-media .animated-card-header,
.hero-phone-content.commerce-hide-media .animated-card-body {
  display: none;
}

.hero-phone-content.commerce-hide-media .animated-card-footer {
  display: none;
}

.mini-landing {
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.mini-landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #64748b;
}

.mini-pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #e0e7ff;
}

.mini-badge {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  font-size: 10px;
}

.mini-hero {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
}

.mini-visual {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f2fe, #c7d2fe);
  border: 1px solid #e2e8f0;
}

.mini-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-title {
  font-size: 12px;
  color: #0f172a;
  font-weight: 600;
}

.mini-price {
  font-size: 13px;
  color: #475569;
}

.mini-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mini-option {
  flex: 1 1 auto;
  min-width: 72px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 11px;
  color: #1e293b;
  cursor: pointer;
}

.mini-option.is-selected {
  border-color: #4f46e5;
  background: rgba(79, 70, 229, 0.08);
  font-weight: 700;
  color: #4f46e5;
}

.mini-primary {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.mini-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.25);
  filter: brightness(1.03);
}

.mini-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(79, 70, 229, 0.2);
}

.mini-complete {
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #0f172a;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.mini-complete-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 12px;
}

.mini-complete-note {
  font-size: 11px;
  color: #475569;
}

.animated-gradient {
  height: 80px;
  background: conic-gradient(from 140deg, #22c55e, #4f46e5, #a855f7, #22c55e);
  filter: blur(10px);
  transform-origin: center;
  animation: gradient-spin 12s linear infinite;
}

.animated-text-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  gap: 6px;
}

.animated-text-lines span {
  height: 4px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  opacity: 0.9;
}

.animated-text-lines span:nth-child(1) { width: 75%; }
.animated-text-lines span:nth-child(2) { width: 55%; }
.animated-text-lines span:nth-child(3) { width: 40%; }

.animated-card-footer {
  display: flex;
  justify-content: flex-end;
}

.card-cta {
  border-radius: 999px;
  border: none;
  font-size: 10px;
  padding: 4px 10px;
  background: #ffffff;
  color: var(--accent);
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.6);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.card-cta:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(91, 45, 255, 0.45);
}

.card-cta.is-disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.card-cta.is-selected {
  font-weight: 700;
  color: #4f46e5;
  border-color: #4f46e5;
  background: rgba(79, 70, 229, 0.08);
}

.card-cta.is-copied {
  background: #e0f2fe;
  color: #0ea5e9;
  border-color: #0ea5e9;
}

/* Logo strip */
.logo-strip {
  padding: 18px 0 30px;
  background: transparent;
  border-bottom: none;
  position: relative;
  z-index: 1;
}

.logo-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo-strip-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
}

.logo-strip-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: var(--muted);
  background: #ffffff;
}


/* --- LOGO SLIDER WITH BOXES + WHY WHATSAPP TIMELINE --- */

.logo-strip {
  padding: 48px 0;
  background: transparent;
  border-bottom: none;
  position: relative;
  z-index: 1;
}

.logo-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logo-strip-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
}

/* Fade edges */
.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  background: transparent;
}

.logo-slider::before {
  left: 0;
}

.logo-slider::after {
  right: 0;
}

/* Track with 80px boxes + 70px spacing */
.logo-track {
  display: flex;
  align-items: center;
  gap: 70px;
  animation: logo-scroll 110s linear infinite;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-box {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  max-height: 60px;
  max-width: 60px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity .2s ease, filter .2s ease;
}

.logo-box img:hover {
  opacity: 1;
  filter: grayscale(0);
}

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

@media (max-width: 640px) {
  .logo-track {
    gap: 40px;
    animation-duration: 140s;
  }

  .logo-box {
    width: 60px;
    height: 60px;
  }

  .logo-box img {
    max-height: 40px;
  }
}

/* Why WhatsApp horizontal timeline */

.why-timeline {
  margin-top: 24px;
}

.why-timeline-track {
  position: relative;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 24px;
}

.why-timeline-track::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e5e7eb;
}

.why-timeline-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding-top: 24px;
}

.why-timeline-dot {
  position: absolute;
  top: 32px;
  left: 0;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 45, 255, 0.15);
}

.why-timeline-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px 0;
  padding-left: 20px;
}

.why-timeline-copy {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .why-timeline-track {
    flex-direction: column;
    gap: 20px;
  }

  .why-timeline-track::before {
    display: none;
  }

  .why-timeline-item {
    padding-top: 0;
  }

  .why-timeline-dot {
    position: static;
    transform: none;
    margin-bottom: 6px;
  }

  .why-timeline-title,
  .why-timeline-copy {
    padding-left: 0;
  }
}

/* --- END CUSTOM LOGO + TIMELINE --- */

/* Generic sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: transparent;
}

.section:nth-of-type(odd):not(.hero):not(.final-cta) {
  background: transparent;
}

.section-header {
  max-width: 640px;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  margin: 4px 0 8px;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #121212;
}

.section-header-split .use-cases-heading,
.use-cases-header .use-cases-heading {
  color: var(--text);
}

.use-cases-header {
  max-width: 780px;
  margin-left: 0;
  margin-right: 0;
}

.use-cases-header .use-cases-heading {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-header p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

#product .section-header {
  margin-bottom: 74px;
}

#product .section-header h2 {
  font-weight: 500;
}

@media (min-width: 981px) {
  #product {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  #product .container {
    width: 100%;
  }
}

.section-header-centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.section-lead {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.feature-content h3,
.timeline-body h3,
.use-card h3,
.final-cta h2,
.why-timeline-title {
  color: var(--headline);
}

/* Split layout section */
.section-split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.bullet-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 14px;
}

.bullet-list li + li {
  margin-top: 6px;
}

.stats-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

.stat-number {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

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

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

.tag-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--accent-strong);
}

/* Product explainer */
.feature-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.feature-step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-step-number {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(22, 18, 13, 0.42);
}

.feature-step-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--text);
}

.feature-step-card p {
  margin: 0;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-soft);
}

.feature-art-panel {
  margin-top: 8px;
  min-height: 250px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f7f8fc 0%, #f1f4fb 100%);
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-art {
  width: min(84%, 240px);
  height: auto;
  display: block;
}

.feature-art-connect rect,
.feature-art-personalise rect,
.feature-art-launch path {
  filter: drop-shadow(0 14px 22px rgba(59, 73, 223, 0.12));
}

.feature-art-connect .feature-connect-block-left {
  animation: connect-left 4.6s cubic-bezier(0.42, 0, 0.18, 1) infinite;
  transform-origin: 64px 80px;
}

.feature-art-connect .feature-connect-block-right {
  animation: connect-right 4.6s cubic-bezier(0.42, 0, 0.18, 1) infinite;
  transform-origin: 156px 80px;
}

.feature-art-connect .feature-connect-link {
  stroke-dasharray: 24;
  animation: connect-link 4.6s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

.feature-art-connect .feature-connect-node {
  animation: connect-node 4.6s cubic-bezier(0.42, 0, 0.18, 1) infinite;
  transform-origin: 110px 80px;
}

.feature-art-connect .feature-connect-plus {
  animation: connect-plus 4.6s cubic-bezier(0.42, 0, 0.18, 1) infinite;
  transform-origin: 110px 80px;
}

.feature-art-personalise .feature-personalise-bar {
  transform-box: fill-box;
  transform-origin: center center;
}

.feature-art-personalise .feature-personalise-bar-1 { animation: personalise-bar-1 2.8s ease-in-out infinite; }
.feature-art-personalise .feature-personalise-bar-2 { animation: personalise-bar-2 2.8s ease-in-out infinite; }
.feature-art-personalise .feature-personalise-bar-3 { animation: personalise-bar-3 2.8s ease-in-out infinite; }
.feature-art-personalise .feature-personalise-bar-4 { animation: personalise-bar-4 2.8s ease-in-out infinite; }
.feature-art-personalise .feature-personalise-bar-5 { animation: personalise-bar-5 2.8s ease-in-out infinite; }
.feature-art-personalise .feature-personalise-bar-6 { animation: personalise-bar-6 2.8s ease-in-out infinite; }

.feature-art-launch .feature-launch-diamond-left {
  animation: launch-left 4s ease-in-out infinite;
  transform-origin: 92px 56px;
}

.feature-art-launch .feature-launch-diamond-right {
  animation: launch-right 4s ease-in-out infinite;
  transform-origin: 129px 42px;
}

.feature-art-launch .feature-launch-diamond-bottom {
  animation: launch-bottom 4s ease-in-out infinite;
  transform-origin: 110px 106px;
}

.feature-art-launch .feature-launch-ring {
  stroke-dasharray: 150;
  stroke-dashoffset: 0;
  transform-origin: 110px 82px;
  animation: launch-ring 4s ease-in-out infinite;
}

.feature-art-launch .feature-launch-core {
  transform-origin: 110px 82px;
  animation: launch-core 4s ease-in-out infinite;
}

@keyframes connect-left {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(0); }
  52% { transform: translateX(18px); }
  72% { transform: translateX(12px); }
}

@keyframes connect-right {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(0); }
  52% { transform: translateX(-18px); }
  72% { transform: translateX(-12px); }
}

@keyframes connect-link {
  0%, 14%, 100% { opacity: 0.12; stroke-dashoffset: 24; }
  32%, 72% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes connect-node {
  0%, 14%, 100% { transform: scale(0.82); }
  38% { transform: scale(1.18); }
  58% { transform: scale(1.04); }
  74% { transform: scale(1.12); }
}

@keyframes connect-plus {
  0%, 16%, 100% { opacity: 0.2; transform: scaleX(0.22); }
  36% { opacity: 1; transform: scaleX(1.18); }
  58% { opacity: 0.92; transform: scaleX(0.88); }
  74% { opacity: 1; transform: scaleX(1.05); }
}

@keyframes personalise-bar-1 {
  0%, 100% { transform: scaleY(0.68); }
  50% { transform: scaleY(1.18); }
}

@keyframes personalise-bar-2 {
  0%, 100% { transform: scaleY(1.08); }
  50% { transform: scaleY(0.72); }
}

@keyframes personalise-bar-3 {
  0%, 100% { transform: scaleY(1.26); }
  50% { transform: scaleY(0.78); }
}

@keyframes personalise-bar-4 {
  0%, 100% { transform: scaleY(0.74); }
  50% { transform: scaleY(1.16); }
}

@keyframes personalise-bar-5 {
  0%, 100% { transform: scaleY(1.14); }
  50% { transform: scaleY(0.7); }
}

@keyframes personalise-bar-6 {
  0%, 100% { transform: scaleY(0.7); }
  50% { transform: scaleY(1.1); }
}

@keyframes launch-left {
  0%, 100% { transform: translate(-2px, 0) rotate(-6deg); opacity: 0.78; }
  50% { transform: translate(-8px, -8px) rotate(-14deg); opacity: 1; }
}

@keyframes launch-right {
  0%, 100% { transform: translate(2px, 0) rotate(8deg); opacity: 0.72; }
  50% { transform: translate(10px, -10px) rotate(16deg); opacity: 1; }
}

@keyframes launch-bottom {
  0%, 100% { transform: translateY(4px) scale(0.96); }
  50% { transform: translateY(0) scale(1.04); }
}

@keyframes launch-ring {
  0%, 100% { transform: rotate(0deg) scale(0.92); stroke-dashoffset: 120; opacity: 0.72; }
  50% { transform: rotate(180deg) scale(1.06); stroke-dashoffset: 0; opacity: 1; }
}

@keyframes launch-core {
  0%, 100% { transform: scale(0.9); opacity: 0.92; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-art-connect .feature-connect-block-left,
  .feature-art-connect .feature-connect-block-right,
  .feature-art-connect .feature-connect-link,
  .feature-art-connect .feature-connect-node,
  .feature-art-connect .feature-connect-plus,
  .feature-art-personalise .feature-personalise-bar,
  .feature-art-launch .feature-launch-diamond,
  .feature-art-launch .feature-launch-ring,
  .feature-art-launch .feature-launch-core {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .feature-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feature-step-card p {
    max-width: none;
  }

  .feature-art-panel {
    min-height: 220px;
  }
}

/* Timeline */
.section-timeline {
  background: #f9fafb;
}

.timeline {
  position: relative;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline-line {
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-soft), rgba(148, 163, 184, 0.2));
}

.timeline-step {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.timeline-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.timeline-body {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.timeline-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.timeline-body p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.timeline-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.section-cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.section-cta-sub {
  font-size: 13px;
  color: var(--muted);
}

.section-cta-sub a {
  color: var(--accent);
  text-decoration: none;
}

.section-cta-sub a:hover {
  text-decoration: underline;
}

/* Use cases */
.use-cases-showcase {
  display: block;
}

.use-case-copy-card {
  position: absolute;
  inset: 0;
  padding: 76px 8px 28px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  opacity: 0;
  transform: none;
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.use-case-copy-card.is-active {
  opacity: 1;
  pointer-events: auto;
}

.use-case-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.use-case-copy-card h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--headline);
}

.use-case-copy-card p {
  margin: 0;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-soft);
}

.use-cases-tabs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.use-case-tab {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.use-case-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 45, 255, 0.2);
}

.use-case-tab:focus-visible {
  outline: 2px solid rgba(91, 45, 255, 0.55);
  outline-offset: 4px;
}

.use-case-tab.is-active {
  border-color: rgba(91, 45, 255, 0.24);
  background: rgba(91, 45, 255, 0.08);
  color: var(--accent-strong);
}

.use-case-stage {
  position: sticky;
  top: 104px;
  min-height: 100%;
  padding: 22px 20px 20px;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top, rgba(91, 45, 255, 0.12), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fd 100%);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.use-case-stage-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.use-case-copy-panel {
  position: relative;
  min-height: 620px;
  margin-left: -50px;
}

.use-case-stage::before {
  content: "";
  position: absolute;
  inset: auto -90px -110px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 45, 255, 0.12) 0%, rgba(91, 45, 255, 0) 68%);
  pointer-events: none;
}

.use-case-stage-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.use-case-stage-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.use-case-stage-controls {
  display: inline-flex;
  gap: 8px;
}

.use-case-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--headline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.use-case-arrow:hover,
.use-case-arrow:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(91, 45, 255, 0.25);
  background: #ffffff;
}

.use-case-panels {
  position: relative;
  min-height: 620px;
  z-index: 1;
}

.use-case-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  align-content: start;
  justify-items: center;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.use-case-panel.is-active {
  opacity: 1;
  pointer-events: none;
}

.use-case-panel.is-leaving {
  opacity: 0;
}

.use-case-visual {
  position: relative;
  width: min(100%, 560px);
  height: 680px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.use-case-panel img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  transform: translateY(8px) scale(1.42);
  transform-origin: center bottom;
  filter: drop-shadow(0 26px 42px rgba(15, 23, 42, 0.16));
}

/* Pricing */
.section-pricing {
  background: transparent;
}

.section-pricing .section-header h2 {
  color: #111111;
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
}

.pricing-toggle {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 6px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.billing-chip {
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #667085;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.billing-chip span {
  display: inline-flex;
  margin-left: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(91, 45, 255, 0.14);
  color: var(--accent);
  font-size: 11px;
}

.billing-chip-active {
  background: rgba(91, 45, 255, 0.08);
  border-color: rgba(91, 45, 255, 0.26);
  color: var(--accent-strong);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.price-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.price-card-featured {
  border-color: rgba(91, 45, 255, 0.22);
  box-shadow: 0 26px 58px rgba(91, 45, 255, 0.12);
}

.price-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.price-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  color: #252878;
}

.price-card-copy {
  margin: 10px 0 0;
  font-size: 1rem;
  color: #7a7f90;
}

.price-amount {
  margin: 0;
  font-weight: 700;
  color: #252878;
}

.price-amount-large {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.price-currency {
  font-size: 0.72em;
  transform: translateY(-0.06em);
}

.price-period {
  font-size: 0.34em;
  color: #7a7f90;
  margin-left: 6px;
  transform: translateY(-0.16em);
}

.price-amount-enterprise {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  line-height: 1;
}

.price-billing-note {
  margin: -6px 0 0;
  font-size: 0.95rem;
  color: #7a7f90;
}

.price-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6e60ff, #4e40df);
  color: #ffffff;
  border: 0;
}

.contact-slider-card {
  padding: 18px 18px 14px;
  border-radius: 22px;
  background: #f8f8fc;
  border: 1px solid rgba(37, 40, 120, 0.08);
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #252878;
  margin-bottom: 14px;
}

.slider-label-row span {
  line-height: 1.1;
}

.slider-label-row strong {
  font-size: 1.05rem;
  color: #4e40df;
  white-space: nowrap;
}

.contact-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(
    90deg,
    #5b2dff 0%,
    #8f7dff var(--slider-progress, 0%),
    rgba(91, 45, 255, 0.14) var(--slider-progress, 0%),
    rgba(91, 45, 255, 0.14) 100%
  );
}

.contact-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #5b2dff;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 18px rgba(91, 45, 255, 0.3);
  cursor: pointer;
}

.contact-slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: transparent;
}

.contact-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #5b2dff;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 18px rgba(91, 45, 255, 0.3);
  cursor: pointer;
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.82rem;
  color: #8c90a6;
}

.price-includes p {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #252878;
}

.price-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.97rem;
  color: #39405f;
}

.price-card li {
  position: relative;
  padding-left: 22px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #5b2dff;
  font-weight: 700;
}

.price-card li + li {
  margin-top: 10px;
}

.price-cta {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

/* Proof */
.section-proof {
  background: #f9fafb;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.quote-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-soft);
}

.quote-text {
  margin: 0 0 10px;
  font-size: 15px;
}

.quote-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.stat-strip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: #f3f4ff;
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* FAQ */
.faq-section {
  background: transparent;
  padding-top: 96px;
}

.faq-grid {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  background:
    radial-gradient(circle at top, rgba(91, 45, 255, 0.06), transparent 42%),
    linear-gradient(180deg, #f2f5fc 0%, #f7f8fc 48%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.faq-header {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.faq-item {
  background: transparent;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.2);
  padding: 0 28px;
  overflow: hidden;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 15px;
  font-weight: 500;
  color: #232323;
  text-align: left;
}

.faq-question span {
  pointer-events: none;
}

.faq-question::after {
  content: "›";
  flex: 0 0 auto;
  font-size: 30px;
  line-height: 1;
  color: #232323;
  transform: rotate(0deg);
  transition: transform 0.3s ease, color 0.25s ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(90deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.38s ease;
}

.faq-answer-inner {
  padding: 0 40px 22px 0;
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Final CTA */
.final-cta {
  padding: 112px 0 128px;
  background: transparent;
}

.final-cta-inner {
  border-radius: 30px;
  padding: 52px 32px;
  background:
    radial-gradient(circle at top, rgba(74, 85, 242, 0.12), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fd 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.final-cta h2 {
  margin: 0 0 50px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #000000;
}

.final-cta-accent {
  color: var(--headline);
}

.final-cta p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 14px;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 18px 0 26px;
  border-top: 0;
  background: transparent;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--muted);
}

.footer-contact {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-contact:hover {
  color: var(--accent);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #f3f4f6;
  padding-top: 10px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--accent);
}

.footer-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Animations */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes gradient-spin {
  0% { transform: rotate(0deg) scale(1.05); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1.05); }
}

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

/* Scroll-in animations */
[data-animate] {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

/* Responsive */
@media (max-width: 900px) {
  .site-header .container {
    padding: 0 16px;
  }

  .header-inner {
    justify-content: space-between;
    border-radius: 24px;
    margin-top: 14px;
    padding: 0 16px 0 18px;
  }
  .hero-visual {
    justify-self: center;
    margin: 0 auto;
    padding-top: 16px;
  }

  .nav {
    position: fixed;
    inset: 0;
    margin: 0;
    background:
      radial-gradient(circle at top left, rgba(91, 45, 255, 0.12), transparent 28%),
      radial-gradient(circle at top right, rgba(225, 29, 72, 0.08), transparent 24%),
      rgba(247, 248, 252, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 120px 28px 40px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
    transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 120;
  }

  .nav.nav-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    font-size: clamp(28px, 8vw, 42px);
    font-weight: 600;
    line-height: 1;
    padding: 10px 0;
  }

  .nav a::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    width: 42px;
    height: 42px;
    padding: 8px;
    position: relative;
    z-index: 170;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-toggle.open {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 12px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 140;
  }

  .site-header .header-inner {
    position: relative;
    z-index: 160;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-visual {
    justify-self: flex-start;
  }

  .hero-floating-tag {
    left: auto;
    right: 0;
    transform: translateY(110%);
  }

  .section-split-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .proof-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .use-cases-showcase {
    display: block;
  }

  .use-case-stage-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
    min-height: 0;
  }

  .use-case-stage {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
    padding: 12px 12px 12px;
  }

  .use-case-panels {
    flex: 0 0 auto;
    position: relative;
    height: auto;
    min-height: 0;
  }

  .use-case-copy-card {
    position: relative;
    min-height: auto;
    inset: auto;
    gap: 6px;
    padding: 4px 12px 2px;
  }

  .use-case-copy-panel {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    margin-left: 0;
  }

  .use-case-panel {
    position: relative;
    inset: auto;
  }

  .use-case-panel:not(.is-active) {
    display: none;
  }

  .use-case-copy-card h3 {
    font-size: clamp(20px, 6vw, 30px);
  }

  .use-case-copy-card p {
    max-width: none;
    font-size: 13px;
    line-height: 1.4;
  }

  .use-case-stage-top {
    margin-bottom: 4px;
  }

  .use-cases-tabs {
    margin-top: 6px;
  }

  .use-case-visual {
    width: min(100%, 228px);
    height: 176px;
  }

  .use-case-panel img {
    width: min(100%, 290px);
    transform: translateY(-10px) scale(0.9);
  }

  .use-case-arrow {
    width: 34px;
    height: 34px;
  }

  .use-case-tab {
    padding: 9px 10px;
    font-size: 12px;
  }
}

@media (max-width: 720px) {
  .logo-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .price-card-top {
    flex-direction: column;
  }

  .price-pill {
    margin-top: -4px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }

  .hero-inner {
    gap: 56px;
  }

  .hero-visual {
    justify-self: center;
    margin: 0 auto;
  }

  .hero-copy {
    max-width: 100%;
  }

  .use-cases-intro {
    max-width: none;
  }

  .use-cases-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 60px;
  }

  .use-case-stage {
    border-radius: 24px;
    overflow: visible;
  }

  .use-case-stage-top {
    align-items: flex-start;
  }

  .use-case-stage-main {
    display: block;
    height: auto;
    min-height: 0;
  }

  .use-case-panels,
  .use-case-copy-panel {
    display: block;
    position: static;
    height: auto;
    min-height: 0;
  }

  .use-case-panel {
    display: none;
    position: static;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .use-case-panel.is-active {
    display: block;
  }

  .use-case-visual {
    width: min(100%, 228px);
    height: auto;
    margin: 0 auto 10px;
  }

  .use-case-panel img {
    width: 100%;
    transform: none;
  }

  .use-case-copy-card {
    display: none;
    position: static;
    inset: auto;
    min-height: 0;
    opacity: 1;
    pointer-events: auto;
    gap: 6px;
    padding: 0 12px;
    transition: none;
  }

  .use-case-copy-card.is-active {
    display: flex;
  }

  .hero-actions {
    gap: 10px;
  }

  .crm-integration-line,
  .knowledge-base-line {
    display: none;
  }

  .final-cta-inner {
    text-align: left;
    padding: 58px 22px;
  }

  .final-cta-actions {
    justify-content: flex-start;
  }

  .final-cta {
    padding: 72px 0 88px;
  }

  .final-cta h2 {
    margin-bottom: 34px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .site-header .container {
    padding: 0;
  }

  .header-inner {
    border-radius: 14px;
    margin-top: 12px;
    margin-left: 16px;
    margin-right: 16px;
    padding: 0 14px 0 16px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .phone-shell {
    width: 100%;
  }

  .hero-trust-inline {
    font-size: 12px;
  }

  .site-footer {
    padding-bottom: 20px;
  }
}

/* Mobile hero cleanup */
@media (max-width: 720px) {
  .crm-integration-line,
  .knowledge-base-line {
    display: none !important;
  }

  .hero-visual {
    width: 100%;
  }

  .phone-shell {
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .phone-screen {
    margin-top: 20px;
  }

  .hero-floating-tag {
    position: static;
    transform: none;
    margin: 14px auto 0;
  }
}

/* === Logo marquee === */
.logo-marquee {
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.logo-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  animation: logo-marquee 28s linear infinite;
  will-change: transform;
}

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

.logo-marquee .logo-pill {
  min-width: 120px;
  text-align: center;
}

/* === Designer section === */
.section-designer {
  background: #ffffff;
}

.designer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.designer-window {
  margin: 0;
  padding: 10px;
  border-radius: 20px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.designer-window img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.designer-footnote {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* === Integrations section === */
.section-integrations {
  background: #f9fafb;
}

.integrations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.integration-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 14px 12px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.integration-card h3 {
  margin: 4px 0 4px;
  font-size: 15px;
}

.integration-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.integration-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--accent-soft);
  color: var(--accent);
}

.integration-card-outline {
  background: transparent;
  border-style: dashed;
  display: flex;
  align-items: center;
}

.integration-coming {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .designer-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .integrations-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .integrations-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* === Branded envelopes section === */
.section-envelopes {
  background: #ffffff;
}

.section-envelopes .container {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-envelopes .section-header {
  margin-bottom: 0;
}

/* Track Campaigns desktop mock */
.section-track {
  padding-top: 96px;
  padding-bottom: 104px;
  background: #ffffff;
  text-align: center;
}

.track-layout {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.track-dashboard {
  position: relative;
  isolation: isolate;
  background: #ffffff;
  border-radius: 36px;
  border: 1px solid #e5e7eb;
  padding: 40px;
  box-shadow:
    0 32px 80px rgba(15, 23, 42, 0.12),
    0 20px 40px rgba(148, 163, 184, 0.15);
  width: min(760px, 100%);
}

.track-dashboard::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  border: 4px solid #ffffff;
  pointer-events: none;
}

.track-dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.track-dots {
  display: inline-flex;
  gap: 6px;
}

.track-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.track-dot-red {
  background: #ef4444;
}

.track-dot-yellow {
  background: #facc15;
}

.track-dot-green {
  background: #22c55e;
}

.track-status-pill {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.track-screen {
  border-radius: 24px;
  border: 2px solid #ffffff;
  background: #ffffff;
  overflow: hidden;
  min-height: 360px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(229, 231, 235, 0.85), 0 20px 60px rgba(15, 23, 42, 0.06);
}


.track-screen-content {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px;
  animation: track-scroll 14s linear infinite;
}

.track-screen-content img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}


@keyframes track-scroll {
  0% {
    transform: translateY(0);
  }
  90% {
    transform: translateY(-70%);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .track-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .track-dashboard {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .track-layout {
    margin-top: 32px;
  }

  .track-dashboard {
    padding: 18px;
  }

  .track-screen {
    min-height: auto;
  }

  .track-screen-content {
    position: relative;
    inset: auto;
    padding: 16px;
    animation: none;
    transform: none;
  }
}

.envelope-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.envelope-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.envelope-figure {
  margin: 0;
  width: 100%;
  border-radius: 18px;
  background: #f4f4ff;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  transform-origin: center;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.envelope-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.envelope-card:nth-child(1) .envelope-figure {
  transform: rotate(-4deg);
}
.envelope-card:nth-child(2) .envelope-figure {
  transform: rotate(2deg);
}
.envelope-card:nth-child(3) .envelope-figure {
  transform: rotate(-3deg);
}
.envelope-card:nth-child(4) .envelope-figure {
  transform: rotate(3deg);
}

.envelope-card:hover .envelope-figure {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
}

.envelope-caption {
  display: none;
}

@media (max-width: 1024px) {
  .envelope-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .envelope-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 16px 24px;
  }

  .envelope-card {
    flex: 0 0 55%;
    scroll-snap-align: center;
  }

  .envelope-figure {
    transform: scale(0.8);
    transform-origin: center;
  }
}



.hero-phone-block {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.28s ease-out, transform 0.28s ease-out;
}

.hero-phone-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dotted-flow {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: -56px;
  }
}

/* Slightly slower motion on the right-hand line so they feel like a loop */
.knowledge-base-line::before {
  animation-duration: 11s;
}

.hero-card-image{
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  border-radius: 16px;
}

/* Hero side loops: CRM Integrations & Knowledge Base */
.crm-integration-line,
.knowledge-base-line {
  position: absolute;
  width: 180px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--muted);
  pointer-events: none;
}

.crm-integration-line {
  left: -150px;
  top: calc(50% - 50px); /* move whole left group up by 50px */
  transform: translateY(-50%);
}

.knowledge-base-line {
  right: -150px;
  top: calc(56% + 30px); /* move whole right group down by 30px */
  transform: translateY(-50%);
}

.loop-centre {
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: none;
  font-weight: 500;
  text-align: center;
  color: #020617;
  margin: 0;
  transform: translateY(-30px);
}

.loop-label {
  position: relative;
  z-index: 1;
  background: #e4e7ff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 9px;
  text-transform: none;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.loop-label-top {
  margin-bottom: 4px;
  transform: translateY(-10px);
}

.loop-label-bottom {
  margin-top: 4px;
  transform: translateY(46px);
}

.loop-path {
  position: absolute;
  inset: 6px -6px;
  display: block;
  z-index: 0;
}

.loop-svg {
  width: 100%;
  height: 100%;
}

.loop-path-stroke {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 2.5 4;
  animation: loop-dash 9s linear infinite;
}

/* Slight colour variation between left and right loops */
.crm-integration-line .loop-path-stroke {
  stroke: rgba(129, 140, 248, 0.9);
}

.knowledge-base-line .loop-path-stroke {
  stroke: rgba(15, 23, 42, 0.9);
  animation-direction: reverse;
}

/* Mirror the Knowledge Base loop so it opens toward the phone */
.knowledge-base-line .loop-svg {
  transform: scaleX(-1);
  transform-origin: center;
}

@keyframes loop-dash {
  to {
    stroke-dashoffset: 40;
  }
}

.hero-phone-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Keep the card body locked to a 5x7 frame inside the phone */
.animated-card-body {
  aspect-ratio: 5 / 7;
}

/* Remove old overlay gradient + black horizontal lines */
.animated-gradient,
.animated-text-lines {
  display: none;
}


/* updated */
.metric-strong {
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
}

/* updated */
.metric-sub {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.hero-card-media {
  position: relative;
  width: 100%;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.animated-card-body--video {
  position: relative;
}

.hero-card-video-shell {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease-out;
}

.hero-card-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* When playing, fade out the image & reveal inline player */
.animated-card-body--video.is-priming .hero-card-media {
  opacity: 0;
  transform: scale(0.99);
}

.animated-card-body--video.is-priming .hero-card-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}

.animated-card-body--video.is-playing .hero-card-video-shell {
  opacity: 1;
  pointer-events: auto;
}

.animated-card-body--video.is-playing .hero-card-media {
  opacity: 0;
}

/* Play button overlay */
.hero-card-play {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 240, 255, 0.96));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.28);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-card-play::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(91, 45, 255, 0.18), transparent 60%);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.hero-card-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 14px 30px rgba(91, 45, 255, 0.3);
  background: linear-gradient(145deg, #ffffff, rgba(230, 230, 255, 0.98));
}

.hero-card-play:hover::after {
  opacity: 1;
  transform: scale(1.02);
}

.hero-card-play-icon {
  width: 0;
  height: 0;
  border-left: 12px solid var(--accent);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transform: translateX(1px);
}

.hero-card-sound {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-card-sound:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.24);
}

.animated-card.is-playing-video {
  animation: none;
  transform: translateY(0);
}

/* === Speak to sales modal === */
.sales-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
  overflow-y: auto;
  padding: 24px 16px;
}

.sales-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.modal-open {
  overflow: hidden;
}

.sales-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 10, 0.46);
}

.sales-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 92vw);
  background: linear-gradient(180deg, #f4f7fd 0%, #edf2fb 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(18, 18, 18, 0.2);
  padding: 36px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}


.sales-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
}

.sales-modal-form {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.sales-modal-brand {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

.sales-modal-form h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.sales-modal-sub {
  margin: 0 0 20px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
}

.sales-form {
  display: grid;
  gap: 14px;
}

.sales-phone-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}

.sales-phone-row select {
  border: none;
  border-radius: 12px;
  background: #f4f4f4;
  padding: 12px 10px;
  font-size: 14px;
  color: #111;
}

.sales-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sales-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
}

.sales-form input,
.sales-form textarea {
  border: none;
  border-radius: 12px;
  background: #f4f4f4;
  padding: 12px 14px;
  font-size: 14px;
  color: #111;
}

.sales-form textarea {
  resize: vertical;
  min-height: 92px;
}

.sales-form-check {
  grid-template-columns: 16px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 12px;
}

.sales-form-check input {
  margin-top: 3px;
}

.sales-form-legal {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
}

.sales-form-success {
  display: none;
  padding: 24px 10px 10px;
}

.sales-form-success h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.sales-form-success p {
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
}

.sales-form-frame {
  width: 0;
  height: 0;
  border: 0;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sales-modal-aside {
  border-radius: 22px;
  background: linear-gradient(155deg, #f6f2ec 0%, #e7e1d7 50%, #f1eee7 100%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.sales-modal-aside::before,
.sales-modal-aside::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 95, 0.35), rgba(255, 193, 95, 0));
}

.sales-modal-aside::before {
  top: -60px;
  left: -40px;
}

.sales-modal-aside::after {
  bottom: -80px;
  right: -60px;
}

.sales-modal-logo {
  width: min(280px, 70%);
  height: auto;
  position: relative;
  z-index: 1;
}

.sales-modal-slider {
  width: 100%;
  position: relative;
  z-index: 1;
}

.sales-modal-slider .logo-slider {
  padding: 0;
}

.sales-modal-slider .logo-track {
  mask-image: none;
  -webkit-mask-image: none;
}

.mini-logo-slider .logo-track {
  animation-duration: 18s;
}

.mini-logo-slider .logo-box {
  min-width: 110px;
  height: 56px;
}

.sales-modal.is-submitted .sales-form {
  display: none;
}

.sales-modal.is-submitted .sales-form-success {
  display: block;
}

@media (max-width: 900px) {
  .sales-modal {
    align-items: flex-start;
    padding: 16px 12px 24px;
  }

  .sales-modal-panel {
    padding: 20px;
    width: min(920px, 94vw);
  }

  .sales-modal-grid {
    grid-template-columns: 1fr;
  }

  .sales-modal-aside {
    min-height: 220px;
  }

  .sales-form-row {
    grid-template-columns: 1fr;
  }

  .sales-phone-row {
    grid-template-columns: 1fr;
  }
}
