@font-face {
  font-family: 'Blauer Nue';
  src: url('fonts/BlauerNue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Blauer Nue';
  src: url('fonts/BlauerNue-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Blauer Nue';
  src: url('fonts/BlauerNue-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Blauer Nue';
  src: url('fonts/BlauerNue-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Blauer Nue';
  src: url('fonts/BlauerNue-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Blauer Nue';
  src: url('fonts/BlauerNue-Heavy.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color system for both themes */
  --accent-color: #eb9958;
  --accent-color-dark: #b06c2e;
  
  /* Dark theme colors (default) */
  --dark-bg: #121212;
  --dark-bg-primary: #1e1e1e;
  --dark-bg-secondary: #252525;
  --dark-bg-tertiary: #2c2c2c;
  --dark-bg-translucent: rgba(30, 30, 30, 0.85);
  --text-color: #ffffff;
  --text-muted-color: #d4d4d4; /* Brightened for better contrast */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  /* Light theme colors (will be applied via JS) */
  --light-bg: #f8f9fa;
  --light-bg-secondary: #ffffff;
  --light-bg-translucent: rgba(255, 255, 255, 0.85);
  --light-text-color: #212529;
  --light-text-muted-color: #6c757d;
  --light-border-subtle: rgba(0, 0, 0, 0.1);
  --light-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  
  /* Active theme colors (set by JS) */
  --bg-color: var(--dark-bg);
  --bg-secondary: var(--dark-bg-secondary);
  --bg-translucent: var(--dark-bg-translucent); 
  --current-text-color: var(--text-color);
  --current-text-muted: var(--text-muted-color);
  --current-border: var(--border-subtle);
  --current-shadow: var(--card-shadow);
  
  /* Transition for theme switching */
  --theme-transition: all 0.3s ease;
  
  /* Typography system */
  --font-family-primary: 'Blauer Nue', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Heading sizes */
  --h1-size: 3rem;     /* 48px */
  --h2-size: 2.5rem;   /* 40px */
  --h3-size: 1.75rem;  /* 28px */
  --h4-size: 1.35rem;  /* 22px */
  --h5-size: 1.15rem;  /* 18px */
  
  /* Body text sizes */
  --b1-size: 1.125rem; /* 18px - Large body text */
  --b2-size: 1rem;     /* 16px - Regular body text */
  --b3-size: 0.9375rem;/* 15px - Small body text */
  --b4-size: 0.875rem; /* 14px - Caption/small text */
  
  /* Font weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-heavy: 900;
  
  /* Line heights */
  --lh-heading: 1.2;
  --lh-body: 1.6;
}

/* Define RGB values for secondary and accent colors */
:root {
  --secondary-rgb: 66, 133, 244;
  --accent-rgb: 219, 68, 55;
}

/* Light theme overrides */
html[data-bs-theme="light"] {
  --bg-color: var(--light-bg);
  --bg-secondary: var(--light-bg-secondary);
  --bg-translucent: var(--light-bg-translucent);
  --current-text-color: var(--light-text-color);
  --current-text-muted: var(--light-text-muted-color);
  --current-border: var(--light-border-subtle);
  --current-shadow: var(--light-card-shadow);
}

body {
  background-color: var(--bg-color);
  color: var(--current-text-color);
  font-family: var(--font-family-primary);
  font-size: var(--b2-size);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  overflow-x: hidden;
  transition: var(--theme-transition);
}

/* Override text-muted class for better contrast */
.text-muted {
  color: var(--current-text-muted) !important;
}

/* Sticky modern navbar */
.navbar {
  background-color: var(--bg-translucent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--current-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0; /* Remove horizontal padding */
  transition: var(--theme-transition);
}

.navbar .container {
  padding: 0 2rem;
}

.navbar-brand img {
  height: 40px;
  transition: var(--theme-transition);
}

.navbar-nav .nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  opacity: 0;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link[aria-current="page"]::after {
  width: 30px;
  opacity: 1;
}

.navbar-nav .nav-link[aria-current="page"] {
  color: var(--accent-color) !important;
  font-weight: 600;
}

.navbar-toggler {
  border-color: var(--current-border);
}

.theme-toggle {
  background: transparent;
  border: none;
  color: var(--current-text-color);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-left: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--theme-transition);
}

.theme-toggle:hover {
  background-color: var(--current-border);
}

/* Screen-reader only class for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Hero section styles with theme support */
.hero-section {
  padding: 1rem 0 0; /* Add small top padding to hero section */
  background: var(--bg-secondary); /* Changed from var(--dark-bg-secondary) to adapt to theme */
  position: relative;
  overflow: hidden;
  transition: var(--theme-transition);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.5;
  z-index: 1;
  background-image: 
    radial-gradient(rgba(235,153,88,0.1) 2px, transparent 2px), 
    radial-gradient(rgba(255,255,255,0.07) 2px, transparent 2px);
  transition: var(--theme-transition);
}

html[data-bs-theme="light"] .hero-pattern {
  background-image: 
    radial-gradient(rgba(235,153,88,0.1) 2px, transparent 2px), 
    radial-gradient(rgba(0,0,0,0.05) 2px, transparent 2px);
  opacity: 0.6;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(235,153,88,0.2) 0%, rgba(235,153,88,0) 70%);
  z-index: 1;
  pointer-events: none;
  transition: var(--theme-transition);
}

html[data-bs-theme="light"] .hero-glow {
  background: radial-gradient(circle, rgba(235,153,88,0.15) 0%, rgba(235,153,88,0) 70%);
}

.hero-content {
  padding: 10rem 0 8rem; /* Increase top padding from 8rem to 10rem for better spacing */
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: var(--h1-size);
  font-weight: var(--fw-bold);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-headline span {
  color: var(--accent-color);
  transition: var(--theme-transition);
}

.hero-tagline {
  font-size: var(--b1-size);
  line-height: var(--lh-body);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-btn {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--theme-transition);
}

.hero-btn:hover {
  background-color: var(--accent-color-dark);
  color: #fff;
}

.hero-btn-secondary {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--current-text-color);
  border: 1px solid var(--current-border);
  display: flex;
  align-items: center;
  transition: var(--theme-transition);
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--current-text-color);
}

html[data-bs-theme="light"] .hero-btn-secondary:hover {
  background: rgba(0,0,0,0.05);
}

.hero-tech-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  background: rgba(235,153,88,0.15);
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(235,153,88,0.2);
  transition: var(--theme-transition);
}

html[data-bs-theme="light"] .hero-tech-badge {
  background: rgba(235,153,88,0.08);
  border: 1px solid rgba(235,153,88,0.15);
}

.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  z-index: 2;
  margin: 0 auto;
  background: transparent;
}

.android-enterprise-svg {
  width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
  display: block;
  background: transparent !important;
}

/* Target the object element specifically */
object.android-enterprise-svg {
  background-color: transparent !important; 
}

/* Fix for some browsers that might add background to SVG object */
object[type="image/svg+xml"] {
  background-color: transparent !important;
}

/* Target any potential background in the SVG itself */
.android-enterprise-svg rect[fill="#FFFFFF"],
.android-enterprise-svg rect[fill="#ffffff"],
.android-enterprise-svg rect[fill="white"] {
  fill: transparent !important;
}

.floating-icon {
  position: absolute;
  background: rgba(30, 30, 30, 0.85);
  border: 1px solid var(--current-border);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--theme-transition);
  z-index: 3;
}

html[data-bs-theme="light"] .floating-icon {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--current-border);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.floating-icon.icon-ai {
  top: 20%;
  left: -70px;
  animation: float 5s ease-in-out infinite;
}

.floating-icon.icon-speed {
  bottom: 20%;
  right: -60px;
  animation: float 5s ease-in-out infinite 1s;
}

.floating-icon.icon-scale {
  top: 50%;
  right: -70px;
  animation: float 5s ease-in-out infinite 2s;
}

.floating-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.floating-icon span {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--current-text-color);
  transition: var(--theme-transition);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-visual {
    margin-top: 3rem;
  }
  
  .mockup-wrapper {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-bottom: 0;
  }
  
  .hero-content {
    padding: 7rem 0 2rem; /* Reduce bottom padding to bring illustration closer */
    text-align: center;
  }
  
  .hero-visual {
    margin-top: 2rem;
    margin-bottom: -2rem; /* Pull illustration down to extend past container */
  }
  
  .mockup-wrapper {
    max-width: 100%; /* Full width on mobile */
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px); /* Extend past container padding */
  }
  
  .android-enterprise-svg {
    max-width: none; /* Remove max-width constraint */
    width: 100%;
  }
  
  .floating-icon {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-visual {
    margin-bottom: -3rem; /* Pull illustration further down on smaller screens */
  }
  
  .hero-content {
    padding-bottom: 1rem;
  }
}

