/* ═══════════════════════════════════════════════════════════════════════════
   SafeBuy Nepal — Light Theme Stylesheet (matches the mobile app)
   White / Blue design system · Trusted-green · Unverified-amber · High-risk-red
   BSc (Hons) Ethical Hacking & Cybersecurity Thesis
   Author: Sagesh Adhikari — Softwarica College / Coventry University
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────────────────── */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA; /* matches the app's AppColors.bgSecondary */
  --bg-card: #FFFFFF;

  --text: #1E2A3D;
  --text-strong: #0A1628;
  --text-dim: #5B6B82;
  --text-mute: #8A98AC;

  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --primary-light: #1E88E5;
  --primary-50: #EAF2FD;
  --primary-100: #D8E8FB;

  /* Verdict colours mirror the app's AppColors tokens exactly. */
  --trusted: #00C853;
  --unverified: #FF8F00;
  --high-risk: #D32F2F;
  --purple: #7C5CFC;
  --crimson: #C1121F;

  --border: #E6EDF5;
  --border-strong: #D3E0EE;

  --shadow-sm: 0 2px 10px rgba(13,71,161,0.05);
  --shadow: 0 10px 30px rgba(13,71,161,0.08);
  --shadow-lg: 0 22px 55px rgba(13,71,161,0.16);
  --shadow-blue: 0 14px 34px rgba(21,101,192,0.30);

  --gradient-text: linear-gradient(120deg, #0D47A1, #1E88E5 55%, #42A5F5);
  --gradient-hero: linear-gradient(157deg, #0D47A1 0%, #1565C0 52%, #1E88E5 100%);
  --gradient-primary: linear-gradient(135deg, #1976D2, #0D47A1);
  --gradient-crimson: linear-gradient(135deg, #E4163C, #C1121F 55%, #013A8F);

  --radius: 16px;
  --radius-lg: 24px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-nepali: 'Noto Sans Devanagari', sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid rgba(21,101,192,0.4); outline-offset: 3px; border-radius: 6px; }

/* Custom cursor removed — using the standard system cursor */
.cursor-dot, .cursor-ring { display: none !important; }

/* ── Scroll Progress Bar ───────────────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, #1565C0, #42A5F5, #00B850);
  box-shadow: 0 0 10px rgba(21,101,192,0.5);
  transition: width 0.1s linear;
}

/* ── Gradient Text ─────────────────────────────────────────────────────── */
.grad-text {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ── Scroll Reveal ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Welcome Overlay (mirrors app splash) ──────────────────────────────── */
.welcome-overlay {
  position: fixed; inset: 0; z-index: 10000;
  /* Deep-blue gradient to match the Flutter app splash (heroGradient). */
  background:
    radial-gradient(ellipse 80% 55% at 50% 12%, rgba(255,255,255,0.14) 0%, transparent 60%),
    var(--gradient-hero);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
/* Faint woven-dot texture, echoing the app's Dhaka pattern overlay. */
.welcome-overlay::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
}
.welcome-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.welcome-content { position: relative; text-align: center; padding: 24px; animation: welcomeFadeUp 1s ease-out; }
@keyframes welcomeFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.welcome-logo-icon {
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, transparent 68%);
  filter: drop-shadow(0 16px 34px rgba(0,0,0,0.28));
  animation: welcomeLogoScale 0.7s 0.2s cubic-bezier(0.34,1.56,0.64,1) both, floatY 5s ease-in-out 1.2s infinite;
}
.welcome-logo-icon .sb-logo { display: block; }
@keyframes welcomeLogoScale {
  from { transform: scale(0.4) rotate(-12deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.welcome-namaste {
  font-family: var(--font-nepali);
  font-size: 3.2rem; font-weight: 900; color: #fff;
  margin-bottom: 2px; text-shadow: 0 3px 18px rgba(0,0,0,0.25);
  animation: welcomeFadeIn 0.6s 0.5s ease-out both;
}
.welcome-sub {
  font-size: 1rem; color: rgba(255,255,255,0.85); font-weight: 500;
  animation: welcomeFadeIn 0.5s 0.7s ease-out both;
}
.welcome-title {
  font-family: var(--font-heading);
  font-size: 2.7rem; font-weight: 900; color: #fff;
  letter-spacing: 0.5px; margin-bottom: 12px; text-shadow: 0 4px 20px rgba(0,0,0,0.22);
  animation: welcomeFadeIn 0.5s 0.8s ease-out both;
}
.welcome-desc {
  color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.7;
  max-width: 420px; margin: 0 auto 20px;
  animation: welcomeFadeIn 0.5s 1s ease-out both;
}

/* Feature pills — mirror the app splash (Verify Sellers · Report Fraud · Stay Safe). */
.welcome-pills {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 0 auto 24px;
  animation: welcomeFadeIn 0.5s 1.05s ease-out both;
}
.welcome-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff; font-size: 0.85rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.welcome-pill svg { width: 15px; height: 15px; flex-shrink: 0; }

.welcome-lang { margin: 4px 0 22px; }
.welcome-lang-label {
  color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 12px;
  animation: welcomeFadeIn 0.5s 1.15s ease-out both;
}
.welcome-lang-buttons {
  display: flex; gap: 12px; justify-content: center;
  animation: welcomeFadeIn 0.5s 1.25s ease-out both;
}
.welcome-lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  padding: 11px 24px; border-radius: 14px;
  cursor: pointer; transition: all 0.25s;
}
.welcome-lang-btn .flag { font-size: 1.1rem; }
.welcome-lang-btn:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.welcome-lang-btn.active {
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.welcome-enter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-crimson); color: white; border: none; cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700; padding: 16px 42px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: welcomeFadeIn 0.5s 1.35s ease-out both;
}
.welcome-enter-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
@keyframes welcomeFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Language Toggle ───────────────────────────────────────────────────── */
.lang-toggle {
  display: flex; gap: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 3px;
  margin-left: 16px;
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-dim); font-size: 0.8rem; font-weight: 700;
  padding: 5px 12px; border-radius: 8px; transition: all 0.25s;
}
.lang-btn.active { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(21,101,192,0.3); }
.lang-btn:hover:not(.active) { color: var(--primary-dark); }

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5000;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all 0.35s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 28px rgba(13,71,161,0.10);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.25rem; color: var(--text-strong);
}
.logo .sb-logo-nav { flex-shrink: 0; filter: drop-shadow(0 3px 6px rgba(193,18,31,0.25)); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-dim); font-size: 0.88rem; font-weight: 500;
  transition: color 0.25s; position: relative;
}
.nav-links a:hover { color: var(--primary-dark); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--gradient-text);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.btn-nav {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 11px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 16px rgba(21,101,192,0.28);
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21,101,192,0.36); }
.btn-nav::after { display: none !important; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text-strong);
  border-radius: 2px; transition: 0.3s;
}

/* ── Mobile Menu ───────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 4999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.active { opacity: 1; visibility: visible; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 600; color: var(--text-dim);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--primary); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 14px 28px; border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1rem;
  transition: all 0.3s; border: none;
  position: relative; overflow: hidden;
}
/* sheen sweep on hover */
.btn::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn:hover::after { left: 140%; }
.btn-primary {
  background: var(--gradient-primary); color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(21,101,192,0.4); }
