:root {
  --bg: #0a0c11;
  --bg-2: #0f131b;
  --card: #121722;
  --line: #1f2735;
  --text: #e9edf5;
  --muted: #9aa6bd;
  --accent: #44e0c8;
  --accent-2: #8b7bff;
  --radius: 18px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 12, 17, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 18px var(--display); letter-spacing: -.01em; color: var(--accent); }
.logo svg { width: 30px; height: 30px; }
.logo span { color: var(--text); }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }

/* HERO */
.hero { position: relative; overflow: hidden; padding: 110px 0 90px; }
.glow {
  position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(139,123,255,.28), transparent 70%),
              radial-gradient(closest-side at 30% 70%, rgba(68,224,200,.22), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.eyebrow { margin: 0 0 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; font-weight: 700; max-width: 14ch; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 58ch; margin: 26px 0 34px; font-size: 18px; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { list-style: none; padding: 0; margin: 64px 0 0; display: flex; gap: 48px; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font: 700 30px var(--display); }
.stats span { font-size: 13px; color: var(--muted); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; border: 1px solid var(--line);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(90deg, var(--accent), #6fd0ff); color: #06121a; border: 0; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { border-color: #33405a; }
.btn.small { height: 38px; padding: 0 16px; font-size: 14px; background: #171d2a; margin-top: auto; align-self: flex-start; }
.btn.small:hover { border-color: var(--accent); }
.btn:focus-visible, .links a:focus-visible, .logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* SECTIONS */
.section { padding: 90px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.platform {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: var(--bg-2);
}
.platform svg { width: 16px; height: 16px; }
.platform.win { color: #6fd0ff; }
.platform.android { color: #8fe388; }

/* FEATURE */
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  padding: 44px; border-radius: 24px;
  background: linear-gradient(180deg, #121722, #0e121a);
  border: 1px solid var(--line);
}
.feature h3 { font-size: 34px; }
.tag { margin: 4px 0 16px; color: var(--accent); font-weight: 500; }
.feature p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 5px;
  background: rgba(68,224,200,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%2344e0c8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.feature-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }

/* GRID */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #2c3850; }
.card-art {
  width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 22px;
  background: radial-gradient(circle at 50% 40%, #161c29, #0e121a);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.card-art svg { width: 46%; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); margin: 0 0 22px; }
.card .tag { margin: 2px 0 10px; color: var(--accent); }

/* ABOUT */
.about-inner { max-width: 720px; }
.about h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.about p { color: var(--muted); font-size: 18px; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }

/* TOAST */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 18px; border-radius: 12px; background: #1a2130; border: 1px solid #2c3850;
  font-size: 14px; transition: opacity .3s ease, transform .3s ease; z-index: 20;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .links { gap: 18px; font-size: 13px; }
  .hero { padding: 72px 0 64px; }
  .grid { grid-template-columns: 1fr; }
  .stats { gap: 32px; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .toast { transition: none; }
}
