/* ════════════════════════════════════════════════════════════
   Evoke VPN — light design system
   Brand: deep navy (from the app), airy whites, soft shadows.
   ════════════════════════════════════════════════════════════ */

/* ─── Tokens ──────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg:        #eef1f8;   /* page background, cool light */
  --surface:   #ffffff;   /* cards */
  --surface-2: #f5f7fc;   /* soft panels */
  --tint:      #e9edfa;   /* navy-tinted fill */
  --tint-2:    #dfe4f6;

  /* Lines */
  --line:   rgba(24,33,82,0.10);
  --line-2: rgba(24,33,82,0.16);

  /* Ink */
  --ink:       #161d3d;
  --ink-body:  #3b4366;
  --ink-muted: #6b7396;
  --ink-dim:   #99a0bd;

  /* Brand navy */
  --navy:       #20306f;
  --navy-600:   #2a3d8c;
  --navy-700:   #18234f;
  --navy-ink:   #141d3f;

  /* Accent for status / success */
  --green:      #1d9d62;
  --green-tint: #e2f4ec;

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* Shadows — soft, navy-tinted, low opacity */
  --shadow-xs: 0 1px 3px rgba(24,33,82,0.06);
  --shadow-sm: 0 4px 14px -6px rgba(24,33,82,0.14);
  --shadow:    0 14px 36px -16px rgba(24,33,82,0.22);
  --shadow-lg: 0 34px 70px -30px rgba(24,33,82,0.32);

  --container: 1180px;
  --display: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* ─── Reset / base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink-body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  margin: 0; color: var(--ink);
  font-family: var(--display);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.08;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ─── Layout ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
main { position: relative; }

/* full-bleed section background tint */
.band { background: var(--surface); }
/* soft band: fades into the page background at top & bottom so there's no hard seam */
.band-soft {
  background: linear-gradient(180deg,
    var(--bg) 0%,
    var(--surface-2) 14%,
    var(--surface-2) 86%,
    var(--bg) 100%);
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 26px -12px rgba(32,48,111,.6);
}
.btn-primary:hover { background: var(--navy-600); transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(32,48,111,.55); }
.btn-ghost {
  color: var(--navy);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: var(--tint); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-light {
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ─── Header / nav ────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,241,248,0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 32px; width: auto; }
.brand-text {
  font-family: var(--display);
  font-size: 20px; font-weight: 700; line-height: 1;
  letter-spacing: -0.02em; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.brand-text em {
  font-style: normal;
  font-family: var(--mono);
  font-weight: 500; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy);
}
.nav-links { display: flex; gap: 2px; margin-left: 12px; }
.nav-link {
  font-size: 15px; padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink-muted);
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(255,255,255,0.7); }
.nav-link.active { color: var(--navy); background: var(--surface); box-shadow: var(--shadow-xs); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero { padding: 84px 0 92px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-xs), inset 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.005em;
}
.online-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(29,157,98,.16);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(29,157,98,.4); }
  50% { box-shadow: 0 0 0 6px rgba(29,157,98,0); }
}
.h-display {
  font-size: clamp(42px, 5.6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 22px 0 22px;
  font-weight: 700;
  color: var(--ink);
}
.h-display .accent { color: var(--navy); }
.hero-sub {
  font-size: 19px;
  color: var(--ink-muted);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 30px;
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-dim);
  font-size: 14px;
}
.hero-trust .sep { opacity: .5; }
.platform-row { display: flex; gap: 12px; align-items: center; }
.platform-row svg { width: 19px; height: 19px; fill: var(--ink-dim); }

