:root {
  /* Modern Clean Light Theme */
  --background: 0 0% 100%;       /* #ffffff */
  --foreground: 222 47% 11%;     /* #0f172a - Slate 900 */
  
  --card: 0 0% 100%;             /* #ffffff */
  --card-foreground: 222 47% 11%;
  
  --primary: 221 83% 53%;        /* #2563eb - Blue 600 */
  --primary-foreground: 0 0% 100%;
  
  --secondary: 210 40% 96.1%;    /* #f1f5f9 - Slate 100 */
  --secondary-foreground: 222 47% 11.2%;
  
  --muted: 210 40% 96.1%;
  --muted-foreground: 215 16% 47%; /* #64748b - Slate 500 */
  
  --accent: 48 96% 53%;          /* #facc15 - Yellow 400 */
  --accent-foreground: 222 47% 11%; /* Blue 900 */
  
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;

  --border: 214.3 31.8% 91.4%;   /* #e2e8f0 */
  --input: 214.3 31.8% 91.4%;
  --ring: 221 83% 53%;
  
  --radius: 0.5rem;
  
  /* Brand Colors */
  --peugeot-brand: #000000;
  --citroen-brand: #D61B1B;
  --opel-brand: #ECC500;
  --ds-brand: #CAB068;

  /* Gradients */
  --gradient-main: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  --gradient-hover: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.4);

  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: hsl(var(--foreground));
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* --- Buttons --- */
/* Reset and Base Styles for all buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  border: none;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Primary Hero Button - Modern Blue Gradient */
.btn-hero {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 0.875rem;
}

.btn-hero:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  color: #ffffff;
}

.btn-hero:active {
  transform: translateY(0);
}

/* Secondary/Outline Button */
.btn-hero-outline {
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
  padding: 0.875rem 2.25rem;
  font-size: 1.05rem;
   border-radius: 0.875rem;
}

.btn-hero-outline:hover {
  background-color: currentColor;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Accent Button (Call to Action) - Premium Yellow */
.btn-accent {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e3a8a;
  box-shadow: 0 4px 14px 0 rgba(251, 191, 36, 0.4);
  font-weight: 700;
  border-radius: 0.875rem;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
  color: #1e3a8a;
}

.btn-accent:active {
  transform: translateY(0);
}

/* --- Cards --- */
.card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: hsl(var(--primary) / 0.3);
  transform: translateY(-6px);
}

/* --- Utilities --- */
.text-gradient-primary {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.bg-gradient-hero {
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}

/* --- Icons --- */
/* Lucide icon standardization */
[data-lucide] {
  vertical-align: middle;
  stroke-width: 2px;
}

/* --- Typography Helpers --- */
.text-primary { color: hsl(var(--primary)); }
.text-accent { color: hsl(var(--accent)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* --- WhatsApp Button --- */
.whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  color: white;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .btn-hero, .btn-hero-outline, .btn-accent {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  /* Better touch targets on mobile */
  .btn {
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .card {
    border-radius: 0.75rem;
  }
}

/* Card Action Button */
.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: auto;
  width: fit-content;
}

.btn-card-action.blue {
  background-color: #eff6ff;
  color: #2563eb;
}
.btn-card-action.blue:hover {
  background-color: #2563eb;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-card-action.amber {
  background-color: #fffbeb;
  color: #d97706;
}
.btn-card-action.amber:hover {
  background-color: #d97706;
  color: white;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-card-action.green {
  background-color: #f0fdf4;
  color: #16a34a;
}
.btn-card-action.green:hover {
  background-color: #16a34a;
  color: white;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-card-action.red {
  background-color: #fef2f2;
  color: #dc2626;
}
.btn-card-action.red:hover {
  background-color: #dc2626;
  color: white;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-card-action.purple {
  background-color: #faf5ff;
  color: #9333ea;
}
.btn-card-action.purple:hover {
  background-color: #9333ea;
  color: white;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}