.btn-outline {
  background: #fff; color: var(--primary-dark);
  border: 2px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--primary); background: var(--primary-50); transform: translateY(-3px); }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* ── Hero Section (blue gradient — mirrors the app hero card) ───────────── */
.hero {
  position: relative;
  padding: 168px 0 120px;
  background: var(--gradient-hero);
  overflow: hidden;
  min-height: 100vh;
}
/* soft wave divider at the bottom of the hero */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--bg);
  clip-path: ellipse(75% 100% at 50% 100%);
  z-index: 3;
}
.particle-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none; z-index: 0;
  animation: blobDrift 16s ease-in-out infinite;
}
.hero-glow-1 {
  width: 620px; height: 620px; top: -220px; left: -120px;
  background: radial-gradient(circle, rgba(255,255,255,0.20) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 520px; height: 520px; bottom: -160px; right: -120px;
  background: radial-gradient(circle, rgba(66,165,245,0.45) 0%, transparent 70%);
  animation-delay: -8s;
}
@keyframes blobDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,30px) scale(1.12); }
}
.hero-container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.30);
  color: #EAF4FF;
  font-size: 0.85rem; font-weight: 600;
  padding: 8px 18px; border-radius: 30px; margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.pulse-dot {
  width: 8px; height: 8px; background: #5BFF9E; border-radius: 50%;
  box-shadow: 0 0 10px #5BFF9E;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.8rem; font-weight: 900; color: #fff;
  line-height: 1.12; margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(2,20,55,0.25);
}
.hero .grad-text {
  background: linear-gradient(120deg, #9CE0FF, #FFFFFF 60%, #BFE6FF);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.typing-container {
  font-size: 1.1rem; color: #BCE0FF;
  font-weight: 500; margin-bottom: 16px;
  min-height: 1.6em;
}
.typing-cursor { display: inline-block; animation: blink 0.8s infinite; color: #BCE0FF; font-weight: 300; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-subtitle {
  color: rgba(255,255,255,0.88); font-size: 1.1rem;
  line-height: 1.7; margin-bottom: 32px; max-width: 520px;
}
.hero-cta { display: flex; gap: 16px; margin-bottom: 28px; }
.hero .btn-outline { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.45); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500;
}
.hero-trust span { display: flex; align-items: center; gap: 4px; }
.hero-trust > span { color: #9CFFC4; }
.hero-trust span span { color: rgba(255,255,255,0.85); }

/* ── Phone Mockup ──────────────────────────────────────────────────────── */
.hero-visual { position: relative; display: flex; justify-content: center; z-index: 2; }
.phone-mockup { position: relative; width: 280px; height: 560px; perspective: 1200px; }
.phone-glow {
  position: absolute; inset: -40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.phone-frame {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  background: #FFFFFF; border-radius: 38px;
  border: 6px solid #0A2A52;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(2,20,55,0.45), 0 0 0 2px rgba(255,255,255,0.15);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-15px) rotateY(3deg); }
}
.phone-screen { width: 100%; height: 100%; position: relative; overflow: hidden; background: #F4F7FB; }
/* Seller profile screen inside the phone — mirrors the app's seller profile. */
.sp-screen {
  position: absolute; inset: 0; overflow: hidden;
  background: #F4F7FB; display: flex; flex-direction: column;
}
.sp-header {
  padding: 26px 16px 18px; text-align: center; color: #fff;
  /* App trust gradient (green) — the seller shown is TRUSTED. */
  background: linear-gradient(160deg, #00C853, #00E676);
}
.sp-avatar {
  width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 2.5px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: #fff;
}
.sp-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.sp-sub { font-size: 0.66rem; opacity: 0.9; margin-top: 3px; }
.sp-body { flex: 1; padding: 11px; display: flex; flex-direction: column; gap: 9px; }
.sp-card { background: #fff; border-radius: 14px; padding: 11px; box-shadow: 0 4px 14px rgba(10,22,40,0.06); }
.sp-score-card { display: flex; align-items: center; gap: 11px; }
.sp-ring {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  /* 87/100 = 313deg of green arc, remainder light grey. */
  background: conic-gradient(#00C853 0 313deg, #E2E8F0 313deg 360deg);
  display: flex; align-items: baseline; justify-content: center; position: relative;
}
.sp-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.sp-ring-num { position: relative; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: #00A046; line-height: 1.5; }
.sp-ring-den { position: relative; font-size: 0.5rem; color: var(--text-mute); }
.sp-score-info { flex: 1; min-width: 0; }
.sp-verdict {
  display: inline-block; font-family: var(--font-heading); font-weight: 800;
  font-size: 0.72rem; padding: 3px 10px; border-radius: 20px;
  background: rgba(0,200,83,0.14); color: #00A046;
}
.sp-verified { font-size: 0.6rem; color: var(--text-mute); margin: 5px 0; }
.sp-mini { display: flex; gap: 10px; font-size: 0.68rem; color: var(--text-dim); font-weight: 600; }
.sp-confidence {
  background: #E8F5E9; border: 1px solid rgba(0,200,83,0.3);
  border-radius: 12px; padding: 9px 11px;
  font-size: 0.64rem; line-height: 1.5; color: var(--text-strong);
}
.sp-tier { display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: 0.64rem; color: #6A1B9A; margin-bottom: 7px; }
.sp-check { display: flex; align-items: center; justify-content: space-between; font-size: 0.68rem; color: var(--text-strong); padding: 3px 0; }
.sp-done { color: #00A046; font-weight: 700; font-size: 0.62rem; }
.sp-tabs { display: flex; gap: 4px; background: #fff; border-radius: 10px; padding: 3px; box-shadow: 0 4px 14px rgba(10,22,40,0.06); }
.sp-tab { flex: 1; text-align: center; font-size: 0.6rem; font-weight: 600; padding: 6px 2px; border-radius: 8px; color: var(--text-dim); }
.sp-tab.active { background: var(--primary); color: #fff; }

/* ── Floating Cards ────────────────────────────────────────────────────── */
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 14px; padding: 12px 16px;
  font-size: 0.78rem; color: var(--text-strong);
  box-shadow: 0 16px 38px rgba(2,20,55,0.22);
}
.fc-trusted { top: 10%; right: -60px; animation: floatCard1 5s ease-in-out infinite; }
.fc-danger { bottom: 25%; right: -40px; animation: floatCard2 6s ease-in-out infinite 1s; }
.fc-unverified { bottom: 5%; left: -30px; animation: floatCard3 5.5s ease-in-out infinite 0.5s; }
@keyframes floatCard1 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes floatCard2 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes floatCard3 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fc-dot.green { background: var(--trusted); box-shadow: 0 0 8px var(--trusted); }
.fc-dot.red { background: var(--high-risk); box-shadow: 0 0 8px var(--high-risk); }
.fc-dot.amber { background: var(--unverified); box-shadow: 0 0 8px var(--unverified); }
.float-card strong { font-size: 0.78rem; }
.float-card small { color: var(--text-mute); font-size: 0.68rem; }

/* ── Stats Section ─────────────────────────────────────────────────────── */
.stats-section {
  padding: 72px 0;
  background: var(--bg);
  position: relative; z-index: 4;
}
.stats-grid { display: flex; align-items: center; justify-content: center; gap: 0; }
.stat-card { flex: 1; text-align: center; padding: 28px 20px; }
.stat-divider { width: 1px; height: 60px; background: linear-gradient(180deg, transparent, var(--border-strong), transparent); }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.9rem; font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 4px;
}
.stat-label { color: var(--text-dim); font-size: 0.88rem; font-weight: 500; }

/* ── Section Headers ───────────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.78rem; font-weight: 700;
  padding: 6px 18px; border-radius: 20px;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1.5px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem; font-weight: 900;
  color: var(--text-strong); margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-header p { color: var(--text-dim); font-size: 1.05rem; line-height: 1.7; }

/* ── Features Section ──────────────────────────────────────────────────── */
.features-section { padding: 100px 0; background: var(--bg-alt); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  font-size: 1.7rem; margin-bottom: 18px;
  width: 58px; height: 58px; display: flex;
  align-items: center; justify-content: center;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius);
  transition: transform 0.4s;
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem; font-weight: 700;
  color: var(--text-strong); margin-bottom: 8px;
}
.feature-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.7; }

/* ── Glow Card Border ──────────────────────────────────────────────────── */
.glow-card { position: relative; }
.glow-card::before {
  content: ''; position: absolute; inset: -1.5px;
  border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--glow-angle, 0deg), transparent 55%, rgba(21,101,192,0.55) 70%, rgba(0,184,80,0.55) 82%, transparent 92%);
  opacity: 0; transition: opacity 0.5s;
}
.glow-card:hover::before { opacity: 1; animation: glowRotate 3s linear infinite; }
@property --glow-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes glowRotate { to { --glow-angle: 360deg; } }

/* ── How It Works ──────────────────────────────────────────────────────── */
.how-section { padding: 100px 0; background: var(--bg); }
.steps-container { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 600px; margin: 0 auto; }
.step { display: flex; align-items: flex-start; gap: 20px; width: 100%; }
.step-num {
  width: 56px; height: 56px; min-width: 56px;
  background: var(--gradient-primary); color: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 900;
  box-shadow: var(--shadow-blue);
}
.step-body h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--text-strong); margin-bottom: 6px; }
.step-body p { color: var(--text-dim); font-size: 0.92rem; }
.step-line { width: 4px; height: 60px; margin-left: 26px; overflow: visible; }
.step-line svg { width: 100%; height: 100%; }
.draw-line { stroke-dashoffset: 80; transition: stroke-dashoffset 1s ease-out; }
.draw-line.animated { stroke-dashoffset: 0; }

/* ── Trust Algorithm ───────────────────────────────────────────────────── */
.algorithm-section { padding: 100px 0; background: var(--bg-alt); }
.algo-weights { display: flex; flex-direction: column; gap: 16px; max-width: 700px; margin: 0 auto 48px; }
.algo-bar { position: relative; }
.bar-fill {
  height: 40px; border-radius: 10px;
  background: linear-gradient(90deg, #1565C0, #42A5F5);
  width: 0%; transition: width 1.2s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 6px 16px rgba(21,101,192,0.22);
}
.algo-bar.animated .bar-fill { width: var(--bar-width); }
.bar-label {
  position: absolute; top: 50%; left: 16px;
  transform: translateY(-50%);
  font-size: 0.88rem; font-weight: 600; color: #fff;
  white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

/* Interactive Trust Score Demo */
.score-demo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px; max-width: 700px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.demo-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.demo-tab {
  background: #fff; cursor: pointer;
  border: 1.5px solid var(--border-strong);
  color: var(--text-dim);
  padding: 9px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.85rem;
  transition: all 0.3s;
}
.demo-tab.active { background: var(--primary-50); border-color: var(--primary); color: var(--primary-dark); }
.demo-tab:hover:not(.active) { border-color: var(--primary-light); color: var(--primary-dark); }
.demo-display { display: flex; align-items: center; gap: 32px; justify-content: center; }
.demo-circle { position: relative; width: 150px; height: 150px; }
.score-svg { width: 100%; height: 100%; }
.score-svg circle:first-child { stroke: var(--border); }
.score-arc { transition: stroke-dashoffset 1s cubic-bezier(0.22,1,0.36,1), stroke 0.5s; }
.demo-score-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.6rem; font-weight: 900; color: var(--text-strong);
}
.demo-info { text-align: center; }
.demo-info h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.demo-verdict { display: inline-block; padding: 7px 18px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; }

/* ── Safety / Scam Types ───────────────────────────────────────────────── */
.safety-section { padding: 100px 0; background: var(--bg); }
.scam-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scam-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  text-align: center;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  box-shadow: var(--shadow-sm);
}
.scam-card:hover { transform: translateY(-8px); border-color: var(--primary-100); box-shadow: var(--shadow-lg); }
.scam-pct { font-family: var(--font-heading); font-size: 2.3rem; font-weight: 900; margin-bottom: 8px; }
.scam-pct.red { color: var(--high-risk); }
.scam-pct.orange { color: #F4640A; }
.scam-pct.yellow { color: var(--unverified); }
.scam-pct.purple { color: var(--purple); }
.scam-card h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.scam-card p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; }

/* ── Anti-Bot Section ──────────────────────────────────────────────────── */
.antibot-section { padding: 100px 0; background: var(--bg-alt); }
.antibot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(0.96);
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
  box-shadow: var(--shadow-sm);
}
.ab-card.activated { opacity: 1; transform: translateY(0) scale(1); border-color: var(--primary-100); }
.ab-card.activated .ab-check { opacity: 1; transform: scale(1); }
.ab-num {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.ab-card h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.ab-card p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; }
.ab-check {
  position: absolute; top: 16px; right: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,184,80,0.15); color: var(--trusted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
  opacity: 0; transform: scale(0.5);
  transition: all 0.4s 0.3s;
}

/* ── Cold Start Section ────────────────────────────────────────────────── */
.coldstart-section { padding: 100px 0; background: var(--bg); }
.coldstart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ── Download Section ──────────────────────────────────────────────────── */
.download-section { padding: 100px 0; background: var(--bg-alt); }
.download-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 64px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 70px rgba(13,71,161,0.30);
}
.download-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 22% 30%, rgba(255,255,255,0.18) 0%, transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(66,165,245,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.download-card h2 { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: #fff; margin-bottom: 12px; position: relative; }
.download-card > p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 28px; position: relative; }
.download-card .btn { position: relative; margin-bottom: 20px; background: #fff; color: var(--primary-dark); box-shadow: 0 14px 34px rgba(2,20,55,0.3); }
.download-card .btn:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(2,20,55,0.4); }
.download-card small { display: block; color: rgba(255,255,255,0.78); font-size: 0.82rem; position: relative; }

/* ── Footer (deep navy anchor) ─────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #0A1B33, #0A1628);
  padding: 64px 0 30px;
  color: rgba(255,255,255,0.7);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .footer-logo { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; }
.footer-links h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 10px; transition: color 0.25s; }
.footer-links a:hover { color: #6FB4FF; }
.footer-academic h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-academic p { color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.8; }
.footer-academic strong { color: rgba(255,255,255,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 24px; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* ── Back To Top ───────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 4000;
  width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow-blue);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.35s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,101,192,0.45); }

/* ── Magnetic Button Hover ─────────────────────────────────────────────── */
.magnetic { transition: transform 0.2s ease-out; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .scam-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .score-demo { padding: 32px 24px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 2.4rem; }
  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero::after { height: 50px; }
  .stats-grid { flex-direction: column; }
  .stat-divider { width: 60px; height: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .scam-grid { grid-template-columns: 1fr; }
  .antibot-grid { grid-template-columns: 1fr; }
  .coldstart-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .download-card { padding: 44px 24px; }
  .download-card h2 { font-size: 1.8rem; }
  .welcome-namaste { font-size: 2.5rem; }
  .welcome-title { font-size: 2rem; }
  .demo-display { flex-direction: column; text-align: center; }
  .demo-info { text-align: center; }
  .score-demo { gap: 24px; }
  .algo-weights { padding: 0 12px; }
  .lang-toggle { margin-left: 8px; }
  .mobile-menu a { font-size: 1.3rem; }
  .back-to-top { bottom: 18px; right: 18px; width: 44px; height: 44px; }
}

/* ── Prefers Reduced Motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ab-card { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INTERACTIVE WEB APP (Live Demo) — search · profiles · report · review
   ═══════════════════════════════════════════════════════════════════════════ */
.demo-app-section { padding: 100px 0; background: var(--bg); }
.demo-app {
  max-width: 760px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow);
}
.demo-search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-alt); border: 1.5px solid var(--border-strong);
  border-radius: 14px; padding: 8px 8px 8px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.demo-search-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21,101,192,0.12); }
