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

:root {
  --bg: #f5f6fb;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f3f4ff;
  --border-subtle: #e2e4f0;
  --text: #050814;
  --text-soft: #4b5563;
  --accent: #5b2dff;
  --accent-soft: rgba(91, 45, 255, 0.08);
  --accent-strong: #4318ff;
  --muted: #6b7280;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --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;
}

body {
  min-height: 100vh;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
}

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

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

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

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 0;
  position: relative;
  transition: color 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: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  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, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 14px 40px rgba(91, 45, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(91, 45, 255, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: var(--text);
  border-color: #e5e7eb;
}

.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.full-width {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* HERO */
.hero {
  position: relative;
  padding: 40px 0 64px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #ece9ff 0, #ffffff 45%, #ffffff 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 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-size: 70px 70px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at top left, black, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at top left, black, transparent 60%);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(91, 45, 255, 0.14), transparent 55%),
    radial-gradient(circle at 100% 20%, rgba(167, 139, 250, 0.16), transparent 60%);
  pointer-events: none;
}

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

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

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  font-size: 12px;
  color: var(--muted);
}

.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.02;
  letter-spacing: -0.04em;
  margin: 14px 0 10px;
  font-weight: 800;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0 0 22px;
}

.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 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
  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 22px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  border-radius: 999px;
  background: #e5e7eb;
}

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


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

.hero-phone-content {
  position: absolute;
  inset: 0;
  padding: 12px 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  transform: translateX(16px) scale(0.97);
}

.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);
}

/* 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;
}

.animated-card {
  margin: 8px 0 8px auto;
  width: 100%;
  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;
}

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

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

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

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

.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);
}

/* Logo strip */
.logo-strip {
  padding: 18px 0 30px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

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

.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: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.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;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255,255,255,0) 100%);
}

/* Track with 80px boxes + 70px spacing */
.logo-track {
  display: flex;
  align-items: center;
  gap: 70px;
  animation: logo-scroll 110s linear infinite;
}

.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: #ffffff;
}

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

.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;
}

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

.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-soft);
  font-size: 15px;
}

/* 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: var(--surface);
  border-radius: 16px;
  padding: 14px 14px 12px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.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: var(--accent-soft);
  color: var(--accent);
}

/* Feature stripes */
.feature-stripes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-stripe {
  display: grid;
  grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--accent-soft);
}

.feature-content h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

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

.feature-meta {
  text-align: right;
  font-size: 12px;
}

.meta-label {
  display: block;
  color: var(--muted);
}

.meta-value {
  display: block;
  font-weight: 500;
}

/* 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: var(--surface);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.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-grid {
  display: grid;
  grid-template-columns: 2fr 1.6fr;
  grid-auto-rows: 1fr;
  gap: 16px;
}

.use-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.use-card-tall {
  grid-row: span 2;
}

.use-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.use-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}

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

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

.use-card li + li {
  margin-top: 4px;
}

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

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

.billing-chip {
  border-radius: 999px;
  padding: 5px 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
}

.billing-chip-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 20px 20px 18px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.price-card-featured {
  background: linear-gradient(135deg, rgba(91, 45, 255, 0.04), rgba(147, 107, 255, 0.12));
  border-color: rgba(91, 45, 255, 0.45);
  box-shadow: 0 20px 46px rgba(91, 45, 255, 0.25);
  transform: translateY(-4px);
}

.price-tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.price-amount {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
}

.price-amount span {
  font-size: 13px;
  color: var(--muted);
  margin-left: 3px;
}

.price-card ul {
  margin: 4px 0 10px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-soft);
}

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

.price-pill {
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(91, 45, 255, 0.06);
  color: var(--accent);
  border: 1px solid rgba(91, 45, 255, 0.4);
  margin-bottom: 4px;
}

/* 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 #e5e7eb;
  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: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 16px;
  transition: transform 0.18s ease;
}

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

.faq-item p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* Final CTA */
.final-cta {
  padding-bottom: 64px;
  background: #ffffff;
}

.final-cta-inner {
  border-radius: 26px;
  padding: 26px 22px;
  background: radial-gradient(circle at top, rgba(91, 45, 255, 0.08), #ffffff);
  border: 1px solid rgba(91, 45, 255, 0.28);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.final-cta h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.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: 1px solid #e5e7eb;
  background: #ffffff;
}

.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-nav a: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: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-animate-delay="40"] { transition-delay: 0.04s; }
[data-animate][data-animate-delay="60"] { transition-delay: 0.06s; }
[data-animate][data-animate-delay="70"] { transition-delay: 0.07s; }
[data-animate][data-animate-delay="80"] { transition-delay: 0.08s; }
[data-animate][data-animate-delay="120"] { transition-delay: 0.12s; }

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    justify-content: space-between;
  }

  .nav {
    position: absolute;
    inset: calc(var(--nav-height)) 16px auto 16px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    flex-direction: column;
    gap: 6px;
    transform-origin: top;
    transform: scaleY(0.6);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

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

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

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

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

  .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-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .use-card-tall {
    grid-row: span 1;
  }
}

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

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

  .hero {
    padding-top: 32px;
  }

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

  .hero-actions {
    gap: 10px;
  }

  .final-cta-inner {
    text-align: left;
  }

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

  .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;
  }

  .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;
  }
}

/* === 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: #f6f0ff;
}

.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%;
  aspect-ratio:5/7;
  object-fit:cover;
  border-radius:16pxx;
}

/* 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);
}

/* 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: cover;
}

/* 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: 32px;
  color: #4A00FF;
}

/* updated */
.metric-sub {
  font-size: 18px;
  color: #6A6A6A;
  font-weight: 400;
}

.hero-card-media {
  position: relative;
  width: 100%;
}

.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 180ms ease-out;
}

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

/* When playing, fade out the image & reveal inline player */
.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: rgba(255, 255, 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;
}

.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);
}
