/* ===========================
   VerifyGuard Design System
   =========================== */

:root {
  --bg:         #0A0A0F;
  --surface:    #12121A;
  --elevated:   #1A1A26;
  --overlay:    #22223A;
  --accent:     #2D7EFF;
  --accent-bright: #4F9BFF;
  --success:    #34D399;
  --warning:    #FBBF24;
  --danger:     #F87171;
  --neutral:    #94A3B8;
  --text-1:     #F0F4FF;
  --text-2:     #8892A4;
  --text-3:     #4A5568;
  --divider:    #1E2030;
  --border:     #252840;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.center-btn { text-align: center; margin-top: 40px; }
.hidden { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: transform .15s, opacity .15s, box-shadow .15s;
  font-family: inherit;
  text-align: center;
}
.btn:hover  { transform: translateY(-1px); opacity: .92; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #fff;
  box-shadow: 0 0 20px rgba(45,126,255,.35);
}
.btn-secondary {
  background: rgba(45,126,255,.1);
  color: var(--accent);
  border: 1px solid rgba(45,126,255,.3);
}
.btn-sm  { padding: 8px 18px;  font-size: 14px; }
.btn-lg  { padding: 16px 32px; font-size: 16px; }

/* ---- Section scaffold ---- */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 12px 0; }
.section-header p  { color: var(--text-2); font-size: 18px; max-width: 540px; margin: 0 auto; }
.section-badge {
  display: inline-block;
  background: rgba(45,126,255,.15);
  color: var(--accent-bright);
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-1);
}
.shield-icon { font-size: 22px; }
.nav-logo-img { height: 24px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-1); }

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-inner--single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-inner--single .hero-cta { justify-content: center; }
.hero-inner--single .hero-sub { margin-left: auto; margin-right: auto; }
.hero-badge {
  display: inline-block;
  background: rgba(52,211,153,.12);
  color: var(--success);
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--accent-bright), #9B7FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Phone mockup */
.hero-phone { display: flex; justify-content: center; }
.phone-mockup {
  width: 260px;
  background: var(--surface);
  border-radius: 40px;
  border: 2px solid var(--border);
  padding: 24px 18px 18px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
}
.phone-screen { display: flex; flex-direction: column; gap: 12px; }
.phone-header { }
.phone-title { display: block; font-size: 16px; font-weight: 800; }
.phone-sub   { display: block; font-size: 11px; color: var(--text-2); }
.phone-scan-btn {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  border-radius: 20px;
  padding: 28px 0;
  text-align: center;
  box-shadow: 0 0 24px rgba(45,126,255,.4);
}
.phone-shield { font-size: 40px; margin-bottom: 6px; }
.phone-scan-label { font-size: 15px; font-weight: 700; color: #fff; }
.phone-scan-sub   { font-size: 11px; color: rgba(255,255,255,.75); }
.phone-limit { font-size: 11px; color: var(--accent); text-align: right; }
.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.phone-grid-item {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}
.phone-grid-item.blue   { border-color: rgba(45,126,255,.35); }
.phone-grid-item.green  { border-color: rgba(52,211,153,.35); }
.phone-grid-item.yellow { border-color: rgba(251,191,36,.35); }
.phone-grid-item.red    { border-color: rgba(248,113,113,.35); }

/* ===========================
   STATS STRIP
   =========================== */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number { font-size: 36px; font-weight: 900; color: var(--accent-bright); }
.stat-label  { font-size: 14px; color: var(--text-2); margin-top: 4px; }

/* ===========================
   STEPS
   =========================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.step-icon { font-size: 36px; margin-bottom: 14px; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p  { color: var(--text-2); font-size: 15px; }

/* ===========================
   FEATURES
   =========================== */
.features-section { background: var(--surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.feature-card.accent { border-color: rgba(45,126,255,.4); background: rgba(45,126,255,.08); }
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { color: var(--text-2); font-size: 14px; line-height: 1.7; }

/* ===========================
   SCAM CARDS (home preview)
   =========================== */
.scam-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scam-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.scam-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.scam-cat {
  display: inline-block;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.scam-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.scam-card p  { color: var(--text-2); font-size: 14px; line-height: 1.6; }
.scam-count {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

/* ===========================
   SCAMPEDIA — WIKI SHELL
   =========================== */
.wiki-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 48px 24px 100px;
  align-items: start;
}

/* ---- Sidebar ---- */
.wiki-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-search {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  transition: border-color .2s;
}
.sidebar-search:focus-within { border-color: var(--accent); }
.sidebar-search .search-icon { font-size: 14px; margin-right: 8px; }
.sidebar-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-1);
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  padding: 11px 0;
}
.sidebar-search input::placeholder { color: var(--text-3); }

.sidebar-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-3);
  margin-bottom: 10px;
}
.sidebar-link, .sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: background .15s, color .15s;
}
.sidebar-link:hover, .sidebar-cat-link:hover { background: var(--surface); color: var(--text-1); }
.sidebar-link.active, .sidebar-cat-link.active {
  background: rgba(45,126,255,.12);
  color: var(--accent-bright);
}
.sidebar-cat-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  background: var(--surface);
  border-radius: 99px;
  padding: 2px 8px;
}
.sidebar-cat-link.active .sidebar-cat-count { color: var(--accent-bright); }

