/* ============================================================
   IPPRIVACYCHECK.COM — CLEAN SAAS REDESIGN
   Aesthetic: Precision Security — Light & clinical
   Fonts: Outfit (display) · DM Sans (body) · JetBrains Mono
   ============================================================ */

/* 1. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--blue-dark); }
img { display: block; max-width: 100%; }

/* 2. DESIGN TOKENS
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:             #ffffff;
  --bg-soft:        #F4F7FF;
  --bg-section:     #F8FAFF;
  --bg-card:        #ffffff;

  /* Blue palette */
  --blue:           #3B5BDB;
  --blue-dark:      #2F4ABF;
  --blue-light:     #EEF2FF;
  --blue-mid:       rgba(59, 91, 219, 0.10);
  --blue-glow:      rgba(59, 91, 219, 0.18);
  --blue-border:    rgba(59, 91, 219, 0.20);
  --sky:            #0EA5E9;

  /* Borders */
  --border:         #E4EAF4;
  --border-mid:     #C8D3ED;
  --border-strong:  #A8BAE0;

  /* Status */
  --green:          #10B981;
  --green-dim:      rgba(16, 185, 129, 0.10);
  --green-border:   rgba(16, 185, 129, 0.25);
  --danger:         #EF4444;
  --danger-dim:     rgba(239, 68, 68, 0.08);
  --danger-border:  rgba(239, 68, 68, 0.22);
  --warning:        #F59E0B;
  --warning-dim:    rgba(245, 158, 11, 0.08);
  --warning-border: rgba(245, 158, 11, 0.25);

  /* Typography */
  --font-display:   'Outfit', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* Text */
  --text:           #0F172A;
  --text-body:      #334155;
  --text-muted:     #64748B;
  --text-dim:       #94A3B8;
  --white:          #ffffff;

  /* Radius */
  --r-xs: 6px; --r-sm: 8px; --r: 12px;
  --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow:       0 4px 16px rgba(59,91,219,0.08), 0 1px 4px rgba(15,23,42,0.05);
  --shadow-lg:    0 12px 40px rgba(59,91,219,0.12), 0 4px 12px rgba(15,23,42,0.06);
  --shadow-teal:  0 6px 24px rgba(59,91,219,0.28);
  --shadow-danger:0 6px 20px rgba(239,68,68,0.20);

  /* Layout */
  --header-h:   68px;
  --sidebar-w:  240px;
  --body-max:   1380px;
}

/* 3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 16px; font-weight: 600; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* 4. LAYOUT
   ============================================================ */
.page-body {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr) var(--sidebar-w);
  gap: 28px;
  max-width: var(--body-max);
  margin: 0 auto;
  padding: 40px 20px 72px;
  align-items: start;
}
.page-body.no-sidebar { grid-template-columns: 1fr; max-width: 960px; }
.main-content { min-width: 0; }
.sidebar { min-width: 0; }

/* 5. HEADER
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--body-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo img { height: 48px; width: auto; object-fit: contain; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-link:hover { background: var(--bg-soft); color: var(--text); }
.nav-link.active { color: var(--blue); background: var(--blue-light); }

.btn-header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 9px 20px;
  border-radius: var(--r-full);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: 0 2px 10px rgba(59,91,219,0.30);
  white-space: nowrap;
}
.btn-header-cta svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-header-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(59,91,219,0.38);
  color: #ffffff !important;
}
.btn-header-cta:active { transform: translateY(0); }

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 6. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #F0F4FF 0%, #EEF1FF 40%, #F7F9FF 100%);
  padding: 80px 24px 110px;
  text-align: center;
}

/* CSS-only gradient orbs — replaces canvas */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,91,219,0.18) 0%, transparent 65%);
  top: -280px; right: -120px;
  animation: orb-drift-1 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,0.14) 0%, transparent 65%);
  bottom: -200px; left: -80px;
  animation: orb-drift-2 15s ease-in-out infinite;
}
.hero-orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(99,102,241,0.10) 0%, transparent 65%);
  top: 30%;
  left: 12%;
  animation: orb-drift-3 10s ease-in-out infinite;
}

/* Subtle dot grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(59,91,219,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--blue-border);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(59,91,219,0.10);
}
.hero-badge .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 18px;
}
.hero-title .accent { color: var(--blue); }

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-item svg { width: 14px; height: 14px; color: var(--blue); flex-shrink: 0; }

/* 7. IP CHECK CARD
   ============================================================ */
