/* ================================================================
   EV COMPARE INDIA — LIGHT EDITION v4
   Aesthetic: Warm Editorial · Cream & Ink · Electric Green Pop
   Fonts: Fraunces (display soul) + DM Sans (body clarity)
   Theme: Light cream backgrounds, warm ink text, vivid green/coral accents
   Performance: CSS-only transitions, no heavy JS animations
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Mono:wght@400;500&display=swap');

:root {
  /* ── Light backgrounds ── */
  --bg:      #faf8f5;
  --bg2:     #f4f1ec;
  --bg3:     #edeae4;
  --card:    #ffffff;
  --card2:   #f9f7f4;
  --card3:   #f2efe9;

  /* ── Ink text ── */
  --text:       #1a1410;
  --text-dim:   #4a3f35;
  --text-muted: #8c7b6e;
  --text-light: #b8a99a;

  /* ── Brand accents ── */
  --green:   #1db954;
  --green2:  #17a248;
  --coral:   #f05c3a;
  --coral2:  #e04528;
  --amber:   #f59e0b;
  --sky:     #0ea5e9;
  --violet:  #7c3aed;
  --rose:    #e11d48;
  
  /* Legacy alias */
  --accent:  var(--green);
  --teal:    var(--green);

  /* ── Gradients ── */
  --grad-green:  linear-gradient(135deg, #1db954 0%, #0ea5e9 100%);
  --grad-coral:  linear-gradient(135deg, #f05c3a 0%, #e11d48 100%);
  --grad-amber:  linear-gradient(135deg, #f59e0b 0%, #f05c3a 100%);
  --grad-violet: linear-gradient(135deg, #7c3aed 0%, #e11d48 100%);
  --grad-lime:   linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --grad-teal:   linear-gradient(135deg, #1db954 0%, #0ea5e9 100%);
  --lime:        #22c55e;
  --grad-warm:   linear-gradient(135deg, #faf8f5 0%, #f0ebe2 100%);

  /* ── Borders ── */
  --border:  rgba(26,20,16,0.12);
  --border2: rgba(26,20,16,0.07);
  --border3: rgba(26,20,16,0.04);

  /* ── Shadows (warm, soft) ── */
  --shadow:    0 20px 60px rgba(26,20,16,0.12);
  --shadow-sm: 0 4px 20px rgba(26,20,16,0.08);
  --shadow-xs: 0 2px 8px rgba(26,20,16,0.06);
  --glow:      0 0 40px rgba(29,185,84,0.2);

  /* ── Typography ── */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* ── Shapes ── */
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  /* ── Transitions (smooth & lightweight) ── */
  --t-fast:   0.15s ease;
  --t-mid:    0.25s ease;
  --t-slow:   0.35s ease;
}

/* ══════════════════════════════════════
   BASE
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

::selection { background: rgba(29,185,84,0.18); color: var(--text); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.05;
  color: var(--text);
  font-weight: 700;
}
.accent        { color: var(--green); }
.accent-coral  { color: var(--coral); }
.accent-amber  { color: var(--amber); }
.accent-violet { color: var(--violet); }
.accent-sky    { color: var(--sky); }

.text-gradient-green  { background: var(--grad-green);  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-coral  { background: var(--grad-coral);  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-amber  { background: var(--grad-amber);  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-violet { background: var(--grad-violet); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 140px 0; }

/* ══════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 64px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(29,185,84,0.08);
  border: 1px solid rgba(29,185,84,0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.section-tag.tag-coral  { color: var(--coral);  background: rgba(240,92,58,0.07);  border-color: rgba(240,92,58,0.2);  }
.section-tag.tag-coral::before  { background: var(--coral); }
.section-tag.tag-amber  { color: var(--amber);  background: rgba(245,158,11,0.07); border-color: rgba(245,158,11,0.22); }
.section-tag.tag-amber::before  { background: var(--amber); }
.section-tag.tag-violet { color: var(--violet); background: rgba(124,58,237,0.07); border-color: rgba(124,58,237,0.2); }
.section-tag.tag-violet::before { background: var(--violet); }
.section-tag.tag-sky    { color: var(--sky);    background: rgba(14,165,233,0.07);  border-color: rgba(14,165,233,0.2); }
.section-tag.tag-sky::before    { background: var(--sky); }

.section-title {
  font-size: clamp(38px, 4.5vw, 60px);
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 18px;
  font-weight: 700;
}
.section-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(250,248,245,0.88);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border2);
  transition: background var(--t-mid), box-shadow var(--t-mid);
}
.navbar.scrolled {
  background: rgba(250,248,245,0.97);
  box-shadow: var(--shadow-xs);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  height: 68px;
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  gap: 28px;
}
.logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px; flex-shrink: 0;
  font-style: italic;
}
.logo span { color: var(--green); font-style: normal; }

.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 7px 13px; border-radius: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--text-dim);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-links a.active { color: var(--green); }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  background: none; border: 1px solid var(--border);
  color: var(--text); padding: 8px 12px; border-radius: 8px; font-size: 16px;
}
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--card);
  border-top: 1px solid var(--border2);
  padding: 16px 24px;
}
.mobile-menu a {
  padding: 13px 0; font-size: 16px; color: var(--text-dim);
  border-bottom: 1px solid var(--border3); display: block;
  transition: color var(--t-fast);
}
.mobile-menu a:last-child { border: none; color: var(--green); font-weight: 600; }
.mobile-menu a:hover { color: var(--green); }
.mobile-menu.open { display: flex; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: var(--green);
  color: #fff; font-weight: 600; font-size: 15px;
  border: none; border-radius: var(--radius);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 2px 12px rgba(29,185,84,0.28);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29,185,84,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-coral {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: var(--coral);
  color: #fff; font-weight: 600; font-size: 15px;
  border: none; border-radius: var(--radius);
  transition: background var(--t-fast), transform var(--t-fast);
  box-shadow: 0 2px 12px rgba(240,92,58,0.25);
  white-space: nowrap;
}
.btn-coral:hover { background: var(--coral2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(240,92,58,0.3); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text); font-weight: 600; font-size: 15px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); background: rgba(29,185,84,0.05); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--bg3);
  color: var(--text-dim); font-weight: 500; font-size: 15px;
  border: 1px solid var(--border2); border-radius: var(--radius);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--bg2); color: var(--text); }

.btn-sm  { padding: 9px 18px !important; font-size: 14px !important; }
.btn-lg  { padding: 16px 36px !important; font-size: 16px !important; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 110px 0 80px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 30%, rgba(29,185,84,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(245,158,11,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 660px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green); margin-bottom: 24px; font-weight: 500;
}
.hero-eyebrow span { width: 36px; height: 1px; background: var(--green); display: inline-block; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 28px;
  font-style: italic;
}
.hero-title .line-accent { color: var(--green); font-style: normal; }
.hero-title .line-coral  { color: var(--coral); }
.hero-desc {
  font-size: 19px; color: var(--text-dim);
  max-width: 500px; line-height: 1.7;
  margin-bottom: 40px; font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats   { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 900;
  color: var(--text); line-height: 1;
  font-style: italic;
}
.hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; }

.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%; z-index: 1; overflow: hidden;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-img-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(250,248,245,0.3) 28%, transparent 55%),
    linear-gradient(0deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}
.hero-scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 3px;
  color: var(--text-light); text-transform: uppercase; z-index: 3;
}
.hero-scroll-cue::after {
  content: ""; width: 1px; height: 28px;
  background: linear-gradient(to bottom, var(--green), transparent);
}

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 120px 0 56px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border2);
}
.page-hero h1 { font-size: clamp(40px, 5.5vw, 72px); margin-bottom: 14px; font-style: italic; }
.page-hero p  { font-size: 19px; color: var(--text-muted); max-width: 540px; }

/* ══════════════════════════════════════
   VEHICLE CARDS
══════════════════════════════════════ */
.vehicle-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card-image-wrap { position: relative; height: 270px; overflow: hidden; background: var(--bg3); }
.card-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}
.vehicle-card:hover .card-image-wrap img { transform: scale(1.05); }

.card-badge {
  position: absolute; top: 16px; left: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.card-badge.badge-green  { background: rgba(29,185,84,0.12);  color: var(--green);  border: 1px solid rgba(29,185,84,0.25); }
.card-badge.badge-coral  { background: rgba(240,92,58,0.10);  color: var(--coral);  border: 1px solid rgba(240,92,58,0.25); }
.card-badge.badge-amber  { background: rgba(245,158,11,0.10); color: var(--amber);  border: 1px solid rgba(245,158,11,0.25); }
.card-badge.badge-teal   { background: rgba(14,165,233,0.10); color: var(--sky);    border: 1px solid rgba(14,165,233,0.25); }

.card-body { padding: 28px; }
.card-model { font-size: 11px; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-mono); margin-bottom: 6px; }
.card-name  { font-family: var(--font-display); font-size: 30px; color: var(--text); margin-bottom: 20px; font-weight: 700; font-style: italic; }
.card-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-bottom: 24px; padding: 20px; background: var(--bg2); border-radius: var(--radius); border: 1px solid var(--border2); }
.card-stats > div { text-align: center; padding: 0 8px; }
.card-stats > div + div { border-left: 1px solid var(--border2); }
.card-stat-val { font-family: var(--font-display); font-size: 26px; color: var(--text); font-weight: 700; }
.card-stat-lbl { font-size: 14px; color: var(--text-muted); margin-top: 3px; }
.card-price { font-family: var(--font-display); font-size: 28px; color: var(--green); margin-bottom: 20px; font-weight: 700; }
.card-price span { font-size: 14px; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }
.card-actions { display: flex; gap: 10px; }
.card-actions .btn-primary, .card-actions .btn-outline { flex: 1; justify-content: center; }

/* ══════════════════════════════════════
   FEATURE CARDS
══════════════════════════════════════ */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--border); }
.feature-icon  { font-size: 40px; margin-bottom: 20px; }
.feature-title { font-family: var(--font-display); font-size: 26px; color: var(--text); margin-bottom: 12px; font-weight: 700; }
.feature-desc  { font-size: 17px; color: var(--text-muted); line-height: 1.7; }

.fc-green  { border-top: 3px solid var(--green);  }
.fc-coral  { border-top: 3px solid var(--coral);  }
.fc-amber  { border-top: 3px solid var(--amber);  }
.fc-violet { border-top: 3px solid var(--violet); }
.fc-sky    { border-top: 3px solid var(--sky);    }
.fc-teal   { border-top: 3px solid var(--sky);    }
.fc-lime   { border-top: 3px solid var(--green);  }

/* ══════════════════════════════════════
   STATS STRIP
══════════════════════════════════════ */
.stats-strip {
  padding: 60px 0;
  background: var(--text);
  position: relative;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-size: 52px; font-weight: 900;
  color: #fff; line-height: 1; font-style: italic;
}
.stat-num.c-coral  { color: #ff8a70; }
.stat-num.c-lime   { color: #6ee7a8; }
.stat-num.c-violet { color: #c4b5fd; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; letter-spacing: 1px; text-transform: uppercase; }

/* ══════════════════════════════════════
   FORMS
══════════════════════════════════════ */
.form-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.form-input {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text); padding: 14px 18px;
  border-radius: var(--radius); font-size: 16px;
  outline: none; width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-input:focus {
  border-color: var(--green);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(29,185,84,0.10);
}
.form-input::placeholder { color: var(--text-light); }

/* ══════════════════════════════════════
   COMPARE TABLE
══════════════════════════════════════ */
.compare-table { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xs); }
.compare-table table { width: 100%; border-collapse: collapse; }
.compare-table th { background: var(--bg2); padding: 18px 22px; text-align: left; font-size: 13px; color: var(--text-muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid var(--border2); }
.compare-table td { padding: 16px 22px; border-bottom: 1px solid var(--border3); font-size: 15px; color: var(--text-dim); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg2); }

/* ══════════════════════════════════════
   SPEC TABS
══════════════════════════════════════ */
.spec-tabs { display: flex; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.spec-tab { padding: 10px 20px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; border: 1.5px solid var(--border); background: transparent; color: var(--text-dim); cursor: pointer; transition: all var(--t-fast); }
.spec-tab.active { background: var(--green); color: #fff; border-color: var(--green); }
.spec-tab:hover:not(.active) { border-color: var(--text-muted); color: var(--text); }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border3); }
.spec-row:last-child { border: none; }
.spec-key { font-size: 16px; color: var(--text-muted); }
.spec-val { font-size: 16px; color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════
   360 VIEWER
══════════════════════════════════════ */
.viewer-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.viewer-canvas { width: 100%; height: 440px; display: flex; align-items: center; justify-content: center; background: var(--bg2); cursor: grab; position: relative; }
.viewer-canvas:active { cursor: grabbing; }
.viewer-canvas img { max-width: 90%; max-height: 90%; object-fit: contain; user-select: none; pointer-events: none; }
.viewer-controls { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; background: var(--card); backdrop-filter: blur(10px); padding: 10px 20px; border-radius: var(--radius-pill); border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.viewer-btn { background: none; border: none; color: var(--text-muted); font-size: 18px; padding: 4px 8px; cursor: pointer; transition: color var(--t-fast); }
.viewer-btn:hover { color: var(--green); }
.viewer-indicator { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); padding: 0 8px; }
.color-switcher { display: flex; gap: 10px; padding: 20px 24px; border-top: 1px solid var(--border2); background: var(--bg2); }
.color-swatch { width: 26px; height: 26px; border-radius: 50%; cursor: pointer; transition: transform var(--t-fast), box-shadow var(--t-fast); border: 2px solid transparent; }
.color-swatch.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(29,185,84,0.25); transform: scale(1.2); }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonial-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-xl); padding: 36px; position: relative; overflow: hidden; transition: box-shadow var(--t-mid), transform var(--t-mid); }
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.testimonial-card::before { content: "\201C"; position: absolute; top: -8px; right: 24px; font-family: var(--font-display); font-size: 100px; color: var(--border2); line-height: 1; pointer-events: none; font-weight: 900; }
.testimonial-text { font-size: 17px; color: var(--text-dim); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #fff; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 15px; color: var(--text); }
.author-role { font-size: 13px; color: var(--text-muted); }
.star-row { color: var(--amber); font-size: 16px; margin-bottom: 16px; }

/* ══════════════════════════════════════
   DEALER CARDS
══════════════════════════════════════ */
.dealer-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-lg); padding: 28px; transition: transform var(--t-mid), box-shadow var(--t-mid); }
.dealer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.dealer-name { font-family: var(--font-display); font-size: 22px; color: var(--text); margin-bottom: 10px; font-style: italic; }
.dealer-details { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--text);
  padding: 72px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand .logo { font-size: 24px; color: #fff; margin-bottom: 16px; display: block; }
.footer-brand .logo span { color: var(--green); }
.footer-brand p { font-size: 16px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.4); transition: all var(--t-fast); }
.social-links a:hover { border-color: var(--green); color: var(--green); }
.footer-col h4 { font-size: 12px; font-weight: 600; color: #fff; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; font-family: var(--font-mono); }
.footer-col a { display: block; font-size: 16px; color: rgba(255,255,255,0.45); margin-bottom: 11px; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 12px; }

/* ══════════════════════════════════════
   ADMIN
══════════════════════════════════════ */
.admin-body { background: var(--bg); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 256px; background: var(--card); border-right: 1px solid var(--border2); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; flex-shrink: 0; box-shadow: var(--shadow-xs); }
.admin-logo { padding: 24px 20px; border-bottom: 1px solid var(--border2); }
.admin-logo .logo { font-size: 18px; }
.admin-logo .logo-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; letter-spacing: 1px; }
.admin-nav { flex: 1; padding: 14px 10px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: var(--radius); font-size: 14px; font-weight: 500; color: var(--text-muted); margin-bottom: 2px; transition: all var(--t-fast); }
.admin-nav a:hover { background: var(--bg2); color: var(--text); }
.admin-nav a.active { background: rgba(29,185,84,0.1); color: var(--green); font-weight: 600; }
.admin-main { flex: 1; padding: 36px; overflow-y: auto; }
.admin-header { margin-bottom: 32px; }
.admin-header h1 { font-family: var(--font-display); font-size: 32px; color: var(--text); margin-bottom: 4px; font-style: italic; }
.admin-header p { font-size: 15px; color: var(--text-muted); }
.stats-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 36px; }
.stat-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-lg); padding: 24px; transition: box-shadow var(--t-fast); box-shadow: var(--shadow-xs); }
.stat-card:hover { box-shadow: var(--shadow-sm); }
.stat-card .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; font-family: var(--font-mono); }
.stat-card .value { font-family: var(--font-display); font-size: 42px; color: var(--text); line-height: 1; font-style: italic; }
.stat-card .change { font-size: 13px; color: var(--green); margin-top: 8px; font-weight: 600; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { padding: 12px 16px; text-align: left; color: var(--text-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; background: var(--bg2); border-bottom: 1px solid var(--border2); font-family: var(--font-mono); }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--border3); color: var(--text-dim); font-size: 15px; }
.data-table tr:hover td { background: var(--bg2); }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.status-new       { background: rgba(29,185,84,0.1); color: var(--green); }
.status-contacted { background: rgba(14,165,233,0.1); color: var(--sky); }
.status-pending   { background: rgba(245,158,11,0.1); color: var(--amber); }
.status-closed    { background: rgba(26,20,16,0.07);  color: var(--text-dim); }

