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

:root {
  --black: #080808;
  --white: #ffffff;
  --accent: #E8FF47;
  --accent-dim: rgba(232,255,71,0.12);
  --accent-dark: #b8cc20;
  --surface: #111111;
  --surface2: #191919;
  --surface3: #222222;
  --border: rgba(255,255,255,0.11);
  --border-hover: rgba(255,255,255,0.22);
  --text-muted: #888;
  --text-secondary: #aaa;
  --green: #22c55e;
  --green-bg: rgba(34,197,94,0.08);
  --green-border: rgba(34,197,94,0.25);
  --orange: #f97316;
  --orange-bg: rgba(249,115,22,0.08);
  --orange-border: rgba(249,115,22,0.25);
  --red: #ef4444;
  --red-bg: rgba(239,68,68,0.08);
  --red-border: rgba(239,68,68,0.25);
  --radius: 20px;
  --radius-sm: 12px;

  /* Spacing scale */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Type scale (landing/rebuilt sections) */
  --fs-display: clamp(58px, 7vw, 108px);
  --fs-h2: clamp(38px, 5vw, 62px);
  --fs-h3: clamp(24px, 3vw, 32px);
  --fs-lead: clamp(15px, 2.4vw, 19px);
  --fs-body: 14.5px;
  --fs-small: 12.5px;

  /* Motion timing */
  --ease-out-premium: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .2s;
  --dur-base: .45s;
  --dur-slow: .8s;

  /* Elevation */
  --shadow-card: 0 12px 40px rgba(0,0,0,.35);
  --shadow-card-hover: 0 20px 60px rgba(0,0,0,.5);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background effects */
.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.orb1 {
  width: 600px; height: 600px;
  background: #E8FF47;
  opacity: .08;
  top: -250px; right: -200px;
}
.orb2 {
  width: 500px; height: 500px;
  background: #a78bfa;
  opacity: .09;
  bottom: -150px; left: -200px;
}
.orb3 { display: none; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(10px);
  background: rgba(8,8,8,0.8);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--white);
  white-space: nowrap;
}

.nav-badge {
  background: var(--accent-dim);
  border: 1px solid rgba(232,255,71,0.2);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  max-width: 700px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: var(--surface2);
  border: 0.5px solid var(--border-hover);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 16px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.highlight {
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}

/* Checker */
.checker-wrap {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.checker-card {
  background: var(--surface);
  border: 0.5px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 0.5px rgba(255,255,255,0.04) inset;
}

/* Steps nav */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--border);
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  transition: opacity 0.3s;
}

.step.active { opacity: 1; }

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 1px;
}

.step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.step-line {
  flex: 1;
  height: 0.5px;
  background: var(--border-hover);
  margin: 0 1rem;
}

/* Fields */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-icon { font-size: 14px; }

input {
  background: var(--surface2);
  border: 0.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}

input::placeholder { color: #555; }

input:focus {
  border-color: rgba(232,255,71,0.5);
  background: var(--surface3);
}

/* Custom select */
.custom-select-field {
  position: relative;
}

.custom-select {
  width: 100%;
  padding: 14px 16px;
  border: 0.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  background: var(--surface2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.custom-select:active { transform: scale(.99); }

.custom-select-chevron {
  transition: transform 0.22s var(--ease-out-premium, ease);
  flex-shrink: 0;
}

.custom-select-field.open .custom-select-chevron { transform: rotate(180deg); }

.custom-select-value {
  flex: 1;
  text-align: left;
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: var(--surface2);
  border: 0.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.18s ease;
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
}

.custom-select-field.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  cursor: pointer;
  color: var(--white);
}

.custom-select-option:hover,
.custom-select-option.active {
  background: rgba(232,255,71,0.07);
}

/* Button */
#check-btn {
  width: 100%;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 16px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.2px;
}

#check-btn:hover {
  background: #f0ff6b;
  transform: translateY(-1px);
}

