:root {
  --bg: #0b0f1a;
  --bg-2: #0e1525;
  --panel: #121a2e;
  --panel-2: #16203a;
  --border: #233150;
  --text: #e8edf7;
  --muted: #9aa7c2;
  --accent: #4f8cff;
  --accent-2: #36d8c4;
  --accent-grad: linear-gradient(120deg, #4f8cff 0%, #36d8c4 100%);
  --radius: 14px;
  --maxw: 1120px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(11, 15, 26, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #06122a;
  background: var(--accent-grad);
}
.brand-llc { color: var(--muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text) !important;
}
.nav-cta:hover { border-color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { color: #06122a; background: var(--accent-grad); box-shadow: 0 10px 24px -10px rgba(79, 140, 255, 0.7); }
.btn-ghost { color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; font-family: "JetBrains Mono", monospace; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem); }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(900px 400px at 70% -10%, rgba(79, 140, 255, 0.18), transparent 60%),
    radial-gradient(700px 380px at 10% 0%, rgba(54, 216, 196, 0.12), transparent 55%),
    linear-gradient(transparent 95%, rgba(255,255,255,0.04) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.04) 95%);
  background-size: auto, auto, 32px 32px, 32px 32px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
.lede { max-width: 60ch; margin: 1.4rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 3rem 0 0; padding: 0; }
.hero-stats div { margin: 0; }
.hero-stats dt { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.hero-stats dd { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; max-width: 22ch; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem); }
.section-alt { background: var(--bg-2); max-width: none; }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { max-width: 60ch; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
.section-head p { color: var(--muted); margin: 0.8rem 0 0; font-size: 1.08rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon { font-size: 1.6rem; margin-bottom: 0.8rem; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card-feature {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border-color: rgba(79, 140, 255, 0.45);
  box-shadow: var(--shadow);
}
.card-feature h3 { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; counter-reset: step; }
.steps li {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.step-num { font-family: "JetBrains Mono", monospace; font-size: 0.9rem; color: var(--accent-2); }
.steps h3 { font-size: 1.15rem; margin: 0.4rem 0 0.5rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2.5rem; align-items: start; }
.about-text h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.about-text p { color: var(--muted); margin: 0 0 1rem; }
.about-side { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.about-side h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-list li {
  font-size: 0.85rem;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

/* ---------- Contact ---------- */
.section-contact { text-align: center; }
.contact-inner { max-width: 60ch; margin: 0 auto; }
.section-contact h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 800; }
.section-contact p { color: var(--muted); margin: 0.8rem 0 1.6rem; font-size: 1.08rem; }
.contact-alt { font-size: 0.95rem; margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { font-weight: 700; }
.footer-meta { color: var(--muted); font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { gap: 0.9rem; }
  .nav a:not(.nav-cta) { display: none; }
  .about { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}