/* Add this to both files for proper button states */
.hero-btn, .btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  transition: var(--theme-transition);
}

.hero-btn:hover, .btn-primary:hover {
  background-color: var(--accent-color-dark);
  color: #fff;
}

.hero-btn-secondary {
  background: transparent;
  color: var(--current-text-color);
  border: 1px solid var(--current-border);
  transition: var(--theme-transition);
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--current-text-color);
}

html[data-bs-theme="light"] .hero-btn-secondary:hover {
  background: rgba(0,0,0,0.05);
}

/* Fix form controls for proper theme switching */
.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--current-border);
  color: var(--current-text-color);
  transition: var(--theme-transition);
}

html[data-bs-theme="light"] .form-control, 
html[data-bs-theme="light"] .form-select {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--light-border-subtle);
}

/* Fix bonus card contrast */
.bonus-card {
  background: rgba(235,153,88,0.15);
  color: var(--current-text-color);
  transition: var(--theme-transition);
}

html[data-bs-theme="light"] .bonus-card {
  background: rgba(235,153,88,0.08);
}

/* Text danger with better contrast */
.text-danger {
  color: #ff6b6b !important; /* Brighter red for dark mode */
  transition: var(--theme-transition);
}

html[data-bs-theme="light"] .text-danger {
  color: #dc3545 !important; /* Default Bootstrap red for light mode */
}

