/* SecuremeVPN site stylesheet. Light theme, explicit colors throughout. */

:root {
  --blue: #1E63E9;
  --blue-dark: #174FBE;
  --blue-soft: #E8EFFD;
  --navy: #0F1E3D;
  --ground: #F7F9FE;
  --surface: #FFFFFF;
  --ink: #101E38;
  --muted: #56678A;
  --line: #DCE4F2;
  --gold: #F0B429;
  --gold-soft: #FBF1DA;
  --green: #22C55E;
  --green-soft: #E2F4EA;
  --danger: #D64545;
  --danger-soft: #FBE9E9;
  --shadow: 0 10px 28px rgba(15, 30, 61, 0.10);
  --shadow-soft: 0 6px 18px rgba(15, 30, 61, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5.4vw, 54px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }

p { margin: 0 0 16px; max-width: 68ch; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(30, 99, 233, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

img { max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 34px; height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-links .btn { margin-left: 6px; }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 860px) {
  .js .nav-toggle { display: block; }
  .js .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 8px 24px 16px;
  }
  .js .nav-links.open { display: flex; }
  .js .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .js .nav-links a:last-child { border-bottom: none; }
  .js .nav-links .btn { margin: 12px 0 0; text-align: center; }
  html:not(.js) .nav-links { flex-wrap: wrap; gap: 12px; }
}

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

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 16px rgba(30, 99, 233, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  box-shadow: none;
  border: 1.5px solid rgba(30, 99, 233, 0.4);
}
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-dark); }

.btn-danger { background: var(--danger); box-shadow: 0 6px 16px rgba(214, 69, 69, 0.25); }
.btn-danger:hover { background: #B93A3A; }

.btn-sm { padding: 9px 18px; font-size: 14px; }

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

.hero { padding: 72px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p.lead { font-size: 19px; color: var(--muted); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }

.hero-note { font-size: 14px; color: var(--muted); }

.hero-art { position: relative; display: flex; justify-content: center; }

.hero-glow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 99, 233, 0.18) 0%, rgba(30, 99, 233, 0.06) 55%, rgba(30, 99, 233, 0) 72%);
}

.hero-orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 420px;
  height: 420px;
  overflow: visible;
  pointer-events: none;
}

