/* ═══════════════════════════════════════════════════════════
   XNXUBD VPN Browser — Privacy / Tech Dark Theme
   ═══════════════════════════════════════════════════════════ */

/* ═══ VARIABLES & RESET ═══ */
:root {
  --color-bg: #0b1120;
  --color-bg-2: #0f1a2e;
  --color-card: #111827;
  --color-card-hover: #16213a;
  --color-primary: #00d4aa;
  --color-primary-dark: #00b894;
  --color-secondary: #6366f1;
  --color-danger: #f59e0b;
  --color-success: #10b981;
  --color-text: #f1f5f9;
  --color-muted: #94a3b8;
  --color-border: #1e293b;
  --color-border-light: #2a3a52;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 32px rgba(0, 212, 170, 0.15);
  --shadow-lg: 0 10px 50px rgba(0, 212, 170, 0.25);
  --transition: all 0.3s ease;
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-top: 3rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-top: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--color-muted); }
p strong { color: var(--color-text); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 2rem 0;
}

section > .container > h2:first-child,
section > .container > h3:first-child {
  margin-top: 0;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
}

li { margin-bottom: 0.5rem; }

/* ═══ STICKY HEADER ═══ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 0.25rem 0;
  background: rgba(11, 17, 32, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo i {
  color: var(--color-primary);
  font-size: 1.6rem;
}

.logo span {
  background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  background: rgba(0, 212, 170, 0.08);
}

/* nav download button — escape generic .main-nav a rules */
.main-nav a.btn-primary,
.main-nav a.btn-primary:hover,
.main-nav a.btn-primary:focus {
  color: #002921;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #002921;
  box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.7);
  animation: pulse 2.5s infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.4);
  color: #002921;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background: rgba(0, 212, 170, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.15rem;
}

.btn-xl {
  padding: 1.3rem 2.75rem;
  font-size: 1.25rem;
  border-radius: 14px;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.6); }
  70%  { box-shadow: 0 0 0 18px rgba(0, 212, 170, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); }
}

/* ═══ BREADCRUMBS ═══ */
.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--color-border-light);
}

.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li:last-child { color: var(--color-primary); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(0, 212, 170, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(99, 102, 241, 0.18), transparent 60%),
    var(--color-bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg,
      rgba(0, 212, 170, 0.05) 0%,
      rgba(99, 102, 241, 0.05) 50%,
      rgba(0, 212, 170, 0.05) 100%);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
  z-index: 0;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--color-muted);
  max-width: 720px;
  margin: 0 auto 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-bar i { color: var(--color-primary); }

.rating-row {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--color-text);
}

.rating-row .stars {
  color: var(--color-danger);
  letter-spacing: 2px;
  margin-right: 0.5rem;
}

.hero-image-wrap {
  margin-top: 2.5rem;
  position: relative;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
  .hero-image-wrap { max-width: 320px; }
}

/* ═══ TRUST / STATS BAR ═══ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: var(--color-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-top: 2.5rem;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--color-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══ FEATURES GRID ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  background: var(--color-card-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(99, 102, 241, 0.15));
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ═══ COMPARISON TABLE ═══ */
.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.data-table th,
.data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-table thead {
  background: rgba(0, 212, 170, 0.08);
}

.data-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.data-table td {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(0, 212, 170, 0.04);
  color: var(--color-text);
}

.check { color: var(--color-success); font-weight: 600; }
.cross { color: var(--color-danger); font-weight: 600; }
.highlight-col { color: var(--color-primary); font-weight: 600; }

/* ═══ DOWNLOAD BOX ═══ */
.download-box {
  background: linear-gradient(135deg, var(--color-card) 0%, #0d1f2d 100%);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.download-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 60%);
  animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
  to { transform: rotate(360deg); }
}

.download-box > * { position: relative; z-index: 1; }

.download-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.download-meta span {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--color-text);
}

.download-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.download-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.download-trust i { color: var(--color-success); }

/* ═══ STEP-BY-STEP GUIDE ═══ */
.steps {
  position: relative;
  margin-top: 2.5rem;
  padding-left: 1rem;
}

