@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0D0D0D;
  --panel: #141414;
  --purple: #7E11D1;
  --purple-soft: #9B3FE8;
  --lime: #8BFA37;
  --text: #FFFFFF;
  --muted: rgba(255,255,255,.6);
  --line: rgba(255,255,255,.08);
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
em { font-style: normal; color: var(--purple-soft); }
.muted { color: var(--muted); }

/* Nav */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 20px 20px; max-width: 1200px; margin: 0 auto; }
.logo { font: 700 20px/1 var(--head); letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--purple-soft); }
.logo i { font-style: normal; color: var(--lime); }
.nav-link { font-size: 15px; text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-link:hover { color: var(--lime); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 96px 20px 64px; overflow: hidden; }
.glow { position: absolute; width: 900px; height: 900px; left: 50%; top: 45%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(126,17,209,.45) 0%, rgba(126,17,209,.12) 40%, transparent 70%); pointer-events: none; }
.network { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(155,63,232,.18); pointer-events: none; }
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(38px, 9vw, 76px); }
.sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 640px; margin: 24px auto 36px; }
.btn { display: inline-block; background: var(--purple); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 28px; border-radius: 999px; transition: background .2s, box-shadow .2s; }
.btn:hover { background: var(--purple-soft); box-shadow: 0 0 0 1px var(--lime); }

/* Sections */
.section { position: relative; max-width: 1200px; margin: 0 auto; padding: 88px 20px; }
.eyebrow { font-size: 14px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-family: var(--body); font-weight: 600; margin-bottom: 32px; }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: border-color .2s; }
.card:hover { border-color: var(--purple); }
.card h3 { font-size: 22px; margin: 18px 0 10px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 36px; height: 36px; fill: none; stroke: var(--purple-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Technology */
.tech { max-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.tech-inner { position: relative; max-width: 1160px; margin: 0 auto; display: grid; gap: 40px; grid-template-columns: 1fr; }
.tech h2 { font-size: clamp(32px, 6vw, 52px); margin-bottom: 20px; }
.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.caps li { position: relative; padding-left: 24px; color: var(--muted); }
.caps li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.caps strong { color: var(--text); font-weight: 600; }

/* About */
.about { max-width: 680px; text-align: center; padding-top: 120px; padding-bottom: 120px; }
.about h2 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 24px; }
.about p { font-size: 17px; margin: 0 0 16px; }

/* Contact */
.contact { padding: 0 20px 88px; }
.contact-inner { max-width: 1160px; margin: 0 auto; background: var(--panel); border-top: 2px solid var(--purple); border-radius: 0 0 18px 18px; padding: 40px 28px; display: grid; gap: 24px; }
.contact h2 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 10px; }
.contact p { margin: 0; }
.email { font: 700 clamp(20px, 4.6vw, 32px)/1.2 var(--head); text-decoration: none; overflow-wrap: anywhere; align-self: center; border-bottom: 2px solid transparent; justify-self: start; transition: border-color .2s, color .2s; }
.email:hover { border-color: var(--lime); }

/* Footer */
.footer { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; padding: 24px 20px 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }

@media (min-width: 768px) {
  .nav { padding: 28px 40px; }
  .logo { font-size: 24px; }
  .section { padding: 120px 40px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .tech-inner { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .contact { padding: 0 40px 120px; }
  .contact-inner { grid-template-columns: 1fr auto; padding: 56px; align-items: center; }
  .email { justify-self: end; }
  .footer { justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 28px 40px 36px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
