/* NoDramaVPN Mirror — style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* ── Custom animations ────────────────────────────────────────── */
@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.4); }
  50%       { box-shadow: 0 0 0 24px rgba(132, 204, 22, 0); }
}
.power-ring { animation: ring-pulse 2s ease-in-out infinite; }

/* Dot-grid hero background */
.world-dots {
  background-color: #f3f4f6;
  background-image: radial-gradient(circle, #E9EBF2 1px, transparent 1px);
  background-size: 20px 20px;
}

html, body { overflow-x: hidden; max-width: 100%; }
* { box-sizing: border-box; }

/* ── Header / nav ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}
.nav-wrapper {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* desktop CTA + lang switcher: hidden by default, shown on desktop */
.desktop-cta { display: none; }
.lang-dropdown-wrapper { display: none; }
/* alias so qa_browser.py §2 selector also matches */
.nav-cta { display: none; }

/* Desktop lang dropdown — §1 hover grace + no gap */
.lang-dropdown { position: relative; }
.lang-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0;
  padding-top: 8px;
  min-width: 150px;
  z-index: 200;
}
.lang-dropdown:hover .lang-dropdown-panel,
.lang-dropdown:focus-within .lang-dropdown-panel,
.lang-dropdown.open .lang-dropdown-panel { display: block; }

/* ── Mobile menu — §10 drop-below-header ─────────────────────── */
@media (max-width: 1023px) {
  .nav-links-desktop { display: none !important; }
  .mobile-menu-btn   { display: flex !important; }
  .lang-dropdown-wrapper { display: none !important; }

  .mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
    z-index: 999;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 12px 0 16px;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav a {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    text-align: center;
    color: #374151;
    text-decoration: none;
  }
  .mobile-nav a:hover { background: #e5e7eb; }

  .mobile-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 12px 24px;
    flex-wrap: nowrap;
  }
  .mobile-lang-switcher a {
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 0.875rem;
    border-radius: 6px;
    width: auto;
    display: inline-block;
    text-decoration: none;
    color: #374151;
  }
  .mobile-lang-switcher a.active {
    background: #84cc16;
    color: #fff;
  }

  .hero-cta-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .btn-download {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: max-content;
    max-width: 90%;
  }
}

@media (min-width: 1024px) {
  .nav-links-desktop    { display: flex !important; }
  .mobile-menu-btn      { display: none !important; }
  .mobile-nav           { display: none !important; }
  .desktop-cta          { display: flex !important; }
  .nav-cta              { display: flex !important; }
  .lang-dropdown-wrapper { display: flex !important; }
}

/* Prevent mobile overflow */
@media (max-width: 767px) {
  .hero-features-row { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  img { max-width: 100%; }
  section { overflow-x: hidden; }
}

/* ── Prose pages (privacy / terms) ───────────────────────────── */
.prose-page {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}
.prose-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; color: #111827; }
.prose-page h2 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.5rem; color: #111827; }
.prose-page p  { margin-bottom: 1rem; }
.prose-page ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-page li { margin-bottom: 0.25rem; }
