/* =====================================================
   Shield-Rank — Main Stylesheet
   ===================================================== */

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

:root {
  /* Colors */
  --bg:      #0a0d14;
  --bg2:     #0f1320;
  --bg3:     #141826;
  --surface: #1a1f30;
  --surface2:#1f2538;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --text:    #f0f2f8;
  --text2:   #8b92a8;
  --text3:   #545c74;
  --accent:  #4f8eff;
  --accent2: #7b5cf0;
  --accent3: #00d4a0;
  --accent4: #ff6b4a;
  --gold:    #f5c842;
  --silver:  #b0b8cc;
  --bronze:  #c87941;
  --glow-blue: 0 0 40px rgba(79,142,255,0.12);

  /* Typography */
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Radii */
  --radius:    20px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  /* Shadow */
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* Light theme */
body.light {
  --bg: #f4f6fb; --bg2: #eaecf4; --bg3: #e0e3ef;
  --surface: #ffffff; --surface2: #f0f2fa;
  --border: rgba(0,0,0,0.08); --border2: rgba(0,0,0,0.14);
  --text: #0f1320; --text2: #4a5068; --text3: #8b92a8;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Layout ───────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ───────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,13,20,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
body.light header { background: rgba(244,246,251,0.93); }

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

.logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.logo-icon { font-size: 20px; }
.logo-shield { color: var(--accent); }
.logo-rank   { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: all 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--surface2); }
.nav-link.active { color: var(--accent); }

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

.btn-scan {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-scan:hover { opacity: 0.88; }

.theme-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--text2);
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.theme-btn:hover { color: var(--text); border-color: var(--border2); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
  text-align: center;
}
.hero-orbs {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.orb1 { width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(79,142,255,0.16), transparent 70%); top: -100px; left: 50%; transform: translateX(-50%); }
.orb2 { width: 300px; height: 300px; background: radial-gradient(ellipse, rgba(123,92,240,0.12), transparent 70%); bottom: 0; left: 5%; }
.orb3 { width: 200px; height: 200px; background: radial-gradient(ellipse, rgba(0,212,160,0.1), transparent 70%); bottom: 0; right: 5%; }

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(79,142,255,0.15), rgba(123,92,240,0.1));
  border: 1px solid rgba(79,142,255,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }

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

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(79,142,255,0.35); }
.btn-primary:hover::before { left: 150%; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  display: block;
}
.hero-stat-label { font-size: 13px; color: var(--text3); margin-top: 2px; }

/* ── Trust bar ────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--bg3);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
}
.trust-icon { font-size: 16px; }

/* ── Section ──────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg2); }

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text2);
}
.updated-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,212,160,0.1);
  border: 1px solid rgba(0,212,160,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--accent3);
  font-weight: 500;
  margin-bottom: 16px;
}

/* ── Product Cards ────────────────────────────────── */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 52px 160px 1fr auto;
  gap: 24px;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
  border-color: var(--border2);
}
.product-card.rank-1 {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(245,200,66,0.05) 100%);
  border-color: rgba(245,200,66,0.2);
}
.product-card.rank-1::before { background: linear-gradient(90deg, var(--gold), transparent); }
.product-card.rank-1:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.35), 0 0 30px rgba(245,200,66,0.12); }

.rank-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 800;
}
.rank-1-badge { background: rgba(245,200,66,0.15); color: var(--gold); border: 1px solid rgba(245,200,66,0.3); }
.rank-2-badge { background: rgba(176,184,204,0.12); color: var(--silver); border: 1px solid rgba(176,184,204,0.25); }
.rank-3-badge { background: rgba(200,121,65,0.12); color: var(--bronze); border: 1px solid rgba(200,121,65,0.25); }
.rank-other-badge { background: rgba(84,92,116,0.1); color: var(--text3); border: 1px solid var(--border); }

.rank-num { font-size: 20px; line-height: 1; }
.rank-crown { font-size: 14px; }
.rank-label { font-size: 10px; font-weight: 600; letter-spacing: 0.05em; }