.demo-search-bar svg { color: var(--primary); flex-shrink: 0; }
.demo-search-bar input {
  flex: 1; border: none; background: none; outline: none;
  font-family: var(--font-body); font-size: 1rem; color: var(--text-strong);
  padding: 10px 0;
}
.demo-search-bar .btn { padding: 11px 22px; font-size: 0.92rem; }
.demo-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 4px; }
.sb-chip-label { color: var(--text-mute); font-size: 0.82rem; font-weight: 600; }
.sb-chip {
  background: var(--primary-50); border: 1px solid var(--primary-100);
  color: var(--primary-dark); cursor: pointer;
  font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 20px;
  transition: all 0.2s;
}
.sb-chip:hover { background: var(--primary-100); transform: translateY(-1px); }
.demo-results { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.sb-result {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.sb-result:hover { transform: translateY(-2px); border-color: var(--primary-100); box-shadow: var(--shadow); }
.sb-result-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.2rem; font-family: var(--font-heading);
}
.sb-result-info { flex: 1; min-width: 0; }
.sb-result-info strong { display: block; color: var(--text-strong); font-size: 0.98rem; }
.sb-result-info small { color: var(--text-mute); font-size: 0.8rem; }
.sb-result-score { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.sb-badge { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; padding: 3px 12px; border-radius: 10px; }
.sb-result-score em { font-style: normal; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.5px; }
.sb-empty { text-align: center; color: var(--text-dim); font-size: 0.95rem; padding: 28px 16px; line-height: 1.7; background: var(--bg-alt); border-radius: 14px; }
.sb-empty.sm { padding: 18px; font-size: 0.88rem; }
.demo-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.demo-reset, .demo-addseller { background: none; border: none; cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }
.demo-reset:hover { color: var(--high-risk); }
.demo-addseller { color: var(--primary); }
.demo-addseller:hover { color: var(--primary-dark); }

/* ── Modal ──────────────────────────────────────────────────────────────── */
.sb-modal-backdrop {
  position: fixed; inset: 0; z-index: 12000;
  background: rgba(8,20,40,0.55); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto;
  opacity: 0; transition: opacity 0.25s;
}
.sb-modal-backdrop.open { opacity: 1; }
.sb-modal {
  position: relative; width: 100%; max-width: 540px;
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: 0 40px 90px rgba(2,20,55,0.4);
  transform: translateY(24px) scale(0.97); transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.sb-modal-backdrop.open .sb-modal { transform: translateY(0) scale(1); }
.sb-modal-close {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--bg-alt); color: var(--text-dim);
  font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.sb-modal-close:hover { background: var(--high-risk); color: #fff; transform: rotate(90deg); }

/* Profile */
.sb-profile-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; padding-right: 30px; }
.sb-ring { position: relative; flex-shrink: 0; }
.sb-ring svg { width: 100%; height: 100%; }
.sb-ring-arc { transition: stroke-dashoffset 1.1s cubic-bezier(0.22,1,0.36,1); }
.sb-ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 900; font-size: 2.1rem; }
.sb-profile-id h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--text-strong); }
.sb-profile-id p { color: var(--text-mute); font-size: 0.85rem; margin-bottom: 8px; }
.sb-verdict { display: inline-block; padding: 5px 14px; border-radius: 8px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.5px; }
.sb-verified { display: inline-block; margin-left: 8px; color: var(--trusted); font-size: 0.78rem; font-weight: 700; }
.sb-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 18px; }
.sb-stats > div { background: var(--bg-alt); border-radius: 12px; padding: 12px 8px; text-align: center; }
.sb-stats b { display: block; font-family: var(--font-heading); font-size: 1rem; color: var(--text-strong); }
.sb-stats span { font-size: 0.68rem; color: var(--text-mute); }
.sb-escalate { background: rgba(226,59,59,0.08); border: 1px solid rgba(226,59,59,0.25); color: #B42525; border-radius: 12px; padding: 12px 14px; font-size: 0.84rem; line-height: 1.6; margin-bottom: 18px; }
.sb-actions { display: flex; gap: 12px; margin-bottom: 22px; }
.sb-actions .btn { flex: 1; justify-content: center; padding: 13px; }
.sb-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.sb-tab { background: none; border: none; cursor: pointer; padding: 10px 4px; margin-right: 14px; font-weight: 700; font-size: 0.9rem; color: var(--text-mute); border-bottom: 2px solid transparent; }
.sb-tab.active { color: var(--primary-dark); border-bottom-color: var(--primary); }
.sb-tabpane { display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; }
.sb-item { background: var(--bg-alt); border-radius: 12px; padding: 14px; }
.sb-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sb-tag-red { background: rgba(226,59,59,0.12); color: var(--high-risk); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 8px; }
.sb-item-top b { color: var(--high-risk); font-family: var(--font-heading); }
.sb-item p { color: var(--text); font-size: 0.88rem; line-height: 1.6; margin-bottom: 8px; }
.sb-item-meta { color: var(--text-mute); font-size: 0.74rem; }
.sb-stars, .sb-star { color: #E6C200; font-size: 0.95rem; letter-spacing: 1px; }
.sb-star { color: #D9E2EC; }
.sb-star.on { color: #F5B400; }

/* Forms */
.sb-form-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--text-strong); margin-bottom: 6px; padding-right: 30px; }
.sb-form-sub { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; margin-bottom: 20px; }
.sb-form { display: flex; flex-direction: column; }
.sb-form label { font-size: 0.85rem; font-weight: 700; color: var(--text-strong); margin: 14px 0 7px; display: flex; align-items: center; justify-content: space-between; }
.sb-form input[type=text], .sb-form input[type=email], .sb-form select, .sb-form textarea, .sb-form input:not([type]) {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem; color: var(--text-strong);
  background: #fff; border: 1.5px solid var(--border-strong); border-radius: 12px; padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sb-form input:focus, .sb-form select:focus, .sb-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21,101,192,0.12); }
.sb-form textarea { resize: vertical; }
.sb-amt { color: var(--high-risk); font-family: var(--font-heading); font-weight: 800; }
.sb-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: var(--border); outline: none; margin-top: 4px; }
.sb-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--high-risk); cursor: pointer; box-shadow: 0 3px 8px rgba(226,59,59,0.4); }
.sb-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--high-risk); cursor: pointer; }
.sb-file-label { flex-direction: column; align-items: flex-start; gap: 8px; background: var(--bg-alt); border: 1.5px dashed var(--border-strong); border-radius: 12px; padding: 14px; cursor: pointer; font-weight: 600; }
.sb-file-label input[type=file] { font-size: 0.82rem; color: var(--text-dim); }
.sb-anon { background: var(--primary-50); border-radius: 10px; padding: 11px 14px; font-size: 0.8rem; color: var(--primary-dark); line-height: 1.55; margin-top: 16px; }
.sb-submit { margin-top: 20px; justify-content: center; }
.sb-rate { display: flex; gap: 6px; }
.sb-rate-star { font-size: 2rem; color: #D9E2EC; cursor: pointer; transition: transform 0.12s, color 0.12s; }
.sb-rate-star:hover { transform: scale(1.15); }
.sb-rate-star.on { color: #F5B400; }

/* Evidence thumbnails */
.sb-ev-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 4px; }
.sb-ev-thumb {
  border: none; background: none; cursor: pointer; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 5px; width: 84px;
}
.sb-ev-preview {
  width: 84px; height: 128px; border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--border-strong); background: #fff; position: relative;
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.sb-ev-preview::after {
  content: '🔍'; position: absolute; right: 5px; bottom: 5px;
  background: rgba(10,27,51,0.72); color: #fff; font-size: 0.6rem;
  width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.sb-ev-thumb:hover .sb-ev-preview { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.sb-ev-thumb:hover .sb-ev-preview::after { opacity: 1; }
.sb-ev-preview svg, .sb-ev-preview img { width: 100%; display: block; }
.sb-ev-thumb span { font-size: 0.66rem; font-weight: 600; color: var(--text-mute); text-align: center; line-height: 1.2; }

/* Evidence lightbox */
.sb-lightbox {
  position: fixed; inset: 0; z-index: 14000;
  background: rgba(6,16,34,0.82); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.sb-lightbox.open { opacity: 1; pointer-events: auto; }
.sb-lb-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sb-lb-stage {
  width: min(340px, 84vw); max-height: 78vh; overflow: hidden;
  border-radius: 18px; box-shadow: 0 40px 90px rgba(0,0,0,0.55);
  transform: scale(0.9); opacity: 0; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s;
}
.sb-lightbox.open .sb-lb-stage { transform: scale(1); opacity: 1; }
.sb-lb-stage svg, .sb-lb-stage img { width: 100%; display: block; }
.sb-lb-cap { color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 500; text-align: center; }
.sb-lb-close {
  position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%;
  border: none; cursor: pointer; background: rgba(255,255,255,0.15); color: #fff; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s;
}
.sb-lb-close:hover { background: var(--high-risk); transform: rotate(90deg); }
.sb-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 1.8rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.sb-lb-nav:hover { background: var(--primary); }
.sb-lb-nav.prev { left: -60px; }
.sb-lb-nav.next { right: -60px; }
@media (max-width: 640px) {
  .sb-lb-nav.prev { left: 4px; } .sb-lb-nav.next { right: 4px; }
  .sb-lb-nav { background: rgba(0,0,0,0.5); }
}

/* Clickable marketing cards */
.clickable { cursor: pointer; }
.feature-card.clickable, .scam-card.clickable, .step.clickable { position: relative; }
.feature-card.clickable::after {
  content: 'Open →'; position: absolute; bottom: 18px; right: 22px;
  font-size: 0.78rem; font-weight: 700; color: var(--primary);
  opacity: 0; transform: translateX(-6px); transition: all 0.25s;
}
.feature-card.clickable:hover::after { opacity: 1; transform: translateX(0); }
.scam-card.clickable:hover { border-color: var(--primary); }
.step.clickable:hover .step-num { transform: scale(1.06); transition: transform 0.2s; }

/* Seller picker */
.sb-picker { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; }

/* Prevention tips / install steps */
.sb-tips { background: var(--bg-alt); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.sb-tips h4 { font-family: var(--font-heading); font-size: 0.92rem; color: var(--text-strong); margin: 6px 0 8px; }
.sb-tips ul { margin: 0 0 6px; padding-left: 20px; }
.sb-tips li { color: var(--text); font-size: 0.9rem; line-height: 1.7; }

/* Scam alerts */
.sb-alerts { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; margin-bottom: 18px; }
.sb-alert { display: flex; gap: 12px; background: var(--bg-alt); border-radius: 12px; padding: 14px; }
.sb-alert-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(0,0,0,0.04); }
.sb-alert p { color: var(--text); font-size: 0.9rem; line-height: 1.55; margin-bottom: 4px; }
.sb-alert small { color: var(--text-mute); font-size: 0.76rem; }

/* Safety Assistant chatbot */
.sb-chat { display: flex; flex-direction: column; height: min(70vh, 560px); }
.sb-chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.sb-chat-head .cb-ava { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-50); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.sb-chat-head b { font-family: var(--font-heading); font-size: 1.05rem; color: var(--text-strong); display: block; }
.sb-chat-head small { color: var(--text-mute); font-size: 0.76rem; }
.sb-chat-msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 6px 2px; }
.cb-msg { max-width: 82%; padding: 11px 14px; border-radius: 14px; font-size: 0.9rem; line-height: 1.55; }
.cb-msg.bot { background: var(--bg-alt); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.cb-msg.me { background: var(--gradient-primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.cb-msg b { font-weight: 700; }
.cb-typing { display: flex; gap: 4px; }
.cb-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-mute); animation: cbBlink 1s infinite; }
.cb-typing span:nth-child(2) { animation-delay: 0.2s; } .cb-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cbBlink { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
.sb-chat-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.cb-chip { background: var(--primary-50); border: 1px solid var(--primary-100); color: var(--primary-dark); cursor: pointer; font-size: 0.78rem; font-weight: 600; padding: 7px 12px; border-radius: 16px; transition: all 0.2s; }
.cb-chip:hover { background: var(--primary-100); }
.sb-chat-input { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.sb-chat-input input { flex: 1; border: 1.5px solid var(--border-strong); border-radius: 12px; padding: 12px 14px; font-family: var(--font-body); font-size: 0.92rem; outline: none; }
.sb-chat-input input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21,101,192,0.12); }
.sb-chat-input .btn { padding: 12px 18px; }

/* Floating "Ask Safety Assistant" button */
.sb-fab {
  position: fixed; bottom: 28px; left: 28px; z-index: 4000;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px; border: none; cursor: pointer;
  background: var(--gradient-primary); color: #fff; border-radius: 30px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
  box-shadow: var(--shadow-blue); transition: transform 0.25s, box-shadow 0.25s;
}
.sb-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(21,101,192,0.45); }
.sb-fab .fab-ico { font-size: 1.25rem; animation: floatY 3s ease-in-out infinite; }
@media (max-width: 768px) { .sb-fab { bottom: 18px; left: 18px; padding: 12px 16px 12px 14px; font-size: 0.82rem; } }

/* ── Stakeholders / Design Thinking ────────────────────────────────────── */
.stakeholders-section { padding: 100px 0; background: var(--bg-alt); }
.stk-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.stk-tab {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--border-strong); color: var(--text-dim);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  padding: 11px 24px; border-radius: 30px; transition: all 0.25s;
}
.stk-tab:hover { border-color: var(--primary-light); color: var(--primary-dark); }
.stk-tab.active { background: var(--gradient-primary); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }
.stk-pane { display: none; }
.stk-pane.active { display: block; animation: stkFade 0.5s cubic-bezier(0.22,1,0.36,1); }
@keyframes stkFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.stk-card {
  max-width: 960px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow);
}
.stk-persona { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.stk-emoji {
  width: 70px; height: 70px; min-width: 70px; border-radius: 20px;
  background: var(--primary-50); border: 1px solid var(--primary-100);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.stk-persona h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--text-strong); margin-bottom: 4px; }
.stk-quote { color: var(--text-dim); font-style: italic; font-size: 0.98rem; line-height: 1.5; }
.stk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stk-box { background: var(--bg-alt); border-radius: 14px; padding: 20px; border-left: 4px solid var(--border-strong); }
.stk-box.pain { border-left-color: var(--high-risk); }
.stk-box.need { border-left-color: var(--unverified); }
.stk-box.help { border-left-color: var(--trusted); }
.stk-box.why { border-left-color: var(--primary); background: var(--primary-50); }
.stk-box h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.stk-box ul { margin: 0; padding-left: 18px; }
.stk-box li { color: var(--text); font-size: 0.9rem; line-height: 1.65; margin-bottom: 5px; }
.stk-box.why p { color: var(--text); font-size: 0.92rem; line-height: 1.65; }
.stk-policy { margin-top: 18px; background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: 14px; padding: 22px; }
.stk-policy h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.stk-policy p { color: var(--text); font-size: 0.9rem; line-height: 1.6; margin-bottom: 14px; }
.stk-policy-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stk-policy-tags span { background: #fff; border: 1px solid var(--primary-100); color: var(--primary-dark); font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; }
@media (max-width: 768px) {
  .stk-grid { grid-template-columns: 1fr; }
  .stk-card { padding: 22px 18px; }
  .stk-persona { flex-direction: column; text-align: center; }
}

/* ── Floating speed-dial gadget ────────────────────────────────────────── */
.sb-speeddial { position: fixed; bottom: 28px; left: 28px; z-index: 4000; display: flex; flex-direction: column; align-items: flex-start; }
.sd-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.sd-item {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: #fff; border: 1px solid var(--border); border-radius: 30px;
  padding: 5px 6px 5px 16px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(14px) scale(0.85); pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.22,1,0.36,1), transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.sb-speeddial.open .sd-item { opacity: 1; transform: none; pointer-events: auto; }
.sb-speeddial.open .sd-item:nth-child(3) { transition-delay: 0.04s; }
.sb-speeddial.open .sd-item:nth-child(2) { transition-delay: 0.09s; }
.sb-speeddial.open .sd-item:nth-child(1) { transition-delay: 0.14s; }
.sd-item:hover { transform: translateX(3px); border-color: var(--primary-100); }
.sd-label { font-weight: 600; font-size: 0.85rem; color: var(--text-strong); white-space: nowrap; }
.sd-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--primary-50); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.sd-main {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue); transition: transform 0.3s, box-shadow 0.25s;
  animation: sdPulse 2.6s ease-in-out infinite;
}
.sd-plus { font-size: 2rem; line-height: 1; font-weight: 300; }
.sd-main:hover { box-shadow: 0 18px 40px rgba(21,101,192,0.5); }
.sb-speeddial.open .sd-main { transform: rotate(135deg); animation: none; }
@keyframes sdPulse { 0%,100% { box-shadow: var(--shadow-blue); } 50% { box-shadow: 0 14px 34px rgba(21,101,192,0.55), 0 0 0 10px rgba(21,101,192,0.06); } }
@media (max-width: 768px) {
  .sb-speeddial { bottom: 18px; left: 18px; }
  .sd-main { width: 54px; height: 54px; }
}