#check-btn:active { transform: scale(0.98) translateY(0); }
#check-btn:disabled { background: var(--surface3); color: var(--text-muted); box-shadow: none; cursor: not-allowed; transform: none; }

.btn-arrow { font-size: 18px; transition: transform 0.2s; }
#check-btn:hover .btn-arrow { transform: translateX(4px); }

.disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Trust row */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Result */
#result-area { animation: fadeUp 0.4s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-card {
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.result-card.fair   { background: var(--green-bg);  border: 0.5px solid var(--green-border); }
.result-card.high   { background: var(--orange-bg); border: 0.5px solid var(--orange-border); }
.result-card.scam   { background: var(--red-bg);    border: 0.5px solid var(--red-border); }

.verdict-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  justify-content: center;
}

.verdict-icon { font-size: 28px; }

.verdict-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.5px;
  line-height: 1;
}

.verdict-label.fair  { color: var(--green); }
.verdict-label.high  { color: var(--orange); }
.verdict-label.scam  { color: var(--red); }

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.price-box {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 12px 14px;
}

.plabel {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 5px;
  font-weight: 600;
}

.pval {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--white);
}

.summary-text {
  font-size: 14px;
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-align: center;
}

.tip-row {
  background: rgba(232,255,71,0.05);
  border: 0.5px solid rgba(232,255,71,0.15);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #ccc;
  line-height: 1.6;
  text-align: center;
}

.tip-row strong { color: var(--accent); }

.reset-btn {
  width: 100%;
  background: transparent;
  border: 0.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 13px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.reset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.error-msg {
  color: var(--red);
  font-size: 14px;
  line-height: 1.6;
  background: var(--red-bg);
  border: 0.5px solid var(--red-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  width: 100%;
}
/* Verdict Meter */
.verdict-meter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1rem;
}

.vm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.vm-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface3);
  border: 0.5px solid var(--border);
  transition: all 0.3s;
}

.vm-line {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-bottom: 19px;
}

.vm-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vm-active .vm-dot {
  width: 18px;
  height: 18px;
}

/* Savings Badge */
.savings-badge {
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.savings-fair {
  background: rgba(34,197,94,0.08);
  border: 0.5px solid rgba(34,197,94,0.2);
  color: #22c55e;
}

.savings-high {
  background: rgba(249,115,22,0.08);
  border: 0.5px solid rgba(249,115,22,0.2);
  color: #f97316;
}

.savings-scam {
  background: rgba(239,68,68,0.08);
  border: 0.5px solid rgba(239,68,68,0.2);
  color: #ef4444;
}

/* Price Bar */
.price-bar-wrap {
  margin: 1rem 0;
}

.price-bar-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-bar-track {
  position: relative;
  height: 8px;
  background: var(--surface3);
  border-radius: 4px;
  margin-bottom: 6px;
}

.price-bar-range {
  position: absolute;
  height: 100%;
  background: rgba(34,197,94,0.25);
  border: 0.5px solid rgba(34,197,94,0.4);
  border-radius: 4px;
}

.price-bar-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  cursor: pointer;
}

.price-bar-tooltip {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 0.5px solid var(--border-hover);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.price-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

/* Tip Cards */
.tip-cards-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.tip-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tip-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(232,255,71,0.04);
  border: 0.5px solid rgba(232,255,71,0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ccc;
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}

.how-it-works h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.step-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.step-card-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.step-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  background: #080808;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 0.5px solid var(--border);
}

footer .logo-text {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--white);
  display: block;
}