.product-logo-block { min-width: 0; }
.product-logo-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-full-name {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}
.product-platforms {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.platform-icon { font-size: 13px; }

.product-info { min-width: 0; }
.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 20px;
}
.tag-gold   { background: rgba(245,200,66,0.12); color: #c8a400; border: 1px solid rgba(245,200,66,0.25); }
.tag-blue   { background: rgba(79,142,255,0.1);  color: #4f8eff; border: 1px solid rgba(79,142,255,0.2);  }
.tag-green  { background: rgba(0,212,160,0.1);   color: #00d4a0; border: 1px solid rgba(0,212,160,0.2);   }
.tag-purple { background: rgba(123,92,240,0.1);  color: #9b7cf0; border: 1px solid rgba(123,92,240,0.2);  }
.tag-orange { background: rgba(255,107,74,0.1);  color: #ff6b4a; border: 1px solid rgba(255,107,74,0.2);  }

.product-desc { font-size: 13px; color: var(--text2); line-height: 1.55; }

.product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 160px;
  flex-shrink: 0;
}

.score-block { text-align: right; }
.score-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.score-1 { color: var(--gold); }
.score-2 { color: var(--silver); }
.score-3 { color: var(--bronze); }
.score-other { color: var(--text2); }
.score-label { font-size: 12px; color: var(--text3); }
.score-stars { font-size: 11px; color: var(--gold); letter-spacing: 1px; }

.price-block { text-align: right; }
.price-old {
  font-size: 12px;
  color: var(--text3);
  text-decoration: line-through;
}
.price-now {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.price-period { font-size: 11px; color: var(--text3); font-weight: 400; }
.price-save {
  font-size: 11px;
  color: var(--accent3);
  font-weight: 600;
}

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.cta-btn:hover { opacity: 0.9; }
.cta-btn:hover::before { left: 150%; }

.cta-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xs);
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.cta-btn-outline:hover { color: var(--text); border-color: var(--accent); }

.best-tag {
  position: absolute;
  top: 0; right: 28px;
  background: linear-gradient(135deg, var(--gold), #e0a800);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
}

/* ── Compare Table ────────────────────────────────── */
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th {
  background: var(--bg3);
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.compare-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text);
  border-top: 1px solid var(--border);
}
.compare-table tr:hover td { background: rgba(79,142,255,0.04); }
.check { color: var(--accent3); font-weight: 600; }
.cross { color: var(--text3); }
.td-score { font-family: var(--font-head); font-weight: 700; }
.table-btn {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.table-btn:hover { opacity: 0.85; }

.av-bar { display: flex; align-items: center; gap: 8px; }
.av-track { flex: 1; height: 4px; background: var(--surface2); border-radius: 2px; min-width: 60px; }
.av-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--accent3), var(--accent)); }
.av-val { font-size: 12px; color: var(--text2); white-space: nowrap; }

/* ── FAQ ──────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border2); }
.faq-item.open { border-color: rgba(79,142,255,0.3); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  gap: 16px;
  user-select: none;
}
.faq-chevron { font-size: 12px; color: var(--text3); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ── Methodology ──────────────────────────────────── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.method-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s;
}
.method-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border2); }
.method-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
  width: 56px; height: 56px;
  background: var(--bg3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  border: 1px solid var(--border2);
}
.method-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.method-desc { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ── Footer ───────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: var(--text3); line-height: 1.7; margin-bottom: 16px; }
.footer-col-title { font-size: 12px; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--text2); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: var(--text3); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: var(--text3); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text2); }
.footer-admin-link { font-size: 12px; color: var(--text3); cursor: pointer; transition: color 0.2s; }
.footer-admin-link:hover { color: var(--text2); }

/* ── Countdown ────────────────────────────────────── */
.countdown-strip {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cd-num {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent4);
  min-width: 28px;
  display: inline-block;
  text-align: center;
}
.cd-sep { color: var(--accent4); font-weight: 700; }

/* ── Sticky mobile CTA ────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 10px 16px 14px;
  z-index: 90;
}
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: var(--radius-xs);
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* ── Cookie Banner ────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border2);
  padding: 16px 24px;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s;
}
.cookie-banner.show { display: flex; transform: translateY(0); }
.cookie-text { font-size: 13px; color: var(--text2); }
.cookie-text a { color: var(--accent); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-accept {
  background: var(--accent3);
  color: #000;
  border: none;
  border-radius: var(--radius-xs);
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-decline {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xs);
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
}

/* ── Exit Intent ──────────────────────────────────── */
.exit-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.exit-overlay.open { opacity: 1; pointer-events: all; }
.exit-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.exit-emoji { font-size: 48px; margin-bottom: 16px; }
.exit-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.exit-sub { font-size: 14px; color: var(--text2); margin-bottom: 24px; line-height: 1.6; }
.exit-offer {
  background: rgba(245,200,66,0.08);
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
}
.exit-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}
.exit-cta:hover { opacity: 0.88; }
.exit-skip {
  font-size: 13px;
  color: var(--text3);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.exit-skip:hover { color: var(--text2); }
.exit-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ── Modals ───────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transform: translateY(16px);
  transition: transform 0.25s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(80vh - 70px);
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}
.modal-body h3 { font-family: var(--font-head); color: var(--text); margin: 16px 0 8px; font-size: 15px; }
.modal-body p { margin-bottom: 12px; }
.modal-body a { color: var(--accent); }

/* ── Admin Panel ──────────────────────────────────── */
.adm-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
  z-index: 600;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.adm-overlay.open { opacity: 1; pointer-events: all; }
.adm-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  width: 100%;
  max-width: 980px;
  box-shadow: 0 32px 100px rgba(0,0,0,0.7);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s;
  margin: auto;
}
.adm-overlay.open .adm-box { transform: translateY(0); }
.adm-hdr {
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg3);
}
.adm-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.adm-badge {
  font-size: 11px;
  background: rgba(255,107,74,0.15);
  color: var(--accent4);
  border: 1px solid rgba(255,107,74,0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.adm-close-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.adm-body { padding: 22px 26px; }
.adm-section { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.adm-section-hdr { padding: 13px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--bg3); }
.adm-section-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--text); }
.adm-section-sub { font-size: 11px; color: var(--text3); }
.adm-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.adm-stat { background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-align: center; }
.adm-stat-num { font-family: var(--font-head); font-size: 24px; font-weight: 800; display: block; }
.adm-stat-lbl { font-size: 11px; color: var(--text3); margin-top: 3px; }
.adm-offers-wrap { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.arow {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 22px 30px 160px 74px 80px 80px 1fr 46px 72px;
  gap: 9px;
  align-items: center;
  cursor: grab;
  transition: border-color 0.2s;
}
.arow:hover { border-color: var(--border2); }
.arow.arow-off { opacity: 0.38; }
.arow.adragging { opacity: 0.3; }
.arow.adragov { border-color: var(--accent); border-style: dashed; }
.ahandle { color: var(--text3); font-size: 16px; text-align: center; user-select: none; }
.arank-badge { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 13px; font-weight: 800; }
.afl { font-size: 10px; color: var(--text3); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .03em; }
.ain {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 8px;
  width: 100%;
  transition: border-color 0.2s;
}
.ain:focus { outline: none; border-color: var(--accent); }
.atgl { width: 36px; height: 20px; background: var(--surface); border: 1px solid var(--border2); border-radius: 10px; cursor: pointer; position: relative; transition: background 0.2s; }
.atgl.atgl-on { background: var(--accent3); border-color: var(--accent3); }
.atgl::after { content: ''; position: absolute; width: 14px; height: 14px; background: #fff; border-radius: 50%; top: 2px; left: 2px; transition: transform 0.2s; }
.atgl.atgl-on::after { transform: translateX(16px); }
.amini { background: var(--surface); border: 1px solid var(--border); color: var(--text2); font-size: 10px; padding: 3px 7px; border-radius: 5px; cursor: pointer; font-family: var(--font-body); white-space: nowrap; }
.amini:hover { color: var(--text); }
.adm-actions { display: flex; gap: 9px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--border); }
.adm-btn-p { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border: none; border-radius: 10px; padding: 11px 22px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font-body); }
.adm-btn-s { background: var(--surface2); color: var(--text2); border: 1px solid var(--border2); border-radius: 10px; padding: 11px 18px; font-size: 13px; cursor: pointer; font-family: var(--font-body); }
.adm-btn-d { background: rgba(255,107,74,0.1); color: var(--accent4); border: 1px solid rgba(255,107,74,0.25); border-radius: 10px; padding: 11px 18px; font-size: 13px; cursor: pointer; font-family: var(--font-body); }
.adm-creds-grid { padding: 16px 20px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: flex-end; }
.adm-field-label { font-size: 11px; color: var(--text3); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .04em; }
.adm-log-wrap { max-height: 160px; overflow-y: auto; padding: 12px 20px; }
.alogrow { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.alogrow:last-child { border-bottom: none; }
.alogt { color: var(--text3); white-space: nowrap; min-width: 75px; }
.adm-toast { position: fixed; bottom: 28px; right: 28px; background: var(--surface); border: 1px solid var(--accent3); border-radius: 10px; padding: 12px 22px; font-size: 14px; color: var(--accent3); font-weight: 500; box-shadow: var(--shadow); transform: translateY(80px); opacity: 0; transition: all 0.3s; z-index: 700; pointer-events: none; }
.adm-toast.show { transform: translateY(0); opacity: 1; }
.adm-toast.aerr { border-color: var(--accent4); color: var(--accent4); }
.adm-login-wrap { padding: 40px; text-align: center; }
.adm-login-title { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.adm-login-sub { font-size: 14px; color: var(--text2); margin-bottom: 26px; }
.adm-login-field { background: var(--surface2); border: 1px solid var(--border2); border-radius: 10px; color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 13px 18px; width: 100%; max-width: 300px; display: block; margin: 0 auto 12px; text-align: center; transition: border-color 0.2s; }
.adm-login-field:focus { outline: none; border-color: var(--accent); }
.adm-login-btn { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border: none; border-radius: 10px; padding: 14px 48px; font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer; }
.adm-login-err { font-size: 13px; color: var(--accent4); margin-top: 10px; display: none; }
#adm-login, #adm-main, #adm-lockout { display: none; }
.adm-jb-row { padding: 14px 20px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: flex-end; }
.adm-jb-hint { padding: 0 20px 14px; font-size: 12px; color: var(--text3); line-height: 1.6; }

/* ── SCAN PAGE ────────────────────────────────────── */
.scan-page { min-height: calc(100vh - 64px); }
.scan-hero {
  background: linear-gradient(180deg, var(--bg3) 0%, var(--bg) 100%);
  padding: 60px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.scan-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.scan-hero-sub { font-size: 16px; color: var(--text2); max-width: 500px; margin: 0 auto 8px; }

.scan-main {
  max-width: 660px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.scan-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.scan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
}

.scan-card-body { padding: 36px 40px; }

/* Steps */
#scan-step-1 { text-align: center; }
#scan-step-protected { display: none; text-align: center; }
#scan-step-protected.show { display: block; }

.scan-shield {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(79,142,255,0.15), rgba(123,92,240,0.1));
  border: 2px solid rgba(79,142,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  animation: shield-pulse 3s ease-in-out infinite;
}
@keyframes shield-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,142,255,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(79,142,255,0); }
}

.scan-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.scan-sub {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 28px;
  line-height: 1.6;
}

.scan-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
  text-align: left;
}
.scan-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
}
.scan-feature-icon { color: var(--accent3); flex-shrink: 0; }