/* Fix list group item backgrounds */
.list-group-item {
  background: transparent;
  transition: var(--theme-transition);
}

/* Add this to your CSS */
section {
  position: relative;
  padding: 5rem 0;
  border-bottom: 1px solid var(--current-border);
  box-sizing: border-box;
  width: 100%;
  clear: both;
  overflow: hidden;
}

section.bg-light {
  background-color: var(--bg-secondary) !important;
  border-color: var(--current-border);
}

.container {
  max-width: 1200px;
  padding: 0 2rem;
}

@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }
}

/* Features section styles */
.features-section {
  padding: 5rem 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--current-border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--current-shadow);
  transition: var(--theme-transition);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 1rem;
  color: var(--current-text-muted);
}

/* Add bento grid styling for features */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.bento-item {
  background-color: var(--bg-secondary);
  border-radius: 1rem;
  border: 1px solid var(--current-border);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: var(--theme-transition), transform 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--current-shadow);
}

.bento-icon {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  background-color: rgba(235, 153, 88, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-icon i {
  font-size: 1.75rem;
  color: var(--accent-color);
}

.bento-content {
  display: flex;
  flex-direction: column;
}

.bento-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--current-text-color);
}

.bento-description {
  font-size: var(--b3-size);
  line-height: var(--lh-body);
}

/* Improved bonus cards styling */
.bonus-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.bonus-card {
  background: rgba(235,153,88,0.15);
  border: 1px solid var(--current-border);
  padding: 1.5rem;
  border-radius: 0.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--theme-transition), transform 0.3s ease;
}

.bonus-card:hover {
  transform: translateY(-5px);
}

.bonus-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.bonus-title i {
  color: var(--accent-color);
  margin-right: 0.75rem;
  font-size: 1.5rem;
}

.bonus-value {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.bonus-description {
  color: var(--current-text-muted);
  margin-bottom: 0;
}

/* Add advantages grid styling */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.advantage-card {
  background-color: var(--bg-secondary);
  border-radius: 1rem;
  border: 1px solid var(--current-border);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--theme-transition), transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--current-shadow);
}

.advantage-icon {
  width: 4rem;
  height: 4rem;
  min-width: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(235, 153, 88, 0.2) 0%, rgba(235, 153, 88, 0.1) 100%);
  transition: var(--theme-transition);
}

.advantage-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.advantage-content {
  display: flex;
  flex-direction: column;
}

.advantage-content h4 {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--current-text-color);
}

.advantage-content p {
  color: var(--current-text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Add customer profiles styling */
.customer-profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.customer-profile-card {
  background-color: var(--bg-secondary);
  border-radius: 1rem;
  border: 1px solid var(--current-border);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--theme-transition), transform 0.3s ease;
}

.customer-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--current-shadow);
}

