:root {
  /* Color Palette */
  --color-bg-primary: #011834;
  --color-bg-secondary: #012147;
  --color-accent-primary: #4fa7ff;
  --color-accent-secondary: #0066ff;
  --color-text-primary: #ffffff;
  --color-text-secondary: #cfe6ff;
  --color-text-muted: #7aafff;
  --color-link-hover: #6ec0ff;
  --gradient-primary: linear-gradient(140deg, #012147, #013467);
  --gradient-accent: linear-gradient(90deg, #4fa7ff 0%, #6ec0ff 100%);
  
  /* New Comfortable Reading Palette */
  --color-bg-light: #e8edf4;
  --color-bg-light-blue: #e4ebf2;
  --color-bg-soft-grey: #dde4ec;
  --color-text-dark: #1e293b;
  --color-text-grey: #334155;
  --color-text-muted-dark: #64748b;
  --color-accent-blue: #0066ff;
  --color-accent-light-blue: #4fa7ff;
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-nav: 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
  
  /* Responsive Font Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  
  /* Responsive Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;
  --space-4xl: 4rem;
  --space-5xl: 5rem;
  
  /* Container Sizes */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure all images are responsive and don't get cut off */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  font-size: 16px; /* Base font size for rem calculations */
}

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: -0.01em;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
}

/* Mobile top logo - hidden by default */
.mobile-top-logo {
  display: none;
}

/* Place the site header as a fixed top bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 70px;
}

/* Decorative blurred background images that match the hero/model images.
   Uses the project images `car2.png` (left) and `car1.png` (right).
   These are low-opacity and blurred so they act as a color/backdrop rather than compete
   with page content. If the images are missing, the fallback background-color remains.
*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(140deg, 
    #012147,
    #013467
  );
  pointer-events: none;
}

/* Base gradient provides subtle depth while keeping the design clean */

/* Electric blue geometric overlay with precise angles */
.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    /* Main diagonal slice with vibrant blue */
    linear-gradient(125deg, transparent 0%, transparent 45%, #012a5e 45.5%),
    /* Upper right angular cut with deeper accent */
    linear-gradient(230deg, transparent 0%, transparent 55%, #001b44 55.5%),
    /* Additional geometric accent with electric highlight */
    linear-gradient(140deg, #013a7c 0%, #013a7c 25%, transparent 25.5%),
    /* Subtle electric glow */
    radial-gradient(circle at 70% 120%, #0066ff15 0%, transparent 45%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: center;
  opacity: 1;
}

/* Ensure site content stacks above the decorative background */
.navbar,
.hero,
.models,
.industry {
  position: relative;
  z-index: 2;
}

/* Desktop optimization for 100% zoom */
@media (min-width: 1024px) and (max-width: 1920px) {
  .models-media,
  .industry-media,
  .vantagens-media,
  .about-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
  }
  
  /* Optimize chat bubbles for desktop 100% zoom */
  .awareness {
    padding: 15px 3% 20px;
  }
  
  .awareness-grid {
    max-width: 1600px;
    gap: 60px;
  }
  
  .benefits-list li {
    min-width: 450px;
    max-width: none;
    margin-right: 0;
    padding: 12px 18px; /* Reduced padding */
    font-size: 0.9rem; /* Smaller font size */
    line-height: 1.4; /* Tighter line height */
  }
  
  .benefits-list strong {
    font-size: 0.85rem; /* Smaller bold text */
    margin-right: 6px; /* Reduced margin */
  }
  
  .benefits-list .icon {
    font-size: 22px; /* Smaller icon */
    margin-right: 12px; /* Reduced margin */
  }
  
  .awareness-features {
    flex: 0 1 55%;
  }
  
  .awareness-intro {
    flex: 0 1 40%;
  }
  
  /* Optimize models section text for desktop 100% zoom */
  .models-text {
    padding: 32px; /* Optimized padding */
  }
  
  .models-text h2 {
    font-size: 2.5rem; /* Desktop specific */
    margin-bottom: 16px; /* Reduced margin */
  }
  
  .models-text p {
    font-size: 1.05rem; /* Slightly smaller text */
    line-height: 1.5; /* Tighter line height */
    margin-bottom: 16px; /* Reduced margin */
  }
  
  .models-text .muted {
    font-size: 1.05rem; /* Smaller muted text */
    margin-top: 4px; /* Further reduced margin */
  }
  
  /* Optimize vantagens section text for desktop 100% zoom */
  .vantagens-text {
    padding: 32px; /* Optimized padding */
  }
  
  .vantagens-text h2 {
    font-size: 2.5rem; /* Desktop specific */
    margin-bottom: 16px; /* Reduced margin */
  }
  
  .vantagens-text p,
  .vantagens-text .vantagens-list {
    font-size: 1.05rem; /* Slightly smaller text */
    line-height: 1.5; /* Tighter line height */
  }
  
  .vantagens-text p.highlight {
    font-size: 1.2rem; /* Smaller highlight text */
    margin-bottom: 18px; /* Reduced margin */
  }
  
  .vantagens-list {
    margin-top: 12px; /* Further reduced margin */
    padding-left: 16px; /* Reduced padding */
  }
  
  .vantagens-list li {
    margin-bottom: 8px; /* Further reduced margin */
  }
  
  /* Optimize about section text for desktop 100% zoom */
  .about {
    padding: 15px 3% 15px 3%;
  }
  
  .about-grid {
    max-width: 1700px;
    gap: 80px;
  }
  
  .about-text {
    flex: 0 0 45%; /* Match the updated layout */
    padding: 32px; /* Optimized padding */
  }
  
  .about-text h2 {
    font-size: 2.5rem; /* Desktop specific */
    margin-bottom: 16px; /* Reduced margin */
  }
  
  .about-text p {
    font-size: 1.05rem; /* Slightly smaller text */
    line-height: 1.5; /* Tighter line height */
    margin-bottom: 14px; /* Reduced margin */
  }
  
  .about-text p.highlight {
    font-size: 1.2rem; /* Smaller highlight text */
    margin-bottom: 18px; /* Reduced margin */
  }
  
  .about-media {
    flex: 0 0 50%; /* Match the updated layout */
  }
  
  .about-content-columns {
    gap: 14px; /* Further reduced gap */
    margin-top: 10px; /* Further reduced margin */
  }
  
  .about-column {
    padding: 16px; /* Further reduced padding */
  }
  
  .about-column h3 {
    font-size: 1.15rem; /* Smaller heading */
    margin-bottom: 8px; /* Further reduced margin */
  }
  
  .about-column p {
    font-size: 0.9rem; /* Smaller text */
    line-height: 1.5; /* Tighter line height */
  }
}

/* Additional responsive image optimization */
@media (min-width: 768px) {
  .models-grid,
  .industry-grid,
  .vantagens-grid,
  .about-grid {
    overflow: visible;
  }
  
  .models-media,
  .industry-media,
  .vantagens-media,
  .about-media {
    position: relative;
    overflow: hidden;
  }
  
  /* Ensure chat bubbles are fully visible on larger screens */
  .awareness-grid {
    overflow: visible;
  }
  
  .awareness-features {
    overflow: visible;
    margin-right: -20px; /* Compensate for potential cut-off */
    padding-right: 20px;
  }
  
  .benefits-list {
    overflow: visible;
  }
  
  .benefits-list li {
    overflow: visible;
    margin-right: -10px; /* Allow bubbles to extend slightly beyond container */
    padding-right: 25px;
  }
  
  /* Ensure about section text is fully visible */
  .about-text {
    overflow: visible;
    margin-right: -15px;
    padding-right: 15px;
  }
  
  .about-content-columns {
    overflow: visible;
  }
  
  .about-column {
    overflow: visible;
  }
}

/* Responsive: reduce blur/opacity on smaller screens to improve performance and legibility */
@media (max-width: 900px) {
  .bg-shapes {
    /* Adjust angles and maintain electric blue tones on mobile */
    background-image:
      linear-gradient(125deg, transparent 0%, transparent 40%, #012a5e 40.5%),
      linear-gradient(230deg, transparent 0%, transparent 60%, #001b44 60.5%),
      linear-gradient(140deg, #013a7c 0%, #013a7c 20%, transparent 20.5%),
      radial-gradient(circle at 70% 120%, #0066ff10 0%, transparent 45%);
  }

  /* Stack the models layout on medium and smaller screens */
  .models-grid {
    flex-direction: column-reverse;
    gap: 26px;
    padding: 0 20px;
  }
  .models-text { text-align: center; }
  .models-media { width: 100%; }
}

@media (max-width: 768px) {
  .ev-stats {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.8rem 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 20px;
  }

  /* Page margins for EV card on mobile */
  .ev-stats-wrapper {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px;
  }

  .ev-price {
    padding-right: 0;
    padding-bottom: 0.4rem;
    border-right: none;
    border-bottom: 1px solid rgba(79, 167, 255, 0.3);
    width: 100%;
    text-align: center;
  }

  .price-label {
    font-size: 0.55rem;
    margin-bottom: 0.1rem;
  }

  .price-value {
    font-size: 1.25rem;
  }

  /* Hide lightning icon on mobile for more compact design */
  .ev-icon {
    display: none !important;
  }

  .stat-group {
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
    justify-content: space-around;
    align-items: stretch;
  }

  .stat {
    text-align: center;
    min-width: auto;
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .stat .value {
    font-size: 0.95rem;
    line-height: 1.1;
    margin-bottom: 2px;
    font-weight: 600;
    display: block;
  }

  .stat .label {
    font-size: 0.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: block;
  }
  
  /* Hide section indicator on mobile for cleaner look */
  .section-indicator {
    display: none;
  }
  
  /* Adjust section heights for mobile */
  section {
    overflow-y: auto;
    padding: 20px;
  }
  
  .hero {
    padding-top: 120px;
  }
}

@media (max-width: 480px) {
  body::before,
  body::after {
    display: none; /* remove heavy decorative images on small devices for clarity */
  }
  .bg-shapes {
    display: none; /* hide shapes on very small screens for legibility */
  }
  
  /* Smaller consistent images for small phones */
  .design-img,
  .industry-img,
  .vantagens-img,
  .about-img,
  .awareness-img,
  .persona-img {
    height: 220px !important;
    max-height: 220px !important;
    min-height: 220px !important;
    border-radius: 14px !important;
    margin: 0.75rem auto !important;
    object-fit: cover !important;
  }
  
  .models-media img,
  .industry-media img,
  .vantagens-media img,
  .about-media img,
  .awareness-media img {
    height: 220px !important;
    min-height: 220px !important;
  }
  
  .hero-img {
    width: 100% !important;
    max-height: 80vh !important;
    min-height: 380px !important;
    border-radius: 18px !important;
    margin: 1rem auto !important;
  }
  
  /* Move header to bottom on mobile */
  header {
    top: auto !important;
    bottom: 0 !important;
    border-bottom: none !important;
    border-top: none !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4) !important;
    height: 70px !important;
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    position: fixed !important;
    background: linear-gradient(180deg, rgba(1,35,71,0.98) 0%, rgba(1,52,116,0.95) 100%) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 20px 20px 0 0 !important;
  }
  
  .navbar {
    height: 80px !important;
    justify-content: center !important;
    width: 100% !important;
    position: relative !important;
    padding: 10px 0 !important;
    background: transparent !important;
  }
  
  .nav-links { 
    gap: 8px !important;
    height: 80px !important;
    margin: 0 !important;
    width: 100% !important;
    justify-content: space-evenly !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }
  
  .nav-links a { 
    padding: 10px 8px !important; 
    font-size: 0.75rem !important;
    min-width: 0 !important;
    height: 65px !important;
    text-align: center !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
    word-break: keep-all !important;
    white-space: nowrap !important;
    overflow: visible !important;
    width: auto !important;
    max-width: none !important;
    font-weight: 700 !important;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 14px !important;
    border: none !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    background: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.9) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  }
  
  .nav-links a::before {
    content: '';
    font-size: 1.5rem !important;
    margin-bottom: 4px !important;
    display: block !important;
  }
  
  /* Home icon */
  .nav-links a[href="#home"]::before {
    content: '🏠' !important;
  }
  
  /* About icon */
  .nav-links a[href="#about"]::before {
    content: 'ℹ️' !important;
  }
  
  /* Location/Contact icon */
  .nav-links a[href="#location"]::before {
    content: '📞' !important;
  }
  
  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(79,167,255,0.2) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(79,167,255,0.3) !important;
  }
  
  /* Remove any active/current indicators on mobile */
  .nav-links a::after {
    display: none !important;
  }
  
  .nav-links a.active::after,
  .nav-links a[aria-current]::after {
    display: none !important;
  }
  
  /* Remove any border indicators */
  .nav-links a,
  .nav-links a:hover,
  .nav-links a:active,
  .nav-links a.active {
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
  }
  
  /* Show mobile top logo */
  .mobile-top-logo {
    display: flex !important;
  }
  
  /* Hide logo from bottom navbar on mobile */
  .navbar .logo { 
    display: none !important;
  }
  
  .navbar {
    height: 50px !important;
    justify-content: center !important;
    width: 100% !important;
    position: relative !important;
  }
  
  /* Create top logo container for mobile */
  
  /* Create top bar with logo for mobile */
  .mobile-top-logo {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 60px;
    z-index: 20;
    background: linear-gradient(135deg, rgba(1,35,71,0.98), rgba(1,52,116,0.95));
    border-bottom: 2px solid rgba(79,167,255,0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
  }
  
  .mobile-top-logo img {
    height: 40px;
    max-height: 40px;
    filter: none;
    transition: transform 0.3s ease;
  }
  
  .mobile-top-logo:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.5);
    border-bottom-color: rgba(79,167,255,0.5);
  }
  
  .mobile-top-logo:hover img {
    transform: scale(1.05);
  }
  
  /* Adjust EV stats positioning - place below hero image */
  .ev-stats-wrapper {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    order: 3 !important;
    margin-top: 0.25rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Add bottom padding to all sections on mobile */
  .hero {
    padding-bottom: 90px !important;
    padding-top: 90px !important;
  }
  
  .models,
  .industry,
  .vantagens,
  .about,
  .awareness,
  .calculator-section {
    padding-bottom: 90px !important;
  }

  .ev-stats {
    margin: 1rem 0 2rem;
    width: 100%;
  }
  
  /* Make hero image bigger on mobile - move to top, remove border radius */
  .hero-img {
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
      max-height: 75vh !important;
      min-height: 450px !important;
    position: relative !important;
    inset: auto !important;
    margin: 60px auto 0.5rem !important;
    display: block !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    z-index: 2 !important;
    order: 1 !important;
  }
  
  .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: calc(100vh - 70px) !important;
    padding: 0 0 90px !important;
    background: linear-gradient(180deg, #001326 0%, #011834 50%, #023047 100%) !important;
  }
  
  /* Hide hero title on mobile */
  .hero h1 {
    display: none !important;
  }
  
  /* Make all section images consistent size and rounded on mobile */
  .design-img,
  .industry-img,
  .vantagens-img,
  .about-img,
  .awareness-img,
  .persona-img {
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    max-width: 100% !important;
    margin: 1rem auto !important;
    display: block !important;
    border-radius: 16px !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2), 0 15px 35px rgba(0,0,0,0.15) !important;
    overflow: hidden !important;
  }
  
  /* Adjust section layouts for better image display */
  .models-grid,
  .industry-grid,
  .vantagens-grid,
  .about-grid,
  .awareness-grid {
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }
  
  /* Ensure text bubbles come after images on small phones */
  .models-text,
  .industry-text,
  .vantagens-text,
  .about-text {
    order: 2 !important;
    text-align: center !important;
  }
  
  .models-media,
  .industry-media,
  .vantagens-media,
  .about-media,
  .awareness-media {
    /* Images/videos first on mobile */
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  .models-media img,
  .industry-media img,
  .vantagens-media img,
  .about-media img,
  .awareness-media img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
  }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  position: relative;
  background: linear-gradient(135deg, rgba(1,35,71,0.95), rgba(1,52,116,0.9));
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(79,167,255,0.2);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  height: 70px;
  min-height: 70px;
}

/* Hide old nav-links if they exist */
.nav-links {
  display: none !important;
}

.logo {
  /* center the logo in the navbar */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 2px 0;
}

.logo-img {
  display: block;
  height: 55px;
  width: auto;
  max-height: 55px;
}



.nav-links {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  height: 60px;
  margin-left: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-size: 0.98rem;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px 25px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  font-family: 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  border: none;
  border-right: 1px solid rgba(79,167,255,0.2);
  height: 60px;
  display: flex;
  align-items: center;
  min-width: 120px;
  justify-content: center;
}

/* Different blue shades for each menu item */
.nav-links li:nth-child(1) a {
  background: linear-gradient(180deg, rgba(1,35,71,0.9), rgba(1,41,102,0.7));
  border-left: 1px solid rgba(79,167,255,0.2);
}

.nav-links li:nth-child(2) a {
  background: linear-gradient(180deg, rgba(1,41,102,0.9), rgba(1,52,116,0.7));
}

.nav-links li:nth-child(3) a {
  background: linear-gradient(180deg, rgba(1,52,116,0.9), rgba(0,102,255,0.5));
}

.nav-links li:nth-child(4) a {
  background: linear-gradient(180deg, rgba(0,102,255,0.7), rgba(79,167,255,0.5));
}

.nav-links li:nth-child(5) a {
  background: linear-gradient(180deg, #4fa7ff 0%, #6ec0ff 100%);
  color: #051229;
  font-weight: 600;
  border-right: none;
}

.nav-links a:hover {
  color: var(--color-text-primary);
  transform: translateY(0);
  text-shadow: 0 0 20px rgba(79, 167, 255, 0.4);
  background: linear-gradient(180deg, rgba(79,167,255,0.3), rgba(110,192,255,0.2)) !important;
  border-bottom: 3px solid #4fa7ff;
}

.nav-links li:nth-child(1) a:hover {
  background: linear-gradient(180deg, rgba(1,35,71,1), rgba(1,41,102,0.9)) !important;
}

.nav-links li:nth-child(2) a:hover {
  background: linear-gradient(180deg, rgba(1,41,102,1), rgba(1,52,116,0.9)) !important;
}

.nav-links li:nth-child(3) a:hover {
  background: linear-gradient(180deg, rgba(1,52,116,1), rgba(0,102,255,0.7)) !important;
}

.nav-links li:nth-child(4) a:hover {
  background: linear-gradient(180deg, rgba(0,102,255,0.9), rgba(79,167,255,0.7)) !important;
}

/* Contact button (5th item) - bright blue styling */
.nav-links li:nth-child(5) a:hover {
  background: linear-gradient(180deg, #6ec0ff 0%, #4fa7ff 100%) !important;
}

/* Navigation Left Buttons */
.nav-left-buttons {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 15;
}

.nav-round-btn {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-family: Arial, sans-serif !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

/* Desktop integration styling */
@media (min-width: 769px) {
  .nav-round-btn {
    background: transparent;
    border-radius: 0px;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
  }
  
  .nav-round-btn:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    color: #4fa7ff;
  }
}

.nav-round-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  color: white;
}

.nav-round-btn .btn-icon {
  font-size: 1.4rem;
}

/* Test-drive Button */
.nav-buttons {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 15;
}

.contact-nav-btn {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-family: Arial, sans-serif !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

/* Desktop integration styling */
@media (min-width: 769px) {
  .contact-nav-btn {
    background: transparent;
    border-radius: 0px;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
  }
  
  .contact-nav-btn:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    color: #4fa7ff;
  }
}

.contact-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
}

.contact-nav-btn .btn-icon {
  font-size: 1.4rem;
}

.test-drive-btn {
  position: static;
  transform: none;
  background: linear-gradient(135deg, #4fa7ff 0%, #6ec0ff 100%);
  color: #051229;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-family: Arial, sans-serif !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(79, 167, 255, 0.3);
  white-space: nowrap;
}

/* Desktop integration styling */
@media (min-width: 769px) {
  .test-drive-btn {
    border-radius: 8px;
  }
}

.test-drive-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 167, 255, 0.4);
  background: linear-gradient(135deg, #6ec0ff 0%, #4fa7ff 100%);
}

.test-drive-btn:active {
  transform: translateY(0);
}

.test-drive-btn .btn-icon {
  font-size: 1.4rem;
}

/* Encomendas Button Styling */
.encomendas-btn {
  position: static;
  transform: none;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-family: Arial, sans-serif !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}

@media (min-width: 769px) {
  .encomendas-btn {
    border-radius: 8px;
  }
}

.encomendas-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.encomendas-btn:active {
  transform: translateY(0);
}

.encomendas-btn .btn-icon {
  font-size: 1.4rem;
}

.contact-btn {
  border-radius: 24px;
}

/* Shared button style */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4fa7ff 0%, #6ec0ff 100%);
  color: #051229;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 15px rgba(79, 167, 255, 0.3);
  border-radius: 25px;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 167, 255, 0.4);
  background: linear-gradient(135deg, #6ec0ff 0%, #4fa7ff 100%);
}

/* Remove conflicting contact button styles for navbar */

/* Hero Section */
.hero {
  text-align: center;
  /* Full-viewport hero so the next sections only appear after scroll */
  min-height: 100dvh;
  /* Add top padding to avoid the title sitting under the fixed navbar */
  padding: 110px 10% 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 180px;
  overflow: hidden;
  border-radius: 2px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  line-height: 1.1;
  /* Tighter spacing above the image */
  margin-bottom: 16px;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

/* EV Stats Section */
.ev-stats-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.ev-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  background: linear-gradient(120deg, rgba(1,41,102,0.5), rgba(0,102,255,0.15));
  padding: 1.4rem 2.1rem;
  border-radius: 24px;
  border: 1px solid rgba(0,102,255,0.3);
  backdrop-filter: blur(12px);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.3),
    0 0 80px rgba(79, 167, 255, 0.2),
    inset 0 0 30px rgba(79, 167, 255, 0.1);
  transform: translateY(-20px);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Price display on EV stats card */
.ev-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(79, 167, 255, 0.3);
}

.price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  text-shadow: 0 0 20px rgba(79, 167, 255, 0.4);
}

.ev-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 167, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 6s infinite;
}