/* hero visual — single clean phone on tinted panel */
.hero-visual { position: relative; }
.device-panel {
  position: relative;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 70% 10%, var(--tint) 0%, var(--surface-2) 60%);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  padding: 48px 40px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.device-panel::before {
  content: ""; position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32,48,111,.12), transparent 65%);
  top: -80px; right: -60px;
}
.phone {
  position: relative;
  width: 252px;
  border-radius: 38px;
  background: linear-gradient(180deg, #2a3a82, #1a244f);
  padding: 9px;
  box-shadow: 0 40px 70px -30px rgba(24,33,82,.5), inset 0 0 0 1px rgba(255,255,255,.12);
}
.phone-screen {
  border-radius: 30px; overflow: hidden;
  background: #f1f3f9;
  aspect-ratio: 9/19.5;
  position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* floating status chip on hero phone */
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 13px; color: var(--ink);
  font-weight: 500;
}
.float-chip.tl { top: 56px; left: 8px; }
.float-chip.br { bottom: 64px; right: 6px; }
.float-chip .chip-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(29,157,98,.14);
}
.float-chip .chip-sub { color: var(--ink-dim); font-size: 11px; font-family: var(--mono); }
.float-chip .chip-ico {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.float-chip .chip-ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ─── Section base ────────────────────────────────────────── */
.section { padding: 92px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.06; font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 16px;
  color: var(--ink);
}
.section-title .accent { color: var(--navy); }
.section-sub {
  font-size: 18px; color: var(--ink-muted);
  max-width: 580px; margin: 0 auto;
}
.section-head.left .section-sub { margin-left: 0; }

/* ─── Why strip ───────────────────────────────────────────── */
.why-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-item {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  padding: 26px 24px;
}
.why-icn {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.why-icn svg { width: 22px; height: 22px; }
.why-title {
  font-family: var(--display); font-weight: 700;
  font-size: 17px; letter-spacing: -0.01em; margin-bottom: 6px;
  color: var(--ink);
}
.why-sub { font-size: 14.5px; color: var(--ink-muted); line-height: 1.55; }

/* ─── Features ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--navy);
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.feature-title { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; color: var(--ink); }
.feature-text { font-size: 15px; color: var(--ink-muted); line-height: 1.6; }

/* ─── Steps ───────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; position: relative;
}
.steps::before {
  content: ""; position: absolute;
  top: 34px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 14px);
}
.step { text-align: center; padding: 0 14px; position: relative; z-index: 1; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 2px var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 26px;
  color: var(--navy); letter-spacing: -0.02em;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.step p { font-size: 15px; color: var(--ink-muted); max-width: 280px; margin: 0 auto; }

/* ─── Showcase ────────────────────────────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; align-items: end;
}
.showcase .phone { width: 100%; max-width: 248px; margin: 0 auto; }
.showcase-item { text-align: center; }
.showcase-item .label {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim); margin-top: 22px;
}
.placeholder-screen {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px;
  background:
    repeating-linear-gradient(45deg, transparent 0 11px, rgba(32,48,111,.04) 11px 12px),
    var(--surface-2);
  color: var(--ink-dim);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ─── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: stretch;
}
.price-card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.price-card.popular {
  background: linear-gradient(180deg, var(--navy), var(--navy-700));
  box-shadow: var(--shadow-lg);
}
.price-card.popular .price-name,
.price-card.popular .price-amount { color: #fff; }
.price-card.popular .price-term,
.price-card.popular .price-features li { color: rgba(255,255,255,.82); }
.price-card.popular .price-amount .cur,
.price-card.popular .price-amount .per { color: rgba(255,255,255,.7); }
.price-card.popular .price-strike { color: rgba(255,255,255,.5); }
.price-card.popular .price-features svg { stroke: #8fe3b6; }
.popular-badge {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px;
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.price-name {
  font-family: var(--display); font-size: 21px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 5px; color: var(--ink);
}
.price-term { font-size: 13.5px; color: var(--ink-muted); }
.price-amount {
  margin: 22px 0 6px;
  font-family: var(--display); font-weight: 700; font-size: 52px;
  line-height: 1; letter-spacing: -0.04em; color: var(--ink);
}
.price-amount .cur { font-size: 22px; vertical-align: top; margin-right: 3px; color: var(--ink-muted); }
.price-amount .per { font-size: 15px; color: var(--ink-muted); font-family: var(--sans); font-weight: 400; }
.price-strike { font-size: 13.5px; color: var(--ink-dim); text-decoration: line-through; margin-bottom: 20px; min-height: 18px; }
.price-features { margin: 18px 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-features li { font-size: 14.5px; color: var(--ink-body); display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.price-features svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; stroke: var(--green); fill: none; stroke-width: 2.2; }
.price-card .btn { justify-content: center; }
.refund-note {
  text-align: center; margin-top: 30px;
  color: var(--ink-muted); font-size: 14px;
  display: flex; gap: 9px; justify-content: center; align-items: center;
}
.refund-note svg { width: 17px; height: 17px; stroke: var(--green); fill: none; stroke-width: 2; }

/* ─── Servers ─────────────────────────────────────────────── */
.servers-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px; align-items: start;
}
.server-map {
  position: relative;
  aspect-ratio: 1.35/1;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  overflow: hidden; padding: 24px;
}
.world-dots { position: absolute; inset: 0; }
.world-dots svg { width: 100%; height: 100%; }
.world-dots .dot-c { fill: var(--navy); opacity: 0.32; }
.world-dots .dot-c.hub { opacity: 0.85; }

.server-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 520px; overflow-y: auto;
  padding-right: 6px;
}
.server-list::-webkit-scrollbar { width: 6px; }
.server-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.server-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.server-row:hover { background: var(--surface-2); transform: translateX(2px); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.server-flag {
  width: 30px; height: 22px; border-radius: 5px;
  background: var(--tint); color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
}
.server-name { font-size: 14.5px; flex: 1; line-height: 1.2; color: var(--ink); font-weight: 500; }
.server-city { font-family: var(--mono); font-size: 10.5px; color: var(--ink-dim); letter-spacing: 0.03em; margin-top: 2px; font-weight: 400; }
.server-meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-muted); display: flex; gap: 7px; align-items: center; }
.ping-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px 26px; cursor: pointer;
  text-align: left; font-family: var(--display);
  font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .icn {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .2s ease;
}
.faq-q .icn svg { width: 15px; height: 15px; stroke: var(--navy); fill: none; stroke-width: 2.2; }
.faq-item[open] .faq-q .icn { transform: rotate(45deg); background: var(--navy); }
.faq-item[open] .faq-q .icn svg { stroke: #fff; }
.faq-a { padding: 0 26px 24px; color: var(--ink-muted); font-size: 15.5px; max-width: 680px; line-height: 1.6; }
.faq-a b { color: var(--ink); font-weight: 600; }

/* ─── Platform / download cards ───────────────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.platform-card {
  position: relative;
  padding: 30px 22px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.platform-status {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-dim);
}
.platform-status.status-beta { color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px rgba(29,157,98,.25); }
.platform-status .status-pip { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.platform-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tint);
}
.platform-icon svg { width: 28px; height: 28px; fill: var(--navy); }
.platform-name { font-family: var(--display); font-size: 17px; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.platform-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); margin-bottom: 18px; letter-spacing: 0.05em; }
.platform-card .btn { padding: 9px 18px; font-size: 13.5px; }

/* ─── Manual config callout ───────────────────────────────── */
.manual-config {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 22px; align-items: center;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}
.manual-icn {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.manual-icn svg { width: 26px; height: 26px; }
.manual-title { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.015em; margin-bottom: 4px; color: var(--ink); }
.manual-copy p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.55; }
.manual-copy b { color: var(--ink); font-weight: 600; }

/* ─── Laptop frame ────────────────────────────────────────── */
.laptop { width: 100%; max-width: 320px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.laptop-screen {
  width: 100%; border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, #2a3a82, #1a244f);
  padding: 8px 8px 0;
  box-shadow: var(--shadow);
}
.laptop-titlebar {
  height: 24px; background: rgba(0,0,0,0.2);
  border-radius: 8px 8px 0 0;
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
}
.tl-dot { width: 9px; height: 9px; border-radius: 50%; opacity: 0.85; }
.tl-r { background: #ff5f57; } .tl-y { background: #febc2e; } .tl-g { background: #28c840; }
.tl-title { margin: 0 auto; font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.7); letter-spacing: 0.04em; }
.laptop-body {
  aspect-ratio: 16/10;
  background: var(--surface-2);
  border-radius: 0 0 4px 4px; position: relative; overflow: hidden;
}
.laptop-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: repeating-linear-gradient(45deg, transparent 0 11px, rgba(32,48,111,.04) 11px 12px);
}
.ph-mock-shield {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.ph-mock-shield svg { width: 28px; height: 28px; }
.ph-mock-label { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink-muted); }
.ph-mock-sub { font-family: var(--mono); font-size: 10px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.laptop-base {
  width: 114%; margin-top: -2px; height: 11px;
  background: linear-gradient(180deg, #c3cae0, #98a1c4);
  border-radius: 0 0 12px 12px;
  position: relative;
}
.laptop-base::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 4px; background: rgba(24,33,82,0.18); border-radius: 0 0 8px 8px;
}

/* ─── Final CTA (dark navy block for contrast) ────────────── */
.final-cta {
  position: relative;
  padding: 76px 56px;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--navy-600) 0%, var(--navy) 45%, var(--navy-700) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden; text-align: center;
}
.final-cta::before {
  content: ""; position: absolute;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 65%);
  top: -200px; right: -120px; pointer-events: none;
}
.final-cta h2 { color: #fff; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 16px; position: relative; }
.final-cta h2 .accent { color: #9fb0ee; }
.final-cta p { font-size: 18px; color: rgba(255,255,255,.78); max-width: 540px; margin: 0 auto 32px; position: relative; }
.final-cta .hero-ctas { justify-content: center; position: relative; }

/* ─── Footer ──────────────────────────────────────────────── */
footer.site {
  padding: 64px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.foot-brand img { height: 32px; }
.foot-tag { font-size: 14.5px; color: var(--ink-muted); max-width: 300px; line-height: 1.6; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 18px; font-weight: 500; }
.foot-col ul { display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: 14.5px; color: var(--ink-muted); transition: color .2s ease; }
.foot-col a:hover { color: var(--navy); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-dim);
}

/* ─── Page system ─────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ─── Reveal animation ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
.reveal[data-delay="4"] { transition-delay: .28s; }
.reveal[data-delay="5"] { transition-delay: .35s; }
.reveal[data-delay="6"] { transition-delay: .42s; }
.page-enter { animation: pageIn .45s cubic-bezier(.16,1,.3,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .online-dot, .float-chip { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   Motion layer — calm, premium, on-brand
   ════════════════════════════════════════════════════════════ */

/* Hero: protective signal rings radiating from the phone */
.signal {
  position: absolute; top: 50%; left: 50%;
  width: 300px; height: 300px;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 0;
}
.signal span {
  position: absolute; inset: 0; margin: auto;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1.5px solid rgba(32,48,111,.22);
  opacity: 0;
  animation: signal 5s cubic-bezier(.22,.61,.36,1) infinite;
}
.signal span:nth-child(2) { animation-delay: 1.66s; }
.signal span:nth-child(3) { animation-delay: 3.33s; }
@keyframes signal {
  0%   { transform: scale(.42); opacity: 0; }
  15%  { opacity: .55; }
  100% { transform: scale(1.5); opacity: 0; }
}
.device-panel .phone { z-index: 1; }
.device-panel .float-chip { z-index: 2; }

/* Hero: gentle float on the phone + parallax bob on the chips */
.device-panel .phone { animation: float-phone 6.5s ease-in-out infinite; }
@keyframes float-phone { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-chip.tl { animation: float-chip 5s ease-in-out infinite; }
.float-chip.br { animation: float-chip 5.8s ease-in-out .7s infinite; }
@keyframes float-chip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Buttons: arrow nudges forward on hover */
.btn-icon { transition: transform .2s ease; }
.btn:hover .btn-icon { transform: translateX(4px); }

/* Feature cards: icon fills navy on hover */
.feature-icon { transition: transform .28s cubic-bezier(.2,1.3,.4,1), background .28s ease, color .28s ease; }
.feature-card:hover .feature-icon { background: var(--navy); color: #fff; transform: translateY(-2px) scale(1.06); }

/* Why cards: same lift treatment for a coherent feel */
.why-item { transition: transform .25s ease, box-shadow .25s ease; }
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.why-icn { transition: transform .28s cubic-bezier(.2,1.3,.4,1), background .28s ease, color .28s ease; }
.why-item:hover .why-icn { background: var(--navy); color: #fff; }

/* Steps: number pops in on reveal, connector gently flows */
.step-num { transition: transform .6s cubic-bezier(.2,1.5,.4,1), box-shadow .3s ease; }
.step.reveal:not(.in) .step-num { transform: scale(.55); }
.steps::before {
  background-size: 20px 2px;
  animation: step-flow 2.6s linear infinite;
}
@keyframes step-flow { to { background-position: 20px 0; } }

/* Server map: hubs softly twinkle */
.world-dots .dot-c.hub { animation: twinkle 3.2s ease-in-out infinite; }
.world-dots .dot-c.hub:nth-of-type(2) { animation-delay: .8s; }
.world-dots .dot-c.hub:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes twinkle { 0%,100% { opacity: .85; } 50% { opacity: .3; } }

/* Final CTA: the highlight glow slowly drifts */
.final-cta::before { animation: cta-drift 13s ease-in-out infinite alternate; }
@keyframes cta-drift {
  from { transform: translate(0,0); }
  to   { transform: translate(-50px, 36px); }
}

@media (prefers-reduced-motion: reduce) {
  .signal span, .device-panel .phone, .float-chip.tl, .float-chip.br,
  .steps::before, .world-dots .dot-c.hub, .final-cta::before { animation: none; }
  .step.reveal:not(.in) .step-num { transform: none; }
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: rgba(238,241,248,0.98); backdrop-filter: blur(18px);
    flex-direction: column; padding: 16px; gap: 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 14px 16px; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-left: auto;
    border-radius: 999px; background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line-2);
  }
  .menu-btn svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 2; }
  .nav-cta { margin-left: 0; }

  .hero { padding: 52px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .device-panel { padding: 40px 24px; }

  .section { padding: 64px 0; }
  .why-strip { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .showcase { grid-template-columns: 1fr; gap: 44px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .servers-layout { grid-template-columns: 1fr; gap: 32px; }
  .server-list { grid-template-columns: 1fr 1fr; max-height: 400px; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .manual-config { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .manual-icn { margin: 0 auto; }
  .final-cta { padding: 56px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  body { font-size: 16px; }
  .h-display { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .section-title { font-size: 31px; }
  .why-strip { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .server-list { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .float-chip.tl { top: 30px; left: -6px; }
  .float-chip.br { bottom: 40px; right: -6px; }
  .price-amount { font-size: 46px; }
}