.scan-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.scan-start-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.scan-start-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(79,142,255,0.4); }
.scan-start-btn:hover::before { left: 150%; }
.scan-disclaimer {
  font-size: 11px;
  color: var(--text3);
  margin-top: 12px;
  text-align: center;
}

/* Progress */
.scan-progress-wrap { display: none; }
.scan-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.scan-progress-label { font-size: 13px; color: var(--text2); }
.scan-progress-pct { font-size: 13px; font-weight: 600; color: var(--accent); font-family: var(--font-head); }
.scan-bar-wrap {
  background: var(--bg3);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}
.scan-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  border-radius: 4px;
  transition: width 0.1s linear;
}

.scan-checks { display: flex; flex-direction: column; gap: 8px; }
.scan-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
}
.scan-check-label { font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.scan-check-icon { font-size: 15px; }
.scan-check-status { font-size: 12px; font-weight: 500; }
.status-scanning { color: var(--accent); }
.status-ok { color: var(--accent3); }
.status-warning { color: var(--accent4); }

/* Result */
.scan-result { display: none; margin-top: 24px; }
.scan-result.show { display: block; }
.scan-result-box {
  background: rgba(255,107,74,0.08);
  border: 1px solid rgba(255,107,74,0.25);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 16px;
  text-align: center;
}
.scan-result-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent4);
  margin-bottom: 6px;
}
.scan-result-text { font-size: 13px; color: var(--text2); line-height: 1.6; }