.ev-icon {
  font-size: 2.1rem;
  color: var(--color-accent-primary);
  text-shadow: 
    0 0 20px rgba(0,102,255,0.6),
    0 0 40px rgba(0,102,255,0.3);
  animation: glow 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  20%, 100% { transform: translateX(100%); }
}

@keyframes glow {
  0%, 100% { 
    color: var(--color-accent-primary);
    text-shadow: 0 0 20px rgba(0,102,255,0.6);
  }
  50% { 
    color: var(--color-accent-secondary);
    text-shadow: 
      0 0 25px rgba(0,102,255,0.8),
      0 0 50px rgba(0,102,255,0.4);
  }
}

.stat-group {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.stat {
  text-align: left;
  min-width: 84px;
}

.stat {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat:hover {
  transform: translateY(-5px);
}

.stat .value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #4fa7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(79, 167, 255, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.stat:hover .value {
  transform: scale(1.05);
  background: linear-gradient(135deg, #fff 0%, #6ec0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat .label {
  font-size: 0.67rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.stat:hover .label {
  color: var(--color-text-secondary);
}

.stat.highlight .value {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 0 30px rgba(79, 167, 255, 0.4),
    0 0 60px rgba(79, 167, 255, 0.2);
  animation: highlightPulse 2s infinite;
}

@keyframes highlightPulse {
  0%, 100% {
    text-shadow: 0 0 30px rgba(79, 167, 255, 0.4);
    transform: scale(1);
  }
  50% {
    text-shadow: 
      0 0 40px rgba(79, 167, 255, 0.6),
      0 0 80px rgba(79, 167, 255, 0.3);
    transform: scale(1.05);
  }
}

.stat.highlight .value {
  color: #0066ff;
  text-shadow: 0 0 10px rgba(0,102,255,0.3);
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.cta {
  background: linear-gradient(90deg, #4fa7ff 0%, #79c2ff 120%);
  color: #04111f;
  padding: 14px 36px;
  border-radius: 28px;
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(10,35,70,0.35);
}

.cta:hover {
  transform: translateY(-3px);
}

.cta:active {
  transform: translateY(-1px);
}

/* make hero CTA compatible with .btn */
.hero .cta { padding: 16px 40px; }

/* Hero Calculator Section */
.hero-calculator {
  text-align: center;
  margin-top: 2rem;
  padding: 2rem 1rem;
  background: rgba(17, 30, 45, 0.95);
  border-radius: 15px;
  border: 1px solid rgba(0,102,255,0.3);
  backdrop-filter: blur(10px);
  z-index: 10;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-calculator h3 {
  color: var(--color-accent-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hero-calculator p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.hero-calculator .money-icon {
  margin-right: 0.5rem;
  font-size: 1.2em;
}

.hero-img {
  /* Background-like image filling the entire hero */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fill full page, cropping if needed */
  object-position: center;  
  z-index: 1;               /* below title and stats, below header */
  pointer-events: none;

  opacity: 0;
  transform: none;
  transition: opacity 1.2s ease;
}

/* Preserve centering when the global .slide-up makes elements visible */
.hero-img.slide-up.visible {
  opacity: 1 !important;
  transform: none !important;
}

.ev-stats-wrapper {
  position: relative;
  z-index: 2;
}

/* Position the main slogan just below the logo */
.hero-title {
  position: absolute;
  top: 70px; /* moved higher up the page */
  left: 50%;
  transform: translateX(-50%);
  color: #8ecaff;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  z-index: 11;
  width: 100%;
  pointer-events: none;
}

/* Float EV stats at the bottom of the page */
.ev-stats-wrapper {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 12;
  width: auto;
  margin: 0;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
    padding: 100px 5% 60px;
  }
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: center;
  }
  .hero-img {
    max-width: 100% !important;
    margin: 0 auto;
  }
  
  .hero-calculator {
    margin-top: 1.5rem;
    padding: 1.5rem 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .hero-calculator h3 {
    font-size: 1.3rem;
  }
  
  .hero-calculator p {
    font-size: 1rem;
  }
}

/* Mobile Responsiveness for Awareness Section */
@media (max-width: 768px) {
  .awareness-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .awareness-calculator {
    order: 1;
  }
  
  .awareness-features {
    order: 2;
  }
  
  .awareness-calculator .calculator-cta-card {
    max-width: 100%;
    margin: 0;
    justify-content: center;
    padding-right: 1rem;
  }
}

/* Calculator Section */
.calculator-section {
  padding: 60px 6% 60px;
  background: linear-gradient(135deg, #012147 0%, #013467 50%, #014585 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  max-height: 100vh;
  display: none; /* Initially hidden */
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-section.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.calculator-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(79, 167, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(79, 167, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.calculator-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  min-height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Calculator Button */
.floating-calculator-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: blue-pulse 2s infinite;
}

.floating-calculator-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.floating-calculator-btn:active {
  transform: scale(0.95);
}

.floating-calculator-btn .float-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: bounce 2s infinite;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9)) 
          drop-shadow(0 0 25px rgba(255, 215, 0, 0.6))
          drop-shadow(0 0 35px rgba(255, 215, 0, 0.4));
}

@keyframes blue-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(79, 167, 255, 0.8);
  }
  50% {
    box-shadow: 0 0 0 30px rgba(79, 167, 255, 0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Accessibility improvements */
.floating-calculator-btn:focus {
  outline: 3px solid #4fa7ff;
  outline-offset: 3px;
}

.floating-calculator-btn:focus:not(:focus-visible) {
  outline: none;
}

/* Legacy styles for compatibility */
.calculator-cta-card {
  display: none;
}

.calculator-cta-card.slide-out {
  display: none;
}

.cta-content {
  text-align: center;
  background: rgba(17, 30, 45, 0.9);
  border-radius: 20px;
  padding: 30px 25px;
  border: 2px solid rgba(79, 167, 255, 0.5);
  backdrop-filter: blur(15px);
  max-width: 450px;
  width: 85%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(79, 167, 255, 0.2);
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              opacity 0.6s ease-out;
}

.calculator-cta-card.slide-out .cta-content {
  transform: scale(0.8) rotate(5deg);
  opacity: 0;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(79, 167, 255, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.cta-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #4fa7ff;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.cta-content h2 {
  color: #4fa7ff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  background: linear-gradient(135deg, #4fa7ff, #6ec0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0 0 25px 0;
}

.cta-button {
  background: linear-gradient(135deg, #4fa7ff, #0066cc);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 8px 25px rgba(79, 167, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79, 167, 255, 0.5);
  background: linear-gradient(135deg, #6ec0ff, #0080ff);
}

/* Full Calculator (Initially Hidden) */
.calculator-full {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(50px);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  visibility: hidden;
  width: 100%;
  z-index: 5;
  min-height: 500px;
  max-height: 100vh;
  overflow-y: auto;
  padding: 0 0 30px;
  box-sizing: border-box;
}

.calculator-full.slide-in {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  z-index: 15;
}

/* Calculator Main Container - Side by Side Layout */
.calculator-main-container {
  display: flex;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: flex-start;
  padding-top: 5px;
}

/* Responsive behavior for smaller screens */
@media screen and (max-width: 1023px) {
  .calculator-main-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .calculator-section .calculator-form,
  .calculator-section .results-section {
    min-width: unset;
    width: 100%;
  }
  
  .calculator-section .results-section {
    transform: translateY(50px);
  }
  
  .calculator-section .results-section.show-results {
    transform: translateY(0);
  }
}

.calculator-full .calculator-header {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  padding-top: 15px;
}

.back-button {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(79, 167, 255, 0.2);
  color: #4fa7ff;
  border: 1px solid rgba(79, 167, 255, 0.3);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(79, 167, 255, 0.3);
  transform: translateY(-50%) translateX(-5px);
}

.calculator-full .calculator-header h2 {
  color: #4fa7ff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 5px 0;
  background: linear-gradient(135deg, #4fa7ff, #6ec0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.calculator-full .calculator-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0 0 5px 0;
}

.calculator-section .calculator-form {
  background: rgba(17, 30, 45, 0.7);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(79, 167, 255, 0.3);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
  flex: 1;
  max-width: 450px;
}

.calculator-section .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.calculator-section .form-section {
  background: rgba(30, 45, 65, 0.5);
  border-radius: 15px;
  padding: 18px;
  border: 1px solid rgba(79, 167, 255, 0.2);
  transform: translateY(20px);
  opacity: 0;
  animation: slideInUp 0.6s ease forwards;
}

.calculator-section .form-section:nth-child(1) {
  animation-delay: 0.2s;
}

.calculator-section .form-section:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes slideInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.calculator-section .form-section h4 {
  color: #4fa7ff;
  font-size: 1.2rem;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calculator-section .input-group {
  margin-bottom: 12px;
}

.calculator-section .input-group:last-child {
  margin-bottom: 0;
}

.calculator-section label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-weight: 500;
}

.calculator-section input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(17, 30, 45, 0.8);
  border: 1px solid rgba(79, 167, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.calculator-section input:focus {
  outline: none;
  border-color: #4fa7ff;
  box-shadow: 0 0 0 3px rgba(79, 167, 255, 0.2);
  background: rgba(17, 30, 45, 0.9);
}

.calculator-section .calculator-actions {
  text-align: center;
  margin: 15px 0;
}

.calculator-section .calc-button {
  background: linear-gradient(135deg, #4fa7ff, #0066cc);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 30px rgba(79, 167, 255, 0.3);
}

.calculator-section .calc-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(79, 167, 255, 0.4);
  background: linear-gradient(135deg, #6ec0ff, #0080ff);
}

.calculator-section .results-section {
  background: rgba(17, 30, 45, 0.8);
  border-radius: 20px;
  padding: 12px;
  border: 1px solid rgba(79, 167, 255, 0.3);
  backdrop-filter: blur(10px);
  flex: 1;
  max-width: 450px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
  align-self: flex-start;
}

.calculator-section .results-section.show-results {
  transform: translateX(0);
  opacity: 1;
}

.calculator-section .results-section h4 {
  color: #4fa7ff;
  font-size: 1.1rem;
  margin: 0 0 12px 0;
  text-align: center;
}

.calculator-section .results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.calculator-section .result-card {
  background: linear-gradient(135deg, rgba(79, 167, 255, 0.1), rgba(79, 167, 255, 0.05));
  border: 1px solid rgba(79, 167, 255, 0.3);
  border-radius: 15px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.calculator-section .result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(79, 167, 255, 0.2);
}

.calculator-section .result-icon {
  font-size: 1.5rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 167, 255, 0.2);
  border-radius: 12px;
}

.calculator-section .result-content {
  flex: 1;
}

.calculator-section .result-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.calculator-section .result-value {
  display: block;
  color: #4fa7ff;
  font-size: 1.1rem;
  font-weight: 700;
}

.calculator-section .cost-comparison {
  text-align: center;
}

.calculator-section .cost-comparison h5 {
  color: #4fa7ff;
  font-size: 1rem;
  margin: 0 0 8px 0;
}

.calculator-section .comparison-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.calculator-section .cost-item {
  background: rgba(79, 167, 255, 0.1);
  border: 1px solid rgba(79, 167, 255, 0.3);
  border-radius: 12px;
  padding: 8px 15px;
  text-align: center;
}

.calculator-section .cost-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin-bottom: 1px;
}

.calculator-section .cost-value {
  display: block;
  color: #4fa7ff;
  font-size: 1.1rem;
  font-weight: 700;
}

.calculator-section .vs {
  color: #4fa7ff;
  font-weight: 700;
  font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .calculator-section {
    padding: 20px 4% 100px;
    min-height: 100vh;
    max-height: none;
    background: linear-gradient(135deg, #012147 0%, #013467 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
    align-items: flex-start;
    padding-top: 100px;
  }
  
  .calculator-section.show {
    display: flex;
  }
  
  .calculator-container {
    min-height: auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow: visible;
    margin-top: 0;
  }
  
  .floating-calculator-btn {
    width: 50px;
    height: 50px;
    bottom: 90px;
    right: 20px;
  }
  
  .floating-calculator-btn .float-icon {
    width: 50px;
    height: 50px;
    /* Reduce yellow glow size on mobile */
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.9)) 
            drop-shadow(0 0 8px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 12px rgba(255, 215, 0, 0.4));
  }
  
  /* Reduce pulse highlight size on mobile */
  @keyframes blue-pulse {
    0%, 100% {
      box-shadow: 0 0 0 0 rgba(79, 167, 255, 0.8);
    }
    50% {
      box-shadow: 0 0 0 10px rgba(79, 167, 255, 0);
    }
  }
  
  .calculator-full {
    min-height: auto;
    padding: 0;
    max-height: none;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
  }
  
  .cta-content {
    padding: 20px 15px;
    max-width: 100%;
    width: 95%;
    box-sizing: border-box;
    margin: 0 auto;
  }
  
  .cta-content h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  
  .cta-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .cta-button {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
  }
  
  .calculator-full {
    margin-top: 0;
    padding-top: 0;
  }
  
  .calculator-full .calculator-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0 10px;
    margin-top: 0;
  }
  
  .calculator-full .calculator-header h2 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 5px;
  }
  
  .calculator-full .calculator-header p {
    font-size: 0.85rem;
    margin: 0;
  }
  
  .calculator-section .calculator-form {
    padding: 15px 10px 20px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 15px;
  }
  
  .calculator-section .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
  }
  
  .calculator-section .form-section {
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(30, 45, 65, 0.6);
    border-radius: 12px;
  }
  
  .calculator-section .form-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #4fa7ff;
  }
  
  .calculator-section .input-group {
    margin-bottom: 12px;
  }
  
  .calculator-section label {
    font-size: 0.85rem;
    margin-bottom: 4px;
    display: block;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .calculator-section input {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    box-sizing: border-box;
    min-width: 0;
    border-radius: 6px;
    background: rgba(17, 30, 45, 0.9);
    border: 1px solid rgba(79, 167, 255, 0.3);
    color: white;
  }
  
  .calculator-section input:focus {
    outline: none;
    border-color: #4fa7ff;
    box-shadow: 0 0 0 2px rgba(79, 167, 255, 0.2);
  }
  
  .calculator-section .calculator-actions {
    text-align: center;
    margin: 25px 0 20px 0;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .calculator-section .calc-button {
    width: 100%;
    max-width: 320px;
    padding: 16px 20px;
    font-size: 1rem;
    box-sizing: border-box;
    border-radius: 25px;
    margin: 0 auto;
    display: block;
    min-height: 50px;
  }
  
  .calculator-section .comparison-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .calculator-section .cost-item {
    width: 100%;
    max-width: 200px;
    padding: 12px 20px;
    text-align: center;
  }
  
  .calculator-section .results-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .calculator-section .result-card {
    padding: 15px;
    border-radius: 12px;
  }
  
  .calculator-section .results-section {
    padding: 15px 10px;
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 15px;
    transform: none !important;
    opacity: 1 !important;
    position: relative;
  }
  
  .calculator-section .results-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .calculator-section .calculator-main-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .calculator-section .calculator-form {
    max-width: 100%;
    width: 100%;
  }
  
  .back-button {
    position: static;
    transform: none;
    margin-bottom: 10px;
    width: auto;
    min-width: 80px;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .calculator-section {
    padding: 15px 4% 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #012147 0%, #013467 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
    align-items: flex-start;
    padding-top: 90px;
  }
  
  .calculator-section.show {
    display: flex;
  }
  
  .calculator-container {
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
  
  .calculator-full {
    padding-top: 0;
    margin-top: 0;
  }
  
  .calculator-full .calculator-header {
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding-top: 0;
  }
  
  .calculator-section .calculator-form {
    padding: 12px 8px 15px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
  }
  
  .calculator-section .form-grid {
    gap: 12px;
  }
  
  .calculator-section .form-section {
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .calculator-section .form-section h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .calculator-section .input-group {
    margin-bottom: 12px;
  }
  
  .calculator-section label {
    font-size: 0.82rem;
    margin-bottom: 4px;
  }
  
  .calculator-section input {
    padding: 10px 12px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
  }
  
  .calculator-section .calculator-actions {
    margin: 20px 0 25px 0;
    padding: 0 8px;
    text-align: center;
  }
  
  .calculator-section .calc-button {
    padding: 14px 20px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    min-height: 48px;
  }
  
  .calculator-section .results-section {
    padding: 12px 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 15px;
    transform: none !important;
    opacity: 1 !important;
    position: relative;
  }
  
  .calculator-section .results-section h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .calculator-section .calculator-main-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .calculator-section .calculator-form {
    max-width: 100%;
    width: 100%;
  }
  
  .calculator-section .results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }
  
  .calculator-section .result-card {
    padding: 12px;
    margin-bottom: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .calculator-section .result-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .calculator-section .result-value {
    font-size: 1.2rem;
  }
  
  .calculator-section .result-label {
    font-size: 0.8rem;
  }
  
  .calculator-section .cost-comparison h5 {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .calculator-section .cost-item {
    padding: 10px 15px;
    margin-bottom: 8px;
  }
  
  .calculator-section .cost-value {
    font-size: 1.1rem;
  }
  
  .calculator-section .cost-label {
    font-size: 0.8rem;
  }
  
  .cta-content {
    padding: 15px 10px;
    max-width: 100%;
    width: 95%;
    box-sizing: border-box;
    margin: 0 auto;
  }
  
  .cta-content h2 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  
  .cta-content p {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }
  
  .cta-button {
    padding: 10px 20px;
    font-size: 0.85rem;
    width: 100%;
    max-width: 250px;
    box-sizing: border-box;
  }
  
  .calculator-full .calculator-header {
    padding: 0 5px;
    margin-bottom: 15px;
  }
  
  .calculator-full .calculator-header h2 {
    font-size: 1.1rem;
    line-height: 1.2;
  }
  
  .calculator-full .calculator-header p {
    font-size: 0.8rem;
  }
  
  .back-button {
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
}

/* Mobile-specific enhancements for calculator */
@media (max-width: 768px) {
  .calculator-section * {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .calculator-section {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  
  .calculator-full {
    overflow: visible;
    height: auto;
    min-height: auto;
    max-height: none;
  }
  
  .calculator-section input,
  .calculator-section button {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 6px;
  }
  
  .calculator-section input:focus {
    -webkit-user-select: text;
    user-select: text;
  }
  
  /* Improve button touch targets */
  .cta-button,
  .calc-button,
  .back-button {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Prevent zoom on input focus on iOS */
  .calculator-section input {
    font-size: 16px !important;
  }
  
  /* Ensure results section is visible */
  .calculator-section .results-section {
    margin-bottom: 30px;
  }
}

/* Awareness & Discovery Section */
.awareness {
  background-color: var(--color-bg-light-blue);
  padding: 15px 5% 20px;
  margin-top: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.awareness-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  gap: 40px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto 15px;
  overflow: visible;
}

.awareness-features {
  width: 100%;
  overflow: visible;
  order: 1;
}

.awareness-calculator {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-right: 0;
  padding-left: 0;
  order: 2;
}

.awareness-intro h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 24px;
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.awareness-intro p {
  color: var(--color-text-grey);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}

.awareness-intro p.highlight {
  color: var(--color-accent-blue);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 32px;
}

.benefits-list {
  list-style: none;
  margin: 130px 0 20px 0; /* Adjusted top margin to move boxes higher */
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Reduced gap */
  width: 100%;
  overflow: visible;
}

.benefits-list li {
  display: flex;
  align-items: center;
  padding: 14px 18px; /* Reduced padding */
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border: 3px solid rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-left: auto;
  width: 100%;
  max-width: 100%;
  min-width: 400px;
  color: var(--color-text-dark);
  transform: translateY(-5px);
  position: relative;
  word-wrap: break-word;
  overflow: visible;
  font-size: 0.95rem; /* Slightly smaller font */
  line-height: 1.4; /* Tighter line height */
}

.benefits-list li:hover {
  transform: translateY(-12px) translateX(-10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.benefits-list .icon {
  font-size: 24px; /* Reduced from 28px */
  margin-right: 12px; /* Reduced from 15px */
  background: linear-gradient(135deg, rgba(79, 167, 255, 0.25), rgba(110, 192, 255, 0.2));
  width: 38px; /* Reduced from 45px */
  height: 38px; /* Reduced from 45px */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px; /* Reduced from 12px */
  border: 1.5px solid rgba(79, 167, 255, 0.3);
  box-shadow: 
    0 4px 12px rgba(79, 167, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(5px);
  /* Enhanced emoji visibility */
  text-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 8px rgba(255, 255, 255, 0.2);
  filter: contrast(1.2) brightness(1.1);
  /* Better emoji rendering */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.benefits-list .icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefits-list li:hover .icon {
  transform: scale(1.1) rotateY(5deg);
  background: linear-gradient(135deg, rgba(79, 167, 255, 0.35), rgba(110, 192, 255, 0.3));
  border-color: rgba(79, 167, 255, 0.5);
  box-shadow: 
    0 8px 20px rgba(79, 167, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  /* Enhanced hover visibility */
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(79, 167, 255, 0.2);
  filter: contrast(1.3) brightness(1.2) saturate(1.1);
}

.benefits-list li:hover .icon::before {
  opacity: 1;
}

/* Special styling for maintenance icon */
.maintenance-icon {
  font-size: 30px !important;
  text-shadow: 
    0 0 8px rgba(79, 167, 255, 0.5),
    0 1px 3px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(79, 167, 255, 0.2) !important;
  filter: contrast(1.3) brightness(1.2) saturate(1.1) !important;
  transform: rotate(-15deg);
  transition: all 0.3s ease;
}

.benefits-list li:hover .maintenance-icon {
  text-shadow: 
    0 0 12px rgba(110, 192, 255, 0.7),
    0 2px 5px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(110, 192, 255, 0.3) !important;
  filter: contrast(1.4) brightness(1.3) saturate(1.2) !important;
  transform: rotate(0deg) scale(1.1);
}

.benefits-list strong {
  color: var(--color-accent-blue);
  margin-right: 6px; /* Reduced from 8px */
  white-space: nowrap;
  overflow: visible;
  font-size: 0.9rem; /* Smaller font size */
  font-weight: 600; /* Slightly bolder to compensate for size */
}

/* Ensure text content is properly contained */
.benefits-list li > * {
  flex-shrink: 1;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
  hyphens: auto;
}

.cost-calculator {
  background: linear-gradient(140deg, 
    rgba(79, 167, 255, 0.12), 
    rgba(110, 192, 255, 0.08),
    rgba(79, 167, 255, 0.06)
  );
  padding: 35px 40px;
  border-radius: 20px;
  border: 1px solid rgba(79, 167, 255, 0.2);
  margin: 15px 0 0 0;
  text-align: center;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.04),
    0 0 40px rgba(79, 167, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: subtleGlow 6s ease-in-out infinite;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.cost-calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(79, 167, 255, 0.15),
    rgba(110, 192, 255, 0.2),
    rgba(79, 167, 255, 0.15),
    transparent
  );
  transform: rotate(35deg);
  animation: gentleSlide 8s ease-in-out infinite;
  z-index: 1;
}

.cost-calculator::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(
    45deg,
    rgba(79, 167, 255, 0.2),
    rgba(110, 192, 255, 0.1),
    rgba(79, 167, 255, 0.2)
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: subtleBorderGlow 8s linear infinite;
}

@keyframes subtleGlow {
  0%, 100% {
    box-shadow: 
      0 15px 35px rgba(0,0,0,0.08),
      0 5px 15px rgba(0,0,0,0.04),
      0 0 40px rgba(79, 167, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 15px 35px rgba(0,0,0,0.12),
      0 5px 15px rgba(0,0,0,0.06),
      0 0 60px rgba(79, 167, 255, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

@keyframes gentleSlide {
  0% {
    left: -120%;
  }
  50%, 100% {
    left: 120%;
  }
}

@keyframes subtleBorderGlow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.cost-calculator h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--color-text-dark);
  position: relative;
  z-index: 2;
  text-shadow: none;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Special styling for money icon */
.money-icon {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #4fa7ff 0%, #6ec0ff 100%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border: 2px solid rgba(79, 167, 255, 0.3);
  box-shadow: 
    0 4px 12px rgba(79, 167, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: dollarGlow 3s ease-in-out infinite;
}

.cost-calculator:hover .money-icon {
  background: linear-gradient(135deg, #6ec0ff 0%, #4fa7ff 100%);
  border-color: rgba(79, 167, 255, 0.5);
  box-shadow: 
    0 6px 20px rgba(79, 167, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: scale(1.1) rotateZ(5deg);
  animation: dollarGlow 1.5s ease-in-out infinite;
}

@keyframes dollarGlow {
  0%, 100% {
    box-shadow: 
      0 4px 12px rgba(79, 167, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 6px 20px rgba(79, 167, 255, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 25px rgba(79, 167, 255, 0.3);
  }
}

.cost-calculator p {
  position: relative;
  z-index: 2;
  color: var(--color-text-grey);
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
}

.cost-calculator .btn {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(79, 167, 255, 0.9), rgba(110, 192, 255, 0.8));
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(79, 167, 255, 0.3);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 
    0 8px 25px rgba(79, 167, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
  overflow: hidden;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.cost-calculator .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.cost-calculator .btn::first-letter {
  font-size: 1.1rem;
  text-shadow: 
    0 0 6px rgba(255, 215, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
  animation: buttonMoneyFloat 2s ease-in-out infinite;
}

@keyframes buttonMoneyFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-2px);
  }
}

.cost-calculator .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.cost-calculator .btn:hover::before {
  left: 100%;
}

.cost-calculator .btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(79, 167, 255, 1), rgba(110, 192, 255, 0.9));
  border-color: rgba(79, 167, 255, 0.5);
  box-shadow: 
    0 12px 35px rgba(79, 167, 255, 0.35),
    0 0 25px rgba(79, 167, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 
      0 0 10px rgba(79, 167, 255, 0.3),
      0 0 20px rgba(79, 167, 255, 0.2);
  }
  50% {
    text-shadow: 
      0 0 15px rgba(79, 167, 255, 0.5),
      0 0 30px rgba(79, 167, 255, 0.3),
      0 0 45px rgba(79, 167, 255, 0.2);
  }
}

.awareness-media {
  flex: 0 0 45%;
}

.awareness-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  min-height: 200px;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  background: transparent;
}

.awareness-img:hover {
  transform: translateY(-3px);
}

/* Emotion & Lifestyle Section removed */

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .awareness {
    padding: 2rem 4%;
    overflow: visible;
  }
  
  .awareness-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    overflow: visible;
  }
  
  .awareness-intro {
    text-align: center;
  }
  
  .awareness-intro,
  .awareness-features {
    flex: 0 1 100%;
    width: 100%;
  }
  
  .benefits-list {
    width: 100%;
    overflow: visible;
    padding: 0;
    margin: 0;
  }
  
  .benefits-list li {
    margin: 0 0 1rem 0;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .benefits-list li:hover {
    transform: translateY(-3px);
  }
  
  .benefits-list .icon {
    margin-right: 1rem;
    font-size: 28px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    flex-shrink: 0;
  }
  
  .benefits-list strong {
    font-size: 1rem;
  }
  
  
  
  .awareness-calculator {
    padding: 0;
    margin-top: 1.5rem;
    width: 100%;
    display: block;
    position: relative;
  }
  
  .calculator-cta-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    position: relative !important;
    transform: none !important;
    min-height: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
  }
  
  .cta-content {
    padding: 1.5rem 1.25rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .cta-content p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .cta-button {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    margin-top: 0.5rem;
  }
  
  .cta-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  
}

/* Video Section */
.video-section {
  background-color: var(--color-bg-light);
  padding: 4rem 5%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(79, 167, 255, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.video-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.video-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.12),
    0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 450px;
}

.video-wrapper:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.15),
    0 8px 20px rgba(79, 167, 255, 0.1);
}

.video-player {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: block;
  background: var(--color-bg-secondary);
  object-fit: cover; /* Changed from 'cover' to maintain quality while filling the space */
}

.video-content {
  color: var(--color-text-dark);
  padding-left: 1.5rem;
  position: relative;
  max-width: 950px;
}

/* Chat bubble container for the new content */
.video-content .chat-bubble {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 0 80px rgba(79, 167, 255, 0.2);
  position: relative;
  margin-bottom: 1rem;
  border: 1px solid rgba(79, 167, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-content .chat-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.35),
    0 15px 30px rgba(0, 0, 0, 0.2),
    0 0 100px rgba(79, 167, 255, 0.3);
}

/* Chat bubble arrow pointing to the left (towards video) */
.video-content .chat-bubble::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #ffffff;
  filter: drop-shadow(-1px 0 1px rgba(0, 0, 0, 0.05));
}

.video-content .chat-bubble h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.video-content .chat-bubble .subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-text-grey);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.video-content .chat-bubble p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(79, 167, 255, 0.05), rgba(0, 102, 255, 0.05));
  border-radius: 12px;
  border: 1px solid rgba(79, 167, 255, 0.15);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: linear-gradient(135deg, rgba(79, 167, 255, 0.1), rgba(0, 102, 255, 0.1));
  border-color: rgba(79, 167, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 167, 255, 0.2);
}

.feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4fa7ff, #0066ff);
  border-radius: 10px;
  color: white;
  box-shadow: 0 4px 8px rgba(79, 167, 255, 0.3);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.emoji-icon {
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.3;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-muted-dark);
  line-height: 1.3;
}

/* Mobile Responsiveness for Video Section */
@media (max-width: 768px) {
  .video-section {
    padding: 2rem 4%;
  }
  
  .video-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    max-width: 100%;
  }
  
  .video-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    order: 1;
    min-height: 250px;
    border-radius: 12px;
  }
  
  .video-wrapper:hover {
    transform: translateY(-2px) scale(1.005);
  }
  
  .video-player {
    height: 100%;
    border-radius: 12px;
  }
  
  .video-content {
    padding-left: 0;
    padding: 0;
    order: 2;
    max-width: 100%;
  }
  
  .video-content .chat-bubble {
    padding: 1.5rem;
    margin: 2rem 0 0;
    text-align: left;
    border-radius: 16px;
  }
  
  /* Hide arrow on mobile for better appearance */
  .video-content .chat-bubble::before {
    display: none;
  }
  
  .video-content .chat-bubble h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  .video-content .chat-bubble .subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .video-content .chat-bubble p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .features-grid {
    /* Hide emoji feature list on mobile */
    display: none !important;
  }

  .feature-item {
    padding: 0.7rem;
    gap: 0.65rem;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
  }

  .feature-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .emoji-icon {
    font-size: 18px;
  }

  .feature-title {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .feature-desc {
    font-size: 0.72rem;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .video-section {
    padding: 1.5rem 4%;
  }
  
  .video-wrapper {
    border-radius: 10px;
    min-height: 200px;
  }
  
  .video-player {
    border-radius: 10px;
  }
  
  .video-content .chat-bubble {
    padding: 1.25rem;
    border-radius: 14px;
  }
  
  .video-content .chat-bubble h2 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
  }
  
  .video-content .chat-bubble .subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
  }
  
  .video-content .chat-bubble p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .features-grid {
    display: none !important;
  }

  .feature-item {
    padding: 0.65rem;
    gap: 0.6rem;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 9px;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .emoji-icon {
    font-size: 17px;
  }

  .feature-title {
    font-size: 0.8rem;
  }

  .feature-desc {
    font-size: 0.7rem;
  }
}

/* Models Section */
.models {
  background-color: var(--color-bg-light);
  padding: 15px 5% 15px 5%;
  margin-top: 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* Models: two-column responsive layout with image beside descriptive text */
.models-grid {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.models-text {
  flex: 0 0 45%;
  color: var(--color-text-dark);
  background: rgba(255, 255, 255, 0.98);
  padding: 35px; /* Reduced from var(--space-4xl) which is 4rem/64px */
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border: 3px solid rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(-5px);
}

.models-text:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.models-text::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 30px;
  width: 25px;
  height: 25px;
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
  border-radius: 0 0 20px 0;
  border-right: 3px solid rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid rgba(0, 0, 0, 0.15);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.models-text h2, .industry h2, .vantagens-text h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem; /* Reduced from 3.2rem */
  margin-bottom: 18px; /* Reduced from 32px */
  text-align: left;
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.models-text h2:hover, .industry h2:hover, .vantagens-text h2:hover {
  transform: translateX(10px);
  background: linear-gradient(135deg, #4fa7ff 0%, #79c2ff 50%, #4fa7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
  animation: gradientFlow 3s linear infinite;
}

.highlight {
  position: relative;
  display: inline-block;
  padding: 0 5px;
}

.highlight::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(90deg, rgba(79, 167, 255, 0.1), rgba(110, 192, 255, 0.1));
  z-index: -1;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight:hover::before {
  transform: scaleX(1);
}

@keyframes gradientFlow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.models-text p {
  color: var(--color-text-grey);
  font-size: 1.1rem; /* Reduced from 1.2rem */
  line-height: 1.6; /* Reduced from 1.7 */
  margin-bottom: 18px; /* Reduced from 24px */
  font-weight: 300;
}

.models-text .muted { 
  color: var(--color-text-muted-dark);
  margin-top: 6px; /* Reduced from 8px */
  font-size: 1.1rem; /* Reduced from 1.2rem */
  font-weight: 300;
}

.models-media {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.design-img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  min-height: 400px;
  max-height: 735px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
  background: transparent;
}

.design-img:hover {
  transform: translateY(-5px);
}

.design-img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Adjust the media container to properly show the design image */
.models-media {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .design-img {
    max-width: 100%;
    margin-top: 20px;
  }
  
  .models-grid {
    flex-direction: column;
  }
  
  .models-media {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Industry Section */
.industry {
  padding: 15px 5% 15px 5%;
  background: var(--color-bg-light-blue);
  position: relative;
  overflow: hidden;
}

.industry::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(79, 167, 255, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

/* Technology / Industry grid: image on the left, text on the right */
.industry-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0;
}

.industry-media {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.industry-img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  min-height: 400px;
  max-height: 735px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px !important;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
  background: transparent;
  overflow: hidden !important;
  display: block !important;
}

.industry-img:hover {
  transform: translateY(-5px);
}

.industry-img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Force rounded corners for industry image across all breakpoints */
.industry-img,
.industry-media .industry-img,
#technology .industry-img,
#technology .industry-media .industry-img {
  border-radius: 20px !important;
  overflow: hidden !important;
}

/* Additional specific targeting for the "O Amanhã é Hoje" section */
section#technology .industry-img,
section#technology img[src="tech-image.png"] {
  border-radius: 20px !important;
  overflow: hidden !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

/* New wrapper approach for guaranteed rounded corners */
.industry-img-wrapper {
  border-radius: 20px !important;
  overflow: hidden !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  background: transparent !important;
}

.industry-img-wrapper .industry-img {
  border-radius: 20px !important;
  overflow: hidden !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border: none !important;
  outline: none !important;
}

/* Force rounded corners for about image to match other sections */
.about-img,
.about-media .about-img,
#about .about-img,
#about .about-media .about-img {
  border-radius: 20px !important;
  overflow: hidden !important;
  object-fit: cover !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

/* Additional specific targeting for the "Sobre Nós" section */
section#about .about-img,
section#about img[src="about-image.png"] {
  border-radius: 20px !important;
  overflow: hidden !important;
  object-fit: cover !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

.industry-text {
  flex: 0 0 45%;
  padding: var(--space-4xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border: 3px solid rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(-5px) scale(0.9);
}

.industry-text:hover {
  transform: translateY(-12px) scale(0.9);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.industry-text::before {
  content: '';
  position: absolute;
  bottom: -11px;
  right: 30px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
  border-radius: 0 0 15px 0;
  border-right: 3px solid rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid rgba(0, 0, 0, 0.15);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.industry-text h2 {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  margin-bottom: 32px;
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: left;
}

.industry-text p {
  color: var(--color-text-grey);
  font-size: 1.4rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 24px;
  max-width: 480px;
}

.industry-text .highlight {
  color: var(--color-accent-blue);
  font-weight: 500;
  background: linear-gradient(135deg, rgba(79, 167, 255, 0.1), rgba(110, 192, 255, 0.05));
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.industry-text .highlight:hover {
  background: linear-gradient(135deg, rgba(79, 167, 255, 0.2), rgba(110, 192, 255, 0.1));
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .industry-grid {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }
  
  .industry-media { 
    order: 0; 
    flex: 1;
    width: 100%;
    padding-left: 0;
  }
  
  .industry-img { 
    max-width: 100%; 
    transform: translateY(0) translateX(0);
    aspect-ratio: 16/10;
    border-radius: 20px;
  }
  
  .industry-img-wrapper {
    border-radius: 20px !important;
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 16/10 !important;
  }
  
  .industry-text { 
    order: 1;
    flex: 1;
    text-align: center; 
    padding-left: 0;
    padding-top: 20px;
  }
  
  .industry-text h2 {
    font-size: 2.8rem;
    text-align: center;
  }
  
  .industry-text p {
    text-align: center;
    margin: 0 auto 24px;
    max-width: 100%;
    font-size: 1.2rem;
  }
  
  .industry {
    padding: 10px 5%;
  }
}

/* Vantagens Section: text on left, image on right */
.vantagens {
  background-color: var(--color-bg-soft-grey);
  padding: 15px 5%;
  overflow: hidden;
}

.vantagens-grid {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.vantagens-text {
  flex: 0 0 45%;
  background: rgba(255, 255, 255, 0.98);
  padding: 35px; /* Reduced from 40px */
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border: 3px solid rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(-5px);
}

.vantagens-text:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.vantagens-text::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 30px;
  width: 25px;
  height: 25px;
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
  border-radius: 0 0 20px 0;
  border-right: 3px solid rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid rgba(0, 0, 0, 0.15);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.vantagens-text h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem; /* Reduced from 3.2rem */
  margin-bottom: 18px; /* Reduced from 32px */
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.vantagens-text p,
.vantagens-text .vantagens-list {
  color: var(--color-text-grey);
  font-size: 1.1rem; /* Reduced from 1.2rem */
  line-height: 1.6; /* Reduced from 1.7 */
  font-weight: 300;
}

.vantagens-text p.highlight {
  color: var(--color-accent-blue);
  font-size: 1.25rem; /* Reduced from 1.4rem */
  margin-bottom: 20px; /* Reduced from 32px */
  font-weight: 400;
  line-height: 1.4;
}

.vantagens-list { margin-top: 14px; padding-left: 18px; } /* Reduced margins and padding */
.vantagens-list li { margin-bottom: 10px; } /* Reduced from 12px */

.vantagens-media {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.vantagens-img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  min-height: 400px;
  max-height: 735px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
  background: transparent;
}

.vantagens-img:hover {
  transform: translateY(-5px);
}

.vantagens-img.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .vantagens-grid { flex-direction: column; }
  .vantagens-media { order: -1; width: 100%; max-width: 480px; margin: 0 auto; }
  .vantagens-text { text-align: center; }
}

/* Fade-in + Slide animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Contact Popup Styles */
/* Calculator Popup - Clean Implementation */
body.popup-open {
  overflow: hidden !important;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: all 0.3s ease;
  pointer-events: none;
  padding: 10px;
  box-sizing: border-box;
}

.popup-overlay.active {
  display: flex;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 999999;
  pointer-events: all;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
  }
  to {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
  }
}

.popup-content {
  background: linear-gradient(145deg, #012147, #013467);
  border-radius: 20px;
  padding: 20px;
  width: 95%;
  max-width: 900px;
  max-height: 95vh;
  overflow-y: auto;
  border: 1px solid rgba(79, 167, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 999999;
  margin: auto;
}

.popup-overlay.active .popup-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* About Section */
.about {
  padding: 15px 5% 15px 5%;
  background: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(79, 167, 255, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.about-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}

.about-text {
  flex: 0 0 45%;
  padding: 35px; /* Reduced padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  order: 1;
  width: 100%;
  overflow: visible;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border: 3px solid rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(-5px);
}

.about-text:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
}

.about-text::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 30px;
  width: 25px;
  height: 25px;
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
  border-radius: 0 0 20px 0;
  border-right: 3px solid rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid rgba(0, 0, 0, 0.15);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.about-text h2 {
  font-size: 2.8rem; /* Reduced from 3.2rem */
  margin-bottom: 18px; /* Further reduced */
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--color-text-grey);
  font-size: 1.1rem; /* Reduced from 1.2rem */
  line-height: 1.6; /* Reduced from 1.7 */
  margin-bottom: 16px; /* Further reduced */
  font-weight: 300;
}

.about-text p.highlight {
  font-size: 1.25rem; /* Reduced from 1.4rem */
  color: var(--color-accent-blue);
  font-weight: 400;
  margin-bottom: 20px; /* Further reduced */
}

.about-content-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px; /* Further reduced gap */
  margin-top: 12px; /* Further reduced margin */
  width: 100%;
  overflow: visible;
}

.about-column {
  background: linear-gradient(140deg, rgba(79, 167, 255, 0.08), rgba(79, 167, 255, 0.04));
  padding: 18px; /* Further reduced padding */
  border-radius: 15px;
  border: 1px solid rgba(79, 167, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  width: 100%;
  overflow: visible;
  word-wrap: break-word;
  hyphens: auto;
}

.about-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(79, 167, 255, 0.12);
  background: linear-gradient(140deg, rgba(79, 167, 255, 0.12), rgba(79, 167, 255, 0.06));
}

.about-column h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; /* Reduced from 1.3rem */
  color: var(--color-accent-blue);
  margin-bottom: 10px; /* Further reduced */
  font-weight: 600;
}

.about-column p {
  font-size: 0.95rem; /* Reduced from 1rem */
  line-height: 1.5; /* Reduced from 1.6 */
  margin-bottom: 0;
  color: var(--color-text-grey);
}

.about-media {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  order: -1;
  overflow: hidden;
}

/* About Image - Clean implementation */
.about-img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  min-height: 400px;
  max-height: 735px;
  object-fit: cover !important;
  object-position: center;
  border-radius: 20px !important;
  background: transparent;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
  overflow: hidden !important;
  display: block !important;
  margin: 0 auto;
  box-shadow: 
    0 8px 25px rgba(0,0,0,0.12),
    0 15px 35px rgba(0,0,0,0.08);
}

.about-img:hover {
  transform: translateY(-5px);
}

.about-img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Awareness Image - Same styling as other section images */
.awareness-img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  min-height: 400px;
  max-height: 735px;
  object-fit: cover !important;
  object-position: center;
  border-radius: 20px !important;
  background: transparent;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
  overflow: hidden !important;
  display: block !important;
  margin: 0 auto;
  box-shadow: 
    0 8px 25px rgba(0,0,0,0.12),
    0 15px 35px rgba(0,0,0,0.08);
}

.awareness-img:hover {
  transform: translateY(-5px);
}

.awareness-img.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .about {
    padding: 15px 8%;
  }
  
  .about-grid {
    gap: 40px;
  }
  
  .about-content-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .about-media {
    /* on small screens keep image above the text */
    order: -1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-text h2 {
    font-size: 2rem;
  }
  
  .about-content-columns {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  
  .about-column {
    padding: 20px;
    text-align: left;
  }
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #7aafff;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-popup:hover {
  color: #fff;
}

.popup-content h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 24px;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(92,168,255,0.08);
  border-radius: 15px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  background: rgba(92,168,255,0.12);
}

.contact-icon {
  font-size: 24px;
  color: #4fa7ff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(92,168,255,0.15);
  border-radius: 12px;
}

.contact-details h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-details a {
  color: #7aafff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: #fff;
}

@media (max-width: 480px) {
  .awareness {
    padding: 1.5rem 4%;
  }
  
  .benefits-list li {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    min-width: 0;
  }
  
  .benefits-list .icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
    margin-right: 0.85rem;
  }
  
  .awareness-calculator {
    padding: 0;
    margin-top: 1rem;
    position: relative;
  }
  
  .calculator-cta-card {
    margin: 0;
    padding: 0;
    position: relative !important;
    transform: none !important;
    min-height: auto !important;
  }
  
  .cta-content {
    padding: 1.25rem 1rem;
    border-radius: 16px;
  }
  
  .cta-content h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
  }
  
  .cta-content p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .cta-button {
    padding: 12px 16px;
    font-size: 0.95rem;
    width: 100%;
  }
  
  .cta-icon {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }
  
  .popup-content {
    padding: 30px 20px;
  }
  
  .contact-item {
    padding: 15px;
  }
  
  .contact-icon {
    font-size: 20px;
    width: 35px;
    height: 35px;
  }
  
  .contact-details h3 {
    font-size: 16px;
  }
  
  .contact-details a {
    font-size: 14px;
  }
}

/* Location Section */
.location-section {
  background: linear-gradient(135deg, #f8faff 0%, #e6f3ff 100%);
  padding: 30px 8% 40px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.location-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.location-content h2 {
  font-size: 1.75rem;
  color: #011834;
  margin-bottom: 8px;
  font-weight: 600;
}

.location-content p {
  font-size: 0.95rem;
  color: #5585c5;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 25px;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address-card,
.hours-card,
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card h3 {
  color: #011834 !important;
}

.contact-card p {
  color: #5585c5 !important;
}

.address-card:hover,
.hours-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.location-icon {
  font-size: 1.2rem;
  background: linear-gradient(135deg, #4fa7ff, #6ec0ff);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(79, 167, 255, 0.3);
  flex-shrink: 0;
}

.address-details h3,
.hours-details h3,
.contact-details h3 {
  color: #011834;
  font-size: 0.95rem;
  margin-bottom: 3px;
  font-weight: 600;
}

.address-details p,
.hours-details p,
.contact-details p {
  color: #5585c5;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.map-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  height: 300px;
  z-index: 2;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
}

.directions-btn {
  background: linear-gradient(135deg, #4fa7ff, #6ec0ff);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(79, 167, 255, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 167, 255, 0.6);
  background: linear-gradient(135deg, #6ec0ff, #4fa7ff);
}

/* Mobile responsiveness for location section */
@media (max-width: 768px) {
  .location-section {
    padding: 40px 8% 50px;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .location-content h2 {
    font-size: 1.8rem;
  }
  
  .location-content p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .location-info {
    gap: 15px;
  }
  
  .address-card,
  .hours-card,
  .contact-card {
    padding: 15px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .location-icon {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
    margin: 0 auto;
  }
  
  .map-container {
    height: 280px;
  }
  
  .map-overlay {
    top: 10px;
    right: 10px;
  }
  
  .directions-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

/* Footer Styles */
.footer {
  background: linear-gradient(180deg, #011834 0%, #001326 100%);
  padding: 60px 0 20px;
  margin-top: 80px;
  border-top: 1px solid rgba(92,168,255,0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-section p {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-section ul a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(92,168,255,0.1);
}

.footer-rights {
  text-align: center;
  margin-bottom: 20px;
}

.footer-rights p {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.legal-text {
  font-size: 0.8rem !important;
  color: #fff !important;
  max-width: 800px;
  margin: 0 auto 20px !important;
  line-height: 1.5;
}

.footer-certifications {
  text-align: center;
}

.footer-certifications p {
  color: #fff;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
    text-align: center;
  }

  .footer-info {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-section {
    margin: 0 auto;
  }
}

@media (min-width: 1200px) {
  /* maximize logo on very wide screens */
  .logo { 
    height: 58px;
    padding: 2px 0;
  }
  .logo-img { 
    height: 58px;
    max-height: 58px;
  }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ============================================ */

/* Extra Large Screens (1600px+) - Your current monitor */
@media (min-width: 1600px) {
  html {
    font-size: 18px; /* Larger base size for big screens */
  }
  
  .industry-grid {
    max-width: 2000px;
  }
  
  .models-grid, .vantagens-grid, .about-grid, .awareness-grid {
    max-width: 1800px;
  }
}

/* Large Screens (1400px - 1599px) */
@media (max-width: 1599px) and (min-width: 1400px) {
  html {
    font-size: 17px;
  }
  
  .industry-grid {
    max-width: 1600px;
  }
}

/* Desktop/Laptop Screens (1024px - 1399px) - This should fix your laptop issue */
@media (max-width: 1399px) and (min-width: 1024px) {
  html {
    font-size: 15px; /* Smaller base size for laptops */
  }
  
  .industry-grid {
    max-width: 1200px;
    gap: 3rem;
  }
  
  .industry-text {
    flex: 0 0 45%;
    padding: 2rem;
  }
  
  .industry-media {
    flex: 0 0 85%;
  }
  
  .models-text, .vantagens-text, .about-text, .awareness-intro {
    padding: 2rem;
  }
  
  .benefits-list li {
    padding: 0.75rem 1rem;
    max-width: 400px;
  }
  
  /* Scale down chat bubble tails */
  .models-text::before, .industry-text::before, .vantagens-text::before, 
  .about-text::before, .awareness-intro::before {
    width: 20px;
    height: 20px;
    bottom: -12px;
  }
}

/* Tablet Screens (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .industry-grid {
    flex-direction: column;
    gap: 2rem;
    max-width: 700px;
  }
  
  .industry-media {
    flex: 1 1 auto;
    order: 1;
  }
  
  .industry-text {
    flex: 1 1 auto;
    order: 2;
    margin-left: 0;
  }
  
  .models-grid, .vantagens-grid, .about-grid, .awareness-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .models-text, .vantagens-text, .about-text, .awareness-intro {
    flex: 1 1 auto;
    padding: 1.5rem;
  }
  
  .benefits-list li {
    padding: 0.75rem 1rem;
    max-width: 100%;
  }
}

/* Mobile Screens (below 768px) */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  .industry-grid {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .industry-media {
    flex: 1 1 auto;
  }
  
  .industry-text {
    flex: 1 1 auto;
    padding: 1.5rem;
    margin-left: 0;
  }
  
  .models-grid, .vantagens-grid, .about-grid, .awareness-grid {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  /* Guarantee media (photos) are stacked above text bubbles on mobile */
  .models-media,
  .industry-media,
  .vantagens-media,
  .about-media { order: -1; }

  .models-text,
  .industry-text,
  .vantagens-text,
  .about-text { order: 1; text-align: center; }

  /* Awareness section: image first, then text on mobile */
  .awareness-calculator { order: -1; }
  .awareness-features { order: 1; }
  
  .models-text, .vantagens-text, .about-text, .awareness-intro {
    flex: 1 1 auto;
    padding: 1.5rem;
  }
  
  .benefits-list {
    gap: 1rem;
  }
  
  .benefits-list li {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    max-width: 100%;
  }
  
  /* Adjust chat bubble tails for mobile */
  .models-text::before, .industry-text::before, .vantagens-text::before, 
  .about-text::before, .awareness-intro::before {
    width: 15px;
    height: 15px;
    bottom: -8px;
  }
}

/* Small Mobile Screens (below 480px) */
@media (max-width: 479px) {
  html {
    font-size: 13px;
  }
  
  .industry-text, .models-text, .vantagens-text, .about-text, .awareness-intro {
    padding: 1rem;
  }
  
  .benefits-list li {
    padding: 0.75rem;
  }
}

/* ===============================
   Unified section image dimensions - MOBILE ONLY
   Make all section photos the same height on mobile
   (Models, Technology, Vantagens, About)
   Desktop keeps original auto/contain behavior
   =============================== */

/* Small tablets / large phones */
@media (max-width: 767px) {
  .design-img,
  .industry-img,
  .industry-img-wrapper,
  .industry-img-wrapper .industry-img,
  .vantagens-img,
  .about-img,
  .awareness-img {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .design-img,
  .industry-img,
  .industry-img-wrapper,
  .industry-img-wrapper .industry-img,
  .vantagens-img,
  .about-img,
  .awareness-img {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
  }
}

/* Desktop 100% Zoom Calculator Optimizations */
@media screen and (min-width: 1024px) and (max-width: 1920px) {
  .calculator-main-container {
    gap: 15px;
    max-width: 900px;
  }
  
  .calculator-section .calculator-form {
    padding: 15px;
    max-width: 400px;
  }
  
  .calculator-section .results-section {
    max-width: 400px;
    padding: 10px;
  }
  
  .calculator-section .form-grid {
    gap: 18px;
    margin-bottom: 18px;
  }
  
  .calculator-section .form-section {
    padding: 15px;
  }
  
  .calculator-section .form-section h4 {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }
  
  .calculator-section .input-group {
    margin-bottom: 10px;
  }
  
  .calculator-section label {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }
  
  .calculator-section input {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  
  .calculator-section .calc-button {
    padding: 14px 35px;
    font-size: 1rem;
  }
  
  .calculator-section .results-section {
    padding: 12px;
    max-width: 400px;
  }
  
  .calculator-section .results-section h4 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .calculator-section .results-grid {
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .calculator-section .result-card {
    padding: 10px;
    gap: 8px;
  }
  
  .calculator-section .result-icon {
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
  }
  
  .calculator-section .result-label {
    font-size: 0.75rem;
    margin-bottom: 2px;
  }
  
  .calculator-section .result-value {
    font-size: 1rem;
  }
  
  .calculator-section .cost-comparison h5 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  
  .calculator-section .comparison-row {
    gap: 12px;
  }
  
  .calculator-section .cost-item {
    padding: 6px 12px;
  }
  
  .calculator-section .cost-label {
    font-size: 0.75rem;
    margin-bottom: 1px;
  }
  
  .calculator-section .cost-value {
    font-size: 1rem;
  }
  
  .calculator-section .vs {
    font-size: 0.9rem;
  }
  
  .calculator-full .calculator-header {
    margin-bottom: 8px;
    padding-top: 10px;
  }
  
  .calculator-full .calculator-header h2 {
    font-size: 1.6rem;
    margin-bottom: 3px;
  }
  
  .calculator-full .calculator-header p {
    font-size: 0.95rem;
    margin-bottom: 3px;
  }
  
  .calculator-main-container {
    padding-top: 3px;
  }
}

/* Desktop 100% Zoom Location Section Optimizations */
@media screen and (min-width: 1024px) and (max-width: 1920px) {
  .location-section {
    padding: 45px 8% 55px;
  }
  
  .location-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .location-content p {
    font-size: 1rem;
    margin-bottom: 35px;
  }
  
  .location-grid {
    gap: 35px;
  }
  
  .location-info {
    gap: 18px;
  }
  
  .address-card,
  .hours-card,
  .contact-card {
    padding: 18px;
    gap: 12px;
  }
  
  .location-icon {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }
  
  .address-details h3,
  .hours-details h3,
  .contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  
  .address-details p,
  .hours-details p,
  .contact-details p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .map-container {
    height: 320px;
  }
}

/* ================================
   CONTACT FORM SECTION
   ================================ */

.contact-form-section {
  padding: var(--space-xl) 5% var(--space-lg);
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  display: none; /* Hidden by default */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.contact-form-section.visible {
  opacity: 1;
}

.contact-form-container {
  max-width: 1400px;
  margin: 0 auto;
}

.contact-form-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.contact-form-header h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.contact-form-header p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  max-width: 700px;
  margin: 0 auto;
}

/* Form Wrapper */
.form-wrapper {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: var(--space-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* Address and Street Number specific styling */
.form-group.address-field {
  grid-column: span 1;
}

.form-group.street-number {
  max-width: 150px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(79, 167, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 60px;
}

/* Full Width Form Group */
.form-group.full-width {
  grid-column: 1 / -1;
  position: relative;
}

/* Autocomplete Wrapper */
.autocomplete-wrapper {
  position: relative;
  width: 100%;
}

/* Address Suggestions Dropdown */
.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg-primary);
  border: 2px solid rgba(79, 167, 255, 0.3);
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: none;
}

.address-suggestions.active {
  display: block;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(79, 167, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: rgba(79, 167, 255, 0.15);
}

.suggestion-item.selected {
  background: rgba(79, 167, 255, 0.25);
}

.suggestion-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.suggestion-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.suggestion-main {
  font-size: 0.95rem;
  color: var(--color-text-primary);
  font-weight: 600;
}

.suggestion-sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.suggestion-distance {
  font-size: 0.8rem;
  color: var(--color-accent-primary);
  font-weight: 600;
  white-space: nowrap;
}

/* Scrollbar styling for suggestions */
.address-suggestions::-webkit-scrollbar {
  width: 8px;
}

.address-suggestions::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 10px 0;
}

.address-suggestions::-webkit-scrollbar-thumb {
  background: rgba(79, 167, 255, 0.3);
  border-radius: 4px;
}

.address-suggestions::-webkit-scrollbar-thumb:hover {
  background: rgba(79, 167, 255, 0.5);
}

/* Calculate Distance Button */
.calculate-btn {
  margin-top: var(--space-sm);
  padding: 8px 16px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 8px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(79, 167, 255, 0.2);
}

.calculate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 167, 255, 0.3);
}

.calculate-btn:active {
  transform: translateY(0);
}

/* Delivery Cost Result Section */
.delivery-cost-result {
  margin: var(--space-lg) 0;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cost-card {
  background: linear-gradient(135deg, rgba(79, 167, 255, 0.1) 0%, rgba(1, 33, 71, 0.3) 100%);
  border: 2px solid rgba(79, 167, 255, 0.3);
  border-radius: 15px;
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cost-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(79, 167, 255, 0.5);
}

.cost-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 8px rgba(79, 167, 255, 0.3));
}

.cost-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.cost-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.cost-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
}

.cost-value.highlight {
  color: var(--color-accent-primary);
  font-size: 2rem;
  text-shadow: 0 2px 8px rgba(79, 167, 255, 0.4);
}

.cost-note {
  grid-column: 1 / -1;
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(79, 167, 255, 0.05);
  border-left: 3px solid var(--color-accent-primary);
  border-radius: 5px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.cost-note.free-delivery {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

/* Responsive adjustments for delivery calculator */
@media (max-width: 768px) {
  .cost-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }
  
  .cost-icon {
    font-size: 2rem;
    margin: 0 auto;
  }
  
  .cost-details {
    align-items: center;
  }
  
  .cost-value {
    font-size: 1.2rem;
  }
  
  .cost-value.highlight {
    font-size: 1.5rem;
  }
}

/* Checkbox Styling */
.checkbox-group {
  margin-top: var(--space-sm);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  min-width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: transparent;
  position: relative;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label a {
  color: var(--color-accent-primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.checkbox-label a:hover {
  color: var(--color-link-hover);
}

/* Submit Button */
.form-actions {
  margin-top: var(--space-md);
}

.submit-button {
  width: 100%;
  padding: 10px var(--space-lg);
  background: var(--gradient-accent);
  border: none;
  border-radius: 10px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  box-shadow: 0 8px 20px rgba(79, 167, 255, 0.3);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(79, 167, 255, 0.4);
}

.submit-button:active {
  transform: translateY(0);
}

.button-icon {
  font-size: var(--font-size-xl);
}

/* Form Messages */
.form-message {
  padding: var(--space-xl);
  border-radius: 15px;
  text-align: center;
  margin-top: var(--space-lg);
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.message-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

.form-message h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.form-message p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
  display: none;
}

.contact-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: var(--space-xl);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-card .contact-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
  display: block;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.contact-card p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-details p strong,
.hours-info p strong {
  color: #011834;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
  
  .contact-info-sidebar {
    order: -1;
  }
  
  .contact-info-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  header {
    height: 80px;
  }
  
  /* Hide "Sobre" button on mobile */
  .nav-round-btn:nth-child(2) {
    display: none;
  }
  
  /* Reorganize navbar to be full width with evenly distributed buttons */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    height: 80px;
  }
  
  .nav-left-buttons {
    position: static;
    transform: none;
    display: flex;
    flex: 1;
    gap: 6px;
    align-items: center;
  }
  
  .nav-buttons {
    position: static;
    transform: none;
    display: flex;
    flex: 3;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
  }
  
  /* Make all 4 buttons equal and properly sized */
  .nav-round-btn,
  .contact-nav-btn,
  .encomendas-btn,
  .test-drive-btn {
    padding: 11px 16px;
    font-size: 0.8rem;
    gap: 5px;
    min-height: 46px;
    flex: 1;
    min-width: 0;
    letter-spacing: 0.3px;
    text-transform: none;
    white-space: nowrap;
    font-weight: 600;
  }
  
  .nav-round-btn .btn-icon,
  .contact-nav-btn .btn-icon,
  .encomendas-btn .btn-icon,
  .test-drive-btn .btn-icon {
    font-size: 0.95rem;
  }
  
  .contact-form-section {
    padding: var(--space-4xl) 5% var(--space-3xl);
  }
  
  .contact-form-header h2 {
    font-size: var(--font-size-3xl);
  }
  
  .form-wrapper {
    padding: var(--space-2xl);
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  /* Keep address and street number on same line on mobile */
  .form-group-row:has(.address-field) {
    grid-template-columns: 1fr auto;
    gap: var(--space-sm);
  }
  
  .form-group.street-number {
    max-width: 100px;
  }
  
  /* Hide sidebar cards on mobile: show only the email form */
  .contact-info-sidebar {
    display: none !important;
  }
  
  .contact-card {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  header {
    height: 75px;
  }
  
  /* Hide "Sobre" button on small mobile */
  .nav-round-btn:nth-child(2) {
    display: none;
  }
  
  /* Full width navbar with evenly distributed buttons on small screens */
  .navbar {
    padding: 0 5px;
    height: 75px;
    align-items: center;
  }
  
  .nav-left-buttons {
    position: static;
    transform: none;
    flex: 1;
    gap: 4px;
    align-items: center;
  }
  
  .nav-buttons {
    position: static;
    transform: none;
    flex: 3;
    gap: 4px;
    align-items: center;
  }
  
  /* Make all 4 buttons equal and compact on small mobile */
  .nav-round-btn,
  .contact-nav-btn,
  .encomendas-btn,
  .test-drive-btn {
    padding: 10px 12px;
    font-size: 0.75rem;
    gap: 4px;
    min-height: 44px;
    flex: 1;
    min-width: 0;
    letter-spacing: 0.2px;
    text-transform: none;
    white-space: nowrap;
    font-weight: 600;
  }
  
  .nav-round-btn .btn-icon,
  .contact-nav-btn .btn-icon,
  .encomendas-btn .btn-icon,
  .test-drive-btn .btn-icon {
    font-size: 0.9rem;
  }
  
  .contact-form-section {
    padding: var(--space-3xl) 5%;
  }
  
  .contact-form-header h2 {
    font-size: var(--font-size-2xl);
  }
  
  .form-wrapper {
    padding: var(--space-lg);
  }
  
  .submit-button {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-base);
  }
}

/* Policy Modal Styles */
.policy-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
}

.policy-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.policy-modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 170, 255, 0.3);
  animation: slideUp 0.4s ease-out;
}

.policy-modal-close {
  position: sticky;
  top: 20px;
  right: 20px;
  float: right;
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(0, 170, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
  padding: 0;
  margin: 0 20px 0 0;
}

.policy-modal-close:hover {
  background: #00aaff;
  color: white;
  border-color: #00aaff;
  transform: rotate(90deg) scale(1.1);
}

.policy-modal-body {
  padding: 0;
  color: #333;
}

/* Make the policy content fit nicely in the modal */
.policy-modal-body section {
  padding: 60px 40px !important;
  border-radius: 20px;
}

.policy-modal-body img {
  max-width: 120px !important;
  margin-bottom: 30px !important;
}

.policy-modal-body h1 {
  font-size: 2rem !important;
  margin-bottom: 40px !important;
}

.policy-modal-body div[style*="max-width"] {
  box-shadow: none !important;
}

/* Smooth scrollbar for modal */
.policy-modal-content::-webkit-scrollbar {
  width: 10px;
}

.policy-modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.policy-modal-content::-webkit-scrollbar-thumb {
  background: #00aaff;
  border-radius: 10px;
}

.policy-modal-content::-webkit-scrollbar-thumb:hover {
  background: #0088cc;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
  .policy-modal.active {
    padding: 10px;
  }
  
  .policy-modal-content {
    max-height: 95vh;
    border-radius: 15px;
  }
  
  .policy-modal-body section {
    padding: 40px 20px !important;
  }
  
  .policy-modal-close {
    width: 40px;
    height: 40px;
    font-size: 2rem;
    top: 10px;
    margin: 0 10px 0 0;
  }
  
  .policy-modal-body h1 {
    font-size: 1.5rem !important;
  }
}