.ip-card-wrap {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 20px;
}
.ip-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.ip-card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky), #818CF8);
}
.ip-card-body { padding: 32px 36px 28px; }

/* Dual IP blocks */
.ip-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 620px) { .ip-dual { grid-template-columns: 1fr; } }

.ip-block {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.ip-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0.7;
}
.ip-block-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ip-block-label .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease infinite;
}
.ip-address-display {
  font-family: var(--font-mono);
  font-size: clamp(17px, 3vw, 26px);
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.01em;
  line-height: 1.2;
  min-height: 34px;
  display: flex;
  align-items: center;
  word-break: break-all;
}
.ip-address-display .cursor {
  display: inline-block;
  width: 2px; height: 0.8em;
  background: var(--blue);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  flex-shrink: 0;
  border-radius: 1px;
}
.ip-not-available {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
}

/* Meta row */
.ip-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.ip-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3px;
}
.ip-meta-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.ip-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Status banner */
.ip-status-banner {
  display: none;
  margin-top: 20px;
  border-radius: var(--r-lg);
  padding: 14px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.4s ease both;
}
.ip-status-banner.show { display: flex; }
.ip-status-banner.exposed {
  background: var(--danger-dim);
  border: 1px solid var(--danger-border);
}
.ip-status-banner.protected {
  background: var(--green-dim);
  border: 1px solid var(--green-border);
}
.status-banner-left { display: flex; align-items: center; gap: 12px; }
.status-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.status-icon svg { width: 17px; height: 17px; }
.exposed .status-icon { background: var(--danger-dim); color: var(--danger); }
.protected .status-icon { background: var(--green-dim); color: var(--green); }
.status-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.status-sub { font-size: 12px; color: var(--text-muted); }

/* 8. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.btn-primary {
  background: var(--blue);
  color: #ffffff !important;
  font-size: 14px;
  padding: 11px 24px;
  box-shadow: 0 2px 12px rgba(59,91,219,0.28);
}
.btn-primary svg { width: 15px; height: 15px; }
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-teal);
  color: #ffffff !important;
}

.btn-danger {
  background: var(--danger);
  color: #ffffff !important;
  font-size: 14px;
  padding: 11px 24px;
  box-shadow: var(--shadow-danger);
}
.btn-danger:hover { background: #DC2626; transform: translateY(-1px); color: #ffffff !important; }

.btn-secondary {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  padding: 10px 20px;
}
.btn-secondary svg { width: 14px; height: 14px; }
.btn-secondary:hover { background: var(--blue-light); border-color: var(--blue-border); color: var(--blue); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  font-size: 13px;
  padding: 9px 16px;
  border: 1px solid var(--blue-border);
}
.btn-ghost:hover { background: var(--blue-light); }

.btn-lg  { font-size: 16px !important; padding: 14px 32px !important; border-radius: var(--r) !important; }
.btn-xl  { font-size: 18px !important; padding: 17px 40px !important; border-radius: var(--r-lg) !important; font-weight: 700 !important; }

/* 9. BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.2px;
}
.badge-teal   { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-border); }
.badge-green  { background: var(--green-dim); color: #059669; border: 1px solid var(--green-border); }
.badge-danger { background: var(--danger-dim); color: var(--danger); border: 1px solid var(--danger-border); }
.badge-warn   { background: var(--warning-dim); color: #D97706; border: 1px solid var(--warning-border); }
.badge-muted  { background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border); }
.badge-lg     { font-size: 13px; padding: 5px 14px; }

/* 10. SECTIONS
   ============================================================ */
.section { margin-bottom: 36px; }
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.section-icon {
  width: 32px; height: 32px;
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.section-icon svg { width: 15px; height: 15px; color: var(--blue); }
.section-title-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* 11. CARDS
   ============================================================ */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--blue-border); box-shadow: var(--shadow); transform: translateY(-1px); }
