/* ══════════════════════════════════════════
   CSS VARIABLES / THEMES
══════════════════════════════════════════ */
:root {
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --transition: 0.3s ease;
}

[data-theme="light"] {
  --bg: #f7f8fb; --bg-alt: #ffffff; --bg-card: #ffffff; --bg-muted: #f1f4f9;
  --bg-hero: linear-gradient(140deg, #1b2e4a 0%, #162236 45%, #0f1a2b 100%);
  --text: #1e293b; --text-soft: #64748b; --text-muted: #94a3b8;
  --border: #e4e8ef; --border-light: #eef1f6;
  --accent: #2563eb; --accent-hover: #1d4ed8; --accent-soft: #eff6ff;
  --accent-soft-rgb: 37, 99, 235; --success: #16a34a;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --nav-bg: rgba(255,255,255,0.92); --nav-border: #e4e8ef;
  --input-bg: #ffffff; --input-border: #dde2ea;
  --drop-bg: #ffffff; --drop-border: #e4e8ef; --drop-hover: #f7f8fb;
  --badge-bg: #f1f4f9;
  --topbar-bg: #1e293b; --topbar-text: #94a3b8;
  --footer-bg: #111827; --footer-text: #6b7280;
  --hero-shadow: 0 25px 80px rgba(0,0,0,0.2);
  --page-hero-bg: linear-gradient(140deg, #1b2e4a 0%, #162236 45%, #0f1a2b 100%);
}

[data-theme="dark"] {
  --bg: #0c1017; --bg-alt: #111722; --bg-card: #151c28; --bg-muted: #1a2232;
  --bg-hero: linear-gradient(140deg, #0c1017 0%, #111a2a 45%, #0a1020 100%);
  --text: #e8edf4; --text-soft: #8899ae; --text-muted: #556070;
  --border: #1e2a38; --border-light: #1a2432;
  --accent: #3b82f6; --accent-hover: #2563eb; --accent-soft: rgba(59,130,246,0.1);
  --accent-soft-rgb: 59, 130, 246; --success: #22c55e;
  --shadow: 0 1px 3px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.4);
  --nav-bg: rgba(12,16,23,0.92); --nav-border: #1e2a38;
  --input-bg: #111722; --input-border: #1e2a38;
  --drop-bg: #151c28; --drop-border: #1e2a38; --drop-hover: #1a2232;
  --badge-bg: #1a2232;
  --topbar-bg: #080c12; --topbar-text: #556070;
  --footer-bg: #080c12; --footer-text: #445060;
  --hero-shadow: 0 25px 80px rgba(0,0,0,0.5);
  --page-hero-bg: linear-gradient(140deg, #0c1017 0%, #111a2a 45%, #0a1020 100%);
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body); background: var(--bg); color: var(--text);
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea { font-family: var(--font-body); }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes dropIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse2 { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
@keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
.fade-up { animation: fadeUp 0.6s ease-out both; }
.fade-up-delay { animation: fadeUp 0.6s ease-out 0.15s both; }
.fade-up-delay-2 { animation: fadeUp 0.6s ease-out 0.3s both; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ══════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════ */
.topbar {
  background: var(--topbar-bg); padding: 7px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--topbar-text); font-weight: 500;
  transition: background var(--transition);
}
.topbar-group { display: flex; gap: 20px; align-items: center; }
.topbar-item { display: flex; align-items: center; gap: 5px; }
.topbar-item i { width: 11px; height: 11px; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  position: sticky; top: 0; z-index: 100;
  transition: background var(--transition), border-color var(--transition);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(var(--accent-soft-rgb), 0.25);
}
.nav-logo-icon i { color: #fff; }
.nav-logo-text { font-size: 17px; font-weight: 800; line-height: 1.1; font-family: var(--font-heading); letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--accent); }
.nav-logo-sub { font-size: 9px; color: var(--text-muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; font-size: 13.5px; font-weight: 600; color: var(--text-soft); }
.nav-links a { transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -15px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border); background: var(--bg-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle i { width: 16px; height: 16px; }
.nav-cta {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff; border: none; border-radius: var(--radius-md);
  padding: 9px 20px; font-size: 13.5px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(var(--accent-soft-rgb), 0.25);
  transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(var(--accent-soft-rgb), 0.35); }
.nav-cta i { width: 15px; height: 15px; }
.nav-cta-outline { background: transparent; color: var(--text-soft); border: 1.5px solid var(--border); box-shadow: none; padding: 8px 16px; }
.nav-cta-outline:hover { background: var(--bg-muted); transform: none; box-shadow: none; }
.nav-cta-logout { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border-light); box-shadow: none; padding: 8px 14px; font-size: 12px; }
.nav-cta-logout:hover { background: rgba(239,68,68,0.06); color: #ef4444; border-color: rgba(239,68,68,0.2); transform: none; box-shadow: none; }
.mobile-menu-btn {
  display: none; width: 38px; height: 38px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border); background: var(--bg-muted);
  align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu {
  display: none; position: fixed; top: 95px; left: 0; right: 0;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 16px 20px; z-index: 99; box-shadow: var(--shadow-lg);
  flex-direction: column; gap: 4px; transition: background var(--transition);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 16px; font-size: 15px; font-weight: 600; color: var(--text-soft); border-radius: var(--radius-sm); transition: background 0.15s; display: block; }
.mobile-menu a:hover { background: var(--bg-muted); }
.mobile-menu-divider { height: 1px; background: var(--border-light); margin: 4px 0; }
.mobile-menu-auth { display: flex !important; align-items: center; gap: 10px; font-weight: 700 !important; color: var(--accent) !important; }
.mobile-menu-auth i { width: 18px; height: 18px; }
.mobile-menu-logout { color: #ef4444 !important; }
.mobile-menu-cta {
  margin-top: 8px; display: flex; align-items: center; justify-content: center;
  gap: 8px; background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-md); padding: 12px; font-size: 14px; font-weight: 700; width: 100%;
}

/* ══════════════════════════════════════════
   HERO (Homepage)
══════════════════════════════════════════ */
.hero { background: var(--bg-hero); position: relative; overflow: hidden; padding: 0 24px; transition: background var(--transition); }
.hero-glow-1 { position: absolute; top: -150px; right: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%); border-radius: 50%; }
.hero-glow-2 { position: absolute; bottom: -100px; left: -100px; width: 350px; height: 350px; background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 65%); border-radius: 50%; }
.hero-dots { position: absolute; inset: 0; opacity: 0.015; background-image: radial-gradient(rgba(255,255,255,0.8) 1px, transparent 1px); background-size: 24px 24px; }
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; display: flex; gap: 48px; align-items: center; padding: 56px 0 72px; }
.hero-content { flex: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(37,99,235,0.12); padding: 6px 14px; border-radius: 50px; margin-bottom: 20px; border: 1px solid rgba(37,99,235,0.15); }
.hero-badge-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse2 2s infinite; }
.hero-badge span { font-size: 12px; color: #93c5fd; font-weight: 700; letter-spacing: 0.02em; }
.hero h1 { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: #fff; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 18px; }
.hero h1 span { color: #60a5fa; }
.hero-desc { font-size: clamp(14px, 1.6vw, 17px); color: #8899ae; line-height: 1.7; max-width: 460px; margin-bottom: 32px; }
.hero-features { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-feature { display: flex; align-items: center; gap: 7px; }
.hero-feature i { color: #22c55e; width: 15px; height: 15px; }
.hero-feature span { color: #c0ccda; font-size: 13px; font-weight: 600; }

/* ══════════════════════════════════════════
   PAGE HERO (Inner pages)
══════════════════════════════════════════ */
.page-hero {
  background: var(--page-hero-bg); padding: 56px 24px; text-align: center;
  position: relative; overflow: hidden; transition: background var(--transition);
}
.page-hero .hero-dots { position: absolute; inset: 0; opacity: 0.015; background-image: radial-gradient(rgba(255,255,255,0.8) 1px, transparent 1px); background-size: 24px 24px; }
.page-hero-inner { position: relative; max-width: 700px; margin: 0 auto; }
.page-hero-label { font-size: 12px; font-weight: 800; color: #60a5fa; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; font-family: var(--font-heading); }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 48px); font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 14px; }
.page-hero p { color: #8899ae; font-size: 16px; line-height: 1.7; max-width: 520px; margin: 0 auto; }

/* ══════════════════════════════════════════
   SEARCH CARD
══════════════════════════════════════════ */
.search-card {
  flex: 0 0 auto; width: min(100%, 480px); background: var(--bg-card);
  border-radius: var(--radius-xl); padding: 28px 24px; box-shadow: var(--hero-shadow);
  border: 1px solid var(--border-light); transition: background var(--transition), border-color var(--transition);
}
.search-card h2 { font-size: 20px; font-weight: 800; font-family: var(--font-heading); margin-bottom: 3px; letter-spacing: -0.02em; }
.search-card > p { color: var(--text-muted); font-size: 13px; margin-bottom: 20px; font-weight: 500; }
.tab-container { display: flex; gap: 0; margin-bottom: 22px; background: var(--bg-muted); border-radius: var(--radius-md); padding: 3px; }
.tab-btn {
  flex: 1; padding: 10px 8px; border: none; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: transparent; color: var(--text-muted);
}
.tab-btn.active { background: var(--bg-card); color: var(--accent); box-shadow: var(--shadow); }
.tab-btn i { width: 14px; height: 14px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ══════════════════════════════════════════
   CUSTOM DROPDOWN
══════════════════════════════════════════ */
.dropdown-group { position: relative; flex: 1; min-width: 0; }
.dropdown-label { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 7px; text-transform: uppercase; font-family: var(--font-heading); }
.dropdown-label i { width: 12px; height: 12px; }
.dropdown-trigger {
  background: var(--input-bg); border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md); padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  cursor: pointer; transition: all 0.2s; box-shadow: var(--shadow); width: 100%;
  font-size: 14px; font-weight: 500; color: var(--text-muted); font-family: var(--font-body);
}
.dropdown-trigger.has-value { color: var(--text); font-weight: 600; }
.dropdown-trigger.disabled { opacity: 0.4; cursor: not-allowed; background: var(--bg-muted); }
.dropdown-trigger.open { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dropdown-trigger i { width: 14px; height: 14px; color: var(--text-muted); flex-shrink: 0; transition: transform 0.25s ease; }
.dropdown-trigger.open i.chevron { transform: rotate(180deg); }
.dropdown-trigger .trigger-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 200;
  background: var(--drop-bg); border: 1px solid var(--drop-border);
  border-radius: 12px; box-shadow: var(--shadow-xl); max-height: 260px;
  overflow: hidden; animation: dropIn 0.18s ease-out; display: none;
}
.dropdown-menu.open { display: block; }
.dropdown-search-wrap { padding: 8px 10px; border-bottom: 1px solid var(--border-light); }
.dropdown-search-inner { display: flex; align-items: center; gap: 8px; background: var(--bg-muted); border-radius: var(--radius-sm); padding: 0 10px; }
.dropdown-search-inner i { width: 13px; height: 13px; color: var(--text-muted); flex-shrink: 0; }
.dropdown-search { width: 100%; background: transparent; border: none; padding: 9px 0; color: var(--text); font-size: 13px; outline: none; }
.dropdown-options { overflow-y: auto; max-height: 204px; padding: 4px 0; }
.dropdown-option { padding: 10px 16px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-soft); transition: background 0.12s; display: flex; align-items: center; gap: 8px; }
.dropdown-option:hover { background: var(--drop-hover); }
.dropdown-option.selected { color: var(--accent); font-weight: 700; background: var(--accent-soft); }
.dropdown-option i { width: 14px; height: 14px; }
.dropdown-empty { padding: 14px 16px; color: var(--text-muted); font-size: 13px; font-style: italic; }

.form-row { display: flex; gap: 10px; margin-bottom: 10px; }
.form-divider { border-top: 1px solid var(--border-light); margin: 4px 0 10px; padding-top: 10px; }
.text-input-group { flex: 1; }
.text-input { width: 100%; background: var(--input-bg); border: 1.5px solid var(--input-border); border-radius: var(--radius-md); padding: 12px 14px; color: var(--text); font-size: 14px; font-weight: 500; outline: none; transition: border-color 0.2s; }
.text-input:focus { border-color: var(--accent); }
.text-input.vin-input { font-family: 'Courier New', monospace; font-size: 17px; font-weight: 700; letter-spacing: 3px; }
textarea.text-input { resize: vertical; min-height: 120px; line-height: 1.6; }

.submit-btn {
  width: 100%; padding: 14px; border: none; border-radius: 12px; font-size: 15px;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 6px; transition: all 0.3s;
}
.submit-btn.ready {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff; cursor: pointer; box-shadow: 0 4px 16px rgba(var(--accent-soft-rgb), 0.25);
}
.submit-btn.ready:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(var(--accent-soft-rgb), 0.35); }
.submit-btn.disabled { background: var(--bg-muted); color: var(--text-muted); cursor: not-allowed; }
.submit-btn.success { background: var(--success); color: #fff; cursor: default; }
.submit-btn i { width: 16px; height: 16px; }

.vin-info { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 16px; font-size: 12px; color: var(--text-muted); font-weight: 500; }
.vin-info-right { display: flex; align-items: center; gap: 4px; }
.vin-info-right i { width: 11px; height: 11px; }
.vin-result { margin-top: 16px; background: var(--bg-muted); border-radius: 12px; padding: 16px; border: 1px solid var(--border-light); animation: fadeUp 0.3s ease-out; display: none; }
.vin-result.show { display: block; }
.vin-result-title { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.vin-result-title i { width: 14px; height: 14px; }
.vin-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.vin-result-item { font-size: 12px; }
.vin-result-label { color: var(--text-muted); font-weight: 600; }
.vin-result-value { font-weight: 700; color: var(--text); }

/* ══════════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════════ */
.trust-strip { background: var(--bg-card); padding: 18px 24px; display: flex; justify-content: center; gap: 12px; border-bottom: 1px solid var(--border); flex-wrap: wrap; transition: background var(--transition); }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-soft); font-weight: 600; padding: 5px 14px; background: var(--bg-muted); border-radius: 50px; }
.trust-badge i { width: 13px; height: 13px; color: var(--accent); }

/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.section { padding: 72px 24px; max-width: 1000px; margin: 0 auto; }
.section-label { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; margin-bottom: 8px; text-transform: uppercase; font-family: var(--font-heading); text-align: center; }
.section-title { font-size: clamp(28px, 4vw, 38px); font-weight: 800; font-family: var(--font-heading); letter-spacing: -0.02em; text-align: center; margin-bottom: 56px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { text-align: center; padding: 24px; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border-light); transition: all 0.3s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-icon { width: 52px; height: 52px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step-icon i { width: 24px; height: 24px; }
.step-num { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 6px; }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; font-family: var(--font-heading); }
.step-card p { color: var(--text-soft); font-size: 13px; line-height: 1.6; font-weight: 500; }

/* Parts chips */
.parts-wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.part-chip { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 18px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.25s; display: flex; align-items: center; gap: 6px; color: var(--text-soft); }
.part-chip i { width: 13px; height: 13px; }
.part-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* CTA Banner */
.cta-section { padding: 0 24px 72px; max-width: 1000px; margin: 0 auto; }
.cta-banner { padding: 48px 40px; border-radius: 24px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); }
.cta-dots { position: absolute; inset: 0; opacity: 0.06; background-image: radial-gradient(rgba(255,255,255,0.8) 1px, transparent 1px); background-size: 20px 20px; }
.cta-inner { position: relative; }
.cta-inner i.cta-icon { width: 36px; height: 36px; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.cta-banner h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; color: #fff; margin-bottom: 10px; font-family: var(--font-heading); }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 24px; font-weight: 500; }
.cta-btn { background: #fff; color: var(--accent); border: none; border-radius: 12px; padding: 14px 32px; font-size: 16px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); transition: transform 0.2s; }
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn i { width: 18px; height: 18px; }

/* ══════════════════════════════════════════
   CONTENT SECTIONS (About, How It Works, etc.)
══════════════════════════════════════════ */
.content-section { padding: 64px 24px; max-width: 900px; margin: 0 auto; }
.content-section h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.content-section p { color: var(--text-soft); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.content-section p strong { color: var(--text); }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 40px 0; }
.content-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 28px; transition: all 0.3s;
}
.content-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.content-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.content-card-icon i { width: 22px; height: 22px; }
.content-card h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.content-card p { color: var(--text-soft); font-size: 14px; line-height: 1.6; margin: 0; }
.content-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Stats row */
.stats-row { display: flex; justify-content: center; gap: 48px; padding: 40px 24px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 36px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-top: 4px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
}
.contact-info-icon i { width: 20px; height: 20px; color: var(--accent); }
.contact-info-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-info-text p { font-size: 13px; color: var(--text-soft); margin: 0; line-height: 1.5; }
.form-group { margin-bottom: 14px; }
.success-msg {
  background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.2);
  border-radius: 12px; padding: 16px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px; color: var(--success); font-weight: 600; font-size: 14px;
}
.success-msg i { width: 18px; height: 18px; flex-shrink: 0; }

/* ══════════════════════════════════════════
   404 PAGE
══════════════════════════════════════════ */
.error-page { text-align: center; padding: 100px 24px; max-width: 600px; margin: 0 auto; }
.error-code { font-family: var(--font-heading); font-size: clamp(80px, 15vw, 140px); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -0.04em; opacity: 0.15; }
.error-page h1 { font-family: var(--font-heading); font-size: 32px; font-weight: 800; margin: -20px 0 12px; }
.error-page p { color: var(--text-soft); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.error-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff; border: none; border-radius: 12px; padding: 14px 28px;
  font-size: 15px; font-weight: 700; transition: transform 0.2s;
}
.error-btn:hover { transform: translateY(-2px); }
.error-btn i { width: 16px; height: 16px; }

/* ══════════════════════════════════════════
   CAMPAIGN PAGE
══════════════════════════════════════════ */
.campaign-hero {
  background: var(--bg-hero); position: relative; overflow: hidden;
  padding: 48px 24px 64px; text-align: center; transition: background var(--transition);
}
.campaign-hero .hero-dots, .campaign-hero .hero-glow-1, .campaign-hero .hero-glow-2 { position: absolute; }
.campaign-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(239,68,68,0.15); padding: 6px 16px; border-radius: 50px;
  margin-bottom: 20px; border: 1px solid rgba(239,68,68,0.2);
  font-size: 12px; color: #fca5a5; font-weight: 800; letter-spacing: 0.08em;
}
.campaign-hero h1 { font-family: var(--font-heading); font-size: clamp(36px, 6vw, 60px); font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 14px; }
.campaign-hero h1 span { color: #60a5fa; }
.campaign-hero p { color: #8899ae; font-size: 17px; max-width: 500px; margin: 0 auto 36px; line-height: 1.7; }
.campaign-form-card {
  max-width: 520px; margin: 0 auto; background: var(--bg-card);
  border-radius: var(--radius-xl); padding: 32px 28px;
  box-shadow: var(--hero-shadow); border: 1px solid var(--border-light);
  text-align: left; transition: background var(--transition);
}
.campaign-urgency {
  display: flex; justify-content: center; gap: 32px; margin-top: 40px; flex-wrap: wrap;
}
.campaign-urgency-item { display: flex; align-items: center; gap: 8px; }
.campaign-urgency-item i { width: 16px; height: 16px; color: #22c55e; }
.campaign-urgency-item span { color: #c0ccda; font-size: 14px; font-weight: 600; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer { background: var(--footer-bg); padding: 48px 24px 32px; transition: background var(--transition); }
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-brand-icon { width: 32px; height: 32px; background: var(--accent); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.footer-brand-icon i { width: 16px; height: 16px; color: #fff; }
.footer-brand-name { font-family: var(--font-heading); font-size: 16px; font-weight: 800; color: #e8edf4; }
.footer-brand-name span { color: var(--accent); }
.footer-desc { color: var(--footer-text); font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: #c0ccda; margin-bottom: 14px; font-family: var(--font-heading); letter-spacing: 0.04em; }
.footer-link { display: block; font-size: 13px; color: var(--footer-text); margin-bottom: 10px; font-weight: 500; transition: color 0.2s; cursor: pointer; }
.footer-link:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 12px; color: var(--footer-text); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links span { font-size: 12px; color: var(--footer-text); cursor: pointer; }
.footer-bottom-links span:hover { color: var(--accent); }

/* ══════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 12px; margin-bottom: 10px; overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: var(--border); }
.faq-item.open { border-color: var(--accent); box-shadow: 0 4px 16px rgba(var(--accent-soft-rgb), 0.08); }
.faq-question {
  width: 100%; padding: 18px 20px; border: none; background: transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; text-align: left; font-size: 15px; font-weight: 700;
  color: var(--text); font-family: var(--font-body);
}
.faq-question:hover { color: var(--accent); }
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 20px 18px; }
.faq-answer p { color: var(--text-soft); font-size: 14px; line-height: 1.7; }
.faq-answer p a { color: var(--accent); font-weight: 600; }

/* ══════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════ */
.legal-content h2 { margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: var(--font-heading); color: var(--text); }

/* ══════════════════════════════════════════
   TURNSTILE WIDGET — DESIGN INTEGRATION
══════════════════════════════════════════ */
.turnstile-wrap {
  margin: 10px 0 2px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-muted);
  border: 1.5px solid var(--border-light);
  transition: border-color 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.turnstile-wrap .cf-turnstile {
  width: 100% !important;
}
.turnstile-wrap .cf-turnstile iframe {
  border-radius: 6px !important;
  max-width: 100% !important;
}
[data-theme="dark"] .turnstile-wrap {
  background: var(--bg-alt);
  border-color: var(--border);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .topbar .hide-tablet { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta-guest { display: none; }
  .nav-cta-auth { padding: 7px 12px; font-size: 12px; }
  .nav-cta-logout { padding: 7px 10px; font-size: 11px; }
  .mobile-menu-btn { display: flex; }
  .hero-inner { flex-direction: column-reverse; padding: 28px 0 40px; gap: 28px; }
  .search-card { width: 100% !important; border-radius: 16px; padding: 22px 18px; }
  .hero-content { text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-features { justify-content: center; }
  .form-row { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-banner { padding: 36px 24px; }
  .trust-strip { gap: 8px; }
  .trust-badge { font-size: 11px; padding: 4px 10px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 24px; }
  .campaign-form-card { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .topbar { padding: 6px 16px; font-size: 11px; }
  .topbar .hide-mobile { display: none; }
  .navbar { padding: 10px 16px; }
  .nav-cta-auth { padding: 7px 10px; font-size: 0; gap: 0; }
  .nav-cta-auth i { width: 16px; height: 16px; }
  .nav-cta-logout { padding: 7px 10px; font-size: 0; gap: 0; }
  .nav-cta-logout i { width: 14px; height: 14px; }
  .hero { padding: 0 16px; }
  .section { padding: 56px 16px; }
  .content-section { padding: 48px 16px; }
  .cta-section { padding: 0 16px 56px; }
  .footer { padding: 36px 16px 24px; }
}
