:root {
  --bg: #0a0a12;
  --bg-2: #11111d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f4f8;
  --muted: #9a9ab0;
  --brand: #7c5cff;
  --brand-2: #ff5ca8;
  --brand-3: #28e0c8;
  --radius: 18px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Background orbs */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-1 { width: 520px; height: 520px; background: var(--brand); top: -160px; left: -120px; }
.orb-2 { width: 460px; height: 460px; background: var(--brand-2); top: 280px; right: -160px; opacity: 0.4; }
.orb-3 { width: 420px; height: 420px; background: var(--brand-3); bottom: -180px; left: 35%; opacity: 0.28; }

/* Layout helpers */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-3); margin-bottom: 14px;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 30px rgba(124, 92, 255, .4); }
.btn-primary:hover { box-shadow: 0 12px 38px rgba(124, 92, 255, .55); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,.1); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--brand-3); transform: none; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 900;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* Hero */
.hero { max-width: 920px; margin: 0 auto; padding: 70px 24px 40px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 0.85rem; color: var(--muted);
  margin-bottom: 28px; transition: border-color .2s;
}
.pill:hover { border-color: var(--brand); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 0 4px rgba(40,224,200,.18); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
.gradient-text {
  background: linear-gradient(120deg, var(--brand-3), var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { color: var(--muted); font-size: 1.2rem; max-width: 620px; margin: 26px auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; color: var(--muted); font-size: 0.95rem; }
.hero-proof strong { color: var(--text); }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.avatars span:nth-child(2) { background: linear-gradient(135deg, var(--brand-2), var(--brand-3)); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, var(--brand-3), var(--brand)); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #ffb35c, var(--brand-2)); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px;
  padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.stat { text-align: center; }
.stat-num { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-size: 0.9rem; }

/* Logos */
.logos { max-width: var(--maxw); margin: 0 auto; padding: 30px 24px; text-align: center; }
.logos p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; }
.logo-row span { font-weight: 700; font-size: 1.15rem; color: rgba(255,255,255,.55); transition: color .2s; }
.logo-row span:hover { color: var(--text); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(124,92,255,.5); background: var(--surface-2); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(255,92,168,.18)); margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 1.2rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Quote */
.quote-section { max-width: 860px; }
.quote {
  text-align: center; background: linear-gradient(135deg, rgba(124,92,255,.12), rgba(255,92,168,.08));
  border: 1px solid var(--border); border-radius: 24px; padding: 50px 40px;
}
.quote blockquote { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; text-align: left; color: var(--muted); }
.q-avatar {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.quote figcaption strong { color: var(--text); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px; position: relative;
}
.price-card--featured {
  border-color: rgba(124,92,255,.6); background: linear-gradient(180deg, rgba(124,92,255,.12), var(--surface));
  box-shadow: 0 20px 60px rgba(124,92,255,.22); transform: scale(1.03);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  padding: 5px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.price { font-size: 1rem; color: var(--muted); margin-bottom: 6px; }
.price span { font-size: 2.6rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.price-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.price-card ul { list-style: none; margin-bottom: 26px; display: grid; gap: 11px; }
.price-card li { color: var(--muted); position: relative; padding-left: 26px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-3); font-weight: 800; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; transition: border-color .2s;
}
details[open] { border-color: rgba(124,92,255,.4); }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand-3); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 20px; }

/* CTA */
.cta { max-width: var(--maxw); margin: 40px auto 90px; padding: 0 24px; }
.cta-inner {
  text-align: center; padding: 64px 32px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(124,92,255,.22), rgba(255,92,168,.16));
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.cta-inner > p { color: var(--muted); margin: 14px auto 30px; max-width: 460px; font-size: 1.08rem; }
.cta-form { display: flex; gap: 12px; justify-content: center; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.cta-form input {
  flex: 1; min-width: 220px; padding: 15px 18px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(0,0,0,.3); color: var(--text); font-size: 1rem; font-family: inherit;
}
.cta-form input:focus { outline: none; border-color: var(--brand); }
.cta-fine { color: var(--muted); font-size: 0.88rem; margin-top: 18px; }

/* Footer */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 40px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-brand { max-width: 280px; }
.footer-brand p { color: var(--muted); margin-top: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 0.95rem; margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--muted); margin-bottom: 9px; transition: color .2s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; flex-wrap: wrap; gap: 14px; }
.socials { display: flex; gap: 16px; }
.socials a { font-size: 1.2rem; transition: color .2s; }
.socials a:hover { color: var(--brand-3); }

/* Reveal animation */
.section, .logos { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.section.in, .logos.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 16px; right: 16px;
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 20px; gap: 18px;
  }
  .feature-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .price-card--featured { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .section, .logos { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* Legal pages (privacy / terms) */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 90px; }
.legal-head { margin-bottom: 40px; }
.legal-head .eyebrow { margin-bottom: 16px; }
.legal-head h1 { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.legal-head .updated { color: var(--muted); margin-top: 14px; font-size: 0.95rem; }
.legal .lead { color: var(--text); font-size: 1.12rem; margin: 24px 0 8px; }
.legal h2 { font-size: 1.4rem; margin: 44px 0 12px; letter-spacing: -0.01em; scroll-margin-top: 90px; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol.body-list { padding-left: 22px; margin: 0 0 18px; }
.legal li { margin-bottom: 9px; }
.legal a.inline { color: var(--brand-3); }
.legal a.inline:hover { text-decoration: underline; }
.legal .toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 8px 0 8px; }
.legal .toc h2 { margin: 0 0 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); }
.legal .toc ol { padding-left: 20px; columns: 2; column-gap: 36px; margin: 0; }
.legal .toc li { margin-bottom: 7px; }
.legal .toc a { color: var(--muted); }
.legal .toc a:hover { color: var(--text); }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
