:root {
  --bg: #07070d;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f3f4f8;
  --muted: #9aa0b4;
  --a: #b224ef;
  --b: #7579ff;
  --c: #22d3ee;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

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

/* Aurora background */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vmax 40vmax at 15% 0%, rgba(178, 36, 239, 0.28), transparent 60%),
    radial-gradient(50vmax 40vmax at 90% 10%, rgba(117, 121, 255, 0.25), transparent 60%),
    radial-gradient(50vmax 40vmax at 50% 100%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--bg);
}
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center top, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, #000 20%, transparent 75%);
}

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.nav img { height: 28px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 96px 0 80px; text-align: center; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
h1 {
  font-size: clamp(44px, 9vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}
h1 .giant {
  display: block;
  background: linear-gradient(90deg, #fff, var(--b) 60%, var(--a));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 .tiny {
  display: block;
  font-size: 0.42em;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.3em;
}
.lead {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 18px;
}
.cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--a), var(--b));
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(117, 121, 255, 0.35);
}
.btn-ghost { background: var(--surface); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }

/* Products */
section { padding: 40px 0 80px; }
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.section-head p { color: var(--muted); margin-top: 8px; }

.group { margin-bottom: 48px; }
.group:last-child { margin-bottom: 0; }
.group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: var(--text);
}
.group-title span { font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) -20%, rgba(117, 121, 255, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.card:hover::before { opacity: 1; }

.icon {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.icon-gradient {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.icon-gradient svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.card h3 { font-size: 24px; letter-spacing: -0.02em; }
.card p { color: var(--muted); margin: 12px 0 28px; flex: 1; }
.card .go { font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.card .go span { transition: transform .2s; }
.card:hover .go span { transform: translateX(4px); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0 48px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.foot small { color: var(--muted); }
.social { display: flex; gap: 10px; }
.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  transition: background .2s, transform .2s, color .2s;
}
.social a:hover { background: #fff; color: #111; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }

@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 56px; }
  .card { padding: 24px; }
}

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