:root {
  --bg: #0a0b12;
  --bg-alt: #0e1019;
  --panel: #12141f;
  --text: #e7e9f2;
  --muted: #9aa0b5;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #6366f1;
  --brand-2: #22d3ee;
  --radius: 16px;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

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

.grad {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent;
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: #fff; transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px var(--brand); }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); box-shadow: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 11, 18, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__name { font-family: "Space Grotesk"; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand__mark { display: inline-flex; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links .btn { color: #fff; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(99,102,241,0.18), transparent 55%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero__inner { position: relative; text-align: center; max-width: 860px; margin: 0 auto; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brand-2);
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(34,211,238,0.06); margin-bottom: 24px;
}
.hero__title { font-size: clamp(34px, 6vw, 62px); font-weight: 700; }
.hero__sub { color: var(--muted); font-size: clamp(16px, 2.4vw, 19px); max-width: 640px; margin: 22px auto 0; }
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: "Space Grotesk"; font-size: 30px; }
.hero__stats span { color: var(--muted); font-size: 14px; }

/* Trust */
.trust { padding: 28px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__label { text-align: center; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.trust__logos { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; opacity: .7; }
.trust__logos span { font-family: "Space Grotesk"; font-weight: 600; font-size: 18px; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.eyebrow { color: var(--brand-2); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.section__head h2 { font-size: clamp(28px, 4vw, 40px); margin: 12px 0 14px; }
.section__head p { color: var(--muted); font-size: 17px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.5); }
.card__icon { font-size: 26px; color: var(--brand-2); margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split__item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.split__item h3 { font-size: 22px; margin-bottom: 10px; }
.split__item > p { color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 15px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.step__num { font-family: "Space Grotesk"; font-size: 40px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--brand); display: block; margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about__text h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 12px 0 18px; }
.about__text p { color: var(--muted); margin-bottom: 16px; }
.about__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.about__meta strong { display: block; font-family: "Space Grotesk"; font-size: 15px; color: var(--brand-2); }
.about__meta span { color: var(--muted); font-size: 14px; }
.about__panel {
  background: #0b0d16; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; font-family: "SF Mono", "Fira Code", monospace; font-size: 14px; line-height: 2;
  box-shadow: 0 30px 60px -30px rgba(99,102,241,0.4);
}
.codeline { color: #cbd0e6; white-space: nowrap; }
.codeline .k { color: #c084fc; }
.codeline .s { color: #22d3ee; }
.codeline.comment { color: #6b7280; }

/* CTA / Form */
.cta__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); }
.cta > .container > p, .cta__inner > p { color: var(--muted); margin-top: 12px; }
.form { text-align: left; display: grid; gap: 16px; margin-top: 34px; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 500; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form textarea {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-size: 15px; font-family: inherit; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); }
.form .btn { width: fit-content; }
.hidden { display: none; }
.cta__alt { margin-top: 24px; color: var(--muted); font-size: 15px; }
.cta__alt a { color: var(--brand-2); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg-alt); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 260px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 14px; margin-bottom: 12px; }
.footer__cols a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; transition: color .2s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; background: var(--bg-alt); padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .3s ease; }
  .nav__links.open { transform: translateY(0); }
  .nav__toggle { display: flex; }
  .cards, .steps { grid-template-columns: 1fr; }
  .split, .about, .footer__inner, .form__row { grid-template-columns: 1fr; }
  .about__meta { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { gap: 28px; }
}
