/* 
 * Minimal Stylesheet with Apple-style Typography
 */

:root {
  /* Color tokens - Midnight Luxe palette */
  --onyx: #0B0E13;
  --porcelain: #F5F6F7;
  --bone: #EDEEEC;
  --platinum: #DADDE1;
  --ink-navy: #0E2A47;
  --champagne: #4A90E2;
  
  /* Main palette assignments */
  --bg: var(--porcelain);
  --fg: var(--onyx);
  --fg-rgb: 11, 14, 19; /* RGB version of --onyx for alpha transparency */
  --accent: var(--ink-navy);
  --accent-light: var(--champagne);
  --muted: var(--bone);
  --border: var(--platinum);
  
  /* Brand color aliases for consistency */
  --brand: var(--ink-navy);
  --brand-ink: var(--porcelain);
  --luxury-accent: var(--champagne);
  
  /* Typography - Font family */
  --font-main: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  
  /* Typography - Base sizes (16px base = 1rem) */
  --font-size-base: 16px;
  
  /* Minor third scale (×1.2) */
  --scale-ratio: 1.2;
  --scale-0: 1rem;                                 /* 16px - Base */
  --scale-1: calc(var(--scale-0) * var(--scale-ratio));       /* 19.2px */
  --scale-2: calc(var(--scale-1) * var(--scale-ratio));       /* 23.04px */
  --scale-3: calc(var(--scale-2) * var(--scale-ratio));       /* 27.65px */
  --scale-4: calc(var(--scale-3) * var(--scale-ratio));       /* 33.18px */
  --scale-5: calc(var(--scale-4) * var(--scale-ratio));       /* 39.81px */
  --scale-6: calc(var(--scale-5) * var(--scale-ratio));       /* 47.78px */
  
  /* Typography assignments (mobile first) */
  --font-size-h1: var(--scale-4);
  --font-size-h2: var(--scale-3);
  --font-size-h3: var(--scale-2);
  --font-size-h4: var(--scale-1);
  --font-size-h5: var(--scale-0);
  --font-size-h6: var(--scale-0);
  --font-size-lead: 1.125rem;   /* 18px */
  --font-size-body: 1rem;       /* 16px */
  --font-size-small: 0.875rem;  /* 14px */
  --font-size-footnote: 0.75rem; /* 12px */
  
  /* Font weights (using Inter variable) */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  
  /* Line heights */
  --line-height-h1: 1.15;
  --line-height-h2: 1.15;
  --line-height-h3: 1.15;
  --line-height-h4: 1.2;
  --line-height-h5: 1.2;
  --line-height-h6: 1.2;
  --line-height-lead: 1.55;
  --line-height-base: 1.6;
  --line-height-small: 1.5;
  --line-height-footnote: 1.5;
  
  /* Spacing */
  --space-md: 1.5rem;
  
  /* Container width */
  --container-max-width: 1280px;
  --container-padding: 2rem;
  
  /* Apple breakpoints */
  --breakpoint-medium: 735px;
  --breakpoint-desktop: 1068px;
}

/* We're replacing fixed media queries with fluid typography using clamp() */
/* These values will be applied directly to the elements rather than through media queries */

/* Dark Mode Tokens */
@media (prefers-color-scheme: dark) {
  :root {
    /* In dark mode, we invert the color usage */
    --bg: var(--onyx);
    --fg: var(--porcelain);
    --accent: var(--champagne); /* Blue accent becomes primary accent in dark mode */
    --accent-light: var(--ink-navy);
    --muted: rgba(14, 42, 71, 0.5); /* Semi-transparent navy for subtle backgrounds */
    --border: rgba(218, 221, 225, 0.2); /* Subtle platinum for borders */
    
    /* Brand colors in dark mode */
    --brand: var(--champagne);
    --brand-ink: var(--onyx);
  }
}

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

/* OpenType Features - Site-wide */
html {
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "tnum" 1, "case" 1;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  background-color: #000000;
  color: var(--fg);
  min-height: 100vh;
}

/* Responsive Typography with clamp() */
h1, .h1 {
  font-size: clamp(2.00rem, 1.2rem + 2.5vw, 2.986rem);
  line-height: var(--line-height-h1);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
  margin-bottom: 0.75em;
}

h2, .h2 {
  font-size: clamp(1.728rem, 1.1rem + 1.8vw, 2.488rem);
  line-height: var(--line-height-h2);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
  margin-bottom: 0.75em;
}

h3, .h3 {
  font-size: clamp(1.44rem, 0.9rem + 1.4vw, 2.074rem);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
  margin-bottom: 0.75em;
}

h4, .h4 {
  font-size: clamp(1.2rem, 0.85rem + 1vw, 1.728rem);
  line-height: var(--line-height-h4);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.75em;
}

h5, .h5 {
  font-size: clamp(1.067rem, 0.85rem + 0.6vw, 1.44rem);
  line-height: var(--line-height-h5);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.75em;
}

h6, .h6 {
  font-size: clamp(1rem, 0.9rem + 0.2vw, 1.2rem);
  line-height: var(--line-height-h6);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.75em;
}

/* Lead/intro paragraph style */
.lead {
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
  margin-bottom: 1.5em;
}

/* Small text style */
small, .small {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}

/* Paragraph spacing */
p {
  margin-bottom: 0.75em;
}

/* Links and emphasis */
a {
  color: var(--ink-navy);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

a:hover, a:focus {
  color: var(--ink-navy);
  text-decoration: none;
}

/* Add subtle underline effect using blue accent */
a:hover::after, a:focus::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: var(--champagne);
}

strong, b {
  font-weight: var(--font-weight-semibold);
}

/* All caps treatment for small labels */
.label-small-caps {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.06em;
  font-weight: var(--font-weight-medium);
}

/* Typography */
h1, .h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: 600;
  margin-bottom: 0.5em;
}

h2, .h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
  font-weight: 600;
  margin-bottom: 0.5em;
}

h3, .h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: 600;
  margin-bottom: 0.5em;
}

.lead {
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
  margin-bottom: 1em;
}

p {
  font-size: var(--font-size-body);
  line-height: var(--line-height-base);
  margin-bottom: 1em;
}

.small, small {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}

.footnote {
  font-size: var(--font-size-footnote);
  line-height: var(--line-height-footnote);
}

/* Button & CTA Styling */
.btn, .cta {
  font-size: var(--font-size-body);
  display: inline-block;
  padding: 0.75em 1.5em;
  text-decoration: none;
  text-align: center;
  color: var(--bg);
  background-color: var(--brand);
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn:hover, .cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cta-container {
  margin: 2em 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) 0;
  background: rgba(245, 246, 247, 0.8); /* Porcelain with opacity */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--platinum);
  z-index: 100;
  transition: all 0.3s ease;
}

.site-footer {
  background-color: var(--onyx);
  color: var(--porcelain);
  padding: 60px 0 40px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  font-family: var(--font-main);
  position: relative;
  border-top: 1px solid var(--champagne);
}

/* Navy glow effect */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 42, 71, 0.3) 0%, rgba(14, 42, 71, 0.1) 100%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

/* Blue accent glow effect */
.site-footer::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 25%;
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, rgba(74, 144, 226, 0) 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

/* Footer Container */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1; /* Position above the glow effects */
}

/* Main footer area with columns */
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 30px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-email {
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-email:hover {
  opacity: 1;
}

/* Footer Navigation */
.footer-nav-title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 20px;
  color: #fff;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(245, 246, 247, 0.7); /* Porcelain with opacity */
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--champagne); /* Blue accent on hover - only on dark backgrounds */
}

/* Footer Bottom Section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(74, 144, 226, 0.3); /* Subtle blue border */
  font-size: 0.85rem;
}

