/* ngoconnect.app — the app's palette (src/lib/theme.ts): electric blue canvas,
   lime accent, white cards, near-black ink. Poppins is served by the site itself. */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/assets/fonts/Poppins-400Regular.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/assets/fonts/Poppins-600SemiBold.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/assets/fonts/Poppins-700Bold.ttf) format('truetype'); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(/assets/fonts/Poppins-800ExtraBold.ttf) format('truetype'); }

:root {
  --blue: #2D5BFF; --blue-top: #3A67FF; --blue-deep: #2148E6; --blue-ink: #1B2F8F;
  --lime: #CBF53C; --lime-edge: #A7D11C; --lime-soft: #EEFBC4;
  --ink: #0E1126; --lav: #E8ECFF; --lav-bg: #F3F5FF; --lav-line: #D6DDFF;
  --muted: #6A7197; --on-blue: rgba(255, 255, 255, .8); --danger: #FF4D5E;
  --radius: 26px; --radius-sm: 16px;
  --shadow: 0 18px 40px rgba(14, 17, 38, .14);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px;
  line-height: 1.55; color: var(--ink); background: #fff; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.nw { white-space: nowrap; }
/* Grid children shrink below their images' intrinsic width (no overflow on phones). */
.hero-grid > *, .split > *, .shot-pair > *, .price-grid > *, .promise-grid > *, .platforms > *, .dests > *, .servers > *, .foot-grid > *, .plans > * { min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

/* ── header ─────────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(45, 91, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); color: #fff; }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .92; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(9, 22, 96, .3); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { font-size: 18px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; min-width: 170px; display: grid; }
.lang-menu a { text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.lang-menu a:hover { background: var(--lav); }
.lang-menu a[aria-current] { background: var(--lime-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 3px 0 var(--lime-edge); }
.btn-lime:hover { filter: brightness(1.03); }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 28px; padding: 6px; cursor: pointer; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { background: linear-gradient(180deg, var(--blue-top), var(--blue-deep)); color: #fff; padding: 56px 0 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(203, 245, 60, .22), rgba(203, 245, 60, 0) 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 40px; align-items: center; position: relative; }
.eyebrow { display: inline-block; font-weight: 600; font-size: 14px; background: rgba(9, 22, 96, .34); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 span { color: var(--lime); }
.lead { font-size: 18px; color: var(--on-blue); margin-top: 20px; max-width: 540px; }
.lead.dark { color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.stores-small { margin-top: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 16px; padding: 12px 18px; font-weight: 600; font-size: 15px; position: relative; }
.store svg { font-size: 24px; }
.store:hover { background: #000; }
.store.is-soon { background: rgba(9, 22, 96, .42); cursor: default; padding-right: 14px; }
.store em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 3px 8px; border-radius: 999px; margin-left: 4px; }
.stores-small .store { padding: 9px 14px; font-size: 14px; }
.stores-small .store svg { font-size: 19px; }
.hero-art { position: relative; height: 560px; }
.phone { margin: 0; border-radius: 38px; border: 8px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 30px 60px rgba(8, 18, 80, .35); aspect-ratio: 600 / 1239; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .phone { position: absolute; width: 250px; }
.phone-back { left: 8%; top: 40px; transform: rotate(-6deg); }
.phone-front { right: 6%; top: 0; transform: rotate(4deg); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 9px 14px 9px 9px; border-radius: 999px; box-shadow: var(--shadow); }
.chip img { width: 28px; height: 28px; border-radius: 50%; }
.chip-esim { left: 0; bottom: 70px; }
.chip-vpn { right: 0; bottom: 130px; padding-left: 12px; background: var(--lime); }
.chip-vpn svg { font-size: 20px; }
.trust { list-style: none; margin: 48px auto 0; padding: 22px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; border-top: 1px solid rgba(255, 255, 255, .18); position: relative; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.trust svg { color: var(--ink); background: var(--lime); border-radius: 50%; padding: 4px; font-size: 22px; }

/* ── bands ──────────────────────────────────────────────────────────────── */
.band { padding: 96px 0; }
.band-blue { background: linear-gradient(180deg, var(--blue-top), var(--blue-deep)); color: #fff; }
.band-lav { background: var(--lav-bg); }
.kicker { font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.kicker.on-blue { color: var(--lime); }
.on-blue { color: #fff; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.1fr; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 520px; margin: 0 auto; width: 100%; }
.shot-pair .offset { transform: translateY(48px); }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); box-shadow: 0 3px 0 var(--lime-edge); display: grid; place-items: center; font-weight: 800; }
.steps p { color: var(--muted); margin-top: 4px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks svg { margin-top: 3px; color: var(--ink); background: var(--lime); border-radius: 50%; padding: 3px; font-size: 20px; }
.sub-title { margin: 88px 0 20px; font-size: 22px; }
.dests { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.dests li { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--lav-bg); border: 1px solid var(--lav-line); border-radius: 20px; padding: 18px 10px; text-align: center; }
.dests img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 2px 6px rgba(14, 17, 38, .15); }
.dest-name { font-weight: 700; font-size: 15px; }
.dest-price { font-weight: 700; font-size: 13px; color: var(--blue); }

/* VPN */
.features { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.features li { display: flex; gap: 14px; }
.f-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 22px; }
.features p { color: var(--on-blue); font-size: 15px; margin-top: 4px; }
.servers-card { margin-top: 96px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.servers-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.servers-head h3 { font-size: 24px; font-weight: 800; }
.pill { display: inline-block; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; background: var(--lav); color: var(--blue-ink); }
.pill-lime { background: var(--lime); color: var(--ink); }
.servers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.servers li { display: flex; align-items: center; gap: 12px; background: var(--lav-bg); border-radius: 18px; padding: 12px 14px; }
.servers img { width: 40px; height: 40px; border-radius: 50%; }
.servers span { display: grid; line-height: 1.25; }
.servers small { color: var(--muted); font-size: 13px; }

/* privacy */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.promise { border-radius: var(--radius); padding: 30px; }
.promise h3 { font-size: 20px; margin-bottom: 16px; }
.promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; }
.promise li svg { margin-top: 3px; border-radius: 50%; padding: 3px; font-size: 20px; }
.keep { background: var(--lav-bg); border: 1px solid var(--lav-line); }
.keep li svg { background: var(--lav); color: var(--blue-ink); }
.never { background: var(--ink); color: #fff; }
.never li svg { background: var(--danger); color: #fff; }
.promise-line { margin: 20px 0 0; display: flex; align-items: center; gap: 14px; background: var(--lime); border-radius: var(--radius); padding: 22px 26px; font-weight: 700; font-size: 18px; box-shadow: 0 4px 0 var(--lime-edge); }
.promise-line svg { font-size: 30px; }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-weight: 700; color: var(--blue); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* pricing */
.price-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin: 40px 0 22px; }
.price-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 30px rgba(14, 17, 38, .06); border: 1px solid var(--lav-line); }
.price-card h3 { font-size: 20px; }
.price-big { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 18px 0 10px; }
.price-big small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.plans { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan { position: relative; display: grid; gap: 4px; background: var(--lav-bg); border: 1px solid var(--lav-line); border-radius: 20px; padding: 20px 18px; }
.plan-name { font-weight: 600; color: var(--muted); }
.plan-price { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.plan-sub { font-size: 13px; color: var(--muted); }
.plan-save { position: absolute; top: -11px; right: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.plan.is-best { background: var(--lime-soft); border-color: var(--lime-edge); }
.plan.is-best .plan-save { background: var(--lime); color: var(--ink); }

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.platform { background: rgba(9, 22, 96, .28); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.platform h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.platform h3 svg { font-size: 26px; }
.platform p { color: var(--on-blue); font-size: 14px; }
.platform .store { margin-top: auto; align-self: flex-start; }

/* faq */
#faq h2 { margin-bottom: 30px; }
details { border-bottom: 1px solid var(--lav-line); }
details summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
details summary::-webkit-details-marker { display: none; }
#faq details summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--lav); display: grid; place-items: center; font-weight: 700; font-size: 18px; color: var(--blue-ink); }
#faq details[open] summary::after { content: '−'; background: var(--lime); color: var(--ink); }
details p { padding: 0 0 20px; color: var(--muted); }
details p a { color: var(--blue); font-weight: 600; }

/* footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 28px; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot-langs a[aria-current] { color: var(--lime); font-weight: 700; }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* language suggestion */
.suggest { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: var(--shadow); font-weight: 600; font-size: 14px; }
.suggest[hidden] { display: none; }
.suggest a { background: var(--lime); color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.suggest button { background: none; border: 0; color: rgba(255, 255, 255, .7); font-size: 20px; cursor: pointer; padding: 4px 8px; }

/* 404 */
.nf { background: linear-gradient(180deg, var(--blue-top), var(--blue-deep)); color: #fff; min-height: 100vh; display: grid; place-items: center; }
.nf-box { display: grid; justify-items: center; gap: 18px; padding: 40px 20px; }
.nf-box img { border-radius: 24px; }
.nf-box .muted { color: var(--on-blue); }

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid, .split, .split.reverse { grid-template-columns: 1fr; }
  .hero-art { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .split.reverse .shot-pair { order: 2; }
  .dests { grid-template-columns: repeat(3, 1fr); }
  .servers { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; margin: 0; background: var(--blue-deep); padding: 8px 20px 16px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .menu-btn { display: block; }
  .top-actions .btn { display: none; }
  .band { padding: 72px 0; }
  .hero { padding-top: 36px; }
  .hero-art { height: 440px; }
  .hero-art .phone { width: 200px; }
  .phone-back { left: 4%; }
  .phone-front { right: 4%; }
  .chip { font-size: 13px; }
  .chip-esim { bottom: 40px; }
  .chip-vpn { bottom: 96px; }
  .trust { justify-content: flex-start; }
  .trust li { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-save { top: 16px; }
  .platforms { grid-template-columns: 1fr; }
  .dests { grid-template-columns: repeat(2, 1fr); }
  .servers-card { padding: 22px; margin-top: 80px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .promise-line { font-size: 16px; }
}
@media (max-width: 420px) {
  .servers { grid-template-columns: 1fr; }
  .hero-art .phone { width: 172px; }
  .shot-pair { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
