:root {
  --bg: #040a14;
  --bg-2: #081225;
  --blue: #3f8cff;
  --blue-light: #a9d4ff;
  --blue-dark: #0b2650;
  --amber: #ffd27a;
  --text: #f1f6fc;
  --muted: rgba(241, 246, 252, 0.68);
  --card: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.10);
  --border-blue: rgba(63, 140, 255, 0.30);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- top navigation ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 22px 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; font-family: 'Menlo', monospace; letter-spacing: 0.02em; }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.nav-links { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 110px 24px 70px; text-align: center;
  background:
    radial-gradient(880px 620px at 50% -6%, rgba(63, 140, 255, 0.30), transparent 70%),
    radial-gradient(600px 420px at 85% 90%, rgba(255, 210, 122, 0.08), transparent 70%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 3px);
  opacity: 0.5;
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.app-icon {
  width: 148px; height: 148px; border-radius: 34px; display: block; margin: 0 auto 28px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 18px 60px rgba(63, 140, 255, 0.40), 0 8px 24px rgba(0,0,0,0.55);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
  border: 1px solid var(--border-blue); background: rgba(63, 140, 255, 0.08);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-light);
}
.hero h1 {
  font-family: 'Menlo', monospace;
  font-size: clamp(42px, 8.5vw, 80px); font-weight: 800; letter-spacing: 0.02em; line-height: 1.02;
  background: linear-gradient(180deg, #e8f3ff 0%, var(--blue) 55%, #123a7a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.tagline {
  font-size: clamp(13px, 2.2vw, 17px); letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(241, 246, 252, 0.55); font-weight: 600; margin-bottom: 26px;
}
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 580px; margin: 0 auto 34px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 28px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, #6fb0ff, #2f6fe0); color: #04142e;
  box-shadow: 0 10px 28px rgba(63, 140, 255, 0.32), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn-ghost { color: var(--text); border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

/* mini pong court under the hero */
.court {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 110px; max-width: 420px; margin: 44px auto 0;
  padding: 0 28px; border-radius: 18px; background: rgba(0,0,0,0.42); border: 1px solid var(--border);
  overflow: hidden;
}
.court::before {
  content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--border-blue) 0 8px, transparent 8px 16px);
}
.paddle { width: 7px; height: 46px; border-radius: 3px; background: linear-gradient(180deg, #fff, #9db9e0); box-shadow: 0 0 14px rgba(63,140,255,0.5); }
.ball { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 3px; background: #fff; box-shadow: 0 0 16px rgba(255,255,255,0.8); animation: rally 2.6s ease-in-out infinite; }
@keyframes rally { 0% { transform: translate(-150px, -10px); } 50% { transform: translate(150px, 14px); } 100% { transform: translate(-150px, -10px); } }

/* ---------- sections ---------- */
section { padding: 96px 24px; }
.wrap { max-width: 1080px; margin: 0 auto; }
.section-title { text-align: center; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 56px; }
.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* mode cards */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.step { text-align: center; padding: 34px 22px 30px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); }
.step .glyph { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(63,140,255,0.22), rgba(63,140,255,0.06)); border: 1px solid var(--border-blue); font-size: 28px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step .num { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }

/* screenshots (landscape) */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 10px 6px 24px; scroll-snap-type: x proximity; justify-content: safe center; }
.shot { flex: 0 0 auto; width: 420px; max-width: 86vw; scroll-snap-align: center; }
.shot img { width: 100%; display: block; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
.shot p { text-align: center; margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { padding: 28px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: var(--border-blue); transform: translateY(-3px); }
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(63,140,255,0.22), rgba(63,140,255,0.08)); border: 1px solid var(--border-blue);
}
.feature .ico svg { width: 22px; height: 22px; stroke: var(--blue-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* call to action band */
.band { text-align: center; background: radial-gradient(700px 300px at 50% 100%, rgba(63,140,255,0.22), transparent 70%), var(--bg); }
.band h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; font-weight: 800; }
.band p { color: var(--muted); margin-bottom: 28px; }

/* ---------- footer ---------- */
footer { padding: 40px 24px 56px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 14.5px; }
footer .links { display: flex; gap: 22px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
footer .links a { color: var(--muted); }
footer .links a:hover { color: var(--text); text-decoration: none; }

/* ---------- inner pages (support / privacy) ---------- */
.page-head {
  position: relative; padding: 130px 24px 56px; text-align: center; overflow: hidden;
  background: radial-gradient(760px 420px at 50% -10%, rgba(63, 140, 255, 0.26), transparent 70%), var(--bg);
}
.page-head h1 { font-family: 'Menlo', monospace; font-size: clamp(34px, 5.6vw, 52px); font-weight: 800; letter-spacing: 0.01em; margin-bottom: 10px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto; }
.page-head .updated { font-size: 14px; margin-top: 12px; opacity: .8; }
.content { max-width: 760px; margin: 0 auto; padding: 8px 24px 90px; }
.content h2 { font-size: 24px; margin: 44px 0 12px; }
.content p, .content li { color: var(--muted); font-size: 17px; }
.content p { margin-bottom: 14px; }
.content ul { padding-left: 1.2em; margin-bottom: 14px; }
.content strong { color: var(--text); }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 24px 26px; border-radius: 18px; margin: 10px 0 8px;
  background: linear-gradient(180deg, rgba(63,140,255,0.14), rgba(63,140,255,0.05)); border: 1px solid var(--border-blue);
}
.contact-card strong { display: block; font-size: 19px; }
.contact-card span { color: var(--muted); font-size: 15px; }
.faq details { border: 1px solid var(--border); background: var(--card); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-light); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--border-blue); }
.faq details p { padding: 0 22px 20px; margin: 0; }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .app-icon, .ball { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 560px) { .nav-links { gap: 16px; font-size: 14px; } section { padding: 72px 20px; } }
