:root {
  --bg: #0a0e1a; --surface: #121829; --surface-2: #1a2236; --border: #1e293b;
  --text: #e2e8f0; --muted: #94a3b8;
  --accent: #00d4ff; --accent-2: #6366f1; --ok: #10b981;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font);
       font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,14,26,.85);
       backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.logo svg { width: 28px; height: 28px; }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn { color: #0a0e1a; }

.btn { display: inline-block; padding: 10px 20px; border-radius: 8px;
       font-weight: 600; font-size: .95rem; cursor: pointer;
       border: 1px solid transparent; transition: all .15s ease; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a0e1a; }
.btn-primary:hover { opacity: .92; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-2); text-decoration: none; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.hero { padding: 96px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin: 0 0 20px;
           font-weight: 800; letter-spacing: -0.02em; }
.hero h1 .grad { background: linear-gradient(135deg, var(--accent), var(--accent-2));
                 -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
         padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { text-align: center; }
.stat strong { display: block; font-size: 2.4rem; font-weight: 800;
               background: linear-gradient(135deg, var(--accent), var(--accent-2));
               -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .9rem; }

section.block { padding: 80px 0; }
.section-title { text-align: center; margin: 0 0 12px; font-size: 2rem; font-weight: 700; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 48px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--border);
           border-radius: var(--radius); transition: transform .15s ease, border-color .15s ease; }
.feature:hover { transform: translateY(-2px); border-color: var(--accent-2); }
.feature h3 { margin: 0 0 10px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature .ico { width: 44px; height: 44px; margin-bottom: 18px;
                display: flex; align-items: center; justify-content: center;
                background: linear-gradient(135deg, rgba(0,212,255,.15), rgba(99,102,241,.15));
                border-radius: 10px; color: var(--accent); }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-step { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.how-step .num { display: inline-block; width: 32px; height: 32px; border-radius: 8px;
                 background: var(--accent-2); color: #fff; font-weight: 700;
                 text-align: center; line-height: 32px; margin-bottom: 16px; }
.how-step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.how-step p { margin: 0; color: var(--muted); font-size: .95rem; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
        padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); position: relative; }
.plan.featured::before { content: "Popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
                         background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a0e1a;
                         padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.plan h3 { margin: 0 0 4px; font-size: 1.15rem; }
.plan .price { font-size: 2.4rem; font-weight: 800; margin: 8px 0 4px; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan .desc { color: var(--muted); font-size: .95rem; margin: 0 0 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 8px 0; color: var(--muted); font-size: .95rem; }
.plan li::before { content: "✓  "; color: var(--ok); font-weight: 700; }

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tcard { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.tcard p { margin: 0 0 16px; font-size: .95rem; }
.tcard .who { color: var(--muted); font-size: .9rem; }
.tcard .who strong { color: var(--text); display: block; }

.cta { text-align: center; padding: 64px 32px;
       background: linear-gradient(135deg, rgba(0,212,255,.12), rgba(99,102,241,.12));
       border: 1px solid var(--border); border-radius: var(--radius); margin: 32px 0 64px; }
.cta h2 { font-size: 2rem; margin: 0 0 12px; }
.cta p { color: var(--muted); margin: 0 0 28px; }

footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.foot-grid a { display: block; color: var(--muted); font-size: .9rem; padding: 4px 0; }
.foot-grid a:hover { color: var(--text); text-decoration: none; }
.foot-brand p { color: var(--muted); font-size: .9rem; margin: 12px 0 0; max-width: 320px; }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex;
               justify-content: space-between; color: var(--muted); font-size: .85rem;
               flex-wrap: wrap; gap: 12px; }

.page { padding: 64px 0; }
.page h1 { font-size: 2.4rem; margin: 0 0 16px; }
.page h2 { margin: 40px 0 16px; font-size: 1.5rem; }
.page h3 { margin: 28px 0 10px; font-size: 1.15rem; }
.page p { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 32px; }
pre { background: #0d1220; border: 1px solid var(--border); border-radius: 8px;
      padding: 18px; overflow-x: auto; font-family: var(--mono); font-size: .88rem; color: #cbd5e1; }
code { font-family: var(--mono); background: rgba(0,212,255,.08); padding: 2px 6px;
       border-radius: 4px; font-size: .9em; color: #bae6fd; }
pre code { background: none; padding: 0; color: inherit; }

form { max-width: 560px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 6px; font-size: .9rem; color: var(--muted); }
.form-row input, .form-row textarea {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); font-family: inherit; font-size: .95rem;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-msg { margin-top: 12px; font-size: .9rem; color: var(--ok); display: none; }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pricing, .how { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute;
                    top: 64px; left: 0; right: 0; background: var(--bg);
                    border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; }
  .hero { padding: 64px 0 40px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
