/* ========================================================================
   Escudo VPN — Pearl & Precision Stylesheet
   Design: White base, gold accents, dark data blocks
   Spec: 2026-03-22-pearl-precision-redesign.md
   ======================================================================== */

/* ── Reset & Custom Properties ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* ── EARTH SHIELD DESIGN SYSTEM ── */
  /* Base Backgrounds */
  --white:        #FFFBF7;
  --off-white:    #FAF5EF;
  --dark:         #1B2A22;

  /* Primary Accent — Terracotta */
  --gold-bright:  #C97B63;
  --gold-deep:    #A8614C;
  --gold-gradient: linear-gradient(135deg, #C97B63, #A8614C);

  /* Brand Green — Forest Onyx */
  --green-mark:   #1B2A22;

  /* Semantic */
  --success:      #5E9E6E;
  --danger:       #C95D5D;
  --status-green: #5E9E6E;

  /* Text Hierarchy (light sections) */
  --text-heading: #4A3F35;
  --text-body:    #6B5D50;
  --text-muted:   #9A8B7A;
  --text-faint:   #C4B5A5;

  /* Borders (light sections) */
  --border-light: rgba(74,63,53,0.06);
  --border-light2: rgba(74,63,53,0.08);

  /* Dark Section (data block, footer) */
  --dark-text:    #E0D5C9;
  --dark-muted:   #9A8B7A;
  --dark-card-bg: rgba(42,63,50,0.4);
  --dark-border:  rgba(201,123,99,0.06);

  /* Typography — Crimson Pro + Outfit + Overpass Mono */
  --font-sans:    'Outfit', system-ui, sans-serif;
  --font-mono:    'Overpass Mono', 'SF Mono', monospace;

  /* Layout */
  --wrap-max:     1140px;
  --radius-card:  16px;
  --radius-pill:  100px;

  /* ── Backward-compat aliases (used by subpages / tool pages) ── */
  --bg:           #FFFBF7;
  --bg-card:      #FAF5EF;
  --accent:       #C97B63;
  --accent-dim:   #A8614C;
  --green:        #1B2A22;
  --green-dim:    #2A3F32;
  --red:          #C95D5D;
  --text:         #6B5D50;
  --text-dim:     #9A8B7A;
  --text-bright:  #4A3F35;
  --border:       rgba(74,63,53,0.08);
  --radius:       16px;
  --font:         'Outfit', system-ui, sans-serif;
  --mono:         'Overpass Mono', 'SF Mono', monospace;

  /* Terracotta gradient aliases */
  --gold-500:     #C97B63;
  --gold-700:     #A8614C;
  --gold-glow:    rgba(201,123,99,0.15);
  --white-100:    #FFFBF7;
  --white-60:     #6B5D50;
  --white-35:     #9A8B7A;
  --white-15:     #C4B5A5;
  --white-12:     rgba(74,63,53,0.12);
  --white-06:     rgba(74,63,53,0.06);
  --white-04:     rgba(74,63,53,0.03);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  min-height: 100dvh;
}

a { color: var(--gold-bright); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text-bright); }

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

/* ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text-heading);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -2.5px;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -1.5px;
}

h3 { font-size: 1rem; font-weight: 700; }
h4 { font-size: 0.9375rem; font-weight: 700; }

h1 em, h2 em {
  font-style: normal;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p { max-width: 60ch; }

/* ── Section Label ─────────────────────────────────────────────────────── */
.section-label, .label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8b7a3c;
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

/* ── Section Divider ───────────────────────────────────────────────────── */
.section-divider {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-divider .line {
  flex: 1;
  height: 1px;
  background: rgba(17,17,17,0.08);
}

.section-divider .div-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(17,17,17,0.2);
  white-space: nowrap;
}

/* Legacy accent line */
.accent-line {
  height: 1px;
  background: rgba(17,17,17,0.08);
  border: none;
  margin: 0;
}

/* ── Navigation ────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transform: translateZ(0);
  will-change: transform;
}

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

/* Logo mark */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green-mark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo .logo-mark svg { width: 20px; height: 20px; }

.nav-logo .logo-text {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-heading);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
  text-decoration: none;
}

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

/* Nav CTA */
.nav-cta {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.625rem 1.375rem !important;
  border-radius: var(--radius-pill) !important;
  background: var(--gold-gradient) !important;
  color: #fff !important;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity .2s;
  white-space: nowrap;
}