.hero-orbit .orbit-ring {
  fill: none;
  stroke: rgba(30, 99, 233, 0.3);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.hero-orbit .ring-a { stroke-dasharray: 2 10; }
.hero-orbit .ring-b { stroke: rgba(30, 99, 233, 0.16); stroke-dasharray: 1 14; }
.hero-orbit .node-blue { fill: var(--blue); }
.hero-orbit .node-blue-soft { fill: rgba(30, 99, 233, 0.55); }
.hero-orbit .node-gold { fill: var(--gold); }
.hero-orbit .badge-box {
  fill: var(--surface);
  stroke: var(--line);
  filter: drop-shadow(0 4px 10px rgba(15, 30, 61, 0.12));
}
.hero-orbit .badge-icon {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-orbit .badge-dot { fill: var(--blue); stroke: none; }

.hero-orbit .orbit { transform-box: view-box; transform-origin: 200px 200px; }
.hero-orbit .badge { transform-box: fill-box; transform-origin: center; }

.hero-wolf { position: relative; width: 280px; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-wolf { animation: float 5s ease-in-out infinite; }
  .js .orbit-a { animation: orbit-spin 32s linear infinite; }
  .js .orbit-b { animation: orbit-spin-rev 46s linear infinite; }
  .js .badge-spin-rev { animation: orbit-spin-rev 32s linear infinite; }
  .js .badge-spin { animation: orbit-spin 46s linear infinite; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-spin-rev { to { transform: rotate(-360deg); } }

@media (max-width: 860px) {
  .hero { padding: 44px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; }
  .hero-wolf { width: 200px; }
  .hero-glow { width: 230px; height: 230px; }
  .hero-orbit { width: 300px; height: 300px; }
}

.hero-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.hero-assure li { display: flex; align-items: center; gap: 8px; }
.hero-assure svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

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

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Trust strip ---------- */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
}

.trust-item { text-align: center; }
.trust-item svg { width: 24px; height: 24px; color: var(--blue); margin-bottom: 8px; }
.trust-item strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 17px;
  color: var(--navy);
}
.trust-item span { font-size: 14px; color: var(--muted); }

@media (max-width: 700px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
}

/* ---------- Cards ---------- */

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

@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Features bento ---------- */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento-wide { grid-column: span 2; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
}

.bento-card { padding: 26px 26px 28px; }
.bento-visual { height: 84px; display: flex; align-items: center; margin-bottom: 16px; }
.bento-visual svg { height: 76px; width: auto; max-width: 100%; overflow: visible; }

.bento-dark { background: var(--navy); border-color: var(--navy); }
.bento-dark h3 { color: #fff; }
.bento-dark p { color: rgba(255, 255, 255, 0.72); }

.gauge-track { fill: none; stroke: var(--line); stroke-width: 8; stroke-linecap: round; }
.gauge-fill { fill: none; stroke: var(--blue); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 58 100; }
.gauge-needle {
  stroke: var(--navy);
  stroke-width: 3.5;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 60px 60px;
}
.gauge-hub { fill: var(--navy); }

.tap-dot { fill: var(--blue); }
.tap-ring {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0.22;
}

.mini-globe { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 1.8; }
.mini-globe-line { fill: none; stroke: var(--blue); stroke-width: 1.4; opacity: 0.7; }
.bento .node-blue { fill: var(--blue); }
.bento .node-gold { fill: var(--gold); }
.mini-orbit { transform-box: view-box; transform-origin: 60px 36px; }

.pulse {
  fill: none;
  stroke: #7AA5F5;
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0.25;
}
.dark-shield path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-devices rect, .mini-devices path { fill: none; stroke: var(--blue); stroke-width: 2; }
.dash-link { stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 4 5; stroke-linecap: round; }

.halo-ring {
  fill: none;
  stroke: rgba(30, 99, 233, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 3 7;
  stroke-linecap: round;
}
.key-halo { transform-box: view-box; transform-origin: 60px 36px; }
.mini-key circle, .mini-key path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  .js .gauge-needle { animation: gauge-swing 3.4s ease-in-out infinite; }
  .js .tap-ring.t1 { animation: tap-ping 2.4s ease-out infinite; }
  .js .tap-ring.t2 { animation: tap-ping 2.4s ease-out 1.2s infinite; }
  .js .pulse.p1 { animation: pulse-out 2.8s ease-out infinite; }
  .js .pulse.p2 { animation: pulse-out 2.8s ease-out 1.4s infinite; }
  .js .mini-orbit { animation: orbit-spin 14s linear infinite; }
  .js .dash-link { animation: dash-flow 1.2s linear infinite; }
  .js .key-halo { animation: orbit-spin 16s linear infinite; }
}

@keyframes gauge-swing {
  0%, 100% { transform: rotate(-34deg); }
  50% { transform: rotate(34deg); }
}
@keyframes tap-ping {
  0% { transform: scale(0.7); opacity: 0.55; }
  70% { opacity: 0.18; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes pulse-out {
  0% { transform: scale(0.8); opacity: 0.5; }
  70% { opacity: 0.15; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes dash-flow { to { stroke-dashoffset: -9; } }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding: 26px 26px 26px 26px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Locations ---------- */

.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .loc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }

.loc {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}
.loc .flag { font-size: 26px; line-height: 1; }
.loc strong { display: block; font-size: 15px; color: var(--navy); }
.loc span { font-size: 13px; color: var(--muted); }

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 20px;
  justify-content: center;
}
@media (max-width: 700px) { .price-grid { grid-template-columns: 1fr; } }

.price-card { position: relative; text-align: center; padding: 34px 28px; }

.price-card.featured { border: 2px solid var(--blue); }

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-amount {
  font-family: "Sora", sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
}
.price-amount sub { font-size: 16px; font-weight: 600; color: var(--muted); vertical-align: baseline; }

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 15px;
}
.price-card li { padding: 5px 0; }
.price-card li::before { content: "✓  "; color: var(--green); font-weight: 700; }

.pricing-foot { text-align: center; margin: 22px auto 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--blue); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }
.faq .faq-body p { margin-bottom: 8px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 52px 32px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin-left: auto; margin-right: auto; }

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: 72px;
  padding: 44px 0 32px;
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.footer-brand img { width: 28px; height: 28px; }

.site-footer h4 { font-size: 14px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue); }

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
  .js .hero-wolf, .js .hero-orbit * { animation: none; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: 56px 0 8px; }
.page-hero p { color: var(--muted); font-size: 17px; }

/* ---------- Legal pages ---------- */

.legal { padding-bottom: 40px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal h3 { margin-top: 26px; }
.legal ul { color: var(--ink); padding-left: 22px; }
.legal li { margin: 6px 0; }
.btn-pending {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.legal-address {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink);
  border-left: 3px solid var(--gold-soft);
  padding-left: 14px;
  margin: 14px 0;
}
.legal-meta {
  background: var(--gold-soft);
  border: 1px solid rgba(240, 180, 41, 0.5);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--navy);
  margin-top: 44px;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy); }

.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 99, 233, 0.15);
}
.field textarea { min-height: 140px; resize: vertical; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 15px;
  margin: 16px 0;
}
.notice-ok { background: var(--green-soft); color: #14683A; }
.notice-err { background: var(--danger-soft); color: #8F2A2A; }
.notice-info { background: var(--blue-soft); color: var(--blue-dark); }

.code-input {
  font-family: "Sora", monospace;
  font-size: 28px !important;
  letter-spacing: 0.45em;
  text-align: center;
}

/* ---------- Manage page ---------- */

.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
}
.pill-ok { background: var(--green-soft); color: #14683A; }
.pill-warn { background: var(--gold-soft); color: #8A6207; }
.pill-bad { background: var(--danger-soft); color: #8F2A2A; }
.pill-neutral { background: var(--blue-soft); color: var(--blue-dark); }

.plan-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.plan-row:last-child { border-bottom: none; }
.plan-row .k { color: var(--muted); }
.plan-row .v { font-weight: 600; color: var(--navy); text-align: right; }

.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.device-row:last-child { border-bottom: none; }
.device-row strong { display: block; font-size: 15px; color: var(--navy); }
.device-row span { font-size: 13px; color: var(--muted); }