.profile-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(235, 153, 88, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.profile-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.profile-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--current-text-color);
}

.profile-subtitle {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.profile-description {
  color: var(--current-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Investment & Availability card styling */
.availability-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--current-border);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  margin-bottom: 0;
  box-sizing: border-box;
  box-shadow: var(--current-shadow);
  transition: var(--theme-transition);
}

/* Pricing comparison styles */
.pricing-comparison {
  margin-bottom: 3rem;
}

.pricing-option {
  background-color: rgba(30, 30, 30, 0.7);
  border: 1px solid #2c2c2c;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, var(--theme-transition);
}

.pricing-option-alt {
  opacity: 0.7;
}

.pricing-option-featured {
  background-color: rgba(30, 30, 30, 0.95);
  border: 1px solid var(--accent-color);
  box-shadow: 0 0 20px rgba(235,153,88,0.15);
  transform: translateY(-10px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .customer-profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }
  
  .bonus-cards-container,
  .customer-profiles-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-option-featured {
    transform: none;
  }
}

/* Android SVG Animation Styles */
.hero-visual .mockup-wrapper {
  max-width: 100%;
  height: auto;
  position: relative;
}

.android-enterprise-svg {
  width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

/* Light theme SVG styles */
html[data-bs-theme="light"] .android-enterprise-svg .device-frame {
  fill: #e9e9e9;
}

html[data-bs-theme="light"] .android-enterprise-svg .device-screen {
  fill: #f5f5f5;
}

html[data-bs-theme="light"] .android-enterprise-svg .app-header {
  fill: #f0f0f0;
}

html[data-bs-theme="light"] .android-enterprise-svg .nav-drawer {
  fill: #e5e5e5;
}

html[data-bs-theme="light"] .android-enterprise-svg .card {
  fill: #ffffff;
}

html[data-bs-theme="light"] .android-enterprise-svg .nav-item {
  fill: #f0f0f0;
}

html[data-bs-theme="light"] .android-enterprise-svg .nav-item.active {
  fill: #e8e8e8;
}

html[data-bs-theme="light"] .android-enterprise-svg text {
  fill: #333333;
}

html[data-bs-theme="light"] .android-enterprise-svg .notification-toast {
  fill: #f0f0f0;
}

html[data-bs-theme="light"] .android-enterprise-svg text[fill="#aaaaaa"] {
  fill: #666666;
}

/* Animations */
@keyframes pulse {
  0% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.8; transform: scale(1); }
}

@keyframes fadeInOut {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes chartDotPulse {
  0% { r: 3; }
  50% { r: 5; }
  100% { r: 3; }
}

@keyframes shieldPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); filter: brightness(1.2); }
  100% { transform: scale(1); }
}

