/* VinSnap programmatic SEO pages — shared stylesheet.
   Dark theme matching the tool landing pages. Loaded by every generated
   /vehicle/*.html page so we don't inline ~800 lines per page. */

:root {
  --bg: #070c16;
  --bg-card: #0e1624;
  --bg-card-alt: #141c2c;
  --text: #f8fbff;
  --text-secondary: #98a9c6;
  --text-muted: #6b7c93;
  --accent: #5eead4;
  --accent-blue: #3b82f6;
  --gradient: linear-gradient(135deg, #3b82f6, #22d3a6);
  --border: rgba(94, 234, 212, 0.18);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,12,22,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(94,234,212,0.10);
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; max-width: 1000px; margin: 0 auto; }
.nav-logo { font-size: 22px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 14px; }
.nav-cta { background: var(--gradient); color: #fff !important; padding: 9px 16px; border-radius: 10px; font-weight: 600; }
.nav-cta:hover { text-decoration: none; opacity: 0.92; }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--text-muted); padding: 18px 0 0; }
.crumbs a { color: var(--text-secondary); }

/* Hero */
.hero { padding: 28px 0 36px; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.hero .sub { margin-top: 14px; font-size: 18px; color: var(--text-secondary); max-width: 680px; }

/* Quick-answer (GEO) */
.quick-answer { margin: 22px 0; padding: 18px 20px; background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); color: var(--text-secondary); font-size: 16px; }
.quick-answer strong { color: var(--text); }

/* Stat chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.chip { background: var(--bg-card-alt); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: var(--text-secondary); }
.chip b { color: var(--text); }

/* Spec table */
.section { margin: 40px 0; }
.section h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table tr { border-bottom: 1px solid rgba(94,234,212,0.08); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th { text-align: left; padding: 13px 18px; width: 42%; color: var(--text-muted); font-weight: 600; font-size: 14px; vertical-align: top; }
.spec-table td { padding: 13px 18px; color: var(--text); font-weight: 500; }

/* CTA blocks */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
@media (max-width: 640px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.cta-card h3 { font-size: 18px; margin-bottom: 8px; }
.cta-card p { color: var(--text-secondary); font-size: 14px; margin-bottom: 14px; }
.btn { display: inline-block; background: var(--gradient); color: #fff !important; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text) !important; }

/* Related vehicles */
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { background: var(--bg-card-alt); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--text-secondary); }
.related a:hover { color: var(--text); text-decoration: none; }

/* FAQ */
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; }
.faq-item h3 { font-size: 16px; margin-bottom: 8px; }
.faq-item p { color: var(--text-secondary); font-size: 15px; }

/* Footer */
footer { border-top: 1px solid rgba(94,234,212,0.10); margin-top: 56px; padding: 32px 0; color: var(--text-muted); font-size: 14px; }
footer .container { display: flex; flex-direction: column; gap: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-links a { color: var(--text-secondary); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 10px; }
.foot-col a { display: block; color: var(--text-secondary); font-size: 14px; margin-bottom: 6px; }