.card-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 5px; }
.card-value { font-size: 15px; font-weight: 600; color: var(--text); }
.card-sub   { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

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

/* 12. PRIVACY CHECK LIST
   ============================================================ */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.check-item:hover { border-color: var(--blue-border); box-shadow: var(--shadow-sm); }
.check-left { display: flex; align-items: center; gap: 14px; }
.check-icon { width: 38px; height: 38px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check-icon svg { width: 17px; height: 17px; }
.check-icon.safe  { background: var(--green-dim); color: #059669; }
.check-icon.risk  { background: var(--danger-dim); color: var(--danger); }
.check-icon.warn  { background: var(--warning-dim); color: #D97706; }
.check-icon.muted { background: var(--bg-soft); color: var(--text-dim); }
.check-title { font-size: 14px; font-weight: 600; color: var(--text); }
.check-sub   { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* 13. DNS TABLE
   ============================================================ */
.dns-wrap { background: #ffffff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.dns-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dns-table th { background: var(--bg-soft); color: var(--text-dim); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.dns-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-body); }
.dns-table tr:last-child td { border-bottom: none; }
.dns-table td.ip-cell { font-family: var(--font-mono); color: var(--blue); font-weight: 500; }

/* 14. IP LOOKUP
   ============================================================ */
.lookup-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 32px; box-shadow: var(--shadow); }
.lookup-card h3 { font-size: 18px; margin-bottom: 4px; }
.lookup-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.lookup-row { display: flex; gap: 10px; }
.lookup-input {
  flex: 1;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 11px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.lookup-input::placeholder { color: var(--text-dim); font-family: var(--font-body); }
.lookup-input:focus { border-color: var(--blue); background: #ffffff; }
.lookup-result { display: none; margin-top: 20px; }
.lookup-result.show { display: block; animation: fadeInUp 0.3s ease; }
.map-placeholder {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r);
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 13px;
  gap: 8px;
  margin-bottom: 16px;
}
.map-placeholder svg { width: 32px; height: 32px; opacity: 0.35; }

/* 15. SIDEBARS & AD SLOTS
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: #ffffff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.widget-header { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); }
.widget-body { padding: 16px; }

.ad-slot {
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  gap: 4px;
  text-align: center;
}
.ad-slot-300x250 { width: 100%; height: 250px; max-width: 300px; margin: 0 auto; }
.ad-slot-160x600 { width: 100%; height: 600px; max-width: 160px; margin: 0 auto; }

/* Sidebar VPN card */
.sidebar-vpn-card {
  background: linear-gradient(160deg, #EEF2FF 0%, #ffffff 100%);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-lg);
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(59,91,219,0.10);
}
.sidebar-vpn-badge { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.sidebar-vpn-badge::before, .sidebar-vpn-badge::after { content: ''; flex: 1; height: 1px; background: var(--blue-border); }
.sidebar-vpn-name { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 6px; font-family: var(--font-display); }
.sidebar-vpn-rating { color: var(--warning); font-size: 14px; margin-bottom: 8px; }
.sidebar-vpn-feature { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.sidebar-vpn-trust { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.sidebar-trust-item { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.sidebar-trust-item svg { width: 12px; height: 12px; color: var(--green); flex-shrink: 0; }

/* 16. CONCERN CARDS
   ============================================================ */
.concern-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.concern-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.concern-card:hover { border-color: var(--blue-border); transform: translateY(-3px); box-shadow: var(--shadow); }
.concern-icon { width: 54px; height: 54px; background: var(--blue-light); border: 1px solid var(--blue-border); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.concern-icon svg { width: 24px; height: 24px; color: var(--blue); }
.concern-card h4 { font-size: 15px; margin-bottom: 8px; }
.concern-card p { font-size: 13px; color: var(--text-muted); }
@media (max-width: 640px) { .concern-cards { grid-template-columns: 1fr; } }

/* 17. PROSE / ARTICLE
   ============================================================ */
.prose { color: var(--text-body); line-height: 1.75; }
.prose h2 { color: var(--text); font-size: 26px; margin-top: 36px; margin-bottom: 14px; }
.prose h3 { color: var(--text); font-size: 18px; margin-top: 28px; margin-bottom: 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--blue); }
.prose a:hover { color: var(--blue-dark); }
.prose code { font-family: var(--font-mono); font-size: 13px; background: var(--bg-soft); border: 1px solid var(--border); padding: 2px 7px; border-radius: 5px; color: var(--blue); }
.info-box { background: var(--blue-light); border: 1px solid var(--blue-border); border-radius: var(--r); padding: 16px 20px; margin: 20px 0; }
.info-box p { color: var(--text); margin-bottom: 0; }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.way-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--r); padding: 16px; text-align: center; transition: border-color 0.2s, box-shadow 0.2s; }
.way-card:hover { border-color: var(--blue-border); box-shadow: var(--shadow-sm); }
.way-icon { font-size: 28px; margin-bottom: 8px; }
.way-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.way-desc { font-size: 12px; color: var(--text-muted); }
@media (max-width: 600px) { .ways-grid { grid-template-columns: 1fr 1fr; } }

/* 18. FUNNEL PAGE
   ============================================================ */
.funnel-hero {
  background: linear-gradient(150deg, #FFF5F5 0%, #FFF8F8 50%, #F7F9FF 100%);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.funnel-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.funnel-ip-exposed {
  background: #ffffff;
  border: 1px solid var(--danger-border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  max-width: 480px;
  margin: 28px auto 0;
  text-align: left;
  box-shadow: 0 4px 16px rgba(239,68,68,0.10);
}
.exposed-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--danger); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.exposed-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: pulse-dot-danger 1.5s ease infinite; }
.exposed-ip { font-family: var(--font-mono); font-size: 20px; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.exposed-sub { font-size: 12px; color: var(--danger); opacity: 0.8; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.problem-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.problem-card .problem-num { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--danger); line-height: 1; margin-bottom: 8px; }
.problem-card h4 { font-size: 15px; margin-bottom: 6px; }
.problem-card p { font-size: 13px; color: var(--text-muted); }
@media (max-width: 640px) { .problem-grid { grid-template-columns: 1fr; } }

/* NordVPN card — light version */
.nord-hero-card {
  background: #ffffff;
  border: 1px solid var(--blue-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 760px;
  margin: 0 auto;
}
.nord-card-top {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}
.nord-logo-placeholder { background: #1B3A7A; border-radius: var(--r); padding: 10px 18px; font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.5px; flex-shrink: 0; font-family: var(--font-display); }
.nord-card-meta h3 { font-size: 20px; margin-bottom: 4px; }
.nord-card-meta .stars { color: var(--warning); font-size: 16px; }
.nord-card-meta .review-count { font-size: 12px; color: var(--text-muted); }
.nord-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.nord-card-body { padding: 28px 36px; }
.nord-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.nord-feature { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r); transition: border-color 0.2s; }
.nord-feature:hover { border-color: var(--blue-border); }
.nord-feature-icon { width: 32px; height: 32px; flex-shrink: 0; background: var(--blue-light); border-radius: var(--r-xs); display: flex; align-items: center; justify-content: center; }
.nord-feature-icon svg { width: 15px; height: 15px; color: var(--blue); }
.nord-feature-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.nord-feature-desc { font-size: 11px; color: var(--text-muted); }
@media (max-width: 560px) { .nord-features { grid-template-columns: 1fr; } }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.pricing-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 18px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.pricing-card.featured { border-color: var(--blue-border); background: var(--blue-light); transform: scale(1.02); box-shadow: var(--shadow-teal); }
.pricing-plan-name { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.pricing-period { font-size: 11px; color: var(--text-dim); margin-bottom: 4px; }
.pricing-amount { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--text); }
.pricing-amount span { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.pricing-savings { font-size: 11px; color: var(--blue); font-weight: 600; margin-top: 6px; min-height: 16px; }
@media (max-width: 520px) { .pricing-cards { grid-template-columns: 1fr; } .pricing-card.featured { transform: none; } }

.trust-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 28px 0; }
.trust-bar-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.trust-bar-item svg { width: 18px; height: 18px; color: var(--blue); }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: #ffffff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); user-select: none; transition: background 0.15s; gap: 12px; }
.faq-question:hover { background: var(--bg-soft); }
.faq-question svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); transition: transform 0.2s; }
.faq-item.open .faq-question { background: var(--bg-soft); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 16px; font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.faq-item.open .faq-answer { display: block; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.review-stars { color: var(--warning); font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; font-style: italic; }
.review-author { font-size: 12px; font-weight: 600; color: var(--text); }
@media (max-width: 600px) { .review-grid { grid-template-columns: 1fr; } }

/* 19. FOOTER
   ============================================================ */
#site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  margin-top: 64px;
}
.footer-inner {
  max-width: var(--body-max);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
.footer-logo { height: 34px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; max-width: 300px; }
.footer-disclosure { font-size: 11px; color: var(--text-dim); line-height: 1.5; }
.footer-disclosure a { color: var(--text-dim); text-decoration: underline; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; transition: color 0.15s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 24px; text-align: center; font-size: 12px; color: var(--text-dim); max-width: var(--body-max); margin: 0 auto; }

/* 20. MOBILE STICKY CTA
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: #ffffff;
  border-top: 1px solid var(--blue-border);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(59,91,219,0.15);
}
.mobile-cta-bar .btn { width: 100%; justify-content: center; }

/* 21. PRIVACY POLICY
   ============================================================ */
.policy-wrap { max-width: 800px; margin: 0 auto; padding: 40px 24px 80px; }
.policy-wrap h1 { font-size: 36px; margin-bottom: 8px; }
.policy-date { font-size: 13px; color: var(--text-dim); margin-bottom: 36px; }
.policy-section { margin-bottom: 36px; }
.policy-section h2 { font-size: 20px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.policy-section p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.75; }
.policy-section ul { padding-left: 20px; color: var(--text-muted); font-size: 14px; }
.policy-section li { margin-bottom: 6px; }

/* 22. ANIMATIONS
   ============================================================ */
@keyframes pulse-dot { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.6); opacity:0.5; } }
@keyframes pulse-dot-danger { 0%,100% { transform:scale(1); box-shadow:0 0 0 0 rgba(239,68,68,0.4); } 50% { transform:scale(1.3); box-shadow:0 0 0 6px rgba(239,68,68,0); } }
@keyframes blink { 50% { opacity:0; } }
@keyframes fadeInUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes orb-drift-1 { 0%,100% { transform:translate(0,0); } 50% { transform:translate(-30px, 20px); } }
@keyframes orb-drift-2 { 0%,100% { transform:translate(0,0); } 50% { transform:translate(20px,-25px); } }
@keyframes orb-drift-3 { 0%,100% { transform:translateY(-50%) scale(1); } 50% { transform:translateY(calc(-50% + 15px)) scale(1.05); } }
@keyframes shimmer { from { background-position:-400px 0; } to { background-position:400px 0; } }

.loading-shimmer {
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--border) 50%, var(--bg-soft) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}

/* 23. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .page-body { grid-template-columns: 1fr var(--sidebar-w); }
  .sidebar-left { display: none; }
}
@media (max-width: 860px) {
  .page-body { grid-template-columns: 1fr; padding: 24px 16px 48px; }
  .sidebar-right { display: none; }
  .mobile-cta-bar { display: flex; }
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    z-index: 199;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  }
  .header-nav.open .nav-link { padding: 10px 14px; }
  .mobile-menu-btn { display: flex; }
  .btn-header-cta { display: none; }
  .ip-card-body { padding: 20px 18px; }
  .ip-card-wrap { padding: 0 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .nord-card-top { flex-direction: column; text-align: center; }
  .nord-card-body { padding: 20px 18px; }
}
@media (max-width: 480px) {
  .hero { padding: 52px 16px 88px; }
  .footer-links { grid-template-columns: 1fr; }
}

/* COOKIE CONSENT BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(15,23,42,0.10);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#cookie-banner.show { transform: translateY(0); }

.cookie-inner {
  max-width: var(--body-max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  min-width: 260px;
}
.cookie-text a { color: var(--blue); font-weight: 500; }
.cookie-text a:hover { text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.cookie-btn:active { transform: scale(0.97); }

.cookie-decline {
  background: var(--bg-soft);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.cookie-decline:hover { background: var(--border); color: var(--text); }

.cookie-accept {
  background: var(--blue);
  color: #ffffff;
}
.cookie-accept:hover { background: var(--blue-dark); }

@media (max-width: 600px) {
  .cookie-inner { padding: 14px 16px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* NAV DROPDOWN
   ============================================================ */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.nav-dropdown-trigger:hover { background: var(--bg-soft); color: var(--text); }
.nav-dropdown.active .nav-dropdown-trigger,
.nav-dropdown-trigger.active { color: var(--blue); background: var(--blue-light); }
.nav-dropdown.open .nav-dropdown-trigger { background: var(--bg-soft); color: var(--text); }
.nav-dropdown-chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  opacity: 0.6;
}
.nav-dropdown.open .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 8px 24px rgba(15,23,42,0.10), 0 1px 4px rgba(15,23,42,0.06);
  min-width: 170px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  z-index: 300;
  pointer-events: none;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  padding: 9px 12px;
  border-radius: var(--r-sm);
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--bg-soft); color: var(--text); }
.nav-dropdown-item.active { color: var(--blue); background: var(--blue-light); }

@media (max-width: 860px) {
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-dropdown-trigger {
    width: 100%;
    padding: 10px 14px;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--blue-border);
    border-radius: 0;
    padding: 4px 0 4px 8px;
    margin-left: 14px;
    min-width: unset;
    width: calc(100% - 14px);
    display: none;
    transition: none;
    pointer-events: auto;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-item { padding: 8px 14px; }
}
