/* Design system */
:root {
  --bg: #0b1020;
  --panel: #0f172a;
  --muted: #a3b1c6;
  --text: #e6edf3;
  --primary: #6d6efc;
  --primary-2: #22d3ee;
  --ring: rgba(109,110,252,.35);
  --card: rgba(255,255,255,.04);
  --card-border: rgba(255,255,255,.08);
  --shadow: 0 8px 35px rgba(0,0,0,.35);
  --radius: 14px;
}
[data-theme="light"] {
  --bg: #f7f8fc;
  --panel: #ffffff;
  --muted: #42526b;
  --text: #0b1220;
  --card: rgba(0,0,0,.04);
  --card-border: rgba(0,0,0,.06);
  --shadow: 0 20px 45px rgba(25, 40, 70, .10);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92vw); margin: 0 auto; }

/* Background FX */
.bg { position: fixed; inset: 0; pointer-events:none; z-index:-2; }
.fx-grid {
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(109,110,252,.20), transparent 60%),
    radial-gradient(1000px 600px at 80% -20%, rgba(34,211,238,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 70%);
  mask-image: radial-gradient(1200px 800px at 50% -300px, #000 65%, transparent 66%);
}

/* Nav */
.nav { position: sticky; top: 0; inset-inline: 0; z-index: 50; backdrop-filter: blur(10px) saturate(140%); border-bottom: 1px solid var(--card-border); background: color-mix(in oklab, var(--panel) 75%, transparent); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; }
.brand-pill { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; font-weight: 800; }
.brand-text { background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 12px; align-items: center; }
.nav-links a { padding: 8px 10px; border-radius: 10px; color: var(--muted); }
.nav-links a:hover { background: var(--card); color: var(--text); }

.hide-sm { display: none; }
@media (min-width: 860px) { .hide-sm { display: inline; } }

/* Buttons */
.btn { display:inline-flex; align-items: center; justify-content:center; gap:.5rem; padding:.72rem 1rem; border-radius: 12px; border:1px solid transparent; cursor:pointer; transition:.2s ease; font-weight:600; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.btn-ghost { color: var(--muted); border-color: var(--card-border); background: transparent; }
.btn-ghost:hover { background: var(--card); color: var(--text); }
.btn-outline { border-color: var(--card-border); background: var(--card); color: var(--text); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color:#fff; box-shadow: 0 8px 24px rgba(109,110,252,.35); }
.btn-lg { padding: .9rem 1.25rem; }

/* Hero */
.section { padding: clamp(48px, 10vw, 90px) 0; position: relative; }
.hero { padding-top: 80px; }
.hero-inner { text-align: center; }
.display { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.015em; }
.grad { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lead { margin: 0 auto 20px; color: var(--muted); max-width: 760px; }
.cta-row { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top: 8px; }
.stat-row { display:flex; gap:18px; justify-content:center; margin-top: 28px; flex-wrap:wrap; }
.stat { padding: 14px 18px; border-radius: 14px; background: var(--card); border:1px solid var(--card-border); backdrop-filter: blur(6px); }
.stat-val { font-weight: 800; font-size: 1.25rem; }
.stat-key { color: var(--muted); font-size: .9rem; }

/* Features */
.mb-16 { margin-bottom: 16px; } .mb-24{margin-bottom:24px;} .mb-32{margin-bottom:32px;}
.center { text-align: center; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 8px; }
.muted { color: var(--muted); }
.grid { display:grid; gap:16px; }
.features { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.card { background: var(--card); border:1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.feature h3 { margin: 10px 0 6px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center; }
.feature-icon svg { width: 22px; height: 22px; fill: currentColor; }
.pink { color: #ff7ad9; background: #2a0f23; } .blue{ color:#60a5fa;background:#0d1a36;} .lime{color:#a3e635;background:#17240d;}
.violet{ color:#a78bfa;background:#1a1333;} .cyan{ color:#22d3ee;background:#0b2930;} .amber{ color:#f59e0b;background:#2b1f08;}

/* Pricing */
.row-between { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.pricing { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.plan .price { display:flex; align-items:baseline; gap:2px; margin: 4px 0 12px; }
.price .currency { opacity:.8; }
.price .price-val { font-size: 2.25rem; font-weight: 800; letter-spacing:-.02em; }
.period { color: var(--muted); margin-left: 2px; }
.plan .pill { align-self:flex-start; margin-bottom: 8px; font-size:.75rem; padding:.2rem .5rem; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color:#fff; border-radius:999px; }
.plan.highlight { outline: 2px solid color-mix(in oklab, var(--primary) 40%, transparent); box-shadow: 0 10px 35px rgba(109,110,252,.25); }
.list { padding:0; margin: 0 0 16px; list-style:none; color: var(--muted); }
.list li { padding: 6px 0; border-bottom: 1px dashed var(--card-border); }
.badge { padding:.25rem .55rem; border-radius: 999px; background: var(--card); border:1px solid var(--card-border); color: var(--muted); }
.badge.soft { background: transparent; }

.toggle { display:flex; align-items:center; gap:10px; color: var(--muted); }
.switch { position:relative; width: 48px; height: 28px; display:inline-block; }
.switch input { display:none; }
.slider { position:absolute; cursor:pointer; inset:0; background: var(--card); border:1px solid var(--card-border); border-radius:999px; transition:.2s; }
.slider:before { content:""; position:absolute; height:22px; width:22px; left: 2px; top: 2px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-radius:50%; transition:.2s; }
.switch input:checked + .slider { background: color-mix(in oklab, var(--primary) 30%, var(--card)); }
.switch input:checked + .slider:before { transform: translateX(20px); }

/* Network & FAQ */
.badge-row { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.faq { display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
details summary { cursor: pointer; font-weight: 600; }

/* Contact */
.contact { display:grid; place-items:center; }
.contact-card { max-width: 760px; width:100%; }
.form { grid-template-columns: repeat(2,1fr); gap:12px; }
.form .input { background: var(--panel); color: var(--text); border:1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; }
.form textarea { grid-column: 1 / -1; resize: vertical; min-height: 110px; }
.form .btn { grid-column: 1 / -1; }

/* Footer */
.footer { border-top:1px solid var(--card-border); padding: 28px 0; background: color-mix(in oklab, var(--panel) 70%, transparent); }

/* Small helpers */
.mb-0{margin-bottom:0} .mb-8{margin-bottom:8px}
.row { display:flex; gap:12px; }
.row-between .badge { margin-left: 8px; }

/* Icons */
.icon { display:inline-block; fill: currentColor; }

/* Elevation on scroll */
.nav.elevated { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