/* ── How We Verify — criteria, levels, steps ───────────────────────────── */
.verify-section { padding: 100px 0; background: var(--bg); }
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.criteria-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.criteria-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-100); }
.criteria-ico { font-size: 1.6rem; width: 52px; height: 52px; border-radius: 14px; background: var(--primary-50); border: 1px solid var(--primary-100); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.criteria-card h4 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--text-strong); margin-bottom: 6px; }
.criteria-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }
.levels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.level-card { border-radius: var(--radius-lg); padding: 24px; border: 1.5px solid var(--border); background: var(--bg-card); box-shadow: var(--shadow-sm); }
.level-card.trusted { border-top: 5px solid var(--trusted); }
.level-card.unverified { border-top: 5px solid var(--unverified); }
.level-card.risk { border-top: 5px solid var(--high-risk); }
.level-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.level-top b { font-family: var(--font-heading); font-size: 1.05rem; color: var(--text-strong); }
.level-badge { font-family: var(--font-heading); font-weight: 800; font-size: 0.8rem; background: var(--bg-alt); color: var(--text-dim); padding: 4px 12px; border-radius: 20px; }
.level-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }
.verify-steps { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 34px; text-align: center; }
.verify-steps h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--text-strong); margin-bottom: 22px; }
.vstep-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.vstep { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-sm); flex: 1 1 200px; max-width: 240px; }
.vstep span { width: 34px; height: 34px; min-width: 34px; border-radius: 50%; background: var(--gradient-primary); color: #fff; font-family: var(--font-heading); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.vstep p { color: var(--text); font-size: 0.88rem; text-align: left; }
@media (max-width: 900px) { .criteria-grid { grid-template-columns: repeat(2, 1fr); } .levels-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .criteria-grid { grid-template-columns: 1fr; } .verify-steps { padding: 24px 18px; } }

/* Policy / guidelines modal */
.pol-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pol-tab { background: var(--bg-alt); border: 1.5px solid var(--border); color: var(--text-dim); cursor: pointer; font-size: 0.78rem; font-weight: 600; padding: 8px 12px; border-radius: 20px; transition: all 0.2s; }
.pol-tab:hover { border-color: var(--primary-light); color: var(--primary-dark); }
.pol-tab.active { background: var(--primary-50); border-color: var(--primary); color: var(--primary-dark); }
.pol-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--text-strong); margin-bottom: 12px; }
.pol-list { margin: 0; padding-left: 20px; }
.pol-list li { color: var(--text); font-size: 0.92rem; line-height: 1.7; margin-bottom: 10px; }
.pol-list li b { font-weight: 700; }