.nav-cta:hover { opacity: 0.88; color: #fff !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  text-align: center;
}

/* Hide legacy hero video / background image */
.hero-video { display: none; }
.hero::before { display: none; }
.hero::after { display: none; }

/* Hero badge */
.hero-badge, .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-pill);
  background: #f5f5f0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(17,17,17,0.5);
  margin-bottom: 1.75rem;
  border: none;
}

.hero-badge .dot, .status-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 { margin-bottom: 1.25rem; }

.hero .hero-sub, .hero p.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-actions, .hero .btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn, a.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9375rem 2.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary, a.btn-primary {
  background: var(--gold-gradient);
  color: #fff;
  box-shadow: 0 2px 16px rgba(201,123,99,0.18);
}

.btn-primary:hover, a.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 6px 24px rgba(201,123,99,0.25);
}

.btn-ghost, a.btn-ghost {
  background: transparent;
  color: var(--text-body);
  border: 1px solid rgba(17,17,17,0.1);
}

.btn-ghost:hover, a.btn-ghost:hover {
  border-color: rgba(17,17,17,0.2);
  color: var(--text-heading);
  background: rgba(17,17,17,0.02);
}

/* ── Section: Problems ─────────────────────────────────────────────────── */
#problems {
  background: var(--off-white);
  padding: 5rem 2rem;
}

.problems-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-heading);
  margin-bottom: 3rem;
  max-width: 500px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.problem-card .before-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--danger);
  margin-bottom: 0.375rem;
}

.problem-card .after-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 0.375rem;
  margin-top: 1rem;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
}

.problem-card p {
  font-size: 0.8125rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: none;
}

/* ── Section: Data Block (dark) ─────────────────────────────────────────── */
.data-block {
  background: var(--dark);
  padding: 5rem 2rem;
}

.data-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
}

.data-header {
  text-align: center;
  margin-bottom: 3rem;
}

.data-header .section-label { color: var(--gold-bright); }

.data-header .section-title {
  color: #fff;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.data-cards, .numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.d-card {
  background: var(--dark-card-bg);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
}

.d-card .num, .numbers .num {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FFDF00, #C97B63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.d-card .lbl, .numbers .num-label {
  font-size: 0.75rem;
  color: var(--dark-text);
  font-weight: 500;
}

.d-card .detail {
  font-size: 0.6875rem;
  color: var(--dark-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ── Section: How It Works ─────────────────────────────────────────────── */
#how {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.how-header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-header .section-label { text-align: center; }
.how-header .section-title { max-width: 500px; margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 1.25rem;
  counter-increment: step;
  background: transparent;
  border: none;
}

.step .step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Legacy step (::before pseudo-element) */
.step::before {
  display: none;
}

.step h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
}

.step p {
  font-size: 0.8125rem;
  color: var(--text-body);
  max-width: none;
}

/* ── Section: Pricing ──────────────────────────────────────────────────── */
#pricing {
  background: var(--off-white);
  padding: 5rem 2rem;
}

.pricing-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-header .section-title { max-width: 500px; margin: 0 auto; }

.plans, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.plan, .price-card {
  background: var(--white);
  border: 1px solid var(--border-light2);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}

.plan:hover, .price-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.plan.featured, .price-card.featured {
  border-color: var(--gold-bright);
  box-shadow: 0 4px 24px rgba(201,123,99,0.12);
}

.plan.featured::before, .price-card.featured::after {
  content: 'Mais popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-pill);
}

/* Override old featured badge */
.price-card.featured::after { content: 'Mais popular'; }

.plan h3, .price-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.plan .price, .price-card .price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.plan .price .cur { font-size: 1rem; font-weight: 600; }
.plan .price .per { font-size: 0.8125rem; font-weight: 400; color: var(--text-muted); }