.step {
  position: relative;
  padding: 0 0 2rem 4rem;
  border-left: 2px solid var(--color-border-light);
  margin-left: 1.5rem;
}

.step:last-child { border-left: 2px solid transparent; padding-bottom: 0; }

.step-num {
  position: absolute;
  left: -1.5rem;
  top: -0.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #002921;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 0 4px var(--color-bg), 0 0 24px rgba(0, 212, 170, 0.5);
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--color-text);
}

.step p { margin: 0; font-size: 0.95rem; }

.alert {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  border-left: 4px solid;
}

.alert i { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.15rem; }
.alert p { margin: 0; color: var(--color-text); font-size: 0.95rem; }
.alert strong { display: block; margin-bottom: 0.25rem; font-family: var(--font-heading); }

.alert-warn {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--color-danger);
}
.alert-warn i { color: var(--color-danger); }

.alert-tip {
  background: rgba(0, 212, 170, 0.08);
  border-color: var(--color-primary);
}
.alert-tip i { color: var(--color-primary); }

.alert-info {
  background: rgba(99, 102, 241, 0.08);
  border-color: var(--color-secondary);
}
.alert-info i { color: var(--color-secondary); }

/* ═══ SERVER LOCATIONS TABLE ═══ */
.server-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
}

.server-table .flag {
  display: inline-block;
  margin-right: 0.25rem;
  font-size: 1.1rem;
}

/* ═══ SCREENSHOTS GRID ═══ */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.screenshots-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  transition: var(--transition);
}

.screenshots-grid figure:hover {
  transform: scale(1.03);
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.screenshots-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.screenshots-grid figcaption {
  padding: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}

/* ═══ PROS CONS ═══ */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.proscons-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.proscons-card.pros { border-top: 4px solid var(--color-success); }
.proscons-card.cons { border-top: 4px solid var(--color-danger); }

.proscons-card h3 {
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proscons-card.pros h3 { color: var(--color-success); }
.proscons-card.cons h3 { color: var(--color-danger); }

.proscons-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.proscons-card li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.proscons-card li:last-child { border-bottom: none; }

.proscons-card.pros li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.7rem;
  color: var(--color-success);
}

.proscons-card.cons li::before {
  content: '\f071';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.7rem;
  color: var(--color-danger);
}

/* ═══ FAQ ACCORDION ═══ */
.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-list details {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.faq-list details:hover { border-color: var(--color-border-light); }

.faq-list details[open] {
  border-color: var(--color-primary);
  background: var(--color-card-hover);
}

.faq-list summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--color-primary);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-list details[open] summary::after { transform: rotate(180deg); }

.faq-list details > div {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-list details > div p { margin-bottom: 0.75rem; }
.faq-list details > div p:last-child { margin-bottom: 0; }

/* ═══ RELATED PAGES CARDS ═══ */
.related-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.related-card {
  display: block;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--color-text);
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  background: var(--color-card-hover);
  color: var(--color-primary);
  box-shadow: var(--shadow);
}

.related-card i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.related-card h4 { margin: 0; font-size: 1.05rem; }

/* ═══ AUTHOR BOX ═══ */
.author-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  margin: 3rem 0 0;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-text);
  font-size: 1.1rem;
}

.author-info span {
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* ═══ MODAL (Download popup) ═══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.25s ease;
}

.modal-overlay.active { display: flex; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 212, 170, 0.08);
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: left;
}

@keyframes modalIn {
  from { transform: scale(0.85) translateY(-30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  color: var(--color-muted);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-danger);
}

/* ── download modal header (icon + text) ── */
.dl-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-right: 2rem;
  margin-bottom: 1.25rem;
}

.dl-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.18), rgba(99, 102, 241, 0.18));
  border: 1px solid rgba(0, 212, 170, 0.35);
  color: var(--color-primary);
  font-size: 1.2rem;
}

.dl-text { flex: 1; min-width: 0; }

.dl-text h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.dl-version {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
  margin-top: 0.1rem;
}