footer p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-copy { font-size: 11px; color: #757575; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }

/* ============================================================
   MOBILE — full premium rebuild
   ============================================================ */
@media (max-width: 768px) {

  body { overflow-x: hidden; }
  main { overflow-x: hidden; }

  /* ── Orbs: subtle on mobile ── */
  .glow-orb { opacity: 0.07; }
  .orb1 { width: 300px; height: 300px; top: -80px; right: -60px; }
  .orb2 { width: 260px; height: 260px; bottom: -50px; left: -60px; }
  .orb3 { display: none; }

  /* ── Hero ── */
  .hero {
    padding: 2.25rem 1.25rem 1.5rem;
  }
  .hero h1 {
    font-size: clamp(42px, 11vw, 68px);
    line-height: 0.92;
    letter-spacing: .5px;
  }
  .hero-tag {
    font-size: 11px; padding: 5px 13px; margin-bottom: 1rem;
  }
  .hero-sub {
    font-size: 14.5px; line-height: 1.65; color: #999;
  }

  /* ── Checker card — edge-to-edge, native feel ── */
  .checker-wrap { padding: 0 0 3rem; }
  .checker-card {
    border-radius: 0;
    border-left: none; border-right: none;
    padding: 1.5rem 1.25rem;
    box-shadow: none;
    background: #0c0c0c;
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  /* ── Steps ── */
  .steps { margin-bottom: 1.5rem; padding-bottom: 1.25rem; }
  .step-label { font-size: 11px; }
  .step-num { font-size: 16px; }

  /* ── Fields ── */
  .field-group { gap: 0.85rem; }
  .field input, .field select, .field textarea {
    font-size: 16px; /* stops iOS zoom */
    padding: 14px 15px;
    border-radius: 14px;
    background: #111;
    border: 1px solid rgba(255,255,255,.1);
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: rgba(232,255,71,.4);
    background: #141414;
  }
  .field label { font-size: 11.5px; letter-spacing: .8px; }
  select { font-size: 16px; border-radius: 14px; }

  /* ── Main submit button ── */
  #check-btn, #roast-btn, #battle-btn, #value-btn,
  #vin-btn, #ins-btn, #rt-btn, #fuel-btn {
    padding: 17px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 16px;
    width: 100%;
    letter-spacing: .2px;
  }

  /* ── Trust row ── */
  .trust-row {
    gap: 0.75rem; margin: 1rem 0.25rem 0;
    flex-wrap: wrap; justify-content: center;
  }
  .trust-item { font-size: 12px; gap: 5px; }

  /* ── Result cards ── */
  .verdict-box { padding: 1.25rem; border-radius: 18px; }
  .verdict-main { font-size: 22px; }
  .cost-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .cost-tile { padding: 1rem; border-radius: 14px; }
  .cost-tile-value { font-size: 28px; }
  .tip-cards-wrap { gap: 0.5rem; }
  .tip-card {
    padding: 0.9rem 1rem; font-size: 13px;
    border-radius: 14px; line-height: 1.6;
  }
  .breakdown-row { font-size: 13px; padding: 11px 0; }
  .price-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .result-card { border-radius: 18px; padding: 1.25rem; }
  .info-box { border-radius: 16px; }

  /* ── Reset/share/save buttons ── */
  .reset-btn, .share-btn {
    padding: 14px; font-size: 14px; border-radius: 14px; font-weight: 600;
  }
  .cv-save-btn-wrap button {
    padding: 14px; font-size: 14px; border-radius: 14px;
  }

  /* ── How it works section ── */
  .how-it-works { padding: 2.5rem 1.25rem 2rem; }
  .how-it-works h2 { font-size: 36px; margin-bottom: 1.5rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 0.65rem; }
  .step-card {
    padding: 1.1rem 1.25rem;
    display: flex; align-items: flex-start; gap: 14px;
    text-align: left; border-radius: 18px;
  }
  .step-card-num { font-size: 26px; flex-shrink: 0; line-height: 1; margin-bottom: 0; }
  .step-card h3 { font-size: 14px; margin-bottom: 0.2rem; }
  .step-card p { font-size: 12.5px; line-height: 1.6; }

  /* ── Footer ── */
  footer { padding: 2rem 1.25rem; }

  /* ── Touch active feedback ── */
  .checker-card input:active, .field input:active { transform: none; }
  a:active, button:active { opacity: .85; }
  .step-card:active { background: rgba(255,255,255,.035); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(38px, 12vw, 56px); }
  .checker-card { padding: 1.25rem 1rem; }
  .hero { padding: 2rem 1rem 1.25rem; }
}

/* Shared nav styles (used on all pages) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 0.5px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--white);
  background: var(--surface2);
}

.nav-link.active {
  color: var(--accent);
  border-color: rgba(232,255,71,0.2);
  background: var(--accent-dim);
}



/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE FULL-SCREEN NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 9999;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.mobile-nav.open {
  display: flex;
  animation: navSlideIn 0.35s cubic-bezier(0.16,1,0.3,1);
}

@keyframes navSlideIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Fixed header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  flex-shrink: 0;
  position: relative;
}
.mobile-nav-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 2px;
}
.mobile-nav-brand span {
  color: #E8FF47;
}

/* Scrollable content */
.mobile-nav-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 1.25rem 3rem;
}