@keyframes fadeInScale {
  0% {
    opacity: 0.2;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animations */
.android-enterprise-svg .shield-icon {
  transform-origin: center;
  animation: shieldPulse 3s infinite ease-in-out;
}

.android-enterprise-svg .chart-dot:nth-child(1) {
  animation: chartDotPulse 3s infinite ease-in-out;
}

.android-enterprise-svg .chart-dot:nth-child(2) {
  animation: chartDotPulse 3s infinite ease-in-out 0.5s;
}

.android-enterprise-svg .chart-dot:nth-child(3) {
  animation: chartDotPulse 3s infinite ease-in-out 1s;
}

.android-enterprise-svg .chart-dot:nth-child(4) {
  animation: chartDotPulse 3s infinite ease-in-out 1.5s;
}

.android-enterprise-svg .performance-line {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: drawLine 3s forwards ease-in-out, fadeInOut 5s infinite ease-in-out 3s;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.android-enterprise-svg .data-value {
  transform-origin: bottom;
  animation: growBar 2s forwards ease-out;
}

@keyframes growBar {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.android-enterprise-svg .data-projected {
  opacity: 0;
  animation: fadeIn 1s forwards ease-out 2s;
}

@keyframes fadeIn {
  to {
    opacity: 0.5;
  }
}

.android-enterprise-svg .notification-toast {
  transform: translateY(60px);
  animation: slideUp 1s forwards ease-out 2.5s;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

/* Fix the white background issue by adding a transparent background to SVG container */
.hero-visual,
.mockup-wrapper,
.android-enterprise-svg,
object.android-enterprise-svg {
  background-color: transparent !important;
}

/* Enhanced SVG animations */

/* 1. Animated Performance Line - Sequential Drawing */
@keyframes drawLine {
  0% {
    stroke-dashoffset: 250;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* 2. Improved Data Bar Animation - Different Heights and Timing */
@keyframes growBarOne {
  0% { height: 0; y: 440; }
  100% { height: 50px; y: 390; }
}

@keyframes growBarTwo {
  0% { height: 0; y: 440; }
  100% { height: 70px; y: 370; }
}

@keyframes growBarThree {
  0% { height: 0; y: 440; }
  100% { height: 60px; y: 380; }
}

@keyframes growBarFour {
  0% { height: 0; y: 440; }
  100% { height: 80px; y: 360; }
}

@keyframes growBarFive {
  0% { height: 0; y: 440; opacity: 0; }
  60% { height: 0; y: 440; opacity: 0; }
  100% { height: 90px; y: 350; opacity: 0.5; }
}

/* 3. Shield Check Animation - Draw the Checkmark */
@keyframes drawCheck {
  0% {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  100% {
    stroke-dasharray: 50;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Enhanced SVG animations that will work with inline SVG */

/* Performance line drawing animation */
.performance-line {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: drawLine 3s forwards ease-in-out, fadeInOut 5s infinite ease-in-out 3s;
}

/* Data bar animations - individual heights */
.bar-1 {
  transform-origin: bottom;
  transform: scaleY(0);
  animation: growBar1 1.5s forwards ease-out 0.2s;
}

.bar-2 {
  transform-origin: bottom;
  transform: scaleY(0);
  animation: growBar2 1.5s forwards ease-out 0.4s;
}

.bar-3 {
  transform-origin: bottom;
  transform: scaleY(0);
  animation: growBar3 1.5s forwards ease-out 0.6s;
}

.bar-4 {
  transform-origin: bottom;
  transform: scaleY(0);
  animation: growBar4 1.5s forwards ease-out 0.8s;
}

@keyframes growBar1 {
  to { transform: scaleY(1); }
}

@keyframes growBar2 {
  to { transform: scaleY(1); }
}

@keyframes growBar3 {
  to { transform: scaleY(1); }
}

@keyframes growBar4 {
  to { transform: scaleY(1); }
}

/* Projected data animation */
.data-projected {
  opacity: 0;
  animation: fadeInProjected 1s forwards ease-out 2s;
}

@keyframes fadeInProjected {
  to { opacity: 0.5; }
}

/* Shield check mark drawing animation */
.shield-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  opacity: 0;
  animation: drawCheck 2s forwards ease-out 1s;
}

@keyframes drawCheck {
  0% {
    stroke-dashoffset: 50;
    opacity: 0;
  }
  40% {
    opacity: 0.5;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Chart dots animation */
.chart-dot {
  opacity: 0;
  r: 3;
}

.chart-dot:nth-child(1) {
  animation: fadeInDot 0.5s forwards ease-out 1s, pulseDot 3s infinite ease-in-out 2s;
}

.chart-dot:nth-child(2) {
  animation: fadeInDot 0.5s forwards ease-out 1.3s, pulseDot 3s infinite ease-in-out 2.5s;
}

.chart-dot:nth-child(3) {
  animation: fadeInDot 0.5s forwards ease-out 1.6s, pulseDot 3s infinite ease-in-out 3s;
}

.chart-dot:nth-child(4) {
  animation: fadeInDot 0.5s forwards ease-out 1.9s, pulseDot 3s infinite ease-in-out 3.5s;
}

@keyframes fadeInDot {
  to { opacity: 1; }
}

@keyframes pulseDot {
  0% { r: 3; }
  50% { r: 5; }
  100% { r: 3; }
}

/* Shield pulse animation */
.shield-icon {
  transform-origin: center;
  animation: shieldPulse 3s infinite ease-in-out 2s;
}

@keyframes shieldPulse {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.05); filter: brightness(1.2); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* Toast notification animation */
.notification-toast {
  transform: translateY(60px);
  animation: slideToast 1s forwards ease-out 2.5s;
}

@keyframes slideToast {
  to { transform: translateY(0); }
}

/* Pause animations until they're triggered by scroll */
.animation-paused .performance-line,
.animation-paused .shield-check,
.animation-paused .shield-icon,
.animation-paused .chart-dot,
.animation-paused .data-value,
.animation-paused .notification-toast {
  animation-play-state: paused;
}

/* New classes to delay animations until visible */
.svg-animated .performance-line {
  animation: drawLine 3s forwards ease-in-out, fadeInOut 5s infinite ease-in-out 3s;
}

.svg-animated .shield-check {
  animation: drawCheck 2s forwards ease-out 1s;
}

.svg-animated .chart-dot:nth-child(1) {
  animation: fadeInDot 0.5s forwards ease-out 1s, pulseDot 3s infinite ease-in-out 2s;
}

.svg-animated .chart-dot:nth-child(2) {
  animation: fadeInDot 0.5s forwards ease-out 1.3s, pulseDot 3s infinite ease-in-out 2.5s;
}

.svg-animated .chart-dot:nth-child(3) {
  animation: fadeInDot 0.5s forwards ease-out 1.6s, pulseDot 3s infinite ease-in-out 3s;
}

.svg-animated .chart-dot:nth-child(4) {
  animation: fadeInDot 0.5s forwards ease-out 1.9s, pulseDot 3s infinite ease-in-out 3.5s;
}

.svg-animated .data-value.bar-1 {
  animation: growBar1 1.5s forwards ease-out 0.2s;
}

.svg-animated .data-value.bar-2 {
  animation: growBar2 1.5s forwards ease-out 0.4s;
}

.svg-animated .data-value.bar-3 {
  animation: growBar3 1.5s forwards ease-out 0.6s;
}

.svg-animated .data-value.bar-4 {
  animation: growBar4 1.5s forwards ease-out 0.8s;
}

.svg-animated .data-projected {
  animation: fadeInProjected 1s forwards ease-out 2s;
}

.svg-animated .notification-toast {
  animation: slideToast 1s forwards ease-out 2.5s;
}

/* Reset initial states to ensure animations work properly */
.performance-line {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
}

.shield-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  opacity: 0;
}

.chart-dot {
  opacity: 0;
  r: 3;
}

.data-value {
  transform-origin: bottom;
  transform: scaleY(0);
}

.data-projected {
  opacity: 0;
}

.notification-toast {
  transform: translateY(60px);
}

/* Update orange button styling for better contrast */
.hero-btn, 
.btn-primary {
  background-color: var(--accent-color);
  color: #212529 !important; /* Dark text for better contrast */
  border: none;
  transition: var(--theme-transition);
}

.hero-btn:hover, 
.btn-primary:hover {
  background-color: var(--accent-color-dark);
  color: #212529 !important; /* Ensure dark text remains on hover */
}

.btn-primary {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: #000 !important;
  border-color: var(--accent-color);
}

/* Ensure icons inside buttons also have the correct color */
.hero-btn i,
.btn-primary i {
  color: #212529 !important;
}

/* Fix for any other buttons that might be using accent color */
.availability-card .btn-primary,
.cta-container .btn-primary,
form .btn-primary,
[class*="section"] .btn-primary {
  color: #212529 !important;
}

/* Fix for the update button in the SVG */
.android-enterprise-svg text[text-anchor="middle"][fill="#ffffff"] {
  fill: #212529;
}

/* Enhanced offer cards with advanced effects */
.everything-wrapper {
  position: relative;
  overflow: hidden;
}

.everything-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(235, 153, 88, 0.03) 0%, transparent 40%),
                    radial-gradient(circle at 80% 20%, rgba(235, 153, 88, 0.03) 0%, transparent 40%);
  z-index: 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.offer-item {
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--current-border);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.offer-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(235, 153, 88, 0.3);
}

.offer-header {
  background: linear-gradient(45deg, rgba(235, 153, 88, 0.08) 0%, rgba(235, 153, 88, 0.01) 100%);
  padding: 1.5rem;
  border-bottom: 1px solid var(--current-border);
  position: relative;
  overflow: hidden;
}

.offer-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.offer-item:hover .offer-header::before {
  transform: translateX(100%);
}

.offer-badge {
  display: inline-block;
  background: rgba(235,153,88,0.2);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.offer-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(90deg, var(--current-text-color), var(--current-text-muted));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.offer-item:hover .offer-title {
  background: linear-gradient(90deg, var(--accent-color), var(--accent-color-dark));
  background-clip: text;
  -webkit-background-clip: text;
}

.offer-content {
  padding: 1.5rem;
  flex: 1;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.offer-item:hover .feature-item {
  transform: translateX(5px);
  transition-delay: calc(0.05s * var(--item-index));
}

.feature-icon {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  background-color: rgba(235, 153, 88, 0.15);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
}

.feature-text {
  font-size: var(--b3-size);
  line-height: var(--lh-body);
  color: var(--current-text-muted);
}

/* Modern footer styling */
.modern-footer {
  background-color: var(--bg-translucent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--current-border);
  padding: 2rem 0;
  transition: var(--theme-transition);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.footer-logo-img {
  height: 30px;
  width: auto;
}

.copyright-text {
  color: var(--current-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-link {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--theme-transition);
}

.footer-link:hover {
  color: var(--accent-color-dark);
  text-decoration: underline;
}

.link-divider {
  color: var(--current-text-muted);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.social-icon {
  color: var(--current-text-muted);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(235, 153, 88, 0.1);
}

/* Adjust footer layout for mobile with more social icons */
@media (max-width: 767px) {
  .footer-social {
    justify-content: center;
    margin-top: 0.5rem;
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-nav {
    align-items: center;
  }
  
  .footer-brand {
    align-items: center;
  }
}

/* Enhanced branded button with animations */
.btn-brand-animated {
  position: relative;
  background-color: var(--accent-color);
  color: #212529 !important;
  border: none;
  border-radius: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-brand-animated::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0.5rem;
  padding: 3px;
  background: linear-gradient(
    120deg,
    var(--accent-color) 0%,
    var(--accent-color-dark) 25%, 
    var(--accent-color) 50%, 
    var(--accent-color-dark) 75%, 
    var(--accent-color) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background-size: 300% 100%;
  animation: borderGradient 3s ease infinite;
  z-index: -1;
}

.btn-brand-animated:hover {
  box-shadow: 0 0 20px rgba(235,153,88,0.4);
  transform: translateY(-3px);
}

.btn-brand-animated:active {
  transform: translateY(0px);
}

.btn-brand-animated i {
  margin-right: 8px;
  transition: transform 0.3s ease;
  color: #212529 !important;
}

.btn-brand-animated:hover i {
  transform: translateX(-3px);
}

@keyframes borderGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(235,153,88,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(235,153,88,0); }
  100% { box-shadow: 0 0 0 0 rgba(235,153,88,0); }
}

/* Apply pulse animation when button appears in viewport */
.btn-brand-animated[data-aos-delay] {
  animation: pulse 2s infinite;
  animation-delay: calc(0.8s + attr(data-aos-delay ms, 0));
}

/* Sticky CTA bar */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: auto;
  background-color: var(--accent-color);
  color: #212529;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s forwards;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sticky-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sticky-cta-text {
  white-space: nowrap;
  font-weight: 600;
  margin: 0;
}

.sticky-cta .btn {
  margin: 0;
  white-space: nowrap;
  background-color: #212529;
  color: #fff !important;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.sticky-cta .btn:hover {
  background-color: #000;
  transform: scale(1.05);
}

/* New animation for the pill */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile adjustments for the FAB */
@media (max-width: 767px) {
  .sticky-cta {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.6rem 1rem;
  }
  
  .sticky-cta-text {
    display: none;
  }
  
  .sticky-cta .btn {
    margin: 0;
    padding: 0.5rem 1rem;
  }
}

/* KEY BENEFITS SECTION STYLES */
.key-benefits-section {
  position: relative;
  background-color: var(--dark-bg-secondary);
  padding: 80px 0;
}

html[data-bs-theme="light"] .key-benefits-section {
  background-color: #f8f9fa;
}

/* Benefits Grid Layout */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* Benefit Card Styling */
.benefit-card {
  background: linear-gradient(145deg, var(--dark-bg-tertiary), var(--dark-bg-secondary));
  border-radius: 16px;
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(235, 153, 88, 0.3);
}

.benefit-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.benefit-card:hover:before {
  width: 6px;
  opacity: 1;
}

/* Benefit Number */
.benefit-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  opacity: 0.1;
  color: var(--primary);
  line-height: 1;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-number {
  opacity: 0.3;
  transform: scale(1.1) rotate(-5deg);
  transition: all 0.3s ease;
}

/* Benefit Text Styling */
.benefit-title {
  font-size: var(--h3-size);
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}

.benefit-title span {
  background: linear-gradient(90deg, var(--accent-color), var(--accent-color-dark));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-title span {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  background-clip: text;
  -webkit-background-clip: text;
}

.benefit-subtitle {
  font-size: var(--h5-size);
  font-weight: var(--fw-medium);
  color: var(--accent-color);
  margin-bottom: 12px;
}

.benefit-description {
  font-size: var(--b3-size);
  margin-bottom: 15px;
  line-height: var(--lh-body);
}

/* Section lead text */
.lead {
  font-size: var(--b1-size);
  line-height: 1.5;
}

/* Bento title */
.bento-title {
  font-size: var(--h4-size);
  font-weight: var(--fw-semibold);
  margin-bottom: 0.75rem;
}

/* Bento description */
.bento-description {
  font-size: var(--b3-size);
  line-height: var(--lh-body);
}

/* Feature list text */
.feature-text {
  font-size: var(--b3-size);
  line-height: var(--lh-body);
  color: var(--current-text-muted);
}

/* Form labels */
.form-label {
  font-size: var(--b3-size);
  font-weight: var(--fw-medium);
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  font-weight: var(--fw-semibold);
}

/* Mobile responsiveness for typography */
@media (max-width: 768px) {
  :root {
    --h1-size: 2.5rem;   /* 40px */
    --h2-size: 2rem;     /* 32px */
    --h3-size: 1.5rem;   /* 24px */
    --h4-size: 1.25rem;  /* 20px */
  }
  
  .lead {
    font-size: var(--b2-size);
  }
}

/* Add typography utility classes */
.fw-regular { font-weight: var(--fw-regular) !important; }
.fw-medium { font-weight: var(--fw-medium) !important; }
.fw-semibold { font-weight: var(--fw-semibold) !important; }
.fw-bold { font-weight: var(--fw-bold) !important; }
.fw-extrabold { font-weight: var(--fw-extrabold) !important; }
.fw-heavy { font-weight: var(--fw-heavy) !important; }

/* Fix hover contrast issues for all buttons - add to styles.css */
.btn-brand-animated,
.btn-primary,
.hero-btn {
  color: #212529 !important; /* Dark text on orange background for better contrast */
}

.btn-brand-animated:hover,
.btn-primary:hover,
.hero-btn:hover {
  background-color: var(--accent-color-dark);
  color: #212529 !important; /* Ensure dark text remains on hover */
}

/* Fix for dark background hover states */
.btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: #212529 !important; /* Dark text against orange */
}

/* Ensure proper contrast for btn-brand-animated */
.btn-brand-animated::before {
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* CTA section styling - add to styles.css */
.cta-section {
  background-color: var(--bg-secondary);
  border-radius: 0;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-color-dark));
}

.cta-content {
  padding: 2rem 0;
}

.cta-content h2 {
  margin-bottom: 1.5rem;
}

.cta-form-container {
  background-color: var(--bg-color);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--current-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.cta-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.cta-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-features li i {
  color: var(--accent-color);
}

.cta-testimonial {
  background-color: rgba(235, 153, 88, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.testimonial-quote {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.testimonial-quote i {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent-color);
  font-size: 1.5rem;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h5 {
  margin: 0;
  font-size: 1rem;
}

.testimonial-info p {
  margin: 0;
  color: var(--current-text-muted);
  font-size: 0.9rem;
}

/* Additional fixes for visual consistency */
.quick-question-container {
  background-color: var(--bg-color);
  border: 1px solid var(--current-border);
  border-radius: 16px;
}

/* Fix statistics badge contrast */
.stats-badge {
  background-color: rgba(235, 153, 88, 0.15);
  color: var(--current-text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin: 0;
  min-width: 140px;
  transition: all 0.3s ease;
  border: 1px solid rgba(235, 153, 88, 0.1);
}

.stats-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: rgba(235, 153, 88, 0.2);
}

.stats-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.stats-text {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* Add these styles for the stats container */
.stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
  .stats-container {
    flex-direction: column;
    align-items: center;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .stats-badge {
    width: 100%;
    padding: 1rem;
  }
}