.sidebar-stats { font-size: 12px; color: var(--text-3); border-top: 1px solid var(--divider); padding-top: 20px; }
.sidebar-substat { margin-top: 6px; }
#report-count { color: var(--text-2); font-weight: 600; }

/* ---- Browse view (grid of articles) ---- */
.wiki-browse-header { margin-bottom: 28px; }
.wiki-browse-header h1 { font-family: 'Source Serif 4', Georgia, serif; font-size: clamp(26px,3.4vw,38px); font-weight: 700; margin: 4px 0 8px; }
.wiki-browse-header p  { color: var(--text-2); font-size: 15px; }

.scam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.scam-card { display: block; }
.scam-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 600;
}
.scam-card-date { color: var(--text-3); }
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(52,211,153,.12);
  color: var(--success);
  border-radius: 99px;
  padding: 2px 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.no-results {
  text-align: center;
  padding: 60px 0;
  color: var(--text-2);
}
.no-results-icon { font-size: 48px; margin-bottom: 16px; }

/* ---- Featured / latest strip (blog front page) ---- */
.wiki-feed-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: -12px 0 22px;
}
.wiki-feed-note .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

/* ---- A-Z index ---- */
.az-list { display: flex; flex-direction: column; gap: 28px; }
.az-group-letter {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-bright);
  border-bottom: 1px solid var(--divider);
  padding-bottom: 6px;
  margin-bottom: 10px;
  letter-spacing: .05em;
}
.az-group-items { display: flex; flex-direction: column; gap: 2px; }
.az-item {
  display: flex;
  justify-content: space-between;
  padding: 9px 4px;
  border-bottom: 1px solid var(--divider);
  font-size: 15px;
  color: var(--text-1);
  font-weight: 500;
}
.az-item:hover { color: var(--accent-bright); }
.az-item-cat { color: var(--text-3); font-size: 12px; font-weight: 600; }

/* ---- Article page ---- */
.wiki-breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.wiki-breadcrumb a:hover { color: var(--accent-bright); }
.wiki-breadcrumb .sep { margin: 0 6px; }

.wiki-article-header { border-bottom: 1px solid var(--divider); padding-bottom: 20px; margin-bottom: 28px; }
.wiki-cat-tag {
  display: inline-block;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.wiki-article-header h1 { font-family: 'Source Serif 4', Georgia, serif; font-size: clamp(28px,4vw,42px); font-weight: 700; line-height: 1.15; }
.wiki-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
}
.wiki-byline .sep { color: var(--text-3); }
.wiki-byline .ai-pill { font-size: 11px; }

.wiki-body { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: start; }

