/* ---------------------------------------------------------
   Gaming VPN — landing page
   Design system: native CSS, no framework (static site).
   Palette: electric cyan on deep navy, matched to the app's
   own rocket/speedometer icon. Deliberate dark-only theme
   (Section 4.11): a gaming/tech utility brand, not a
   light/dark-adaptive consumer brand like the Voca page.
--------------------------------------------------------- */

:root {
  --bg: #070B14;
  --bg-elevated: #0F1B2E;
  --text: #EAF2FF;
  --text-muted: #8FA3C2;
  --accent: #29B6F6;
  --accent-2: #0B84C4;
  --border: rgba(234, 242, 255, 0.08);
  --shadow: rgba(41, 182, 246, 0.25);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p { margin: 0; }

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

/* ---------- Nav ---------- */

.nav {
  max-width: 1200px;
  margin-inline: auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav__mark {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}

.nav__cta { font-size: 0.9rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn i { font-size: 1.1rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121c;
  box-shadow: 0 12px 28px -8px var(--shadow);
}

.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0) scale(0.98); }

.btn--ghost {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost:active { transform: scale(0.98); }

/* ---------- Hero ---------- */

.hero {
  max-width: 1200px;
  margin-inline: auto;
  padding: 24px 24px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__copy { max-width: 560px; }

.hero__headline {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}

.hero__sub {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero__actions { margin-top: 32px; }

.hero__meta {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 9 / 16;
  border-radius: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.phone-frame__glow {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle at 30% 20%, var(--shadow), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

.phone-frame__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

.phone-frame__badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.6);
  border: 3px solid var(--bg);
}

/* ---------- Sections ---------- */

.section {
  max-width: 1200px;
  margin-inline: auto;
  padding: 80px 24px;
}

.section__title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  max-width: 22ch;
  margin-bottom: 16px;
}

.features .section__title { margin-bottom: 48px; }

/* ---------- Bento (features) ---------- */

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 20px;
}

.bento__cell {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  isolation: isolate;
}

.bento__cell h3 { font-size: 1.3rem; }
.bento__cell p { color: var(--text-muted); max-width: 40ch; }

.bento__icon {
  font-size: 1.8rem;
  color: var(--accent);
}

.bento__cell--large {
  grid-row: span 2;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  justify-content: center;
}

.bento__shot {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.bento__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.bento__cell--accent .bento__scrim {
  background: linear-gradient(180deg, rgba(41, 182, 246, 0.25) 0%, rgba(3, 8, 16, 0.94) 78%);
}

.bento__cell--accent-2 .bento__scrim {
  background: linear-gradient(180deg, rgba(11, 27, 46, 0.35) 0%, rgba(3, 8, 16, 0.94) 78%);
}

.bento__cell--accent,
.bento__cell--accent-2 {
  color: #fff;
  justify-content: flex-end;
  min-height: 320px;
}

.bento__cell--accent p,
.bento__cell--accent-2 p { color: rgba(234, 242, 255, 0.8); }

.bento__cell--accent .bento__icon,
.bento__cell--accent-2 .bento__icon { color: var(--accent); }

/* ---------- Servers (asymmetric split) ---------- */

.servers {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.servers__sub {
  margin-top: 4px;
  margin-bottom: 28px;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.servers__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.servers__chips li {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.servers__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
}

/* ---------- Trust banner (full-width) ---------- */

.banner {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
}

.banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: -2;
}

.banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.55) 0%, rgba(7, 11, 20, 0.9) 100%);
  z-index: -1;
}

.banner__content {
  max-width: 640px;
  padding: 48px 24px;
}

.banner__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.banner__content p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Closing CTA ---------- */

.cta__box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta__box h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  max-width: 20ch;
}

/* ---------- Footer ---------- */

.footer {
  max-width: 1200px;
  margin-inline: auto;
  padding: 48px 24px 64px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer__meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn { transition: none; }
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 8px;
    padding-bottom: 64px;
  }

  .hero__visual { order: -1; }

  .hero__copy { max-width: 100%; }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento__cell--large { grid-row: auto; }

  .servers {
    grid-template-columns: 1fr;
  }

  .servers__visual { order: -1; }

  .section { padding: 56px 20px; }

  .banner { min-height: 300px; }

  .cta__box { padding: 48px 24px; }
}
