/* ========================================================================
   Secure VPN Proxy & WiFi Shield — Marketing site
   Dark theme + electric blue accent (matches the VPN logo gradient)
   ========================================================================*/

:root {
  --bg: #050d1a;
  --bg-soft: #0a1830;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(120, 170, 255, 0.12);
  --border-strong: rgba(120, 170, 255, 0.22);
  --text: #ecf2ff;
  --text-soft: #aebcd6;
  --text-mute: #7587a8;

  --accent: #2f8dff;
  --accent-2: #5fb0ff;
  --accent-3: #1864c9;
  --accent-glow: rgba(47, 141, 255, 0.45);

  --success: #34d399;
  --warn: #fbbf24;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 18px 50px var(--accent-glow);
}

/* Base ------------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Decorative background glow ------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(47, 141, 255, 0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(24, 100, 201, 0.18), transparent 60%),
    radial-gradient(800px 700px at 50% 120%, rgba(47, 141, 255, 0.12), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Nav ------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  background: rgba(5, 13, 26, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.brand-name {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: white;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--bg-card);
}

.btn-ghost:hover {
  background: var(--bg-card-strong);
}

/* Google Play badge ----------------------------------------------------- */
.googleplay-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: white;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.googleplay-badge:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.googleplay-badge svg {
  width: 28px;
  height: 28px;
}

.googleplay-badge .label-small {
  font-size: 11px;
  opacity: 0.7;
  line-height: 1;
}

.googleplay-badge .label-large {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
}

/* Hero ------------------------------------------------------------------ */
.hero {
  padding: 80px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-soft);
  margin: 0 0 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-mute);
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-2);
}

/* Hero phones ---------------------------------------------------------- */
.hero-phones {
  position: relative;
  height: 600px;
}

.phone {
  position: absolute;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.phone-back {
  top: 30px;
  right: 40px;
  width: 270px;
  transform: rotate(6deg);
  opacity: 0.95;
}

.phone-front {
  top: 80px;
  left: 30px;
  width: 290px;
  transform: rotate(-4deg);
  z-index: 2;
}

.phone img {
  width: 100%;
  display: block;
}

/* Sections -------------------------------------------------------------- */
section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 700;
}

.section-head p {
  color: var(--text-soft);
  font-size: 17px;
  margin: 0;
}

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

.feature-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-strong);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    rgba(47, 141, 255, 0.18),
    rgba(24, 100, 201, 0.12));
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-2);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* Screenshots scroller -------------------------------------------------- */
.screens {
  background: linear-gradient(180deg,
    transparent,
    rgba(47, 141, 255, 0.04) 30%,
    rgba(47, 141, 255, 0.04) 70%,
    transparent);
}

.screens-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 24px 24px;
  margin: 0 -24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-3) transparent;
}

.screens-scroller::-webkit-scrollbar {
  height: 6px;
}

.screens-scroller::-webkit-scrollbar-thumb {
  background: var(--accent-3);
  border-radius: 999px;
}

.screen-tile {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.screen-tile:hover {
  transform: translateY(-4px);
}

.screen-tile img {
  width: 100%;
  display: block;
}

/* Privacy callout ------------------------------------------------------- */
.privacy-first {
  background: linear-gradient(135deg,
    rgba(47, 141, 255, 0.08),
    rgba(24, 100, 201, 0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.privacy-grid h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 700;
}

.privacy-grid p {
  color: var(--text-soft);
  font-size: 16.5px;
  margin: 0 0 16px;
}

.privacy-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.privacy-points li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 15px;
}

.privacy-points li:first-child {
  border-top: none;
}

.privacy-points svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-2);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 1px;
}

.privacy-visual {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-visual img {
  max-width: 320px;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.shield-orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.shield-orbit::before,
.shield-orbit::after {
  content: "";
  position: absolute;
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
}

.shield-orbit::before {
  width: 360px;
  height: 360px;
}

.shield-orbit::after {
  width: 440px;
  height: 440px;
  border-color: var(--border);
}

/* Download CTA ---------------------------------------------------------- */
.download {
  text-align: center;
}

.download-card {
  background: linear-gradient(135deg,
    rgba(47, 141, 255, 0.14),
    rgba(24, 100, 201, 0.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -200px;
  right: -100px;
  z-index: -1;
  filter: blur(20px);
}

.download-card h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 700;
}

.download-card p {
  color: var(--text-soft);
  font-size: 17px;
  margin: 0 auto 32px;
  max-width: 540px;
}

/* Footer ---------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  background: rgba(5, 13, 26, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-mute);
  font-size: 14px;
  margin: 12px 0 0;
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-soft);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-mute);
  font-size: 13px;
}

/* Legal pages (privacy, terms, support) -------------------------------- */
.legal {
  padding: 70px 0 100px;
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(34px, 4.2vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
}

.legal .meta {
  color: var(--text-mute);
  font-size: 14px;
  margin: 0 0 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-size: 24px;
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.legal h3 {
  font-size: 17px;
  margin: 24px 0 10px;
  font-weight: 600;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal ul {
  padding-left: 22px;
}

.legal ul li {
  margin-bottom: 6px;
}

.legal .callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
}

.legal .callout p {
  margin: 0;
  font-size: 14.5px;
}

.legal a {
  color: var(--accent-2);
  border-bottom: 1px solid transparent;
}

.legal a:hover {
  border-bottom-color: var(--accent-2);
}

/* FAQ ------------------------------------------------------------------- */
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}

.faq-list details[open] {
  border-color: var(--border-strong);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent-2);
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 920px) {
  .nav-links a {
    display: none;
  }
  .nav-links .btn {
    display: inline-flex;
  }
  .hero {
    padding: 56px 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-phones {
    height: 480px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .privacy-visual {
    height: 380px;
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  section {
    padding: 60px 0;
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-phones {
    height: 420px;
  }
  .phone-back {
    width: 210px;
    right: 10px;
  }
  .phone-front {
    width: 230px;
    left: 10px;
  }
  .screen-tile {
    width: 220px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .download-card {
    padding: 44px 24px;
  }
  .shield-orbit::before {
    width: 280px;
    height: 280px;
  }
  .shield-orbit::after {
    width: 340px;
    height: 340px;
  }
}