/* ══════════════════════════════════════
   LEAD SECTION
══════════════════════════════════════ */
.lead-section { padding: 100px 0; background: var(--bg2); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); }

/* ══════════════════════════════════════
   SUBSCRIBE
══════════════════════════════════════ */
.subscribe-section { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border2); }
.subscribe-box { max-width: 640px; margin: 0 auto; text-align: center; }
.subscribe-box h2 { font-family: var(--font-display); font-size: clamp(32px,4.5vw,52px); color: var(--text); margin-bottom: 14px; font-style: italic; }
.subscribe-box p  { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }
.subscribe-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.subscribe-form input { flex: 1; background: var(--card); border: 1.5px solid var(--border); color: var(--text); padding: 13px 16px; border-radius: var(--radius); font-size: 15px; outline: none; transition: border-color var(--t-fast); }
.subscribe-form input:focus { border-color: var(--green); }
.subscribe-perks { display: flex; justify-content: center; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.subscribe-perks span { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.subscribe-inline { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-lg); padding: 28px; }
.subscribe-inline h4 { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.subscribe-inline p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.subscribe-inline form { display: flex; flex-direction: column; gap: 10px; }
.subscribe-inline input { background: var(--bg2); border: 1.5px solid var(--border); color: var(--text); padding: 11px 14px; border-radius: var(--radius); font-size: 14px; outline: none; transition: border-color var(--t-fast); width: 100%; }
.subscribe-inline input:focus { border-color: var(--green); }

/* ══════════════════════════════════════
   BLOG
══════════════════════════════════════ */
.blog-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-xl); overflow: hidden; transition: transform var(--t-mid), box-shadow var(--t-mid); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card.featured-card { flex-direction: row; }
.blog-img { width: 100%; height: 220px; object-fit: cover; flex-shrink: 0; }
.blog-card.featured-card .blog-img { width: 50%; height: 100%; min-height: 320px; }
.blog-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-category { display: inline-block; background: rgba(29,185,84,0.1); color: var(--green); font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 12px; align-self: flex-start; }
.blog-category.cat-review  { background: rgba(124,58,237,0.1);  color: var(--violet); }
.blog-category.cat-guide   { background: rgba(14,165,233,0.1);  color: var(--sky); }
.blog-category.cat-finance { background: rgba(245,158,11,0.1); color: var(--amber); }
.blog-title   { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card.featured-card .blog-title { font-size: 24px; }
.blog-excerpt { font-size: 15px; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.blog-meta  { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-muted); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border3); }
.blog-meta-left { display: flex; align-items: center; gap: 8px; }
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); }
.blog-read-more { color: var(--green); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 4px; transition: gap var(--t-fast); }
.blog-card:hover .blog-read-more { gap: 8px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-featured { grid-column: span 3; margin-bottom: 4px; }
.filter-btn { padding: 9px 20px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; border: 1.5px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; transition: all var(--t-fast); }
.filter-btn.active, .filter-btn:hover { border-color: var(--green); color: var(--green); background: rgba(29,185,84,0.06); }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.blog-section { padding: 100px 0; }
.blog-post-hero { padding: 120px 0 56px; background: var(--bg2); border-bottom: 1px solid var(--border2); }
.blog-post-hero h1 { font-family: var(--font-display); font-size: clamp(36px,5vw,64px); color: var(--text); line-height: 1.05; margin-bottom: 20px; font-style: italic; }
.post-meta-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--text-muted); font-size: 14px; }
.blog-post-body { max-width: 740px; margin: 0 auto; padding: 60px 24px; }
.blog-post-body h2 { font-family: var(--font-display); font-size: 34px; color: var(--text); margin: 40px 0 16px; font-style: italic; }
.blog-post-body p { color: var(--text-dim); font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.blog-post-body ul { color: var(--text-dim); font-size: 16px; line-height: 1.85; padding-left: 24px; margin-bottom: 20px; }
.blog-post-body strong { color: var(--text); }
.blog-post-body blockquote { border-left: 3px solid var(--green); margin: 28px 0; padding: 16px 24px; background: rgba(29,185,84,0.04); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-dim); font-style: italic; font-size: 17px; }
.blog-post-img { width: 100%; border-radius: var(--radius-lg); margin: 32px 0; height: 400px; object-fit: cover; }
.bpcard { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-xl); overflow: hidden; transition: transform var(--t-mid), box-shadow var(--t-mid); display: flex; flex-direction: column; }
.bpcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.bpcard-img { width: 100%; height: 200px; object-fit: cover; }
.bpcard.main .bpcard-img { height: 260px; }
.bpcard-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.bpcard-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(29,185,84,0.1); color: var(--green); margin-bottom: 12px; }
.bpcard-title { font-size: 17px; color: var(--text); font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.bpcard.main .bpcard-title { font-size: 22px; }
.bpcard-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.bpcard-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border3); font-size: 13px; color: var(--text-muted); }

