:root {
  --bg: #fbf8ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-soft: #f4ecff;
  --border: rgba(124, 58, 237, 0.12);
  --text: #1d2142;
  --muted: #66708f;
  --brand: #7c3aed;
  --brand-2: #ec4899;
  --brand-3: #14b8a6;
  --shadow: 0 22px 60px rgba(80, 51, 156, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #fffaff 0%, #fbf8ff 35%, #f6fbff 100%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(236,72,153,.16), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(124,58,237,.14), transparent 24%),
    radial-gradient(circle at 78% 80%, rgba(20,184,166,.12), transparent 22%);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section { position: relative; padding: 96px 0; }
.section-tight { padding: 28px 0 48px; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2,
.hero-copy h1,
.final-cta-card h2,
.callout-card h2,
.faq-grid h2 {
  margin: 12px 0 16px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.section-heading h2,
.final-cta-card h2,
.callout-card h2,
.faq-grid h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.section-heading p,
.hero-copy .lead,
.final-cta-card p,
.callout-card p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.eyebrow {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(124,58,237,0.08);
  color: var(--brand);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(251,248,255,.7);
  border-bottom: 1px solid rgba(124,58,237,.07);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.2rem;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
}
.brand-dot { color: var(--brand-2); }
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 40px rgba(124,58,237,.25);
}
.btn-ghost {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(124,58,237,.25);
  color: var(--brand);
}
.btn-lg { padding: 17px 24px; font-size: 1rem; }
.btn:not(.btn-lg) { padding: 13px 18px; }

.hero { padding-top: 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}
.hero-copy h1 span {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.proof-pill,
.status-chip,
.cloud-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: .83rem;
  font-weight: 800;
}
.proof-pill { background: rgba(255,255,255,.7); border: 1px solid var(--border); }
.status-chip { background: rgba(20,184,166,.12); color: #0f766e; }
.cloud-pill { background: rgba(124,58,237,.12); color: var(--brand); margin-top: 8px; }
.mini-metrics {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mini-metrics div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.65);
  border: 1px solid var(--border);
}
.mini-metrics strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.mini-metrics span { color: var(--muted); line-height: 1.45; }

.hero-visual { position: relative; }
.floating-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(124,58,237,.12);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.app-window { padding: 18px; }
.window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
}
.window-top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d8d4f7;
}
.window-title { margin-left: 10px; font-weight: 700; color: var(--muted); }
.window-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
}
.mock-sidebar,
.mock-panel,
.stat-card,
.callout-card,
.feature-card,
.benefit-card,
.price-card,
.final-cta-card,
.diagram-card,
.step-card,
.faq-list details {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(92,58,170,.06);
}
.mock-sidebar {
  padding: 16px;
  background: linear-gradient(180deg, #f7f2ff 0%, #fff 100%);
}
.mock-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.mock-nav {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}
.mock-nav.active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 10px 18px rgba(124,58,237,.08);
}
.mock-main { display: grid; gap: 14px; }
.mock-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(236,72,153,.1));
}
.mock-banner .tiny { margin: 0 0 5px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.mock-stats,
.mock-content-grid,
.feature-grid,
.pricing-grid,
.benefit-grid,
.logo-grid,
.callout-grid {
  display: grid;
  gap: 16px;
}
.mock-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-card { padding: 18px; }
.stat-card span { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 10px; }
.stat-card strong { font-size: 1.7rem; }
.mock-content-grid { grid-template-columns: 1.2fr .9fr; }
.mock-panel { padding: 18px; }
.mock-panel.tall { grid-row: span 2; }
.panel-head,
.price-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.panel-head span,
.price-top p,
.queue-item span,
.price-note,
.logo-title,
.site-footer p,
.site-footer a,
.faq-list p,
.step-card p,
.benefit-card p,
.feature-card p,
.price-card ul,
.callout-card ul,
.connection-note,
.legal-page p,
.legal-page li {
  color: var(--muted);
}
.queue-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(124,58,237,.08);
}
.queue-item:last-child { border-bottom: 0; }
.thumb {
  width: 56px;
  height: 72px;
  border-radius: 16px;
}
.thumb.pink { background: linear-gradient(180deg, #fbcfe8, #ec4899); }
.thumb.peach { background: linear-gradient(180deg, #fed7aa, #fb7185); }
.thumb.violet { background: linear-gradient(180deg, #ddd6fe, #7c3aed); }
.chart-svg { margin-top: 6px; }
.worker-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 126px;
}
.worker-node,
.worker-arrow {
  border-radius: 18px;
  font-weight: 800;
}
.worker-node {
  padding: 14px 16px;
  background: var(--surface-soft);
}
.worker-node.accent {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
}
.worker-arrow { color: var(--brand); font-size: 1.6rem; }
.floating-badge {
  position: absolute;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--text);
  font-weight: 800;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.badge-1 { left: -20px; bottom: 50px; }
.badge-2 { right: -16px; top: 40px; }

.logo-strip .logo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.logo-title { text-align: center; margin-bottom: 18px; }
.logo-grid div {
  padding: 16px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature-card,
.benefit-card,
.price-card,
.callout-card,
.step-card,
.faq-list details { padding: 24px; }
.gradient-soft {
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(236,72,153,.12));
}
.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.4rem;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(236,72,153,.18));
}
.feature-card h3,
.benefit-card h3,
.price-card h3,
.step-card h3,
.callout-card strong,
.final-cta-card h2,
.legal-card h1,
.legal-card h2 { margin: 0 0 10px; }

.alt-section {
  background: linear-gradient(180deg, rgba(124,58,237,.03), rgba(255,255,255,.32));
}
.how-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
}
.steps { display: grid; gap: 14px; margin-top: 24px; }
.step-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
}
.step-card span:first-child {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.diagram-card { padding: 16px; }
.workflow-svg { width: 100%; height: auto; }

.benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { position: relative; }
.price-card.featured {
  transform: translateY(-10px);
  border-color: rgba(124,58,237,.28);
  box-shadow: 0 22px 60px rgba(124,58,237,.16);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.price {
  margin: 18px 0;
  font-weight: 700;
  color: var(--muted);
}
.price span {
  color: var(--text);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -.05em;
}
.price-card ul,
.callout-card ul,
.legal-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}
.price-card li::before,
.callout-card li::before,
.legal-card li::before {
  content: '•';
  color: var(--brand);
  font-weight: 900;
  margin-right: 10px;
}
.pricing-note { text-align: center; margin-top: 20px; }

.callout-grid { grid-template-columns: 1.2fr .8fr; }
.callout-card.large { background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(20,184,166,.08)); }
.callout-card.small ul { margin-top: 14px; }

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: start;
}
.faq-list { display: grid; gap: 14px; }
.faq-list details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}
.faq-list details[open] summary { margin-bottom: 12px; }