/* Inline link + demo guide button */
.sb-inline-link { background: none; border: none; padding: 0; cursor: pointer; color: var(--primary); font-weight: 700; font-size: inherit; font-family: inherit; text-decoration: underline; }
.sb-inline-link:hover { color: var(--primary-dark); }
.demo-guide { background: none; border: none; cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.demo-guide:hover { color: var(--primary-dark); }
@media (max-width: 600px) { .demo-foot { flex-direction: column; gap: 12px; align-items: flex-start; } }

/* ── The Problem section ───────────────────────────────────────────────── */
.problem-section { padding: 100px 0; background: var(--bg); }
.danger-tag { background: rgba(226,59,59,0.08) !important; border-color: rgba(226,59,59,0.25) !important; color: var(--high-risk) !important; }
.grad-text-red {
  background: linear-gradient(120deg, #B71C1C, #E23B3B 60%, #FF6D3F);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.problem-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.problem-stat {
  background: var(--bg-card); border: 1px solid var(--border);
  border-top: 4px solid var(--high-risk);
  border-radius: 16px; padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
}
.problem-stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ps-number { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; color: var(--high-risk); margin-bottom: 4px; }
.problem-stat p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.45; }
.problem-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.problem-case {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px;
}
.pc-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--high-risk); background: rgba(226,59,59,0.1); padding: 4px 10px; border-radius: 12px; margin-bottom: 10px; }
.problem-case h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text-strong); margin-bottom: 6px; }
.problem-case p { color: var(--text-dim); font-size: 0.86rem; line-height: 1.55; }
.problem-closing { text-align: center; max-width: 620px; margin: 0 auto; color: var(--text); font-size: 1.02rem; line-height: 1.7; }
.problem-closing b { color: var(--primary-dark); }

