/* =============================================
   SCANDRIVE — Main Stylesheet
   ============================================= */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  /* Dark surfaces (hero, header, footer, CTEK banner) */
  --dark-900: #0e1218;
  --dark-800: #161b23;
  --dark-700: #1f252d;
  --dark-600: #2d3640;
  --dark-500: #364050;

  /* Light surfaces (main page background, product sections) */
  --light-bg: #f6f7f9;
  --light-bg-alt: #ffffff;
  --light-border: #e5e7eb;
  --light-border-strong: #d1d5db;

  /* Text on light */
  --text-dark: #111827;
  --text-dark-secondary: #4b5563;
  --text-dark-muted: #6b7280;

  /* Text on dark */
  --gray-400: #5A6A7A;
  --gray-300: #8A96A3;
  --gray-200: #B0B8C2;
  --gray-100: #D4DAE0;
  --white: #F0F2F4;

  /* Monochrome accent — CTAs use near-black for ICIW-style premium feel.
     Pre-redesign these were orange (#FF6B00). Kept var name for cascade. */
  --accent: #0e1218;
  --accent-hover: #000000;
  --accent-soft: #f6f7f9;
  --accent-rgb: 14, 18, 24;

  /* Status */
  --red-sale: #E11D48;
  --green-stock: #16A34A;
  --green-stock-soft: #DCFCE7;

  --font: 'Montserrat', sans-serif;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.03), 0 4px 16px rgba(15,23,42,0.04);
  --shadow-card-hover: 0 2px 6px rgba(0,0,0,0.04), 0 16px 32px rgba(15,23,42,0.08);
  --shadow-cta: 0 4px 14px rgba(0, 0, 0, 0.12);
  --transition: 0.25s ease;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--light-bg);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
}

ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

/* Primary CTA — solid black, ICIW-style monochrome */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
  background: var(--text-dark);
  color: #fff;
}

/* ---------- Section Titles ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
  color: var(--text-dark);
  text-transform: uppercase;
  line-height: 1.05;
}

.section-header p {
  font-size: 15px;
  color: var(--text-dark-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  letter-spacing: 0.2px;
}

.section-line {
  width: 32px;
  height: 1px;
  background: var(--text-dark);
  margin: 0 auto 24px;
  border-radius: 0;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--light-border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dark-muted); }