.final-cta-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, rgba(124,58,237,.11), rgba(236,72,153,.1), rgba(20,184,166,.08));
}

.site-footer {
  padding: 26px 0 48px;
  border-top: 1px solid rgba(124,58,237,.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .6fr .6fr;
  gap: 20px;
}
.footer-brand { margin-bottom: 12px; }
.site-footer h4 { margin: 0 0 12px; }
.site-footer a { display: block; margin: 8px 0; }

.legal-page {
  padding: 70px 0 100px;
}
.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.legal-card h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: -.04em;
}
.legal-card h2 { font-size: 1.35rem; margin-top: 28px; }
.legal-card p,
.legal-card li { line-height: 1.75; }
.back-home { margin-top: 24px; }

@media (max-width: 1100px) {
  .hero-grid,
  .how-grid,
  .faq-grid,
  .callout-grid,
  .footer-grid,
  .mock-content-grid,
  .feature-grid,
  .benefit-grid,
  .pricing-grid,
  .logo-strip .logo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links { display: none; }
  .mock-content-grid { grid-template-columns: 1fr; }
  .mock-panel.tall { grid-row: auto; }
}

@media (max-width: 820px) {
  .section { padding: 74px 0; }
  .hero-grid,
  .how-grid,
  .faq-grid,
  .callout-grid,
  .footer-grid,
  .feature-grid,
  .benefit-grid,
  .pricing-grid,
  .logo-strip .logo-grid,
  .hero .mini-metrics,
  .mock-stats,
  .window-body {
    grid-template-columns: 1fr;
  }
  .window-body { gap: 12px; }
  .mock-sidebar { display: none; }
  .site-header { position: static; }
  .nav-wrap,
  .final-cta-card,
  .hero-actions,
  .cta-actions { flex-direction: column; align-items: stretch; }
  .nav-actions { width: 100%; }
  .floating-badge { position: static; margin-top: 14px; }
  .badge-1, .badge-2 { left: auto; right: auto; top: auto; bottom: auto; }
}