/* ── How It Works dual columns ─────────────────────────────────────────── */
.how-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.how-col {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.how-col-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; color: var(--text-strong); margin-bottom: 18px; }
.how-col .step { margin-bottom: 16px; }
.step-num.alt { background: linear-gradient(135deg, #00B850, #007A36); }

/* ── Verification tiers ────────────────────────────────────────────────── */
.tiers-section { padding: 100px 0; background: var(--bg-alt); }
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.tier-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform 0.35s, box-shadow 0.35s;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tier-card.featured { border-color: var(--trusted); box-shadow: 0 14px 40px rgba(0,184,80,0.15); }
.tier-emoji { font-size: 2rem; margin-bottom: 8px; }
.tier-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.tier-name.basic { color: var(--primary); }
.tier-name.verified { color: var(--trusted); }
.tier-name.premium { color: #B8860B; }
.tier-req { color: var(--text-dim); font-size: 0.85rem; line-height: 1.5; min-height: 52px; margin-bottom: 12px; }
.tier-card ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.tier-card li { color: var(--text); font-size: 0.88rem; padding: 5px 0 5px 22px; position: relative; }
.tier-card li::before { content: '✓'; position: absolute; left: 0; color: var(--trusted); font-weight: 800; }

/* ── Verification card showcase ────────────────────────────────────────── */
.card-section { padding: 100px 0; background: var(--bg); }
.card-showcase { display: flex; align-items: center; justify-content: center; gap: 46px; flex-wrap: wrap; }
.sbv-card {
  width: 340px; height: 200px; border-radius: 18px; padding: 18px;
  background: linear-gradient(135deg, #0D47A1, #1565C0 55%, #00695C);
  border: 2px solid #B0BEC5;
  box-shadow: 0 26px 60px rgba(13,71,161,0.35);
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
  animation: floatY 5s ease-in-out infinite;
}
.sbv-top { display: flex; justify-content: space-between; align-items: center; }
.sbv-logo { font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; }
.sbv-badge { background: var(--trusted); color: #fff; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 8px; }
.sbv-mid { display: flex; align-items: center; gap: 12px; }
.sbv-avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; border: 2px solid var(--trusted); }
.sbv-mid strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; }
.sbv-mid small { display: block; color: rgba(255,255,255,0.75); font-size: 0.68rem; }
.sbv-bottom { display: flex; align-items: center; gap: 10px; }
.sbv-qr { width: 34px; height: 34px; background: #fff; color: #0A1628; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.sbv-id { font-family: 'Courier New', monospace; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.5px; }
.sbv-bottom small { margin-left: auto; color: rgba(255,255,255,0.75); font-size: 0.65rem; }
.card-points { max-width: 340px; }
.card-points p { color: var(--text); font-size: 0.98rem; font-weight: 600; padding: 8px 0; }

/* ── QR protection ─────────────────────────────────────────────────────── */
.qr-section { padding: 40px 0 100px; background: var(--bg); }
.qr-panel {
  display: flex; gap: 22px; align-items: flex-start;
  max-width: 860px; margin: 0 auto;
  background: var(--primary-50); border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg); padding: 30px;
}
.qr-icon { font-size: 2.6rem; }
.qr-panel h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.qr-panel p { color: var(--text); font-size: 0.95rem; line-height: 1.7; }

/* ── Download install steps + seller CTA ───────────────────────────────── */
.install-steps { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 22px 0 14px; position: relative; }
.install-step { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); border-radius: 12px; padding: 10px 14px; }
.install-step span { font-size: 1rem; }
.install-step p { color: #fff; font-size: 0.82rem; font-weight: 600; margin: 0 !important; }
.seller-cta {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  background: var(--bg-card); border: 1.5px solid var(--trusted);
  border-radius: var(--radius-lg); padding: 28px 32px;
  box-shadow: 0 14px 40px rgba(0,184,80,0.12);
  flex-wrap: wrap;
}
.seller-cta h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--text-strong); margin-bottom: 6px; }
.seller-cta p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; max-width: 520px; }
.seller-cta .btn { flex-shrink: 0; }
.footer-disclaimer { max-width: 720px; margin: 0 auto 10px; font-size: 0.78rem !important; line-height: 1.6; color: rgba(255,255,255,0.45) !important; }