.scan-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}
.scan-cta-btn:hover { opacity: 0.88; }
.scan-skip-btn {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text3);
  cursor: pointer;
  padding: 4px;
}
.scan-skip-btn:hover { color: var(--text2); }

/* Protected state */
.prot-shield {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
}
.prot-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent3);
  margin-bottom: 8px;
}
.prot-sub { font-size: 14px; color: var(--text2); margin-bottom: 20px; }
.prot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,160,0.1);
  border: 1px solid rgba(0,212,160,0.25);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--accent3);
  font-weight: 500;
  margin-bottom: 24px;
}
.prot-checks { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; text-align: left; }
.prot-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
  padding: 8px 12px;
  background: rgba(0,212,160,0.05);
  border-radius: var(--radius-xs);
}
.prot-check-icon { color: var(--accent3); }
.prot-rescan {
  background: none;
  border: 1px solid var(--border2);
  color: var(--text2);
  border-radius: var(--radius-xs);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.prot-rescan:hover { color: var(--text); border-color: var(--accent); }

/* Sidebar offers on scan page */
.scan-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; max-width: 1100px; margin: 0 auto; padding: 40px 24px 60px; }
.scan-sidebar { display: flex; flex-direction: column; gap: 12px; }
.scan-sidebar-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-offer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}
.sidebar-offer:hover { border-color: var(--border2); transform: translateY(-1px); }
.sidebar-offer.top { border-color: rgba(245,200,66,0.25); background: rgba(245,200,66,0.04); }
.sidebar-rank {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.sidebar-info { flex: 1; min-width: 0; }
.sidebar-name { font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-price { font-size: 11px; color: var(--text3); margin-top: 1px; }
.sidebar-score { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-right: 4px; }
.sidebar-btn {
  font-size: 11px;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: var(--radius-xs);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .product-card { grid-template-columns: 48px 130px 1fr auto; gap: 16px; }
  .method-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .scan-layout { grid-template-columns: 1fr; }
  .scan-sidebar { order: -1; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
  .scan-sidebar-title { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 48px 0 40px; }
  .product-card { display: flex; flex-direction: column; padding: 18px; gap: 14px; }
  .product-meta { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-block { flex-direction: row; }
  .method-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .arow { grid-template-columns: 22px 26px 1fr 44px; gap: 7px; }
  .adm-creds-grid { grid-template-columns: 1fr 1fr; }
  .adm-stats { grid-template-columns: 1fr 1fr 1fr; }
  .scan-card-body { padding: 24px 20px; }
  .scan-features { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  .scan-sidebar { grid-template-columns: 1fr; }
  .scan-sidebar-title { grid-column: span 1; }
  .cookie-banner { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
  .adm-stats { grid-template-columns: 1fr; }
  .cta-block { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: center; }
  .scan-card-body { padding: 20px 16px; }
}