.dl-text p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.dl-brand {
  color: var(--color-primary);
  font-weight: 600;
}

/* ── progress bar ── */
.dl-progress-wrap {
  margin: 0 0 1.1rem;
  display: none;
}

.dl-progress-wrap.active { display: block; }

.dl-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.dl-status { color: var(--color-text); }

.dl-percent {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
}

.dl-progress-bar {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.dl-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ec4899 0%, #f59e0b 50%, #00d4aa 100%);
  background-size: 200% 100%;
  border-radius: 999px;
  transition: width 0.2s linear;
  animation: progressShine 2s linear infinite;
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.5);
}

@keyframes progressShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── notices list ── */
.dl-notices {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dl-notices li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-muted);
  margin: 0;
  padding: 0;
}

.dl-notices li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 1rem;
}

.dl-notices li > span {
  flex: 1;
  min-width: 0;
}

.dl-notices li:nth-child(1) i { color: var(--color-danger); }
.dl-notices li:nth-child(2) i { color: var(--color-primary); }

.dl-notices strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ── download button inside modal ── */
.dl-start {
  width: 100%;
  display: inline-flex;
}

.dl-start.hide { display: none; }

/* ═══ FOOTER ═══ */
.site-footer {
  background: #060b17;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--color-primary); }

.footer-about p {
  font-size: 0.875rem;
  color: var(--color-muted);
  max-width: 380px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-bottom a { color: var(--color-muted); margin-right: 1rem; }
.footer-bottom a:hover { color: var(--color-primary); }

.footer-disclaimer {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ═══ BACK TO TOP ═══ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #002921;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover { transform: translateY(-4px); }

/* ═══ FLOATING TOC ═══ */
.toc-float {
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  max-width: 240px;
  z-index: 40;
  font-size: 0.85rem;
  display: none;
}

.toc-float h5 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin: 0 0 0.5rem;
}

.toc-float ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-float li { margin: 0; }

.toc-float a {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  color: var(--color-muted);
  font-size: 0.85rem;
  border-left: 2px solid transparent;
  transition: var(--transition);
}

.toc-float a:hover,
.toc-float a.active {
  color: var(--color-primary);
  background: rgba(0, 212, 170, 0.08);
  border-left-color: var(--color-primary);
}

@media (min-width: 1400px) {
  .toc-float { display: block; }
}

/* ═══ SAFETY HERO BADGE ═══ */
.safety-badge {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-success), var(--color-primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.15), 0 0 60px rgba(16, 185, 129, 0.4);
}

/* ═══ CONTACT FORM ═══ */
.contact-form {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0 1rem;
  max-width: 720px;
}

.contact-form .form-row { margin-bottom: 1.1rem; }

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.18);
  background: var(--color-card-hover);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.7;
}

.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 0.25rem;
}

/* ═══ INFO LIST ═══ */
.info-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.info-list li {
  padding: 0.9rem 1rem 0.9rem 3rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.95rem;
}

.info-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-success);
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.info-list.warn li::before {
  content: '\f071';
  color: var(--color-danger);
  background: rgba(245, 158, 11, 0.15);
}

/* ═══ TLDR BOX ═══ */
.tldr-box {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(99, 102, 241, 0.08));
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.tldr-box h3 {
  margin: 0 0 1rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tldr-box p { color: var(--color-text); font-size: 1.05rem; margin: 0; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 64px;
    right: 0;
    width: 280px;
    height: calc(100vh - 64px);
    background: var(--color-card);
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 0.75rem 1rem;
  }

  .main-nav .btn {
    margin-top: 1rem;
    width: 100%;
  }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  .proscons { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  section { padding: 1.75rem 0; }

  .hero { padding: 2.5rem 0 3.5rem; }
}

@media (max-width: 480px) {
  .hero-cta-group .btn { width: 100%; }
  .trust-bar { gap: 0.75rem 1rem; font-size: 0.85rem; }
  .download-box { padding: 2rem 1.25rem; }
  .step { padding-left: 3rem; }
  .step-num { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
}