.plan .desc-p {
  font-size: 0.75rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.plan ul, .price-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.plan ul li, .price-card li {
  font-size: 0.75rem;
  color: rgba(17,17,17,0.55);
  padding: 0.375rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan ul li::before, .price-card li::before { display: none; }

.plan ul li .ck {
  color: var(--success);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.plan .plan-btn, .price-card .btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all .2s;
  justify-content: center;
  margin-top: auto;
}

.plan .plan-btn.primary {
  background: var(--gold-gradient);
  color: #fff;
}

.plan .plan-btn.primary:hover { opacity: 0.88; }

.plan .plan-btn.secondary {
  background: #f5f5f0;
  color: var(--text-heading);
}

.plan .plan-btn.secondary:hover { background: #efefea; }

/* ── Section: Comparison ───────────────────────────────────────────────── */
#compare {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.compare-header {
  text-align: center;
  margin-bottom: 3rem;
}

.compare-header .section-title { max-width: 500px; margin: 0 auto; }

.compare-table, .comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
}

.compare-table th, .compare-table td,
.comparison-table th, .comparison-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.8125rem;
}

.compare-table th, .comparison-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.compare-table td, .comparison-table td { color: rgba(17,17,17,0.6); }

.compare-table .highlight, .comparison-table .highlight {
  font-weight: 700;
  color: var(--text-heading);
  background: rgba(201,123,99,0.04);
}

.compare-table .yes, .comparison-table .yes {
  color: var(--success);
  font-weight: 600;
}

.compare-table .no, .comparison-table .no { color: rgba(17,17,17,0.2); }

/* ── Features Grid (legacy subpages) ──────────────────────────────────── */
#features { padding: 5rem 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light2);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: box-shadow .2s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.feature-icon.shield  { background: rgba(0,51,34,0.08);   color: var(--green-mark); }
.feature-icon.lock    { background: rgba(201,123,99,0.1);  color: var(--gold-bright); }
.feature-icon.bolt    { background: rgba(201,123,99,0.1);  color: var(--gold-deep); }
.feature-icon.globe   { background: rgba(0,51,34,0.08);    color: var(--green-mark); }
.feature-icon.layers  { background: rgba(0,51,34,0.08);    color: var(--green-mark); }
.feature-icon.eye     { background: rgba(201,123,99,0.1);  color: var(--gold-bright); }

.feature-card h3 { margin-bottom: 0.5rem; font-size: 0.9375rem; color: var(--text-heading); }
.feature-card p  { font-size: 0.875rem; color: var(--text-body); line-height: 1.6; }

/* ── Download Grid (legacy) ───────────────────────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.download-card {
  background: var(--white);
  border: 1px solid var(--border-light2);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: box-shadow .2s;
}

.download-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.download-card .platform-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.download-card h3 { margin-bottom: 0.25rem; color: var(--text-heading); }

.download-card .version {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}

.download-card .btn { width: 100%; justify-content: center; }

.download-card.coming-soon { opacity: 0.5; pointer-events: none; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer, .footer {
  background: var(--dark);
  color: var(--dark-text);
  padding: 3.75rem 2rem 2.5rem;
}

.footer-inner, .footer-grid {
  max-width: var(--wrap-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

/* Footer logo */
.footer .f-logo, .footer-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer .f-logo .mark, .footer-brand .logo-mark {
  width: 28px;
  height: 28px;
  background: var(--green-mark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer .f-logo .mark svg, .footer-brand .logo-mark svg { width: 16px; height: 16px; }

.footer .f-logo span, .footer-brand .logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.footer .f-desc, .footer-brand p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--dark-text);
  max-width: 280px;
  margin-top: 0;
}

.footer h4, .footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.875rem;
}

.footer ul, .footer-col ul { list-style: none; }

.footer ul li, .footer-col li { font-size: 0.75rem; margin-bottom: 0.5rem; }

.footer a, .footer-col a {
  color: var(--dark-text);
  text-decoration: none;
  transition: color .2s;
}

.footer a:hover, .footer-col a:hover { color: #fff; }

.footer .copy, .footer-bottom {
  max-width: var(--wrap-max);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--dark-border);
  font-size: 0.6875rem;
  text-align: center;
  color: var(--dark-text);
  display: flex;
  justify-content: space-between;
}

/* ── Reveal Animation ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Page Hero (subpages) ─────────────────────────────────────────────── */
.page-hero, .tool-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.page-hero .wrap, .tool-hero > .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }

/* ── Stat Grid (subpages) ─────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border-light2);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  text-align: center;
}

.stat-card .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  font-family: var(--font-mono);
}

/* ── Content Sections (subpages) ──────────────────────────────────────── */
.content-section { padding: 4rem 0; }

