
:root {
  /* Colors */
  --bg-color: #f8fafc; /* Lighter, cleaner background */
  --primary: #0f172a; /* Deep Midnight Blue */
  --primary-light: #1e293b;
  --text-dark: #1e293b;
  --text-light: #475569;
  --cta: #dc2626; /* Automotive Red */
  --cta-hover: #b91c1c;
  --accent-soft: rgba(220, 38, 38, 0.1);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08); /* Sophisticated shadow */
  --glass-blur: blur(12px);
  
  /* Typography */
  --font-main: 'Outfit', sans-serif;
  
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 8rem;

  /* Standard Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px; /* Slightly larger for modern feel */
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --max-width: 1200px;

  /* Premium Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: var(--cta) transparent;
}

/* Custom Scrollbar (Chrome/Safari/Edge) */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--cta);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cta-hover);
}

/* Background Gradients for Glassmorphism Effect */
.bg-gradient-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.5;
  border-radius: 50%;
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: rgba(15, 23, 42, 0.05);
}

.blob-2 {
  bottom: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: rgba(249, 115, 22, 0.05);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800; /* Heavier for modern automotive feel */
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.03em; /* Tight letter spacing */
}

h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); margin-bottom: var(--spacing-md); }
h2 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: var(--spacing-md); }
h3 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: var(--spacing-sm); }
p { font-size: 1.125rem; color: var(--text-light); margin-bottom: var(--spacing-lg); line-height: 1.7; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--cta);
  color: white;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  background-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4);
}

/* Button Shine Effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: none;
  pointer-events: none;
}

.btn:hover::after {
  left: 120%;
  transition: all 0.6s ease;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Glass Card Component */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: var(--spacing-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Glass 2.0 Noise Texture */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 0;
}

/* Premium Hover State */
.glass-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.15);
  border-color: rgba(220, 38, 38, 0.4); /* Brand Glow */
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.95);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--cta);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--cta);
}

@media (max-width: 576px) {
  .nav-actions .btn-primary { 
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
}
@media (max-width: 400px) {
  .nav-actions .btn-primary { display: none; }
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Footer Section */
.site-footer {
  background: var(--primary);
  color: white;
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

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

.footer-col h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-col a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

/* Form Styles */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-main);
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background: white;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* Utilities */
.text-center { text-align: center; }
.mt-xl { margin-top: var(--spacing-xl); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.pt-xxl { padding-top: var(--spacing-xxl); }
.pb-xxl { padding-bottom: var(--spacing-xxl); }

/* Focus states for accessibility */
*:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

/* Capsule Buttons Modern Design */
.btn-capsule {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: white;
  border: 4px solid #dc2626; /* Premium Red Border */
  color: #1f2937;
  height: 60px;
  font-family: var(--font-main);
  background-clip: padding-box;
}

.btn-capsule:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.2);
}

.btn-capsule .icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-color: #dc2626;
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
  margin-left: 0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.btn-capsule .text-container {
  padding: 0 1.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.btn-capsule .text-main {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.btn-capsule.solid {
  background: #dc2626;
  border-color: #b91c1c;
  color: white;
}

.btn-capsule.solid .icon-circle {
  background-color: #b91c1c;
  border: 2px solid #dc2626;
  width: 52px;
  height: 52px;
  margin: 0;
  box-shadow: none;
}

.btn-capsule.solid .text-main {
  color: white;
}

/* Media Queries */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  h1 { font-size: 2.25rem; }
  .nav-actions .btn-secondary { display: none; }
}

@media (max-width: 576px) {
  h1 { font-size: 1.6rem; line-height: 1.2; margin-bottom: 0.75rem !important; }
  p { font-size: 1rem; margin-bottom: 1.25rem !important; }
  .pt-xxl { padding-top: 1.5rem !important; }
  .pb-xxl { padding-bottom: 3rem !important; }
  .mt-xl { margin-top: 1rem !important; }
  
  .hero-content {
    padding-top: 0.5rem !important;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  .logo svg {
    width: 22px;
    height: 22px;
  }
  
  .nav-container {
    height: 60px;
  }

  .faq-question {
    padding: 1rem 1.25rem !important;
    font-size: 1rem !important;
  }
  .faq-answer div {
    padding: 0 1.25rem 1rem !important;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Sticky Mobile CTA (2026 Conversion Update) */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
    .mobile-cta {
        display: flex;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .mobile-cta .btn {
        flex: 1;
        text-align: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.95rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
    }
    .mobile-cta .btn-outline {
        border: 2px solid var(--primary);
        color: var(--primary);
        background: transparent;
        font-weight: 600;
        text-decoration: none;
    }
    body {
        padding-bottom: 80px; /* offset for sticky cta */
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.fade-in {
    transform: translateY(0) scale(0.95);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Trust Badges Strip */
.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.trust-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.trust-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-stars {
    color: #FFD700;
    font-size: 1rem;
    margin-right: 4px;
}

@media (max-width: 576px) {
    .trust-bar {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    .trust-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
  .hero-cta-group {
    flex-direction: column-reverse;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 0.75rem !important;
  }
  .hero-cta-group .btn-capsule {
    width: 100%;
    height: 50px;
    justify-content: center;
  }
  .hero-cta-group .btn-capsule .icon-circle {
    width: 42px;
    height: 42px;
  }
  .hero-cta-group .btn-capsule .text-main {
    font-size: 1.1rem;
  }
}
