/* =============================================
   AutoTrend – Main Stylesheet
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;
  --neutral: #6b7280;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface2: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.07);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 12px;
}
.section-badge.fire { background: #fef3c7; color: #d97706; }
.section-title { font-size: clamp(28px,4vw,42px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 12px; }
.section-subtitle { font-size: 17px; color: var(--text-2); max-width: 560px; margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 600; font-size: 15px; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 20px rgba(37,99,235,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,.45); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 17px; border-radius: 14px; }

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,.97); box-shadow: var(--shadow-md); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800; color: var(--primary);
}
.nav-logo i { font-size: 20px; }
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-link {
  padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--text-2); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; background: var(--gradient); color: #fff;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: var(--transition); box-shadow: 0 3px 12px rgba(37,99,235,.3);
}
.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,99,235,.4); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ==============================
   HERO SECTION
   ============================== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);
  display: flex; align-items: center;
  padding: 100px 24px 60px;
  position: relative; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(99,102,241,.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139,92,246,.15) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(37,99,235,.1) 0%, transparent 40%);
  pointer-events: none;
}
.hero-section > .hero-content, .hero-section > .hero-visual {
  position: relative; z-index: 1;
}
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "content visual";
  max-width: 1300px; margin: 0 auto; gap: 60px;
  padding: 130px 60px 80px;
}
.hero-content { grid-area: content; }
.hero-visual { grid-area: visual; display: flex; align-items: center; justify-content: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); color: #bfdbfe;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  padding: 6px 16px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(40px, 5vw, 68px); font-weight: 900;
  line-height: 1.1; letter-spacing: -1.5px; color: #fff; margin-bottom: 20px;
}
.hero-subtitle { font-size: 18px; color: #93c5fd; margin-bottom: 36px; max-width: 480px; line-height: 1.7; }
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; padding: 20px 28px; width: fit-content;
}
.hero-stat { text-align: center; padding: 0 24px; }
.hero-stat:first-child { padding-left: 0; }
.stat-number { display: block; font-size: 24px; font-weight: 800; color: #fff; }
.stat-label { display: block; font-size: 12px; color: #93c5fd; margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* Hero Car Card */
.hero-car-card {
  background: white; border-radius: var(--radius-xl); padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  width: 300px; position: relative;
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.car-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.trending-badge {
  background: #fef3c7; color: #d97706; border-radius: 999px;
  padding: 4px 12px; font-size: 12px; font-weight: 700;
}
.score-badge { border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; }
.score-great { background: #d1fae5; color: #059669; }
.score-good { background: #dbeafe; color: #2563eb; }
.score-caution { background: #fef3c7; color: #d97706; }
.score-avoid { background: #fee2e2; color: #dc2626; }
.car-icon-display { font-size: 56px; text-align: center; margin: 8px 0; }
.car-card-info h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.car-price { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.price-change { font-size: 13px; font-weight: 600; }
.price-change.up { color: var(--success); }
.price-change.down { color: var(--danger); }
.mini-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.mini-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-2); }
.mini-bar-row span { width: 90px; flex-shrink: 0; }
.mini-bar-bg { flex: 1; height: 6px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.mini-bar-fill { height: 100%; background: var(--primary); border-radius: 99px; transition: width 1s ease; }
.mini-bar-fill.green { background: var(--success); }
.verdict-chip {
  text-align: center; padding: 8px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 700;
}
.verdict-buy { background: #d1fae5; color: #059669; }
.verdict-wait { background: #fef3c7; color: #d97706; }
.verdict-avoid { background: #fee2e2; color: #dc2626; }

/* Floating Cards */
.floating-cards { position: absolute; }
.float-card {
  position: absolute; background: white; border-radius: 12px;
  padding: 10px 16px; font-size: 12px; font-weight: 700; color: var(--text);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.float-card i { color: var(--success); }
.fc1 { top: -80px; right: -40px; animation: floatCard 3.5s ease-in-out infinite .5s; }
.fc2 { bottom: -40px; right: -60px; animation: floatCard 4.5s ease-in-out infinite 1s; }
.fc3 { top: 40px; left: -100px; animation: floatCard 4s ease-in-out infinite 1.5s; }

/* ==============================
   MARKET PULSE
   ============================== */
.market-pulse-section { background: white; }
.pulse-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px;
}
.pulse-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition);
}
.pulse-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pulse-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.pulse-up .pulse-icon { background: #d1fae5; color: #059669; }
.pulse-down .pulse-icon { background: #fee2e2; color: #dc2626; }
.pulse-neutral .pulse-icon { background: #dbeafe; color: #2563eb; }
.pulse-data { flex: 1; }
.pulse-value { display: block; font-size: 28px; font-weight: 800; }
.pulse-up .pulse-value { color: #059669; }
.pulse-down .pulse-value { color: #dc2626; }
.pulse-neutral .pulse-value { color: #2563eb; }
.pulse-label { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.pulse-sub { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.pulse-trend { font-size: 20px; }
.pulse-trend { color: #059669; }
.pulse-trend.down { color: #dc2626; }
.pulse-trend.neutral { color: #2563eb; }
.pulse-trend.warn { color: #d97706; }

/* Charts */
.chart-section { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.chart-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.chart-card-header {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px;
}
.chart-card-header h3 { font-size: 18px; font-weight: 700; color: var(--text); }
.chart-card-header p { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.chart-legend { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.legend-dot.blue { background: var(--primary); }
.legend-dot.orange { background: var(--accent); }

/* ==============================
   TRENDING VEHICLES
   ============================== */
.trending-section { background: var(--bg); }
.filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px;
}
.filter-tab {
  padding: 9px 22px; border-radius: 999px;
  border: 2px solid var(--border); background: white;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: var(--transition);
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active { background: var(--gradient); color: white; border-color: transparent; box-shadow: 0 4px 14px rgba(37,99,235,.3); }
.vehicles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.vehicle-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); cursor: pointer; position: relative;
}
.vehicle-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.vehicle-card-top {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  padding: 28px; text-align: center; position: relative;
}
.vehicle-card-top .car-emoji { font-size: 56px; }
.vehicle-rank-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gradient); color: white; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
}
.vehicle-type-badge {
  position: absolute; top: 12px; right: 12px;
  background: white; color: var(--text-2); font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border);
}
.vehicle-card-body { padding: 20px; }
.vehicle-name { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.vehicle-price-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.vehicle-price { font-size: 20px; font-weight: 800; color: var(--primary); }
.vehicle-change { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.change-up { background: #d1fae5; color: #059669; }
.change-down { background: #fee2e2; color: #dc2626; }
.change-neutral { background: #f1f5f9; color: var(--text-2); }
.vehicle-metrics { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.metric-row { display: flex; align-items: center; justify-content: space-between; }
.metric-label { font-size: 12px; color: var(--text-2); font-weight: 500; }
.metric-bar-wrap { display: flex; align-items: center; gap: 8px; }
.metric-bar-bg { width: 80px; height: 5px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.metric-bar-fill { height: 100%; background: var(--primary); border-radius: 99px; }
.metric-score-text { font-size: 11px; font-weight: 700; color: var(--text-2); width: 24px; text-align: right; }
.vehicle-verdict { text-align: center; padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 700; }
.vehicle-card-footer {
  padding: 12px 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: center;
}
.check-vehicle-btn {
  font-size: 13px; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; gap: 5px;
  transition: var(--transition);
}
.check-vehicle-btn:hover { gap: 9px; }

/* ==============================
   CATEGORIES
   ============================== */
.categories-section { background: white; }
.categories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.category-card {
  background: var(--bg); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
  display: block;
}
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.category-card.highlight-card { border-color: #f59e0b; background: #fffbeb; }
.category-card.highlight-card:hover { border-color: #d97706; box-shadow: 0 16px 40px rgba(245,158,11,.2); }
.cat-icon { font-size: 48px; margin-bottom: 14px; }
.category-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.category-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.cat-stats { display: flex; align-items: center; justify-content: space-between; }
.cat-stat { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.cat-stat.up { color: var(--success); }
.cat-stat.down { color: var(--danger); }
.cat-stat.neutral { color: var(--text-2); }
.cat-rec { font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.cat-rec.buy { background: #d1fae5; color: #059669; }
.cat-rec.neutral { background: #fef3c7; color: #d97706; }
.cat-rec.caution { background: #fee2e2; color: #dc2626; }
.cat-hot-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gradient-warm); color: white;
  font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}

/* ==============================
   CTA BANNER
   ============================== */
.cta-banner-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #7c3aed 100%);
  padding: 80px 24px; position: relative; overflow: hidden;
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.05) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(255,255,255,.05) 0%, transparent 60%);
}
.cta-banner-content {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-text { color: white; }
.cta-text h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; margin-bottom: 12px; }
.cta-text p { font-size: 17px; color: #93c5fd; max-width: 520px; line-height: 1.7; }

/* ==============================
   FOOTER
   ============================== */
.footer { background: #0f172a; color: #94a3b8; padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
}
.footer-logo { font-size: 22px; font-weight: 800; color: white; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08); color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; }
.footer-links h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #94a3b8; transition: var(--transition); }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px;
  text-align: center; font-size: 13px;
}

/* ==============================
   ADVISOR PAGE
   ============================== */
.advisor-hero {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  padding: 130px 24px 60px; text-align: center;
}
.advisor-hero-content .section-badge { background: rgba(255,255,255,.15); color: #bfdbfe; border: 1px solid rgba(255,255,255,.2); }
.advisor-hero-content h1 { font-size: clamp(32px,5vw,54px); font-weight: 900; color: white; letter-spacing: -.5px; margin: 14px 0; }
.advisor-hero-content p { font-size: 18px; color: #93c5fd; max-width: 520px; margin: 0 auto; line-height: 1.7; }

.advisor-main { padding: 60px 0 100px; }

/* Step Indicator */
.step-indicator {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-bottom: 48px;
}
.step-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-circle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--border); background: white; color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; transition: var(--transition);
}
.step-item.active .step-circle { background: var(--gradient); color: white; border-color: transparent; box-shadow: 0 4px 14px rgba(37,99,235,.35); }
.step-item.completed .step-circle { background: var(--success); color: white; border-color: transparent; }
.step-item span { font-size: 12px; font-weight: 600; color: var(--text-3); }
.step-item.active span { color: var(--primary); }
.step-line { width: 80px; height: 3px; background: var(--border); margin: 0 0 20px; flex-shrink: 0; }

/* Step Cards */
.step-card {
  background: white; border-radius: var(--radius-xl); padding: 40px;
  box-shadow: var(--shadow-md); border: 1.5px solid var(--border);
}
.step-card-header { margin-bottom: 32px; }
.step-card-header h2 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.step-card-header h2 i { color: var(--primary); }
.step-card-header p { color: var(--text-2); }

/* Quick Select */
.quick-select-section { margin-bottom: 28px; }
.form-section-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.quick-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.quick-select-card {
  background: var(--bg); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  cursor: pointer; transition: var(--transition); text-align: center;
}
.quick-select-card:hover { border-color: var(--primary); background: var(--primary-light); }
.quick-select-card.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.qs-emoji { font-size: 32px; margin-bottom: 6px; }
.qs-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.qs-price { font-size: 12px; color: var(--primary); font-weight: 600; }
.qs-type { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* Form */
.or-divider {
  text-align: center; position: relative; margin: 24px 0;
}
.or-divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border);
}
.or-divider span {
  background: white; position: relative; padding: 0 16px;
  font-size: 13px; font-weight: 600; color: var(--text-3);
}
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.form-row .full-width { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.required { color: var(--danger); }
.form-control {
  width: 100%; padding: 11px 14px; border-radius: var(--radius); border: 2px solid var(--border);
  font-size: 15px; color: var(--text); background: var(--bg);
  transition: var(--transition); appearance: none;
}
.form-control:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.checkbox-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer;
  font-size: 13px; font-weight: 500; transition: var(--transition);
}
.checkbox-item:hover { border-color: var(--primary); background: var(--primary-light); }
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--primary); }
.step-actions { display: flex; gap: 14px; justify-content: flex-end; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }

/* Results */
.verdict-banner {
  border-radius: var(--radius-xl); padding: 32px 40px;
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 32px; box-shadow: var(--shadow-md);
}
.verdict-banner.buy { background: linear-gradient(135deg, #059669, #10b981); color: white; }
.verdict-banner.wait { background: linear-gradient(135deg, #d97706, #f59e0b); color: white; }
.verdict-banner.avoid { background: linear-gradient(135deg, #dc2626, #ef4444); color: white; }
.verdict-icon { font-size: 52px; }
.verdict-text h2 { font-size: 28px; font-weight: 900; margin-bottom: 6px; }
.verdict-text p { font-size: 16px; opacity: .92; max-width: 600px; line-height: 1.6; }
.verdict-score-badge {
  margin-left: auto; background: rgba(255,255,255,.2);
  border-radius: 16px; padding: 16px 24px; text-align: center; flex-shrink: 0;
}
.verdict-score-badge .big-score { font-size: 48px; font-weight: 900; display: block; }
.verdict-score-badge span:last-child { font-size: 12px; opacity: .85; }

.results-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: auto auto auto;
  gap: 24px;
}
.result-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.result-card h3 {
  font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.result-card h3 i { color: var(--primary); }

/* Score card */
.score-card { grid-row: span 2; }
.score-display { position: relative; text-align: center; margin-bottom: 20px; }
.score-number { font-size: 48px; font-weight: 900; color: var(--text); margin: 8px 0 4px; }
.score-label-text { font-size: 14px; font-weight: 600; color: var(--text-2); }
.score-breakdown { display: flex; flex-direction: column; gap: 10px; }
.score-row { display: flex; align-items: center; gap: 10px; }
.score-row-label { font-size: 13px; color: var(--text-2); flex: 1; }
.score-bar-bg { width: 80px; height: 6px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 99px; transition: width 1.2s ease; }
.score-row-val { font-size: 12px; font-weight: 700; color: var(--text); width: 30px; text-align: right; }

/* Factors */
.factors-card { grid-column: 2; }
.factors-list { display: flex; flex-direction: column; gap: 14px; }
.factor-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px; background: var(--bg); border-radius: var(--radius); }
.factor-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.factor-icon.positive { background: #d1fae5; color: #059669; }
.factor-icon.neutral { background: #dbeafe; color: #2563eb; }
.factor-icon.negative { background: #fee2e2; color: #dc2626; }
.factor-icon.warning { background: #fef3c7; color: #d97706; }
.factor-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.factor-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.factor-badge { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-top: 5px; display: inline-block; }
.factor-badge.positive { background: #d1fae5; color: #059669; }
.factor-badge.negative { background: #fee2e2; color: #dc2626; }
.factor-badge.neutral { background: #dbeafe; color: #2563eb; }
.factor-badge.warning { background: #fef3c7; color: #d97706; }

/* Pros Cons */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros-col h4, .cons-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.pros-col h4 { color: #059669; }
.cons-col h4 { color: #dc2626; }
.pro-item, .con-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.pro-item::before { content: '✓'; color: #059669; font-weight: 800; flex-shrink: 0; }
.con-item::before { content: '✗'; color: #dc2626; font-weight: 800; flex-shrink: 0; }

/* Alternatives */
.alternatives-list { display: flex; flex-direction: column; gap: 12px; }
.alt-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; background: var(--bg); border-radius: var(--radius);
  border: 1.5px solid var(--border); transition: var(--transition); cursor: pointer;
}
.alt-item:hover { border-color: var(--primary); background: var(--primary-light); }
.alt-emoji { font-size: 28px; }
.alt-info { flex: 1; }
.alt-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.alt-why { font-size: 12px; color: var(--text-2); }
.alt-score { font-size: 13px; font-weight: 800; color: var(--primary); }

/* Tips */
.tips-list { display: flex; flex-direction: column; gap: 12px; }
.tip-item { display: flex; gap: 12px; padding: 14px; background: var(--bg); border-radius: var(--radius); }
.tip-num {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gradient); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.tip-text { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.tip-text strong { color: var(--text); }

/* Market Analysis */
.market-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-right: 6px; margin-bottom: 10px;
}
.market-tag.up { background: #d1fae5; color: #059669; }
.market-tag.down { background: #fee2e2; color: #dc2626; }
.market-tag.neutral { background: #dbeafe; color: #2563eb; }
.market-tag.warn { background: #fef3c7; color: #d97706; }
.market-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.market-stat-box { background: var(--bg); border-radius: var(--radius); padding: 14px; }
.market-stat-val { font-size: 20px; font-weight: 800; color: var(--text); display: block; }
.market-stat-lbl { font-size: 12px; color: var(--text-3); }

.results-actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; }

/* Loading State */
.loading-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.7); z-index: 9999;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.loading-box {
  background: white; border-radius: var(--radius-xl); padding: 48px 56px;
  text-align: center; box-shadow: var(--shadow-xl);
}
.loading-spinner {
  width: 56px; height: 56px; border: 5px solid var(--primary-light);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-box p { font-size: 17px; font-weight: 600; color: var(--text-2); }
.loading-box .loading-sub { font-size: 14px; color: var(--text-3); margin-top: 6px; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1100px) {
  .hero-section { grid-template-columns: 1fr; grid-template-areas: "content" "visual"; padding: 120px 24px 60px; text-align: center; }
  .hero-visual { justify-content: center; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-subtitle { margin: 0 auto 36px; }
  .chart-section { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .score-card { grid-row: span 1; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: white; flex-direction: column; padding: 16px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--border); gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .pulse-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 60%; height: 1px; }
  .cta-banner-content { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .verdict-banner { flex-direction: column; text-align: center; }
  .verdict-score-badge { margin: 0 auto; }
  .pros-cons-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pulse-grid { grid-template-columns: 1fr; }
  .hero-car-card { width: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .quick-select-grid { grid-template-columns: repeat(2, 1fr); }
  .checkbox-grid { grid-template-columns: 1fr; }
}