/* Section label */
.mobile-nav-section-label {
  font-size: 10px;
  font-weight: 700;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1.5rem 2px 0.6rem;
}

/* Home button - full width hero style */
.mobile-nav-home {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  padding: 16px 18px !important;
  background: linear-gradient(135deg, rgba(232,255,71,0.1), rgba(232,255,71,0.04)) !important;
  border: 0.5px solid rgba(232,255,71,0.3) !important;
  border-radius: 16px !important;
  color: #E8FF47 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin-bottom: 1rem !important;
  box-sizing: border-box !important;
}
.mobile-nav-home.active, .mobile-nav-home:hover {
  background: linear-gradient(135deg, rgba(232,255,71,0.15), rgba(232,255,71,0.06)) !important;
  border-color: rgba(232,255,71,0.5) !important;
}

.mobile-nav-separator { display: none; }

/* Tool group */
.mobile-nav-group {
  background: #0f0f0f;
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.mobile-nav-group a {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
  color: #bbb;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.15s;
  box-sizing: border-box;
}
.mobile-nav-group a:last-child { border-bottom: none; }
.mobile-nav-group a:hover, .mobile-nav-group a.active {
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.mobile-nav-group a.active { color: #E8FF47; }

/* needed to override generic .mobile-nav a style */
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #bbb;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.15s;
  box-sizing: border-box;
  background: transparent;
  border: none;
}

/* Icon wrap */
.mobile-nav-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Upgrade to Pro special styling */
.mobile-nav-upgrade {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  background: linear-gradient(135deg, rgba(232,255,71,0.08), transparent);
  border: 0.5px solid rgba(232,255,71,0.2);
  border-radius: 16px;
  color: #E8FF47 !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  margin-top: 0.75rem;
  box-sizing: border-box;
}
.mobile-nav-upgrade:hover {
  background: linear-gradient(135deg, rgba(232,255,71,0.12), transparent);
  border-color: rgba(232,255,71,0.4);
}

/* Badges */
.mobile-tool-badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.mobile-tool-badge.free {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  border: 0.5px solid rgba(34,197,94,0.25);
}
.mobile-tool-badge.limited {
  background: rgba(255,255,255,0.04);
  color: #555;
  border: 0.5px solid rgba(255,255,255,0.06);
}
.mobile-tool-badge.desktop-badge {
  margin-left: 8px;
  padding: 3px 8px;
  font-size: 10px;
}

/* Fixed close button */
.mobile-nav-close {
  position: fixed;
  top: 1.1rem;
  right: 1.4rem;
  background: #1c1c1c;
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #888;
  font-size: 16px;
  z-index: 10000;
  transition: all 0.2s;
}
.mobile-nav-close:hover {
  background: #252525;
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* ===== DESKTOP DROPDOWN ===== */
.nav-dropdown { position: relative; }

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border: 0.5px solid var(--border-hover);
  border-radius: 100px;
  color: var(--white);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  transition: all 0.2s;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.open {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}
.chevron-icon { transition: transform 0.2s ease; }
.nav-dropdown-btn.open .chevron-icon { transform: rotate(180deg); }

/* THE DROPDOWN PANEL - hidden by default */
.nav-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 9999;
  overflow-y: auto;
  padding: 80px 1.5rem 2rem;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.nav-dropdown-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #999;
  border: 0.5px solid rgba(255,255,255,0.07);
  background: #111;
  transition: all 0.2s;
}
.dropdown-item:hover {
  background: #191919;
  color: #fff;
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.dropdown-item.active {
  background: rgba(232,255,71,0.12);
  color: #E8FF47;
  border-color: rgba(232,255,71,0.3);
}
.di-title { font-size: 13px; font-weight: 600; color: #fff; display: block; line-height: 1.3; }
.di-sub { font-size: 11px; color: #666; margin-top: 2px; display: block; }
.dropdown-item.active .di-title { color: #E8FF47; }
.dropdown-item.active .di-sub { color: rgba(232,255,71,0.5); }
.dropdown-overlay-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  color: #fff;
  letter-spacing: 1px;
}
.dropdown-close-btn {
  background: #191919;
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.dropdown-close-btn:hover { border-color: #E8FF47; color: #E8FF47; }
.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 900px) {
  header { padding: 1rem 1rem; }
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  .header-nav { display: none; }
  .mobile-nav a { max-width: 100%; }
  .mobile-nav-home { max-width: 100%; }
  .mobile-nav-separator { width: calc(100% - 3rem); }
}
@media (max-width: 600px) {
  .dropdown-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Tools Dropdown Panel
============================================ */
.nav-dropdown { position: relative; }

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border: 0.5px solid var(--border-hover);
  border-radius: 100px;
  color: var(--white);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  transition: all 0.2s;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.open,
.nav-dropdown-btn.has-active {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

.chevron-icon { transition: transform 0.2s; }
.nav-dropdown-btn.open .chevron-icon { transform: rotate(180deg); }

.dropdown-panel {
  position: fixed;
  top: 70px;
  right: 1rem;
  width: 420px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 90px);
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #111;
  border: 0.5px solid rgba(255,255,255,0.12);
  scrollbar-width: none; /* Hide Firefox scrollbar */
  -ms-overflow-style: none; /* Hide IE/Edge scrollbar */
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  will-change: opacity, transform;
}

.dropdown-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.dropdown-panel::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-panel::-webkit-scrollbar-thumb {
  background: transparent;
}

.dropdown-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  position: relative;
  top: 0;
  padding-top: 0.5rem;
  padding-right: 4rem;
  z-index: 1;
}

.dropdown-panel-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 1px;
}

.dropdown-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #191919;
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #999;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.dropdown-close-btn:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #999;
  border: 0.5px solid rgba(255,255,255,0.06);
  background: #191919;
  transition: all 0.15s;
}

.dropdown-item:hover {
  background: #222;
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}

.dropdown-item.active {
  background: rgba(232,255,71,0.1);
  border-color: rgba(232,255,71,0.25);
  color: #E8FF47;
}

.di-icon {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.di-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.3;
}

.dropdown-item.active .di-title { color: #E8FF47; }

@media (max-width: 600px) {
  .dropdown-panel {
    top: 70px;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-height: calc(100vh - 90px);
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }
  .dropdown-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .dropdown-grid { grid-template-columns: 1fr; }
}
/* ===== PREMIUM SELECT DROPDOWNS ===== */
select {
  background: var(--surface2);
  border: 0.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 14px 40px 14px 16px;
  outline: none;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all 0.2s;
}

select:focus {
  border-color: rgba(232,255,71,0.5);
  background-color: var(--surface3);
}

select:hover { border-color: var(--border-hover); }
select option { background: #1a1a1a; color: var(--white); padding: 8px; }

/* Wrap selects for custom arrow */
.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
}

/* ============================================
   Usage Badge — global styles
   ============================================ */
.cl-usage-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 10px auto 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  transition: opacity 0.3s;
}

.fb-footer-link {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.fb-footer-link:hover {
  color: var(--accent);
}

/* Confidence bar */
.confidence-wrap {
  margin-bottom: 1rem;
}
.confidence-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.confidence-track {
  height: 5px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: hidden;
}
.confidence-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}
/* ==========================================
   RESULT CARD GLOBAL UPGRADES
   ========================================== */

/* Animated fade-up for all results */
@keyframes resultReveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Verdict cards */
.verdict-box {
  animation: resultReveal 0.5s cubic-bezier(0.16,1,0.3,1);
}

/* Big number displays */
.stat-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 1px;
  color: #E8FF47;
}

/* Info box - used across tools */
.info-box {
  background: #111;
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
}
.info-box-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.info-box-text {
  font-size: 13px;
  color: #999;
  line-height: 1.65;
}

/* Metric row - label + value inline */
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.metric-row:last-child { border-bottom: none; }
.metric-label { color: #666; }
.metric-value { color: #fff; font-weight: 600; }

/* Score pill */
.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

/* Section divider */
.result-divider {
  height: 0.5px;
  background: rgba(255,255,255,0.06);
  margin: 1rem 0;
}

/* Tip numbered list */
.tip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0.75rem;
}
.tip-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}
.tip-list-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: #E8FF47;
  flex-shrink: 0;
  width: 20px;
  line-height: 1.2;
}

/* Share/Save button row */
.action-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 1rem;
}

/* Result entry animation */
.result-section {
  animation: resultReveal 0.4s cubic-bezier(0.16,1,0.3,1);
}

/* Saved result replay in history modal */
.saved-result-replay .share-btn,
.saved-result-replay .reset-btn,
.saved-result-replay .cv-save-btn-wrap,
.saved-result-replay .cv-share-img-wrap { display: none !important; }

/* ============================================================
   SKELETON SHIMMER LOADERS
   ============================================================ */
@keyframes cv-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,.04) 25%,
    rgba(255,255,255,.1) 50%,
    rgba(255,255,255,.04) 75%
  );
  background-size: 600px 100%;
  animation: cv-shimmer 1.6s infinite linear;
  border-radius: 10px;
}
.skeleton-card {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 1.25rem;
  overflow: hidden;
}
.skeleton-line {
  height: 14px; border-radius: 7px; margin-bottom: 10px;
  background: linear-gradient(90deg,rgba(255,255,255,.04) 25%,rgba(255,255,255,.09) 50%,rgba(255,255,255,.04) 75%);
  background-size: 600px 100%;
  animation: cv-shimmer 1.6s infinite linear;
}
.skeleton-line.short { width: 55%; }
.skeleton-line.med   { width: 75%; }
.skeleton-line.tall  { height: 20px; border-radius: 10px; }
.skeleton-block {
  border-radius: 14px; margin-bottom: 10px;
  background: linear-gradient(90deg,rgba(255,255,255,.04) 25%,rgba(255,255,255,.09) 50%,rgba(255,255,255,.04) 75%);
  background-size: 600px 100%;
  animation: cv-shimmer 1.6s infinite linear;
}

/* ============================================================
   PULL-TO-REFRESH INDICATOR
   ============================================================ */
#cv-ptr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9100;
  display: flex; align-items: center; justify-content: center;
  height: 56px; pointer-events: none;
  transform: translateY(-100%);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
#cv-ptr.pulling { transform: translateY(0); }
#cv-ptr-inner {
  display: flex; align-items: center; gap: 9px;
  background: #161616; border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; padding: 8px 18px;
}
#cv-ptr-inner svg { transition: transform .3s ease; }
#cv-ptr.ready #cv-ptr-inner { border-color: rgba(232,255,71,.35); }
#cv-ptr.ready #cv-ptr-inner svg { stroke: #E8FF47; transform: rotate(180deg); }
#cv-ptr-label {
  font-size: 12px; font-weight: 700; color: #666; letter-spacing: .3px;
  font-family: 'DM Sans', sans-serif;
}
#cv-ptr.ready #cv-ptr-label { color: #E8FF47; }
.saved-result-replay button { pointer-events: none !important; }