/* Google Fonts Integration */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Adapted Fahrschule Oscar Design DNA, but applied more subtly */
  --color-primary: hsl(215, 70%, 22%); /* Dark Blue - used heavily for branding */
  --color-primary-light: hsl(215, 50%, 40%); 
  --color-primary-foreground: hsl(0, 0%, 100%);
  --color-secondary: hsl(215, 30%, 96%); /* Light Blueish Gray - perfect for neutral backgrounds */
  --color-secondary-foreground: hsl(220, 30%, 12%);
  --color-background: hsl(0, 0%, 100%);
  --color-foreground: hsl(220, 30%, 20%); /* Softer black for long-form reading */
  --color-muted: hsl(215, 20%, 94%);
  --color-muted-text: hsl(220, 10%, 40%);
  --color-accent: hsl(0, 75%, 48%); /* Red - use very sparingly for highlights only */
  --color-accent-foreground: hsl(0, 0%, 100%);
  --color-border: hsl(215, 20%, 85%);

  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 1rem; /* Slightly softer radius */

  --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.05);
  --shadow-card: 0 10px 30px -5px hsla(215, 40%, 20%, 0.06);
  --shadow-card-hover: 0 20px 40px -8px hsla(215, 40%, 20%, 0.1);
  --gradient-subtle: linear-gradient(135deg, hsl(215, 30%, 98%), hsl(215, 20%, 94%));
  
  --spacing-container: 2rem;
  --max-width: 900px; /* Narrower for better reading experience (like a blog) */
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-secondary); /* Give the whole site a very slight tint to make cards pop */
  color: var(--color-foreground);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.01em; margin-top: 3rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-top: 2rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--color-accent);
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

a:hover {
  background-color: var(--color-accent);
  color: white;
  border-bottom-color: transparent;
}

/* Removing underline for specific links (buttons, header, footer) */
.nav-link, .btn, .logo, .footer-links a, .subtle-link {
  border-bottom: none;
}
.nav-link:hover, .logo:hover, .subtle-link:hover {
  background-color: transparent;
  color: var(--color-accent);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

/* Typographic Flourishes (No-Image Design) */
.lead-text {
  font-size: 1.35rem;
  color: var(--color-muted-text);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.highlight-box {
  background: white;
  border-left: 4px solid var(--color-accent);
  padding: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 3rem 0;
  box-shadow: var(--shadow-sm);
}

.highlight-box h3 {
  margin-top: 0;
  color: var(--color-primary);
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

.recommendation-box {
  background: var(--gradient-subtle);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin: 4rem 0;
  text-align: center;
}

.recommendation-box h3 {
  margin-top: 0;
  font-size: 1.75rem;
}

.recommendation-box p {
  font-size: 1.125rem;
  color: var(--color-muted-text);
}

/* Lists */
ul.checklist {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

ul.checklist li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

ul.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: white;
  background: var(--color-primary-light);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width); /* Focus on text readability */
  margin: 0 auto;
  padding: 0 var(--spacing-container);
}

.section {
  padding: 4rem 0;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 14px 0 hsla(0, 75%, 48%, 0.39);
}

.btn-primary:hover {
  background: hsl(0, 75%, 40%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-outline {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--color-secondary);
  border-color: var(--color-primary-light);
}

/* Cards (for pure text layout) */
.card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
  border: 1px solid var(--color-border);
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Header - More Neutral */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--color-muted-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Hero Section - Text Focused */
.hero {
  padding: 6rem 0 4rem;
  background: white;
  border-bottom: 1px solid var(--color-border);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Footer - Neutral & Informative */
.site-footer {
  background-color: white;
  color: var(--color-muted-text);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--color-foreground);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-muted-text);
}

.footer-links a:hover {
  background: transparent;
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3rem 0; }
  .recommendation-box { padding: 1.5rem; }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-foreground);
  position: relative;
  transition: background-color 0.3s ease;
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-foreground);
  transition: transform 0.3s ease;
}

.hamburger::before { top: -8px; left: 0; }
.hamburger::after { bottom: -8px; left: 0; }

.mobile-nav {
  display: none;
  background-color: white;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem var(--spacing-container);
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── DriveBase Promo Banner ── */
.db-promo { text-decoration: none !important; border-bottom: none !important; display: block; max-width: 720px; margin: 0 auto; border-radius: 20px; padding: 2.5px; background: linear-gradient(135deg, #ef4444, #8b5cf6, #3b82f6); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.db-promo:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(59,130,246,0.18), 0 6px 20px rgba(239,68,68,0.08); background-color: transparent; color: inherit; }
.db-promo-inner { background: linear-gradient(145deg, #0c1425, #1a2540); border-radius: 18px; padding: 24px 28px; display: flex; align-items: center; gap: 20px; position: relative; overflow: hidden; }
.db-promo-inner::before { content: ''; position: absolute; top: -50px; right: -30px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%); pointer-events: none; }
.db-promo-logo svg { width: 52px; height: 52px; filter: drop-shadow(0 3px 10px rgba(59,130,246,0.25)); flex-shrink: 0; }
.db-promo-body { flex: 1; min-width: 0; }
.db-promo-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.18); border-radius: 50px; padding: 3px 10px; margin-bottom: 8px; font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #60a5fa; }
.db-promo-title { font-family: var(--font-heading); font-size: 19px; font-weight: 900; color: #fff !important; line-height: 1.25; letter-spacing: -0.3px; margin: 0 0 4px !important; }
.db-promo-title em { font-style: normal; background: linear-gradient(135deg, #ef4444, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.db-promo-desc { font-size: 12.5px; color: #7e8da6; line-height: 1.45; font-weight: 500; margin: 0 !important; }
.db-promo-cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff !important; font-size: 13px; font-weight: 700; padding: 11px 22px; border-radius: 12px; white-space: nowrap; box-shadow: 0 4px 14px rgba(37,99,235,0.3), inset 0 1px 0 rgba(255,255,255,0.12); transition: all 0.2s ease; border-bottom: none !important; }
.db-promo:hover .db-promo-cta { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 6px 20px rgba(37,99,235,0.45); }
.db-promo-cta svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.db-promo:hover .db-promo-cta svg { transform: translateX(3px); }
@media (max-width: 600px) { .db-promo-inner { flex-direction: column; text-align: center; padding: 22px 18px; gap: 14px; } .db-promo-badge { margin-left: auto; margin-right: auto; } .db-promo-title { font-size: 17px; } .db-promo-cta { width: 100%; justify-content: center; } }