.footer-copyright p {
  margin: 0;
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-made-by {
  margin: 0;
  opacity: 0.7;
}

section {
  padding: 0;
  margin: 0;
}

main, #main {
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero {
  padding: 8rem 0;
  background-color: var(--bone); /* Bone color for subsections */
  text-align: center;
  border-bottom: 1px solid var(--platinum); /* Platinum for dividers */
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  opacity: 0.6;
}

.hero h1 {
  margin-bottom: 0.5em;
  color: var(--onyx); /* Ensure proper contrast */
}

.hero .lead {
  max-width: 42rem;
  margin: 0 auto 1.5rem auto;
  color: var(--ink-navy); /* Navy for subtitles */
}

/* Spacing for typography examples */
h2 {
  margin-top: 1.5em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--border);
}

h3 {
  margin-top: 2em;
  margin-bottom: 1em;
}

.typography-example {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--muted);
  border-radius: 8px;
}

.typography-label {
  display: block;
  font-size: var(--font-size-footnote);
  color: rgba(var(--fg-rgb), 0.7);
  margin-bottom: 0.5rem;
  font-family: monospace;
}


.small {
  margin-top: 2em;
  color: rgba(var(--fg-rgb), 0.8);
}

.footnote {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid var(--border);
  color: rgba(var(--fg-rgb), 0.7);
}

/* A11y skip link */
.skip-link {
  position: absolute;
  top: -3em;
  left: 0;
  padding: 0.5em 1em;
  background-color: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: none;
  z-index: var(--z-tooltip);
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
  box-shadow: var(--shadow-focus);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-sm);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.75rem);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

a:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: var(--space-md);
}

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

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  border-bottom: none;
  z-index: 1000;
  transition: background-color 0.5s ease, padding 0.5s ease, border-bottom 0.5s ease;
  padding: 2rem 0;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}

.site-header .logo-img {
  transition: height 0.5s ease;
}

.site-header.scrolled .logo-img {
  height: 40px; /* Adjust to desired smaller size */
}

.site-header.scrolled .menu-text,
.site-header.scrolled .dealer-text {
  color: var(--onyx);
}

.site-header.scrolled .pelahm-hamburger-73fd5 span {
  background-color: var(--onyx);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-block;
  padding: 0.5em 0.75em;
  color: var(--fg);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.nav-menu a:hover {
  background-color: var(--muted);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5em;
  cursor: pointer;
  color: var(--fg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--ink-navy);
  color: var(--porcelain);
  border: none;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--onyx);
  color: var(--porcelain);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--champagne);
}

.btn-ghost {
  background-color: transparent;
  border: 1px solid var(--platinum);
  color: var(--ink-navy);
}

.btn-ghost:hover, .btn-ghost:focus {
  background-color: var(--bone);
  border-color: var(--ink-navy);
  color: var(--ink-navy);
  text-decoration: none;
}

.btn-sm {
  font-size: 0.875rem;
  padding: 0.5em 1em;
}

.btn-lg {
  font-size: 1.125rem;
  padding: 1em 2em;
}

.btn:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* Hero Section */
.hero {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.hero-content {
  max-width: 38rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  opacity: 0.9;
  margin-bottom: var(--space-md);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.hero-visual {
  position: absolute;
  top: 0;
  right: -5%;
  width: 60%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.hero-blob {
  width: 100%;
  height: auto;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--brand), var(--accent));
  opacity: 0.2;
}

.floating-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 25%;
  animation: float 8s ease-in-out infinite;
}

.floating-2 {
  width: 40px;
  height: 40px;
  top: 60%;
  right: 10%;
  animation: float 6s ease-in-out infinite 1s;
}

.floating-3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 60%;
  animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.6;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Social Proof */
.social-proof {
  padding: var(--space-lg) 0;
  background-color: var(--bone);
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--champagne); /* Blue accent for section titles */
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-md);
  justify-items: center;
  align-items: center;
}

.client-logo {
  color: var(--fg);
  opacity: 0.6;
  transition: opacity var(--transition-base), color var(--transition-base);
}

.client-logo:hover {
  opacity: 1;
  color: var(--brand);
}