/* ══════════════════════════════════════
   CSV UPLOAD
══════════════════════════════════════ */
.csv-upload-zone { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 44px 32px; text-align: center; cursor: pointer; transition: all var(--t-fast); background: var(--bg2); }
.csv-upload-zone:hover, .csv-upload-zone.drag-over { border-color: var(--green); background: rgba(29,185,84,0.04); }
.csv-upload-zone input { display: none; }
.csv-upload-icon { font-size: 44px; margin-bottom: 14px; }
.csv-upload-zone h4 { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.csv-upload-zone p { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.csv-preview { margin-top: 18px; background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-lg); overflow: hidden; }
.csv-preview-header { padding: 14px 20px; border-bottom: 1px solid var(--border2); display: flex; justify-content: space-between; align-items: center; }
.csv-preview-header h4 { font-size: 14px; color: var(--text); }
.csv-preview table { width: 100%; border-collapse: collapse; font-size: 13px; }
.csv-preview th { background: var(--bg2); padding: 10px 14px; text-align: left; color: var(--text-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.csv-preview td { padding: 10px 14px; border-bottom: 1px solid var(--border3); color: var(--text-dim); }
.template-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--border); background: transparent; color: var(--text-muted); padding: 10px 20px; border-radius: var(--radius); font-size: 14px; cursor: pointer; transition: all var(--t-fast); }
.template-btn:hover { border-color: var(--green); color: var(--green); }

/* ══════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════ */
#cookieBanner { position: fixed; bottom: 20px; left: 20px; z-index: 9999; max-width: 480px; width: calc(100% - 40px); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1), opacity 0.35s ease; }
#cookieBanner.cookie-visible { transform: translateY(0); opacity: 1; }
.cookie-inner { padding: 24px; position: relative; display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.cookie-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text strong { color: var(--text); font-size: 15px; display: block; margin-bottom: 5px; }
.cookie-text p { color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.cookie-actions { display: flex; gap: 10px; align-items: center; width: 100%; margin-top: 4px; }
.cookie-btn-accept { background: var(--green); color: #fff; border: none; padding: 10px 22px; border-radius: var(--radius); font-weight: 600; font-size: 13px; cursor: pointer; font-family: var(--font-body); transition: background var(--t-fast); }
.cookie-btn-accept:hover { background: var(--green2); }
.cookie-btn-outline { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); padding: 10px 18px; border-radius: var(--radius); font-size: 13px; cursor: pointer; font-family: var(--font-body); transition: all var(--t-fast); }
.cookie-btn-outline:hover { border-color: var(--text-muted); color: var(--text); }
.cookie-close { position: absolute; top: 14px; right: 14px; background: none; border: none; color: var(--text-muted); font-size: 16px; cursor: pointer; padding: 4px; transition: color var(--t-fast); }
.cookie-close:hover { color: var(--text); }

/* ADMIN EXTRAS */
.table-box { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow-xs); }
.table-box-header { padding: 18px 22px; border-bottom: 1px solid var(--border2); display: flex; justify-content: space-between; align-items: center; }
.table-box-header h3 { font-size: 16px; color: var(--text); font-weight: 600; }
.export-btn { font-size: 12px; padding: 6px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--text-muted); background: none; cursor: pointer; font-family: var(--font-body); transition: all var(--t-fast); }
.export-btn:hover { color: var(--green); border-color: var(--green); }
.edit-form { background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; box-shadow: var(--shadow-xs); }
.edit-form h3 { color: var(--text); margin-bottom: 20px; font-size: 20px; font-style: italic; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.save-btn { background: var(--green); color: #fff; border: none; padding: 11px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; font-family: var(--font-body); font-size: 14px; transition: background var(--t-fast); }
.save-btn:hover { background: var(--green2); }
.alert-success { background: rgba(29,185,84,0.08); border: 1px solid rgba(29,185,84,0.25); color: var(--green); padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; display: none; }

/* ══════════════════════════════════════
   ANIMATIONS (minimal, CSS only)
══════════════════════════════════════ */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.animate-fade-up  { animation: fadeUp  0.5s cubic-bezier(0.22,1,0.36,1) both; }
.animate-fade-in  { animation: fadeIn  0.4s ease both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }
.delay-6 { animation-delay: 0.48s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(44px, 10vw, 64px); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .container { padding: 0 20px; }
  .section { padding: 70px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-column: span 1; }
  .blog-card.featured-card { flex-direction: column; }
  .blog-card.featured-card .blog-img { width: 100%; height: 240px; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .admin-main { padding: 24px 16px; }
  .stats-cards { grid-template-columns: 1fr 1fr; }
  #cookieBanner { bottom: 12px; left: 12px; right: 12px; width: auto; max-width: none; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .stats-cards { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item { padding: 20px 16px; }
}