/* ---- Contents box (classic Wikipedia in-article TOC) ---- */
.wiki-toc {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin: 4px 0 32px;
}
.wiki-toc-title { font-size: 13px; font-weight: 800; letter-spacing: .04em; margin-bottom: 10px; }
.wiki-toc ol { list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; }
.wiki-toc a { font-size: 14px; color: var(--accent-bright); }
.wiki-toc a:hover { text-decoration: underline; }

/* ---- Red flags / real examples / platforms ---- */
.wiki-redflags { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wiki-redflags li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(248,113,113,.06);
  border: 1px solid rgba(248,113,113,.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.6;
}
.wiki-redflags li::before { content: '⚑'; color: var(--danger); font-weight: 700; flex-shrink: 0; }

.wiki-examples { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wiki-examples li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.6;
}

.wiki-platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.wiki-platform-pill {
  background: var(--elevated);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}

.wiki-citation {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.7;
}
.wiki-citation strong { color: var(--text-2); }

.wiki-infobox {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.wiki-infobox-title {
  background: var(--elevated);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.wiki-infobox-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--divider);
  font-size: 13px;
}
.wiki-infobox-row:last-child { border-bottom: none; }
.wiki-infobox-label { color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.wiki-infobox-value { color: var(--text-1); font-weight: 600; }

.wiki-section { margin-bottom: 32px; }
.wiki-section-heading {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
}
.wiki-summary { color: var(--text-2); font-size: 16px; line-height: 1.8; }

.wiki-tips { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wiki-tips li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.6;
}
.wiki-tips li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

.wiki-related { display: flex; flex-wrap: wrap; gap: 10px; }
.wiki-related-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45,126,255,.1);
  border: 1px solid rgba(45,126,255,.3);
  color: var(--accent-bright);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
}
.wiki-related-pill:hover { background: rgba(45,126,255,.2); transform: translateY(-1px); }
.wiki-no-related { color: var(--text-3); font-size: 14px; }

.wiki-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
}
.wiki-back-link:hover { color: var(--accent-bright); }

/* ===========================
   PRICING
   =========================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: rgba(45,126,255,.06);
  box-shadow: 0 0 40px rgba(45,126,255,.15);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.pricing-tier  { font-size: 13px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.pricing-price { font-size: 32px; font-weight: 900; margin-bottom: 24px; white-space: nowrap; }
.pricing-price span { font-size: 15px; font-weight: 500; color: var(--text-2); }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 13.5px; line-height: 1.5; }
.pricing-features li.dim { color: var(--text-3); }

/* ===========================
   DOWNLOAD
   =========================== */
.download-section {
  background: linear-gradient(135deg, rgba(45,126,255,.12), rgba(155,127,255,.08));
  border-top: 1px solid var(--border);
  text-align: center;
}
.download-inner h2 { font-size: 36px; font-weight: 900; margin-bottom: 16px; }
.download-inner p  { color: var(--text-2); font-size: 18px; margin-bottom: 36px; }
.app-store-btn { justify-content: center; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-logo-img { height: 18px; width: auto; display: block; }
.footer-copy  { color: var(--text-3); font-size: 13px; }
.footer-links { display: flex; gap: 24px; color: var(--text-2); font-size: 14px; }
.footer-links a:hover { color: var(--text-1); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .pricing-grid        { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}
@media (max-width: 900px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-phone          { display: none; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .steps-grid          { grid-template-columns: 1fr; }
  .features-grid       { grid-template-columns: repeat(2, 1fr); }
  .scam-cards          { grid-template-columns: repeat(2, 1fr); }
  .wiki-shell          { grid-template-columns: 1fr; }
  .wiki-sidebar        { position: static; }
  .wiki-body           { grid-template-columns: 1fr; }
  .wiki-infobox        { order: -1; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .scam-cards    { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .footer-inner  { flex-direction: column; text-align: center; }
  .footer-links  { justify-content: center; }
  .scam-grid     { grid-template-columns: 1fr; }
}