/* ── Breadcrumb ───────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-top: 5.5rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--gold-bright); }

/* ── FAQ (subpages) ───────────────────────────────────────────────────── */
.faq-item { padding: 1.25rem 0; border-bottom: 1px solid var(--border-light2); }
.faq-item h3, .faq-item h4 { font-size: 1rem; color: var(--text-heading); margin-bottom: 0.5rem; }
.faq-item p { font-size: 0.875rem; color: var(--text-body); }

/* ── CTA Section (subpages) ───────────────────────────────────────────── */
.cta-section {
  background: var(--off-white);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 { font-size: clamp(1.3rem, 5vw, 1.75rem); margin-bottom: 1rem; }

/* ── Server / Tool Grids (subpages) ───────────────────────────────────── */
.server-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.reason-grid, .values-grid, .feed-grid, .before-after,
.infra-grid, .protection-grid, .advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.tunnel-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Cards used by subpages */
.reason-card, .value-card, .feed-card, .infra-card,
.protection-card, .advantage-card, .tunnel-step {
  background: var(--white);
  border: 1px solid var(--border-light2);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

/* ── Floating Waitlist Bar ────────────────────────────────────────────── */
#wl-bar {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* ── Responsive: Tablet (900px) ───────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid,
  .download-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .plans, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .data-cards, .numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  .compare-table th,
  .compare-table td { padding: 0.75rem 0.5rem; }

  .reason-grid, .values-grid, .feed-grid, .before-after,
  .infra-grid, .protection-grid, .advantage-grid { grid-template-columns: 1fr; }

  .tunnel-steps { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .server-select { grid-template-columns: repeat(2, 1fr); }
  .breadcrumb { flex-wrap: wrap; }
  .content-section { padding: 3rem 0; }
  .page-hero, .tool-hero { padding: 8rem 0 3rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
}

/* ── Responsive: Mobile (640px) ───────────────────────────────────────── */
@media (max-width: 640px) {
  section { padding: 3rem 0; }
  #problems, #pricing, .data-block { padding: 3rem 1.25rem; }
  #how, #compare { padding: 3rem 1.25rem; }

  .hero { padding: 3rem 1.25rem 2.5rem; }

  h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); letter-spacing: -1.5px; }
  h2, .section-title { font-size: clamp(1.4rem, 6vw, 1.8rem); letter-spacing: -1px; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 1.5rem 2rem;
    gap: 1rem;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open li { list-style: none; }

  .plans, .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .data-cards, .numbers { grid-template-columns: 1fr 1fr; }

  .footer-inner, .footer-grid { grid-template-columns: 1fr; }

  .footer .copy, .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .stat-grid { grid-template-columns: 1fr; }
  .stat-card .num { font-size: 1.6rem; }

  .compare-table th,
  .compare-table td { padding: 0.6rem 0.4rem; font-size: 0.75rem; }

  .content-section { padding: 2.5rem 0; }
  .content-section h2 { font-size: clamp(1.3rem, 5vw, 1.75rem); }

  .reason-card, .value-card, .feed-card, .infra-card,
  .protection-card, .advantage-card { padding: 1.25rem; }

  .tunnel-step { padding: 1.25rem; }
  .server-select { grid-template-columns: repeat(2, 1fr); }

  .faq-item p { font-size: 0.85rem; }

  .cta-section { padding: 3rem 0; }

  .breadcrumb { padding-top: 5rem; font-size: 0.8rem; }

  .feature-card { padding: 1.25rem; }
  .step { padding: 1rem; }
  .price-card, .plan { padding: 1.5rem 1.25rem; }
  .download-card { padding: 1.75rem 1.25rem; }
}

@media (max-width: 640px) {
  #wl-bar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  #wl-bar span { font-size: 0.75rem; }
  #wl-bar .btn { font-size: 0.75rem; padding: 0.5rem 1rem; }
}

/* ── iOS Safari Specific Fixes ────────────────────────────────────────── */
@supports (-webkit-touch-callout: none) {
  body { min-height: -webkit-fill-available; }
  nav, #wl-bar { -webkit-transform: translate3d(0,0,0); }
  a, button, .plan, .feature-card, .price-card {
    -webkit-tap-highlight-color: transparent;
  }
}