/* Value Props */
.value-props {
  padding: var(--space-xl) 0;
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.prop-card {
  padding: var(--space-md);
  border-radius: 8px;
  background-color: var(--porcelain);
  border: 1px solid var(--platinum);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(11, 14, 19, 0.08);
  border-color: var(--champagne);
}

.prop-icon {
  margin-bottom: var(--space-sm);
  color: var(--ink-navy);
}

.prop-card:hover .prop-icon {
  color: var(--champagne); /* Blue accent on hover for icons */
}

.prop-card h3 {
  margin-bottom: var(--space-xs);
}

.prop-card p {
  opacity: 0.9;
  margin-bottom: 0;
}

/* Feature Highlights */
.features {
  padding: var(--space-xl) 0;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.feature-content h2 {
  margin-bottom: var(--space-sm);
}

.feature-list {
  margin-top: var(--space-md);
}

.feature-list li {
  margin-bottom: var(--space-xs);
}

.feature-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Stats Band */
.stats-band {
  padding: var(--space-xl) 0;
  background-color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  text-align: center;
}

.stat-item {
  padding: var(--space-md);
}

.stat-value {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--brand);
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  padding: var(--space-xl) 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background-color: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-position {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.25em;
}

/* FAQ / Accordion */
.faq {
  padding: var(--space-xl) 0;
  background-color: var(--muted);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  background-color: var(--bg);
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md);
  border: none;
  background: transparent;
  color: var(--fg);
  font-size: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  border-radius: var(--radius-md);
}

.accordion-trigger:hover {
  background-color: var(--muted);
}

.accordion-trigger:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.accordion-icon {
  margin-left: var(--space-sm);
  transition: transform var(--transition-base);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--space-md);
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.accordion-trigger[aria-expanded="true"] + .accordion-content {
  max-height: 500px;
  padding: var(--space-md);
}

/* Primary CTA */
.primary-cta {
  padding: var(--space-xl) 0;
  background: linear-gradient(160deg, var(--brand), var(--accent));
  color: var(--brand-ink);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.primary-cta h2 {
  margin-bottom: var(--space-sm);
}

.primary-cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: var(--space-md);
}

.primary-cta .btn {
  background-color: var(--brand-ink);
  color: var(--brand);
  box-shadow: var(--shadow-md);
}

.primary-cta .btn:hover, .primary-cta .btn:focus {
  background-color: var(--muted);
  color: var(--fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.site-footer {
  padding: var(--space-lg) 0 var(--space-sm);
  background-color: var(--bg);
  border-top: 1px solid var(--border);
}

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

.footer-brand p {
  opacity: 0.8;
  margin-top: var(--space-sm);
}

.footer-links h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

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

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

.footer-links a {
  color: var(--fg);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Animation utilities */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-delay {
  transition-delay: 150ms;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.parallax {
  transition: transform var(--transition-base);
}

/* Documentation styles (hidden template) */
.documentation {
  padding: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.documentation h2 {
  margin-bottom: var(--space-md);
}

.documentation h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  font-size: 1.2rem;
}

.documentation pre {
  background-color: var(--muted);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: var(--space-md);
}

.documentation code {
  font-family: monospace;
  font-size: 0.9em;
}

/* Responsive styles */
@media (max-width: 991px) {
  .hero-visual {
    opacity: 0.5;
    right: -20%;
    width: 80%;
  }
  
  .feature-split {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .feature-split.reverse {
    direction: ltr;
  }
}

@media (max-width: 767px) {
  .header-container {
    height: 64px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 300px;
    flex-direction: column;
    background-color: var(--bg);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    padding: var(--space-md);
    z-index: var(--z-modal);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .hero {
    padding: var(--space-lg) 0;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 0.3;
    margin-top: var(--space-lg);
  }
  
  .hero-visual svg {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .reveal {
    transition: opacity 100ms linear;
    transform: none;
  }
  
  .parallax {
    transform: none !important;
    transition: none !important;
  }
  
  .floating-1,
  .floating-2,
  .floating-3,
  .scroll-cue {
    animation: none;
  }
  
  .btn:hover, .btn:focus {
    transform: none;
  }
  
  .prop-card:hover {
    transform: none;
  }
}

/* ========================================
   HAMBURGER MENU STYLES
   ======================================== */

/* Header Layout Updates */
.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.logo {
  justify-self: center;
}

.logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(0);
  transition: filter 0.3s ease;
}

.header-right {
  justify-self: end;
}

.menu-text, .dealer-text {
  color: white;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.dealer-text {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.dealer-text:hover {
  opacity: 0.7;
}

/* Hamburger Button Styles */
.pelahm-hamburger-73fd5 {
  width: 18px;
  height: 12px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 150;
}

.pelahm-hamburger-73fd5 span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: white;
  transition: all 0.3s ease;
}

.pelahm-hamburger-73fd5 span:nth-child(2) {
  width: 12px;
}

/* Hamburger animation */
.pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
  width: 100%;
}

.pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(2) {
  opacity: 0;
  width: 100%;
}

.pelahm-hamburger-73fd5.pelahm-active-a8e21 span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Sidebar Navigation - Left side with dark glass effect */
.pelahm-sidebar-b9c43 {
  position: fixed;
  top: 0;
  left: -45vw;
  width: 45vw;
  height: 100vh;
  background-color: rgba(22, 22, 22, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: left 1.2s ease;
  z-index: 120;
  padding: 0 40px;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 {
  left: 0;
}

/* Darkened Overlay */
.pelahm-overlay-f71e2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease;
}

.pelahm-overlay-f71e2.pelahm-active-a8e21 {
  opacity: 1;
  visibility: visible;
}

/* Navigation Links with cinematic animation */
.pelahm-nav-links-d2e67 {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  padding-right: 10%;
}

.pelahm-nav-links-d2e67 li {
  margin-bottom: 28px;
  transform: translateX(-100px);
  opacity: 0;
  transition: all 1.2s ease;
  width: 100%;
  text-align: right;
  visibility: hidden;
}

/* Apply staggered animation delays when active */
.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(1) {
  transition-delay: 0.6s;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(2) {
  transition-delay: 1.0s;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(3) {
  transition-delay: 1.4s;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(4) {
  transition-delay: 1.8s;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(5) {
  transition-delay: 2.2s;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.pelahm-sidebar-b9c43.pelahm-active-a8e21 .pelahm-nav-links-d2e67 li:nth-child(6) {
  transition-delay: 2.6s;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Exit animations - staggered in reverse */
.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(1) {
  transition-delay: 1.8s;
  transform: translateX(-100px);
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(2) {
  transition-delay: 1.2s;
  transform: translateX(-100px);
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(3) {
  transition-delay: 0.9s;
  transform: translateX(-100px);
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(4) {
  transition-delay: 0.6s;
  transform: translateX(-100px);
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(5) {
  transition-delay: 0.3s;
  transform: translateX(-100px);
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s ease;
}

.pelahm-sidebar-b9c43:not(.pelahm-active-a8e21) .pelahm-nav-links-d2e67 li:nth-child(6) {
  transition-delay: 0.1s;
  transform: translateX(-100px);
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s ease;
}

.pelahm-nav-links-d2e67 li a {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  display: block;
  padding: 12px 0;
  transition: all 0.5s ease;
  position: relative;
}

.pelahm-nav-links-d2e67 li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #fff;
  right: 0;
  bottom: 0;
  transition: width 0.5s ease;
}

.pelahm-nav-links-d2e67 li a:hover {
  color: #f0f0f0;
}

.pelahm-nav-links-d2e67 li a:hover::after {
  width: 100%;
}

.pelahm-nav-links-d2e67 li:last-child {
  margin-bottom: 0;
}

/* ========================================
   HERO SECTION STYLES
   ======================================== */

.hero {
  position: relative;
  height: 100vh;
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-text-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 20px;
  opacity: 0.9;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 40px;
  letter-spacing: -1px;
  font-style: italic;
}

.hero-cta {
  display: inline-block;
  padding: 15px 35px;
  background: transparent;
  color: white;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.hero-cta:hover {
  background: white;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Ashfall Studio Replica Styles */

.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-video .hero-content {
  color: white;
  z-index: 10;
  position: relative;
}

.hero-logo {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 2rem;
  letter-spacing: 0.5em;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-video .hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  line-height: 1.1;
}

.hero-cta {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: white;
  color: #000;
}

/* Cards Header Section */
.cards-header-section {
  background: #000000;
  padding: 120px 40px 0px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.cards-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding-bottom: 80px;
  max-width: 800px;
}

.cards-header-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  color: white;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  animation: glitch-animation 6s infinite;
}

.cards-header-content .request {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  margin: 0;
  color: #ffffff;
  background: -moz-linear-gradient(left, #4d4d4d, 0.4, #4d4d4d, 0.5, white, 0.6, #4d4d4d, #4d4d4d);
  background: -webkit-gradient(linear, left top, right top, color-stop(0, #4d4d4d), color-stop(0.35, #4d4d4d), color-stop(0.5, white), color-stop(0.65, #4d4d4d), color-stop(1, #4d4d4d));
  background: linear-gradient(to right, #4d4d4d 0%, #4d4d4d 35%, white 50%, #4d4d4d 65%, #4d4d4d 100%);
  width: 100%;
  max-width: 600px;
  padding: 0;
  -moz-background-clip: text;
  -webkit-background-clip: text;
  background-clip: text;
  -moz-text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: request 6s infinite linear;
  animation-fill-mode: forwards;
  -webkit-text-size-adjust: none;
  text-align: center;
  background-size: 300px 100%;
  line-height: 1.4;
  font-weight: 400;
}

/* Cards Header Mobile Responsive Styles */
@media (max-width: 768px) {
  .cards-header-section {
    padding: 80px 24px 0px;
  }

  .cards-header-content {
    padding-bottom: 60px;
    gap: 1.25rem;
  }

  .cards-header-content h2 {
    font-size: clamp(28px, 6vw, 42px);
    line-height: 1.3;
  }

  .cards-header-content .request {
    font-size: clamp(14px, 3vw, 18px);
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .cards-header-section {
    padding: 60px 20px 0px;
  }

  .cards-header-content {
    padding-bottom: 50px;
    gap: 1rem;
  }

  .cards-header-content h2 {
    font-size: clamp(24px, 7vw, 36px);
    line-height: 1.35;
    letter-spacing: -0.01em;
  }

  .cards-header-content .request {
    font-size: clamp(13px, 3.5vw, 16px);
    max-width: 100%;
    line-height: 1.5;
  }
}

@media (max-width: 375px) {
  .cards-header-section {
    padding: 50px 16px 0px;
  }

  .cards-header-content {
    padding-bottom: 40px;
  }

  .cards-header-content h2 {
    font-size: clamp(22px, 7.5vw, 32px);
  }

  .cards-header-content .request {
    font-size: 13px;
  }
}

@media (max-width: 320px) {
  .cards-header-section {
    padding: 40px 12px 0px;
  }

  .cards-header-content {
    padding-bottom: 35px;
  }

  .cards-header-content h2 {
    font-size: clamp(20px, 8vw, 28px);
  }

  .cards-header-content .request {
    font-size: 12px;
    line-height: 1.6;
  }
}

@keyframes request {
  0% {
    background-position: -150px 0;
  }
  15% {
    background-position: -150px 0;
  }
  50% {
    background-position: 150px 0;
  }
  85% {
    background-position: 150px 0;
  }
  100% {
    background-position: -150px 0;
  }
}

/* Glitch keyframes - more subtle */
@keyframes glitch-animation {
  0% {
    transform: translate(0);
  }
  2% {
    transform: translate(0);
  }
  4% {
    transform: translate(-0.5px, 0.5px);
  }
  6% {
    transform: translate(0.5px, -0.5px);
  }
  8% {
    transform: translate(0);
  }
  10% {
    transform: translate(0);
  }
  100% {
    transform: translate(0);
  }
}

.featured-work {
  padding: 4rem 0;
}

.featured-work .section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--onyx);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.timer-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.timer-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.location-display {
  color: #fff;
  text-align: center;
}

.location-info h4 {
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.location-info p {
  font-size: 10px;
  opacity: 0.8;
  line-height: 1.4;
}

/* App Description */
.app-description {
  padding-left: 2rem;
  opacity: 0;
  animation: fadeInRight 1s ease-out 0.8s forwards paused;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.app-badge {
  display: inline-block;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.app-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--onyx);
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

.app-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.download-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #000;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-app-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.download-app-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.download-app-btn {
  position: relative;
  overflow: hidden;
}

.download-app-btn:hover::after {
  opacity: 1;
  animation: shimmer 0.6s ease-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.btn-icon {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-app-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .app-description {
    padding-left: 0;
  }
  
  .app-mockups {
    height: 400px;
    justify-content: center;
  }
  
  .phone-frame {
    width: 140px;
    height: 300px;
  }
  
  .phone-2 {
    margin: 0 -15px;
  }
  
  .app-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .app-mockups {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }
  
  .phone-1, .phone-2, .phone-3 {
    transform: rotate(0deg) scale(0.8);
    margin: 0;
  }
  
  .modern-app-section {
    padding: 4rem 0;
  }
  
  .app-title {
    font-size: 2rem;
  }
}

.featured-work {
  padding: 4rem 0;
}

.featured-work .section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--onyx);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.work-item {
  background: var(--bone);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: translateY(-10px);
}

.work-item img {
  width: 100%;
  height: auto;
}

.work-item h3 {
  font-size: 1.25rem;
  padding: 1rem;
  margin: 0;
  color: var(--onyx);
}

.work-tags {
  padding: 0 1rem 1rem;
}

.work-tags span {
  display: inline-block;
  background: var(--platinum);
  color: var(--onyx);
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
}

.show-more-work {
  text-align: center;
  margin-top: 3rem;
}

/* Hero Statement Section */
.hero-statement-section {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, #0A2540 0%, #0E3A5F 35%, #1A4D6F 70%, #0D2B45 100%);
  color: #ffffff;
  padding: 120px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-statement-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-statement-content {
  max-width: 900px;
  padding: 4rem 0;
}

.hero-main-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.hero-statement-shapes {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape-card {
  position: absolute;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.shape-card-1 {
  width: 420px;
  height: 420px;
  bottom: -100px;
  right: 0;
  border-top-right-radius: 120px;
}

.shape-card-2 {
  width: 350px;
  height: 350px;
  bottom: 50px;
  right: 400px;
  border-bottom-left-radius: 100px;
}

.shape-card-3 {
  width: 280px;
  height: 280px;
  top: 80px;
  right: 150px;
  border-top-left-radius: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-statement-section {
    min-height: 500px;
    padding: 4rem 0;
  }
  
  .hero-statement-content {
    padding: 2rem 0;
  }
  
  .hero-main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-statement-shapes {
    width: 100%;
    opacity: 0.5;
  }
  
  .shape-card-1 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    right: -50px;
  }
  
  .shape-card-2 {
    width: 250px;
    height: 250px;
    bottom: 100px;
    right: 200px;
  }
  
  .shape-card-3 {
    width: 200px;
    height: 200px;
    top: 50px;
    right: 50px;
  }
}

@media (max-width: 480px) {
  .hero-statement-section {
    min-height: 400px;
    padding: 3rem 0;
  }
  
  .hero-statement-content {
    padding: 1.5rem 0;
  }
  
  .hero-main-title {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.25rem);
  }
  
  .hero-statement-shapes {
    opacity: 0.3;
  }
  
  .shape-card-1 {
    width: 250px;
    height: 250px;
    bottom: -60px;
    right: -80px;
  }
  
  .shape-card-2 {
    width: 200px;
    height: 200px;
    bottom: 80px;
    right: 120px;
  }
  
  .shape-card-3 {
    width: 160px;
    height: 160px;
    top: 40px;
    right: 20px;
  }
}

@media (max-width: 375px) {
  .hero-statement-section {
    min-height: 360px;
    padding: 2.5rem 0;
  }
  
  .hero-statement-content {
    padding: 1.25rem 0;
  }
  
  .hero-main-title {
    font-size: clamp(1.5rem, 9.5vw, 2.25rem);
    margin-bottom: 1.25rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.85rem, 3.5vw, 1.15rem);
  }
  
  .shape-card-1 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -100px;
  }
  
  .shape-card-2 {
    width: 160px;
    height: 160px;
    bottom: 60px;
    right: 80px;
  }
  
  .shape-card-3 {
    width: 130px;
    height: 130px;
    top: 30px;
    right: 10px;
  }
}

@media (max-width: 320px) {
  .hero-statement-section {
    min-height: 340px;
    padding: 2rem 0;
  }
  
  .hero-statement-content {
    padding: 1rem 0;
  }
  
  .hero-main-title {
    font-size: clamp(1.35rem, 10vw, 2rem);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.8rem, 4vw, 1.05rem);
  }
  
  .hero-statement-shapes {
    opacity: 0.25;
  }
  
  .shape-card-1 {
    width: 170px;
    height: 170px;
    bottom: -40px;
    right: -120px;
  }
  
  .shape-card-2 {
    width: 140px;
    height: 140px;
    bottom: 50px;
    right: 60px;
  }
  
  .shape-card-3 {
    width: 110px;
    height: 110px;
    top: 20px;
    right: 0px;
  }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
  .hero-statement-section {
    min-height: 300px;
    padding: 2rem 0;
  }
  
  .hero-statement-content {
    padding: 1rem 0;
  }
  
  .hero-main-title {
    margin-bottom: 1rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-statement-section {
    transition: none;
  }

  .shape-card {
    animation: none;
  }
}

.work-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.work-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Defense System Section */
.defense-system-section {
  background: #ffffff;
  color: var(--onyx);
  padding: 6rem 0;
  position: relative;
}

.defense-system-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.defense-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 50%;
  border: 2px solid rgba(74, 144, 226, 0.2);
}

.defense-main-text {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.35;
  font-weight: 400;
  margin-bottom: 4rem;
  color: var(--onyx);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.defense-stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(74, 144, 226, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(74, 144, 226, 0.1);
  transition: all 0.3s ease;
}

.defense-stat-item:hover {
  background: rgba(74, 144, 226, 0.08);
  border-color: rgba(74, 144, 226, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.15);
}

.defense-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--onyx);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #4A90E2 0%, #7BB5F5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.defense-stat-label {
  font-size: 0.875rem;
  color: rgba(11, 14, 19, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .defense-system-section {
    padding: 4rem 0;
  }
  
  .defense-main-text {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 3rem;
  }
  
  .defense-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .defense-stat-item {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .defense-system-section {
    padding: 3rem 0;
  }

  .defense-logo {
    margin-bottom: 1.5rem;
    padding: 0.75rem;
  }

  .defense-main-text {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    margin-bottom: 2.5rem;
    line-height: 1.4;
  }

  .defense-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .defense-stat-item {
    padding: 1rem;
  }

  .defense-stat-number {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .defense-stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  .defense-system-section {
    padding: 2.5rem 0;
  }

  .defense-logo {
    margin-bottom: 1.25rem;
    padding: 0.625rem;
  }

  .defense-main-text {
    font-size: clamp(1.25rem, 7.5vw, 1.65rem);
    margin-bottom: 2rem;
  }

  .defense-stats {
    gap: 1.25rem;
  }

  .defense-stat-item {
    padding: 0.875rem;
  }

  .defense-stat-number {
    font-size: clamp(1.5rem, 8vw, 2.25rem);
  }

  .defense-stat-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 320px) {
  .defense-system-section {
    padding: 2rem 0;
  }

  .defense-main-text {
    font-size: clamp(1.15rem, 8vw, 1.5rem);
    margin-bottom: 1.75rem;
  }

  .defense-stats {
    gap: 1rem;
  }

  .defense-stat-item {
    padding: 0.75rem;
  }

  .defense-stat-number {
    font-size: clamp(1.35rem, 8.5vw, 2rem);
  }

  .defense-stat-label {
    font-size: 0.7rem;
  }
}

/* Touch Optimization for Defense System */
@media (hover: none) and (pointer: coarse) {
  .defense-stat-item:hover {
    transform: none;
  }

  .defense-stat-item {
    transition: none;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .defense-stat-item {
    transition: none !important;
  }

  .defense-stat-item:hover {
    transform: none;
  }
}

/* ====== MODERN HERO + STATS SECTION ====== */
:root{
  --shell-bg: var(--onyx);
  --shell-card: var(--porcelain);
  --shell-muted: var(--platinum);
  --shell-ink: var(--onyx);
  --shell-ink-2: var(--ink-navy);
  --shell-accent: var(--ink-navy);
  --shell-accent-2: var(--champagne);
  --shell-shadow: 0 10px 30px rgba(11, 14, 19, .18), 0 2px 6px rgba(11, 14, 19, .12);
  --shell-radius-xl: 24px;
  --shell-radius-2xl: 28px;
}

/* ========================================================================================
   HERO + STATS SECTION - Professional Hero + Stats Combined Section
   Brand-integrated, fully responsive design with glassmorphism effects
======================================================================================== */

.hero-stats-section {
  padding: 120px 0;
  background: #000000;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle gradient overlay for depth */
.hero-stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(74, 144, 226, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-stats-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ====== HERO ====== */
.hero-stats-section .hero{
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 420px !important;
  min-height: 420px;
  max-height: 420px;
  background: 
    linear-gradient(135deg, 
      rgba(15, 18, 24, 0.75) 0%, 
      rgba(29, 33, 41, 0.65) 50%,
      rgba(15, 18, 24, 0.75) 100%
    ),
    var(--platinum) url('https://res.cloudinary.com/dbqriys79/image/upload/v1753350357/logo-wide_xjespw.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  isolation: isolate;
}

.hero-stats-section .hero::after{
  /* subtle gradient overlay for depth */
  content: "";
  position: absolute; 
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(11,14,19,.7) 0%, 
    rgba(11,14,19,.5) 45%, 
    rgba(11,14,19,.3) 75%, 
    rgba(11,14,19,.1) 100%
  );
  z-index: 0;
}
.hero-stats-section .hero-content{
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: #fff;
}

.hero-stats-section .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 18px;
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(74, 144, 226, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(74, 144, 226, 0.25);
  border-radius: 24px;
}

.hero-stats-section h2{
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
  text-wrap: balance;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-stats-section .sub{
  max-width: 55ch;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,.9);
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-stats-section .cta{
  display: inline-flex; 
  align-items: center; 
  gap: 10px;
  background: var(--champagne);
  color: #fff;
  border: 1px solid rgba(74, 144, 226, 0.3);
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 
    0 8px 24px rgba(74, 144, 226, 0.35),
    0 2px 8px rgba(74, 144, 226, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .cta:hover{ 
  transform: translateY(-2px);
  background: var(--ink-navy);
  color: var(--porcelain);
  box-shadow: 
    0 12px 32px rgba(74, 144, 226, 0.45),
    0 4px 12px rgba(74, 144, 226, 0.3);
}

.hero-stats-section .cta:active{ 
  transform: translateY(0) scale(.98);
}

.hero-stats-section .cta svg {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .cta:hover svg {
  transform: translateX(2px);
}

/* Brand Logo Card */
.hero-stats-section .pip{
  position: relative;
  z-index: 1;
  width: 280px;
  aspect-ratio: 16/10;
  background: 
    linear-gradient(135deg, 
      rgba(245, 246, 247, 0.15) 0%, 
      rgba(245, 246, 247, 0.08) 100%
    );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 246, 247, 0.25);
  border-radius: 20px;
  box-shadow: 
    0 12px 40px rgba(11, 14, 19, 0.4),
    0 4px 16px rgba(11, 14, 19, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .pip:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 16px 50px rgba(11, 14, 19, 0.5),
    0 6px 20px rgba(11, 14, 19, 0.3);
  border-color: rgba(216, 186, 124, 0.4);
}

.hero-stats-section .pip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(216, 186, 124, 0.5) 50%, 
    transparent 100%);
  opacity: 0.6;
}

.hero-stats-section .pip img {
  width: 100%;
  height: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.05);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .pip:hover img {
  filter: brightness(1.2) contrast(1.1);
  transform: scale(1.05);
}

.hero-stats-section .pip .dot{
  position: absolute; 
  right: 14px; 
  top: 14px;
  width: 10px; 
  height: 10px; 
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 
    0 0 12px rgba(216, 186, 124, 0.6),
    0 0 6px rgba(216, 186, 124, 0.4);
  animation: pulse 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

/* ====== STATS STRIP ====== */
/* Professional Stats Cards - Brand Color System */
.hero-stats-section .stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 4px;
  margin-top: 60px;
}

.hero-stats-section .card{
  background: rgba(245, 246, 247, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(218, 221, 225, 0.5);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 180px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  box-shadow: 
    0 8px 24px rgba(11, 14, 19, 0.08),
    0 2px 8px rgba(11, 14, 19, 0.04);
}

.hero-stats-section .card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 16px 48px rgba(11, 14, 19, 0.12),
    0 6px 20px rgba(11, 14, 19, 0.08);
  border-color: rgba(74, 144, 226, 0.6);
  background: rgba(245, 246, 247, 1);
}

.hero-stats-section .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(74, 144, 226, 0.8) 50%, 
    transparent 100%);
  opacity: 0.4;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .card:hover::before {
  opacity: 0.8;
}

.hero-stats-section .chip{
  align-self: flex-start;
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  background: linear-gradient(135deg, 
    rgba(74, 144, 226, 0.15) 0%, 
    rgba(74, 144, 226, 0.08) 100%);
  border: 1px solid rgba(74, 144, 226, 0.3);
  color: var(--ink-navy);
  font-weight: 600;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: var(--font-main);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .card:hover .chip {
  background: linear-gradient(135deg, 
    rgba(74, 144, 226, 0.25) 0%, 
    rgba(74, 144, 226, 0.15) 100%);
  border-color: rgba(74, 144, 226, 0.5);
  transform: translateY(-2px);
}

.hero-stats-section .kpi{
  display: flex; 
  align-items: flex-end; 
  gap: 10px; 
  margin-top: auto;
}

.hero-stats-section .kpi .value{
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--onyx);
  font-family: var(--font-main);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .card:hover .kpi .value {
  color: var(--ink-navy);
}

.hero-stats-section .kpi .unit{ 
  font-size: clamp(18px, 2vw, 24px); 
  color: rgba(15, 18, 24, 0.6);
  font-weight: 600;
  margin-bottom: 6px;
  font-family: var(--font-main);
}

.hero-stats-section .meta{ 
  color: rgba(15, 18, 24, 0.65);
  font-size: 14px; 
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.5;
  font-family: var(--font-main);
}

/* Branded Toggle Widget (card 2) */
.hero-stats-section .toggle{
  margin-top: auto;
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 14px;
  padding: 14px 18px; 
  border-radius: 18px; 
  background: rgba(245, 246, 247, 0.6);
  border: 1px solid rgba(218, 221, 225, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .card:hover .toggle {
  background: rgba(245, 246, 247, 0.8);
  border-color: rgba(74, 144, 226, 0.3);
}

.hero-stats-section .switch{
  width: 54px; 
  height: 32px; 
  border-radius: 16px;
  background: rgba(218, 221, 225, 0.5);
  position: relative; 
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(218, 221, 225, 0.6);
  outline: none;
}

.hero-stats-section .switch:focus {
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
}

.hero-stats-section .knob{
  position: absolute; 
  top: 2px;
  left: 2px;
  width: 28px; 
  height: 28px; 
  border-radius: 50%;
  background: #fff;
  box-shadow: 
    0 3px 10px rgba(11, 14, 19, 0.2),
    0 1px 4px rgba(11, 14, 19, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .switch.on{ 
  background: linear-gradient(90deg, 
    var(--champagne) 0%, 
    var(--ink-navy) 100%);
  border-color: var(--champagne);
}

.hero-stats-section .switch.on .knob{ 
  transform: translateX(22px);
  box-shadow: 
    0 4px 12px rgba(74, 144, 226, 0.3),
    0 2px 6px rgba(11, 14, 19, 0.2);
}

/* Branded Dark Highlight Card (card 3) */
.hero-stats-section .card.dark{
  background: linear-gradient(135deg, 
    var(--ink-navy) 0%, 
    var(--onyx) 100%);
  color: var(--porcelain);
  border: 1px solid rgba(216, 186, 124, 0.4);
  box-shadow: 
    0 12px 36px rgba(11, 14, 19, 0.2),
    0 4px 12px rgba(11, 14, 19, 0.15);
}

.hero-stats-section .card.dark:hover {
  border-color: rgba(216, 186, 124, 0.7);
  box-shadow: 
    0 20px 56px rgba(11, 14, 19, 0.3),
    0 8px 20px rgba(11, 14, 19, 0.2);
}

.hero-stats-section .card.dark::before {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(216, 186, 124, 0.8) 50%, 
    transparent 100%);
  opacity: 0.7;
}

.hero-stats-section .card.dark .chip {
  background: rgba(216, 186, 124, 0.2);
  color: var(--porcelain);
  border-color: rgba(216, 186, 124, 0.4);
}

.hero-stats-section .card.dark:hover .chip {
  background: rgba(216, 186, 124, 0.3);
  border-color: rgba(216, 186, 124, 0.6);
}

.hero-stats-section .card.dark .kpi .value {
  color: var(--porcelain);
}

.hero-stats-section .card.dark .kpi .unit {
  color: rgba(245, 246, 247, 0.8);
}

.hero-stats-section .dark .meta{ 
  color: rgba(245, 246, 247, 0.85);
}

.hero-stats-section .bar{
  width: 100%; 
  height: 10px;
  background: rgba(245, 246, 247, 0.15);
  border: 1px solid rgba(245, 246, 247, 0.2);
  border-radius: 6px;
  padding: 0;
  display: flex; 
  align-items: center; 
  overflow: hidden;
  margin-top: 10px;
}

.hero-stats-section .bar .fill{
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, 
    var(--champagne) 0%, 
    rgba(245, 246, 247, 0.9) 100%);
  border-radius: 6px;
  position: relative;
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .card.dark:hover .bar .fill {
  width: 75%;
}

.hero-stats-section .bar .thumb{
  position: absolute; 
  top: -14px;
  right: -44px;
  width: 52px; 
  height: 28px; 
  border-radius: 14px;
  background: var(--champagne);
  border: 1px solid rgba(216, 186, 124, 0.3);
  display: flex; 
  align-items: center;
  justify-content: center;
  font-size: 12px; 
  color: var(--onyx);
  font-weight: 700;
  font-family: var(--font-main);
  box-shadow: 
    0 4px 12px rgba(216, 186, 124, 0.3),
    0 2px 6px rgba(11, 14, 19, 0.2);
}

/* ========================================================================================
   RESPONSIVE BREAKPOINTS - Professional Mobile-First Design
======================================================================================== */

/* Tablets and Small Desktops (1024px) */
@media (max-width: 1024px) {
  .hero-stats-section, .hero-stats-section {
    margin: 32px auto;
    padding: clamp(14px, 2vw, 20px);
  }

  .hero-stats-section .hero {
    height: 380px !important;
    min-height: 380px;
    max-height: 380px;
    padding: clamp(20px, 3.5vw, 40px);
  }

  .hero-stats-section .pip {
    width: 240px;
  }

  .hero-stats-section .stats {
    gap: 20px;
    padding: 0 2px;
  }
  
  .hero-stats-section .card {
    padding: 32px 24px;
    min-height: 160px;
  }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  .hero-stats-section, .hero-stats-section {
    margin: 24px auto;
    padding: 16px;
    border-radius: 24px;
  }

  .hero-stats-section .hero {
    grid-template-columns: 1fr;
    height: 320px !important;
    min-height: 320px;
    max-height: 320px;
    padding: 28px 24px;
    border-radius: 20px;
  }

  .hero-stats-section .hero-content {
    max-width: 100%;
  }

  .hero-stats-section h2 {
    font-size: clamp(28px, 6vw, 42px);
    margin-bottom: 16px;
  }

  .hero-stats-section .sub {
    font-size: clamp(14px, 2.5vw, 16px);
    margin-bottom: 24px;
  }

  .hero-stats-section .cta {
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero-stats-section .pip {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 160px;
    padding: 20px;
  }

  .hero-stats-section .pip img {
    max-width: 140px;
  }
  
  .hero-stats-section .stats { 
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  
  .hero-stats-section .card {
    padding: 28px 24px;
    min-height: 140px;
    border-radius: 20px;
  }
  
  .hero-stats-section .kpi .value {
    font-size: clamp(36px, 7vw, 48px);
  }
  
  .hero-stats-section .kpi .unit {
    font-size: clamp(16px, 3vw, 20px);
  }
}

/* Large Phones (480px) */
@media (max-width: 480px) {
  .hero-stats-section, .hero-stats-section {
    margin: 20px auto;
    padding: 12px;
    border-radius: 20px;
  }

  .hero-stats-section .hero {
    height: 280px !important;
    min-height: 280px;
    max-height: 280px;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .hero-stats-section .eyebrow {
    font-size: 0.75rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .hero-stats-section h2 {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 12px;
  }

  .hero-stats-section .sub {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .hero-stats-section .cta {
    padding: 11px 18px;
    font-size: 13px;
    gap: 8px;
  }

  .hero-stats-section .cta svg {
    width: 16px;
    height: 16px;
  }

  .hero-stats-section .pip {
    width: 140px;
    padding: 16px;
    right: 16px;
    bottom: 16px;
    border-radius: 16px;
  }

  .hero-stats-section .pip img {
    max-width: 110px;
  }

  .hero-stats-section .pip .dot {
    width: 8px;
    height: 8px;
    right: 10px;
    top: 10px;
  }

  .hero-stats-section .stats {
    margin-top: 20px;
    gap: 14px;
  }
  
  .hero-stats-section .card {
    padding: 24px 20px;
    gap: 14px;
    min-height: 130px;
    border-radius: 18px;
  }

  .hero-stats-section .chip {
    font-size: 10px;
    padding: 8px 12px;
    border-radius: 12px;
  }
  
  .hero-stats-section .kpi .value {
    font-size: clamp(32px, 8vw, 42px);
  }

  .hero-stats-section .kpi .unit {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  .hero-stats-section .meta {
    font-size: 13px;
  }
  
  .hero-stats-section .toggle {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 16px;
  }

  .hero-stats-section .switch {
    width: 50px;
    height: 30px;
  }

  .hero-stats-section .knob {
    width: 26px;
    height: 26px;
  }

  .hero-stats-section .switch.on .knob {
    transform: translateX(20px);
  }
  
  .hero-stats-section .bar {
    height: 9px;
    margin-top: 8px;
  }

  .hero-stats-section .bar .thumb {
    width: 46px;
    height: 26px;
    font-size: 11px;
    right: -40px;
    top: -12px;
  }
}

/* Standard Phones (375px) */
@media (max-width: 375px) {
  .hero-stats-section, .hero-stats-section {
    margin: 16px auto;
    padding: 10px;
    border-radius: 18px;
  }

  .hero-stats-section .hero {
    height: 240px !important;
    min-height: 240px;
    max-height: 240px;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .hero-stats-section .eyebrow {
    font-size: 0.7rem;
    padding: 4px 10px;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
  }

  .hero-stats-section h2 {
    font-size: clamp(22px, 8vw, 32px);
    margin-bottom: 10px;
  }

  .hero-stats-section .sub {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .hero-stats-section .cta {
    padding: 10px 16px;
    font-size: 12px;
    gap: 6px;
  }

  .hero-stats-section .cta svg {
    width: 14px;
    height: 14px;
  }

  .hero-stats-section .pip {
    width: 120px;
    padding: 14px;
    right: 12px;
    bottom: 12px;
    border-radius: 14px;
  }

  .hero-stats-section .pip img {
    max-width: 90px;
  }

  .hero-stats-section .pip .dot {
    width: 7px;
    height: 7px;
    right: 8px;
    top: 8px;
  }

  .hero-stats-section .stats {
    margin-top: 16px;
    gap: 12px;
  }

  .hero-stats-section .card {
    padding: 20px 16px;
    gap: 12px;
    min-height: 120px;
    border-radius: 16px;
  }

  .hero-stats-section .chip {
    font-size: 9px;
    padding: 7px 10px;
    border-radius: 10px;
  }

  .hero-stats-section .kpi .value {
    font-size: clamp(28px, 9vw, 38px);
  }

  .hero-stats-section .kpi .unit {
    font-size: clamp(13px, 4vw, 16px);
    margin-bottom: 4px;
  }

  .hero-stats-section .meta {
    font-size: 12px;
  }

  .hero-stats-section .toggle {
    padding: 10px 12px;
    gap: 8px;
    border-radius: 14px;
  }

  .hero-stats-section .switch {
    width: 46px;
    height: 28px;
  }

  .hero-stats-section .knob {
    width: 24px;
    height: 24px;
  }

  .hero-stats-section .switch.on .knob {
    transform: translateX(18px);
  }

  .hero-stats-section .bar {
    height: 8px;
    margin-top: 6px;
  }

  .hero-stats-section .bar .thumb {
    width: 42px;
    height: 24px;
    font-size: 10px;
    right: -36px;
    top: -11px;
  }
}

/* Small Phones (320px) */
@media (max-width: 320px) {
  .hero-stats-section, .hero-stats-section {
    margin: 12px auto;
    padding: 8px;
    border-radius: 16px;
  }

  .hero-stats-section .hero {
    height: 200px !important;
    min-height: 200px;
    max-height: 200px;
    padding: 16px 14px;
    border-radius: 14px;
  }

  .hero-stats-section .eyebrow {
    font-size: 0.65rem;
    padding: 3px 8px;
    margin-bottom: 10px;
  }

  .hero-stats-section h2 {
    font-size: clamp(20px, 9vw, 28px);
    margin-bottom: 8px;
  }

  .hero-stats-section .sub {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .hero-stats-section .cta {
    padding: 9px 14px;
    font-size: 11px;
    gap: 5px;
  }

  .hero-stats-section .cta svg {
    width: 12px;
    height: 12px;
  }

  .hero-stats-section .pip {
    width: 100px;
    padding: 12px;
    right: 10px;
    bottom: 10px;
    border-radius: 12px;
  }

  .hero-stats-section .pip img {
    max-width: 75px;
  }

  .hero-stats-section .pip .dot {
    width: 6px;
    height: 6px;
    right: 6px;
    top: 6px;
  }

  .hero-stats-section .stats {
    margin-top: 14px;
    gap: 10px;
  }

  .hero-stats-section .card {
    padding: 18px 14px;
    gap: 10px;
    min-height: 110px;
    border-radius: 14px;
  }

  .hero-stats-section .chip {
    font-size: 8px;
    padding: 6px 8px;
    border-radius: 8px;
  }

  .hero-stats-section .kpi .value {
    font-size: clamp(26px, 10vw, 34px);
  }

  .hero-stats-section .kpi .unit {
    font-size: clamp(12px, 4.5vw, 15px);
    margin-bottom: 3px;
  }

  .hero-stats-section .meta {
    font-size: 11px;
  }

  .hero-stats-section .toggle {
    padding: 8px 10px;
    gap: 6px;
    border-radius: 12px;
  }

  .hero-stats-section .switch {
    width: 42px;
    height: 26px;
  }

  .hero-stats-section .knob {
    width: 22px;
    height: 22px;
  }

  .hero-stats-section .switch.on .knob {
    transform: translateX(16px);
  }

  .hero-stats-section .bar {
    height: 7px;
    margin-top: 5px;
  }

  .hero-stats-section .bar .thumb {
    width: 38px;
    height: 22px;
    font-size: 9px;
    right: -32px;
    top: -10px;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (max-height: 500px) and (orientation: landscape) {
  .hero-stats-section, .hero-stats-section {
    margin: 16px auto;
  }

  .hero-stats-section .hero {
    height: 260px !important;
    min-height: 260px;
    max-height: 260px;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .hero-stats-section h2 {
    font-size: clamp(22px, 4vw, 32px);
    margin-bottom: 10px;
  }

  .hero-stats-section .sub {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .hero-stats-section .pip {
    position: relative;
    right: auto;
    bottom: auto;
    width: 180px;
  }

  .hero-stats-section .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
  }

  .hero-stats-section .card {
    padding: 20px 16px;
    min-height: 130px;
  }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
  .hero-stats-section .cta {
    min-height: 44px;
    padding: 12px 22px;
  }

  .hero-stats-section .switch {
    min-width: 54px;
    min-height: 32px;
  }

  .hero-stats-section .card {
    transition: none;
  }

  .hero-stats-section .card:active {
    transform: scale(0.98);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .shell,
  .shell .hero,
  .hero-stats-section .card,
  .hero-stats-section .cta,
  .hero-stats-section .pip,
  .hero-stats-section .chip,
  .hero-stats-section .toggle,
  .hero-stats-section .switch,
  .hero-stats-section .knob,
  .hero-stats-section .bar .fill,
  .hero-stats-section .kpi .value {
    transition: none;
    animation: none;
  }

  .hero-stats-section .pip .dot {
    animation: none;
  }

  .hero-stats-section .cta:hover svg {
    transform: none;
  }
}

/* Dark Mode Support - Professional Brand Aligned */
@media (prefers-color-scheme: dark) {
  .hero-stats-section, .hero-stats-section {
    background: linear-gradient(180deg, 
      rgba(15, 18, 24, 0.98) 0%, 
      rgba(29, 33, 41, 0.95) 100%);
    border-color: rgba(218, 221, 225, 0.2);
  }

  .hero-stats-section .hero {
    background: 
      linear-gradient(135deg, 
        rgba(15, 18, 24, 0.85) 0%, 
        rgba(29, 33, 41, 0.75) 50%,
        rgba(15, 18, 24, 0.85) 100%
      ),
      var(--onyx) url('https://res.cloudinary.com/dbqriys79/image/upload/v1753350357/logo-wide_xjespw.png') center/cover no-repeat;
  }

  .hero-stats-section .pip {
    background: 
      linear-gradient(135deg, 
        rgba(15, 18, 24, 0.25) 0%, 
        rgba(15, 18, 24, 0.15) 100%
      );
    border-color: rgba(74, 144, 226, 0.35);
  }

  .hero-stats-section .pip:hover {
    border-color: rgba(74, 144, 226, 0.6);
  }

  .hero-stats-section .pip img {
    filter: brightness(1.2) contrast(1.1);
  }

  .hero-stats-section .pip:hover img {
    filter: brightness(1.3) contrast(1.15);
  }

  .hero-stats-section .card {
    background: rgba(15, 18, 24, 0.7);
    border: 1px solid rgba(218, 221, 225, 0.2);
    color: var(--porcelain);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
  }
  
  .hero-stats-section .card:hover {
    background: rgba(15, 18, 24, 0.85);
    border-color: rgba(74, 144, 226, 0.5);
    box-shadow: 
      0 16px 48px rgba(11, 14, 19, 0.6),
      0 6px 20px rgba(11, 14, 19, 0.3);
  }
  
  .hero-stats-section .card::before {
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(74, 144, 226, 0.7) 50%, 
      transparent 100%);
    opacity: 0.5;
  }

  .hero-stats-section .card:hover::before {
    opacity: 0.9;
  }
  
  .hero-stats-section .chip {
    background: linear-gradient(135deg, 
      rgba(74, 144, 226, 0.25) 0%, 
      rgba(74, 144, 226, 0.15) 100%);
    color: var(--porcelain);
    border-color: rgba(74, 144, 226, 0.4);
  }

  .hero-stats-section .card:hover .chip {
    background: linear-gradient(135deg, 
      rgba(74, 144, 226, 0.35) 0%, 
      rgba(74, 144, 226, 0.25) 100%);
    border-color: rgba(74, 144, 226, 0.6);
  }
  
  .hero-stats-section .kpi .value {
    color: var(--porcelain);
  }

  .hero-stats-section .card:hover .kpi .value {
    color: var(--champagne);
  }
  
  .hero-stats-section .kpi .unit {
    color: rgba(245, 246, 247, 0.7);
  }
  
  .hero-stats-section .meta {
    color: rgba(245, 246, 247, 0.75);
  }
  
  .hero-stats-section .toggle {
    background: rgba(15, 18, 24, 0.5);
    border-color: rgba(74, 144, 226, 0.3);
  }

  .hero-stats-section .card:hover .toggle {
    background: rgba(15, 18, 24, 0.7);
    border-color: rgba(74, 144, 226, 0.5);
  }

  .hero-stats-section .switch {
    background: rgba(218, 221, 225, 0.3);
    border-color: rgba(218, 221, 225, 0.4);
  }
  
  .hero-stats-section .card.dark {
    background: linear-gradient(135deg, 
      rgba(74, 144, 226, 0.95) 0%, 
      rgba(29, 33, 41, 0.95) 100%);
    border: 1px solid rgba(74, 144, 226, 0.5);
    color: var(--porcelain);
  }

  .hero-stats-section .card.dark:hover {
    border-color: rgba(74, 144, 226, 0.8);
  }
  
  .hero-stats-section .card.dark .chip {
    background: rgba(245, 246, 247, 0.2);
    color: var(--porcelain);
    border-color: rgba(245, 246, 247, 0.3);
  }

  .hero-stats-section .card.dark:hover .chip {
    background: rgba(245, 246, 247, 0.3);
    border-color: rgba(245, 246, 247, 0.5);
  }
  
  .hero-stats-section .card.dark .kpi .value {
    color: var(--porcelain);
  }
  
  .hero-stats-section .card.dark .kpi .unit {
    color: rgba(245, 246, 247, 0.85);
  }
  
  .hero-stats-section .card.dark .meta {
    color: rgba(245, 246, 247, 0.9);
  }

  .hero-stats-section .bar {
    background: rgba(245, 246, 247, 0.12);
    border-color: rgba(245, 246, 247, 0.15);
  }
}

/* Enhanced Animation States */
.hero-stats-section .card {
  transform-origin: center;
  will-change: transform;
}

.hero-stats-section .card:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-section .kpi .value {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero-stats-section .meta {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-stats-section .card,
  .hero-stats-section .card:hover,
  .hero-stats-section .card:active,
  .hero-stats-section .switch,
  .hero-stats-section .knob,
  .hero-stats-section .bar .fill,
  .hero-stats-section .kpi .value,
  .hero-stats-section .meta {
    animation: none;
    transition: none;
  }
  
  .hero-stats-section .card:hover {
    transform: none;
  }
}

/* Innovation Section Styles - White background with black text */
#yoda-embed {
  margin: 0 !important;
  padding: 0 !important;
}

#yoda-embed .intro-wrapper {
  background: white !important;
  margin: 0 !important;
  padding: 0 !important;
}

#yoda-embed .intro {
  background: white !important;
  margin: 0 !important;
  padding: 0 !important;
}

#yoda-embed #laptop-title {
  color: black !important;
}

#yoda-embed .title-letter {
  color: black !important;
}

#yoda-embed #laptop-sub-title {
  color: var(--luxury-accent) !important;
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ======================================== */

/* Header Mobile Styles - Tablet (768px) */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem 0;
  }

  .header-container {
    height: auto;
    min-height: 60px;
    padding: 0 20px;
  }

  .logo-img {
    height: 28px;
  }

  .site-header.scrolled .logo-img {
    height: 26px;
  }

  .menu-text, .dealer-text {
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  /* Ensure container has proper padding on mobile */
  .container {
    padding: 0 20px;
  }
}

/* Header Mobile Styles - Large Phone (480px) */
@media (max-width: 480px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .header-container {
    min-height: 52px;
    padding: 0 16px;
    gap: 8px;
  }

  .logo-img {
    height: 24px;
  }

  .site-header.scrolled .logo-img {
    height: 22px;
  }

  .menu-text, .dealer-text {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .header-left {
    gap: 8px;
  }

  /* Adjust container padding for small phones */
  .container {
    padding: 0 16px;
  }

  /* Adjust button sizes on mobile */
  .btn {
    padding: 0.65em 1.25em;
    font-size: 0.9rem;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 0.85em 1.75em;
  }

  .btn-sm {
    font-size: 0.8rem;
    padding: 0.45em 0.85em;
  }
}

/* Header Mobile Styles - Very Small Phones (375px and below) */
@media (max-width: 375px) {
  .site-header {
    padding: 0.5rem 0;
  }

  .header-container {
    min-height: 48px;
    padding: 0 12px;
    gap: 6px;
  }

  .logo-img {
    height: 22px;
  }

  .site-header.scrolled .logo-img {
    height: 20px;
  }

  .menu-text {
    display: none; /* Hide "MENU" text on very small screens */
  }

  .dealer-text {
    font-size: 8px;
    letter-spacing: 0.8px;
  }

  .header-left {
    gap: 6px;
  }

  .container {
    padding: 0 12px;
  }
}

/* Typography Mobile Adjustments */
@media (max-width: 768px) {
  h1, .h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  h2, .h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  h3, .h3 {
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  }

  .lead {
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  h1, .h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
  }

  h2, .h2 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    line-height: 1.25;
  }

  h3, .h3 {
    font-size: clamp(1.15rem, 4vw, 1.4rem);
    line-height: 1.3;
  }

  .lead {
    font-size: 0.95rem;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.65;
  }
}

/* Hero Section Mobile Styles */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    right: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Footer Mobile Styles */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 40px 0 30px;
  }

  .footer-container {
    padding: 0 16px;
  }

  .footer-title {
    font-size: 1.75rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-main {
    gap: 28px;
    margin-bottom: 32px;
  }
}

/* General Mobile Layout Improvements */
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  /* Ensure images are responsive */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Improve spacing for all sections */
  .section-spacing {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2rem 0;
  }

  .section-spacing {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .site-header {
    padding: 0.5rem 0;
  }

  .header-container {
    min-height: 44px;
  }

  .hero {
    padding: 2rem 0;
  }

  section {
    padding: 1.5rem 0;
  }
}

/* Very Small Devices - Additional Optimizations */
@media (max-width: 320px) {
  .header-container {
    padding: 0 8px;
  }

  .container {
    padding: 0 8px;
  }

  .logo-img {
    height: 20px;
  }

  .dealer-text {
    font-size: 7px;
  }

  .btn {
    padding: 0.6em 1em;
    font-size: 0.85rem;
  }
}

/* Touch Target Improvements for Mobile */
@media (max-width: 768px) {
  /* Ensure all clickable elements meet minimum 44x44px touch target */
  button,
  a.btn,
  .btn,
  .dealer-text {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dealer-text {
    padding: 8px;
  }

  /* Improve tap highlight color */
  * {
    -webkit-tap-highlight-color: rgba(74, 144, 226, 0.2);
  }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  html {
    overflow-x: hidden;
  }
}

/* High DPI screens optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img {
    image-rendering: -webkit-optimize-contrast;
  }
}