@media (max-width: 900px) {
  .problem-stats { grid-template-columns: repeat(2, 1fr); }
  .problem-cases { grid-template-columns: 1fr; }
  .how-columns { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .seller-cta { flex-direction: column; text-align: center; }
}

/* Toast */
.sb-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120%);
  z-index: 13000; background: #0A1B33; color: #fff;
  padding: 14px 22px; border-radius: 14px; font-size: 0.9rem; font-weight: 500;
  box-shadow: 0 20px 50px rgba(2,20,55,0.45); max-width: 90vw; text-align: center;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.sb-toast.show { transform: translate(-50%, 0); }
.sb-toast b { color: #6FE3A0; }

@media (max-width: 768px) {
  .demo-app { padding: 18px; }
  .demo-search-bar { flex-wrap: wrap; }
  .demo-search-bar .btn { width: 100%; justify-content: center; }
  .sb-modal { padding: 24px 18px; }
  .sb-profile-head { flex-direction: column; text-align: center; padding-right: 0; }
  .sb-stats { grid-template-columns: repeat(2,1fr); }
  .sb-actions { flex-direction: column; }
  .sb-modal-close { top: 10px; right: 10px; }
}


/* ═══════════════════════════════════════════════════════════════
   SafeBuy Nepal + Nepal Police section (dark navy)
   ═══════════════════════════════════════════════════════════════ */
.police-section {
  background: #0D2137;
  padding: 96px 0;
  color: #E7EEF7;
}
.police-section .section-header h2 { color: #FFFFFF; }
.police-section .section-header p { color: #9FB3C8; }
.police-section .section-tag.police-tag {
  background: rgba(21, 101, 192, 0.25);
  color: #7EB6FF;
  border: 1px solid rgba(126, 182, 255, 0.35);
}

.police-flow {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin: 48px 0 40px;
}
.pflow-step {
  flex: 1;
  background: #143152;
  border: 1px solid rgba(126, 182, 255, 0.18);
  border-radius: 16px;
  padding: 22px 18px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.pflow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 182, 255, 0.45);
}
.pflow-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #3D5F86;
}
.pflow-ico { font-size: 1.7rem; margin-bottom: 10px; }
.pflow-step h4 { color: #FFFFFF; font-size: 1rem; margin-bottom: 6px; }
.pflow-step p { color: #9FB3C8; font-size: 0.86rem; line-height: 1.55; }
.pflow-arrow {
  align-self: center;
  color: #3D5F86;
  font-size: 1.4rem;
  font-weight: 700;
}

.police-bottom {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
}
.police-contact {
  background: #143152;
  border: 1px solid rgba(126, 182, 255, 0.18);
  border-radius: 16px;
  padding: 24px;
}
.police-contact h4 { color: #FFFFFF; margin-bottom: 12px; font-size: 1.02rem; }
.police-contact p { color: #C7D6E8; font-size: 0.92rem; margin: 6px 0; }
.police-contact a { color: #7EB6FF; text-decoration: none; }
.police-contact a:hover { text-decoration: underline; }

.police-quote {
  background: rgba(21, 101, 192, 0.16);
  border-left: 4px solid #1565C0;
  border-radius: 12px;
  padding: 24px 26px;
  margin: 0;
}
.police-quote p {
  color: #E7EEF7;
  font-size: 0.98rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}
.police-quote cite {
  color: #7EB6FF;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   Nepal fraud-by-numbers section
   ═══════════════════════════════════════════════════════════════ */
.fraudnum-section {
  background: var(--bg-alt);
  padding: 96px 0;
}
.fraudnum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 44px 0 26px;
}
.fraudnum-card {
  background: var(--bg-card);
  border: 1px solid rgba(21, 101, 192, 0.14);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(13, 71, 161, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fraudnum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.12);
}
.fraudnum-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: #C62828;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.fraudnum-card p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.55;
}
.fraudnum-source {
  text-align: center;
  color: var(--text-mute);
  font-size: 0.88rem;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .police-flow { flex-direction: column; }
  .pflow-arrow { transform: rotate(90deg); align-self: center; }
  .police-bottom { grid-template-columns: 1fr; }
  .fraudnum-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .fraudnum-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   v1.1 demo parity: loyalty badges, checklist, WhatsApp, police
   (styled with the mobile app design tokens: #1565C0 primary,
   #00C853 trusted, #FF8F00 unverified, #D32F2F high risk)
   ═══════════════════════════════════════════════════════════════ */
.sb-loyalty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 3px 10px;
  border: 1px solid;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.6);
  width: fit-content;
}
.sb-loyalty.sm { font-size: 0.66rem; padding: 2px 8px; margin-top: 4px; }

.sb-wa-row { display: flex; gap: 10px; margin: 12px 0 0; }
.sb-wa-row .btn { flex: 1; font-size: 0.85rem; padding: 10px 12px; }
.btn.sb-wa { background: #25D366; color: #fff; border: none; }
.btn.sb-wa:hover { background: #1DA851; }
.btn.sb-copywarn { color: #D32F2F; border-color: #D32F2F; }

.btn.sb-police {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  background: #0D47A1;
  color: #fff;
  border: none;
  font-size: 0.9rem;
}
.btn.sb-police:hover { background: #1565C0; }

.sb-countdown {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.sb-countdown.amber { background: #FFF8E1; border: 1px solid #FF8F0066; color: #6E4218; }
.sb-countdown.red { background: #FFEBEE; border: 1px solid #D32F2F66; color: #B71C1C; }
.sb-cd-bar { height: 6px; border-radius: 4px; background: #fff; margin-top: 8px; overflow: hidden; }
.sb-cd-bar i { display: block; height: 100%; background: #FF8F00; border-radius: 4px; }

.sb-checklist {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #FF8F0066;
  text-align: left;
}
.sb-checklist.done { background: #E8F5E9; border-color: #00C85377; }
.sb-chk-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; gap: 8px; }
.sb-chk-head span { font-weight: 800; color: #FF8F00; white-space: nowrap; }
.sb-checklist.done .sb-chk-head span { color: #00A344; }
.sb-chk-bar { height: 5px; border-radius: 4px; background: #E2E8F0; margin: 8px 0; overflow: hidden; }
.sb-chk-bar i { display: block; height: 100%; background: #FF8F00; border-radius: 4px; transition: width 0.3s ease; }
.sb-checklist.done .sb-chk-bar i { background: #00C853; }
.sb-chk-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 6px 4px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.84rem;
  color: var(--text);
  border-radius: 8px;
}
.sb-chk-item:hover { background: #F5F7FA; }
.sb-chk-item span { color: #9AA5B4; font-weight: 800; }
.sb-chk-item.on { color: #9AA5B4; text-decoration: line-through; }
.sb-chk-item.on span { color: #00C853; }
.sb-chk-note { font-size: 0.82rem; color: #4A5568; margin: 4px 0 0; }
.sb-chk-dismiss {
  display: block;
  margin: 6px 0 0 auto;
  border: none;
  background: none;
  color: #9AA5B4;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.sb-chk-dismiss:hover { color: #5B6B82; }

.sb-bureau {
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  margin-bottom: 12px;
}
.sb-bureau p { color: #DCE9F7; font-size: 0.84rem; margin: 4px 0 0; }
.sb-bureau a { color: #AFD3FF; }
.sb-esc-label { display: block; text-align: left; font-size: 0.8rem; font-weight: 700; color: var(--text-dim); margin: 8px 0 4px; }
.sb-esc-preview {
  text-align: left;
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.72rem;
  line-height: 1.55;
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  font-family: 'Roboto Mono', Consolas, monospace;
}
.sb-declare {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text);
  margin: 10px 0;
  line-height: 1.5;
}
.sb-declare input { margin-top: 3px; }
.sb-esc-note { font-size: 0.76rem; color: var(--text-mute); margin-top: 8px; }

/* ── Hero inline verify form (verify.html launcher) ─────────────────────────── */
.hero-verify { margin: 8px 0 18px; max-width: 460px; }
.hero-verify label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.hero-verify-row {
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(21, 101, 192, 0.18);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.08);
}
.hero-verify-row input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1A1A1A;
  background: transparent;
}
.hero-verify-row input::placeholder { color: #9E9E9E; }
.hero-verify-row .btn { white-space: nowrap; padding: 10px 18px; }

@media (max-width: 520px) {
  .hero-verify-row { flex-direction: column; }
  .hero-verify-row .btn { width: 100%; }
}
