/* Base Styles */
:root {
  --primary: #ff8000;
  --primary-dark: #e67300;
  --primary-light: #ffa64d;
  --secondary: #ffb84d;
  --accent: #ff4d00;
  --text: #2b2d42;
  --text-light: #6c757d;
  --text-lighter: #adb5bd;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --background-dark: #e9ecef;
  --border: #dee2e6;
  --success: #4ade80;
  --warning: #fbbf24;
  --error: #f43f5e;
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* General Styles */
html, body {
  height: 100%; /* Fix: was misspelled as 'heigt' */
  width: 100%;
  position: relative;
  padding-top: 30px;
  /* Remove overflow-x: hidden from here */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mt-6 {
  margin-top: 5rem;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

.rounded-4 {
  border-radius: 1rem;
}

/* Custom Button Styles - Improved Hover Effect with Gradient */
.btn {
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transform: scale(0);
  opacity: 0;
  border-radius: inherit;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.3s;
}

.btn:hover::before {
  transform: scale(1);
  opacity: 1;
}

/* Gradient Primary Button */
.btn-primary {
  background: linear-gradient(to right, #fb923c, #f97316);
  border: none;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(to right, #f97316, #ea580c);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  transform: translateY(-3px);
}

/* Keep existing outline button styles */
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  border-color: transparent;
  transform: translateY(-3px);
}

/* Also add gradient to floating signup button */
.signup-button {
  background: linear-gradient(to right, #fb923c, #f97316);
  border: none;
}

.signup-button:hover {
  background: linear-gradient(to right, #f97316, #ea580c);
}

/* Section Styles */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Wave Effect - Flachere, stilvollere Wellen mit nahtlosem Übergang */ 
.wave-container { 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  height: 150px; /* Reduced height */
  overflow: hidden; 
  line-height: 0; 
  transform: rotate(180deg); 
  z-index: -1;
  pointer-events: none;
  /* Remove negative margins that might cause positioning issues */
  margin-top: 0;
  margin-bottom: 0;
}
 
.wave { 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 200%; 
  height: 100%; 
  background-repeat: repeat-x; 
  background-position: 0 bottom;
  background-size: 100vw auto;
} 
 
.wave1 { 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0V7.23C100,18.9,200,24,300,20,400,16,500,4,600,2S800,14,900,20s200,0,300-10V0Z' opacity='.25'/%3E%3Cpath fill='%23ffffff' d='M0,0V3.63C100,9.45,200,12,300,10,400,8,500,2,600,1S800,7,900,10s200,0,300-5V0Z' opacity='.5'/%3E%3Cpath fill='%23ffffff' d='M0,0V1.82C100,4.73,200,6,300,5,400,4,500,1,600,0.5S800,3.5,900,5s200,0,300-2.5V0Z'/%3E%3C/svg%3E"); 
  animation: wave 30s linear infinite; 
  opacity: 0.9;
  z-index: 1; /* Ensure proper stacking */
} 
 
.wave2 { 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0V7.23C100,18.9,200,24,300,20,400,16,500,4,600,2S800,14,900,20s200,0,300-10V0Z' opacity='.25'/%3E%3Cpath fill='%23ffffff' d='M0,0V3.63C100,9.45,200,12,300,10,400,8,500,2,600,1S800,7,900,10s200,0,300-5V0Z' opacity='.5'/%3E%3Cpath fill='%23ffffff' d='M0,0V1.82C100,4.73,200,6,300,5,400,4,500,1,600,0.5S800,3.5,900,5s200,0,300-2.5V0Z'/%3E%3C/svg%3E"); 
  animation: wave 25s linear reverse infinite; 
  opacity: 0.7;
  z-index: 2; /* Ensure proper stacking */
} 
 
@keyframes wave { 
  0% { 
    transform: translateX(0); 
  } 
  100% { 
    transform: translateX(-100vw);
  }
}

/* Mobile-Optimierungen für höhere Wellen */
@media (max-width: 768px) {
  .swipe-container {
    width: 100%; /* Remove the calc(100% + 3rem) */
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .swipe-wrapper {
    padding: 0.5rem 0; /* Adjust padding */
  }

  .wave-container {
    height: 180px; /* Angepasste Höhe für Mobile */
  }
  
  .wave {
    background-size: 200vw auto; /* Größere Wellen auf kleinen Bildschirmen */
  }
  
  /* Alternative SVGs mit höheren Wellen für Mobile */
  .wave1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0V14.46C100,37.8,200,48,300,40,400,32,500,8,600,4S800,28,900,40s200,0,300-20V0Z' opacity='.25'/%3E%3Cpath fill='%23ffffff' d='M0,0V7.26C100,18.9,200,24,300,20,400,16,500,4,600,2S800,14,900,20s200,0,300-10V0Z' opacity='.5'/%3E%3Cpath fill='%23ffffff' d='M0,0V3.64C100,9.46,200,12,300,10,400,8,500,2,600,1S800,7,900,10s200,0,300-5V0Z'/%3E%3C/svg%3E");
  }
  
  .wave2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0V14.46C100,37.8,200,48,300,40,400,32,500,8,600,4S800,28,900,40s200,0,300-20V0Z' opacity='.25'/%3E%3Cpath fill='%23ffffff' d='M0,0V7.26C100,18.9,200,24,300,20,400,16,500,4,600,2S800,14,900,20s200,0,300-10V0Z' opacity='.5'/%3E%3Cpath fill='%23ffffff' d='M0,0V3.64C100,9.46,200,12,300,10,400,8,500,2,600,1S800,7,900,10s200,0,300-5V0Z'/%3E%3C/svg%3E");
  }
}

/* Optional: Für ein noch dezenteres Erscheinungsbild */
@media (prefers-reduced-motion: no-preference) {
  .wave1, .wave2 {
    transition: opacity 0.5s ease;
  }
  
  .wave-container:hover .wave1 {
    opacity: 0.95;
  }
  
  .wave-container:hover .wave2 {
    opacity: 0.85;
  }
}

/* Navbar - Improved Mobile Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 1rem 0;
  z-index: 1030; /* Ensure navbar is above other elements */
}

.navbar-scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text) !important;
}

.logo-highlight {
  color: var(--primary);
  margin-right: 0.1rem;
}

.logo-dot {
  color: var(--primary);
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; /* Start from left for better mobile experience */
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
  transform: none; /* Remove transform for better mobile experience */
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 50%;
}

/* Improved mobile navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    margin-top: 1rem;
    max-width: 100%; /* Begrenzung auf maximale Breite */
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
  }
  
  /* Verbesserte Ausrichtung für das mobile Menü */
  .navbar-collapse .d-flex {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  /* Kein margin rechts nötig im Spaltenformat */
  .dropdown.me-3 {
    margin-right: 0 !important;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  /* Volle Breite für Buttons im mobilen Menü */
  .navbar-collapse .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Anpassung des Dropdowns im mobilen Menü */
  .dropdown-menu {
    width: 100%;
    max-width: 100%;
  }
  
  /* Korrektur der Position des Burger-Menüs */
  .navbar-toggler {
    position: relative;
    z-index: 1031;
  }
}

/* Hero Section with Improved Text Readability */
.hero {
  padding-top: 6rem;
  position: relative;
  overflow: visible; /* Changed from hidden to visible */
  padding-bottom: 100px; /* Reduced to account for wave height */
  z-index: 1; /* Ensure proper stacking context */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      rgba(255, 128, 0, 0.05) 0%,
      rgba(255, 184, 77, 0.05) 100%
    ),
    url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&h=1080&q=80')
      no-repeat center center/cover;
  opacity: 0.15;
  z-index: -1; /* Changed from -2 to -1 */
}

.hero h1 {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero .lead {
  font-size: 1.125rem;
  color: var(--text);
  font-weight: 500;
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero2-img {
  max-width: 100%;
  max-height: 80vh !important; /* 80% der Bildschirmhöhe */
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Swipeable Card Containers */
.swipe-container {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
  z-index: 1;
}

.swipe-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.5rem 1rem;
}

.swipe-item {
  flex: 0 0 auto;
  width: 85%;
  max-width: 350px;
}

/* Stats Cards in Hero Section */
.stats {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: var(--transition);
}

.stat-card:hover .stat-icon {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1) rotate(10deg);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Phone Mockup - Enhanced with 3D Effect */
.phone-mockup {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 280px;
  perspective: 1000px;
}

.phone-frame {
  width: 100%;
  height: 580px;
  background-color: #1a1a1a;
  border-radius: 40px;
  padding: 10px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: var(--transition);
}

.phone-mockup:hover .phone-frame {
  transform: rotateY(0deg) rotateX(0deg);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 30px;
  background-color: #1a1a1a;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.phone-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.1);
  filter: blur(10px);
  border-radius: 50%;
  z-index: 1;
}

.chat-interface {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #f8f9fa;
}

.chat-message {
  max-width: 80%;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  animation: fadeIn 0.3s ease-in-out;
}

.chat-message p {
  margin: 0;
  font-size: 0.875rem;
  color: inherit;
}

.chat-message.incoming {
  align-self: flex-start;
  background-color: #e9ecef;
  border-bottom-left-radius: 0.25rem;
  color: var(--text);
}

.chat-message.outgoing {
  align-self: flex-end;
  background-color: var(--primary);
  border-bottom-right-radius: 0.25rem;
  color: white;
}

.chat-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background-color: #e9ecef;
  border-radius: 1rem;
  border-bottom-left-radius: 0.25rem;
  margin-top: auto;
}

.chat-typing span {
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--text-light);
  border-radius: 50%;
  animation: typing 1s infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

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

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

/* Feature Cards - Enhanced Hover Effect */
.feature-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 128, 0, 0.05) 0%,
    rgba(255, 184, 77, 0.05) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  margin-top: auto;
  text-decoration: none;
  transition: var(--transition);
}

.feature-link i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.feature-link:hover {
  color: var(--primary-dark);
}

.feature-link:hover i {
  transform: translateX(5px);
}

/* Scenario Cards - Enhanced Animation */
.scenario-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

.scenario-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-light),
    var(--primary),
    var(--primary-dark)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.scenario-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.scenario-card:hover::after {
  transform: scaleX(1);
}

.scenario-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  position: relative;
}

.scenario-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: spin 30s linear infinite; /* Slower animation */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Scenarios Image - Enhanced Overlay */
.scenarios-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: perspective(1000px) rotateY(5deg);
  transition: var(--transition);
}

.scenarios-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 128, 0, 0.2) 0%,
    rgba(255, 184, 77, 0.1) 100%
  );
  z-index: 1;
}

/* Timeline - Improved Visual Hierarchy */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(255, 128, 0, 0.3),
    var(--primary),
    rgba(255, 128, 0, 0.3)
  );
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.timeline-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 0 0 5px rgba(255, 128, 0, 0.2);
  transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(255, 128, 0, 0.2);
}

.timeline-text {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1;
  transition: var(--transition);
}

.timeline-item:hover .timeline-text {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.timeline-text p {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

.timeline-item:nth-child(odd) .timeline-content {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd):hover .timeline-text {
  transform: translateX(-5px);
}

/* Timeline and Image Mobile FIX! */
@media (max-width: 991px) {
  /* Give the image container some bottom margin */
  .scenarios .scenarios-image {
    margin-bottom: 1rem;
  }
  
  /* Adjust timeline positioning */
  .timeline-container {
    margin-top: 1rem;
  }
  
  /* Make sure timeline is aligned properly in mobile view */
  .timeline::before {
    left: 2rem; /* Move the timeline line to the left */
  }
  
  /* Force all timeline items to have the same direction */
  .timeline-item .timeline-content {
    flex-direction: row !important; /* Override any alternating directions */
  }
  
  .timeline-marker {
    margin-left: 0.5rem; /* Adjust marker position */
  }
  
  /* Make the timeline text more compact */
  .timeline-text {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  /* Add space between timeline items */
  .timeline-item {
    margin-bottom: 1.5rem;
  }
  
  /* Ensure proper spacing for the whole scenarios section */
  .scenarios .mt-6 {
    margin-top: 2rem !important;
  }
  
  /* Make sure the entire timeline is visible on mobile */
  .timeline-container {
    overflow: visible;
    padding-bottom: 1rem;
  }
}

/* For extremely small screens, further adjustments */
@media (max-width: 576px) {
  .scenarios .scenarios-image {
    margin-bottom: 4rem; /* Even more space on very small screens */
  }
  
  .timeline-text {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  
  .timeline-marker {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Success Stories Section - Enhanced Visual Appeal */
.success-stories {
  background-color: white;
  position: relative;
}

.success-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.success-badge::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: shimmer 2s infinite;
  transform: skewX(-20deg);
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) skewX(-20deg);
  }
  100% {
    transform: translateX(200%) skewX(-20deg);
  }
}

.success-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.success-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background-color: var(--background-alt);
  border-radius: var(--radius);
  transition: var(--transition);
  border-left: 0 solid var(--primary);
}

.success-list li:hover {
  transform: translateX(5px);
  background-color: var(--background-dark);
  border-left-width: 4px;
}

.success-list li i {
  margin-top: 0.25rem;
  transition: var(--transition);
}

.success-list li:hover i {
  transform: scale(1.2);
}

.success-quote {
  padding: 1.5rem;
  background-color: var(--background-alt);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  position: relative;
}

.success-quote::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.success-quote p {
  font-style: italic;
  margin-bottom: 0.5rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.success-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text-light);
  display: block;
  text-align: right;
}

.success-story-image {
  position: relative;
  z-index: 1;
}

.floating-stats {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateX(30%) translateY(20%);
  z-index: 2;
}

.floating-stat-item {
  background-color: white;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 120px;
  transition: var(--transition);
  transform: translateX(0);
}

.floating-stat-item:hover {
  transform: translateX(-10px);
  background-color: var(--primary);
}

.floating-stat-item:hover .stat-number,
.floating-stat-item:hover .stat-text {
  color: white;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
  transition: var(--transition);
}

.stat-text {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  transition: var(--transition);
}

/* Team Section - Enhanced Card Design */
.team-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  height: 100%;
}

.team-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.2;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-card:hover::before {
  transform: scale(10);
  opacity: 0.05;
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image img {
  transition: var(--transition);
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 1.5rem 1rem 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.team-card:hover .team-social {
  transform: translateY(0);
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  color: var(--primary);
  border-radius: 50%;
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1) rotate(10deg);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.team-position {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.team-position::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.team-bio {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.875rem;
}

/* Testimonials - Completely Redesigned Modern Version */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  position: relative;
  padding: 2rem 0;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  height: 100%;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-light),
    var(--primary),
    var(--primary-dark)
  );
  z-index: 2;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  padding: 2.5rem;
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
  z-index: 0;
}

.testimonial-content > p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow);
  transition: var(--transition);
  flex-shrink: 0;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1);
  box-shadow: 0 0 0 5px rgba(255, 128, 0, 0.2);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
  color: var(--text);
}

.author-info p {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.author-rating {
  color: #fbbf24;
  font-size: 1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.testimonial-logo img {
  max-height: 40px;
  transition: var(--transition);
}

/* Improved Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none; /* Allow clicking through the container */
}

.carousel-control-prev,
.carousel-control-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: white;
  color: var(--primary);
  border-radius: 50%;
  opacity: 1;
  box-shadow: var(--shadow);
  transition: var(--transition);
  pointer-events: auto; /* Re-enable pointer events on buttons */
  position: absolute;
}

.carousel-control-prev {
  left: 1rem;
}

.carousel-control-next {
  right: 1rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

/* Fixed icon contrast issue */
.carousel-control-prev i,
.carousel-control-next i {
  color: inherit;
  font-size: 1.25rem;
}

.carousel-indicators {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 0;
  z-index: 5;
}

.carousel-indicators [data-bs-target] {
  width: 3rem;
  height: 0.25rem;
  background-color: var(--background-dark);
  border-radius: 1rem;
  opacity: 1;
  margin: 0 0.25rem;
  transition: var(--transition);
}

.carousel-indicators .active {
  background-color: var(--primary);
  width: 4rem;
}

.logo-item {
  opacity: 0.5;
  transition: var(--transition);
  filter: grayscale(100%);
}

.logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* Process Steps - Enhanced Interactive Design */
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  margin-bottom: 1rem;
  border-left: 0 solid var(--primary);
  position: relative;
  z-index: 1;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 128, 0, 0.05) 0%,
    rgba(255, 184, 77, 0.05) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}

.process-step:hover,
.process-step.active {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-left-width: 4px;
}

.process-step:hover::before,
.process-step.active::before {
  opacity: 1;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 600;
  transition: var(--transition);
}

.process-step.active .step-number {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.process-step:hover .step-content h3,
.process-step.active .step-content h3 {
  color: var(--primary);
}

.step-content p {
  margin: 0;
}

/* Browser Mockup - Enhanced 3D Effect */
.browser-mockup {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background-color: white;
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.browser-mockup:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: #f1f3f5;
  border-bottom: 1px solid var(--border);
}

.browser-controls {
  display: flex;
  gap: 0.5rem;
  margin-right: 1rem;
}

.browser-controls span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  transition: var(--transition);
}

.browser-mockup:hover .browser-controls span {
  transform: scale(1.1);
}

.browser-controls span:nth-child(1) {
  background-color: #ff6b6b;
}

.browser-controls span:nth-child(2) {
  background-color: #ffd43b;
}

.browser-controls span:nth-child(3) {
  background-color: #69db7c;
}

.browser-address {
  flex: 1;
  background-color: white;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
  transition: var(--transition);
}

.browser-mockup:hover .browser-address {
  background-color: #f8f9fa;
}

.browser-content {
  padding: 1rem;
}

/* Benefit Cards - Enhanced Visual Appeal */
.benefit-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 128, 0, 0.05) 0%,
    rgba(255, 184, 77, 0.05) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
  position: relative;
}

.benefit-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed transparent;
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.benefit-card:hover .benefit-icon::after {
  border-color: var(--primary-light);
  opacity: 0.5;
  animation: spin 20s linear infinite;
}

.benefit-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.benefit-card p {
  margin-bottom: 1.5rem;
}

.benefit-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.benefit-card:hover .benefit-tag {
  background-color: var(--primary);
  color: white;
}

.benefits-list ul li {
  margin-bottom: 1rem;
  transition: var(--transition);
}

.benefits-list ul li:hover {
  transform: translateX(5px);
}

.benefits-list ul li i {
  transition: var(--transition);
}

.benefits-list ul li:hover i {
  transform: scale(1.2);
  color: var(--primary-dark);
}

/* Stats Card - Fixed Overflow Issues */
.stat-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 128, 0, 0.05) 0%,
    rgba(255, 184, 77, 0.05) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-title {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* CTA Section with Enhanced Background */
.cta {
  position: relative;
  color: white;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      rgba(255, 128, 0, 0.9) 0%,
      rgba(255, 184, 77, 0.9) 100%
    ),
    url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&h=1080&q=80')
      no-repeat center center/cover;
  z-index: -1;
}

.feature-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-weight: 600;
  transition: var(--transition);
}

.feature-check:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.3);
}

/* Form Styling - Enhanced Focus States */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--primary);
}

.form-control {
  transition: var(--transition);
  border: 1px solid var(--border);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(255, 128, 0, 0.25);
}

/* Accordion Styling - Enhanced Interaction */
.accordion-item {
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
}

.accordion-button {
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background-color: rgba(255, 128, 0, 0.05);
  color: var(--primary);
}

.accordion-button:focus {
  border-color: rgba(255, 128, 0, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(255, 128, 0, 0.25);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF8000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: var(--transition);
}

.accordion-button:hover::after {
  transform: scale(1.2);
}

/* Contact Section - Enhanced Card Design */
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: var(--transition);
}

.info-icon:hover {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1) rotate(10deg);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 128, 0, 0.1);
  color: var(--primary);
  border-radius: 50%;
  transition: var(--transition);
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px) rotate(10deg);
}

/* Footer - Enhanced Design */
.footer {
  background-color: #2b2d42;
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-light),
    var(--primary),
    var(--primary-dark)
  );
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-heading {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.footer-heading:hover::after {
  width: 50px;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition);
}
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 20px;
}

.footer-links a:hover::before {
  left: 0;
  opacity: 1;
}

.border-secondary {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* New Reusable Sections - Image Left/Text Right and vice versa */
.content-section {
  padding: 5rem 0;
  position: relative;
}

.content-section.bg-light {
  background-color: var(--background-alt);
}

.content-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.content-image:hover {
  transform: translateY(-10px);
}

.content-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.content-image:hover img {
  transform: scale(1.05);
}

.content-image .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 128, 0, 0.2) 0%,
    rgba(255, 184, 77, 0.1) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: var(--transition);
}

.content-image:hover .image-overlay {
  opacity: 1;
}

.content-text {
  padding: 2rem;
}

.content-text h2 {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.content-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.content-text:hover h2::after {
  width: 100px;
}

.content-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.content-text .btn {
  margin-top: 1rem;
}

.content-text .feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.content-text .feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.content-text .feature-list li i {
  color: var(--primary);
  margin-right: 1rem;
  margin-top: 0.25rem;
  transition: var(--transition);
}

.content-text .feature-list li:hover {
  transform: translateX(5px);
}

.content-text .feature-list li:hover i {
  transform: scale(1.2);
}

/* Image Right variant */
.content-section.image-right .content-image {
  transform: perspective(1000px) rotateY(-5deg);
}

.content-section.image-right .content-image:hover {
  transform: perspective(1000px) rotateY(0) translateY(-10px);
}

/* Image Left variant */
.content-section.image-left .content-image {
  transform: perspective(1000px) rotateY(5deg);
}

.content-section.image-left .content-image:hover {
  transform: perspective(1000px) rotateY(0) translateY(-10px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .carousel-control-prev {
    left: -1rem;
  }

  .carousel-control-next {
    right: -1rem;
  }

  .floating-stats {
    transform: translateX(15%) translateY(20%);
  }
}

@media (max-width: 992px) {
  .timeline::before {
    left: 2rem;
  }

  .timeline-content {
    flex-direction: row !important;
  }

  .timeline-marker {
    margin-left: 0.5rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .floating-stats {
    position: static;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
  }

  .floating-stat-item {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
  }

  /* Mobile text alignment - left aligned with padding */
  .content-section .row {
    flex-direction: column-reverse;
  }

  .content-section.image-left .row {
    flex-direction: column;
  }

  .content-text {
    padding: 2rem 1rem;
    text-align: left;
    margin-bottom: 2rem;
  }

  .content-text h2::after {
    left: 0;
    transform: none;
  }

  .content-text .feature-list li {
    justify-content: flex-start;
  }

  /* Center section titles on mobile but keep content left-aligned */
  .section-title {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
  }

  .section-subtitle {
    text-align: center;
  }

  p,
  h3,
  h4,
  h5,
  h6,
  ul,
  ol {
    text-align: left;
  }

  .container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

@media (max-width: 768px) {
  .wave-container {
    height: 200px;
  }

  .process-step:hover,
  .process-step.active {
    transform: translateX(5px);
  }

  .benefit-card {
    margin-bottom: 1.5rem;
  }

  .testimonial-content {
    padding: 1.5rem;
  }

  .team-image img {
    height: 250px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .hero .lead {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .content-image {
    margin-bottom: 2rem;
  }

  /* Enable swipe containers on mobile */
  .swipe-container {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: calc(100% + 3rem);
  }

  .swipe-item {
    width: 85%;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: clip; /* Modern alternative that doesn't create a scroll context */
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .wave-container {
    height: 170px;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 100px;
  }

  .phone-frame {
    height: 500px;
    transform: none;
  }

  .feature-card,
  .scenario-card,
  .benefit-card {
    padding: 1.5rem;
  }

  .feature-icon,
  .benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.25rem;
  }

  .scenario-icon {
    width: 4rem;
    height: 4rem;
  }

  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-indicators {
    margin-bottom: 0;
  }

  .process-step {
    padding: 1rem;
  }

  .step-number {
    min-width: 2.5rem;
    height: 2.5rem;
  }

  .success-list li {
    padding: 0.5rem;
  }

  .success-quote {
    padding: 1rem;
  }

  .team-image img {
    height: 200px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .browser-mockup {
    transform: none;
  }

  .content-text {
    padding: 1rem 0;
  }

  /* Smaller swipe items on very small screens */
  .swipe-item {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .wave-container {
    height: 150px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-title::after {
    width: 60px;
  }

  .timeline-content {
    gap: 1rem;
  }

  .timeline-marker {
    width: 2.5rem;
    height: 2.5rem;
  }

  .timeline-text {
    padding: 1rem;
  }

  .feature-check {
    width: 1.5rem;
    height: 1.5rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

/* Animation Utilities */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Bootstrap Overrides */
.bg-light {
  background-color: var(--background-alt) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

/* Accessibility Improvements */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .cta {
    display: none;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: none;
    color: #000;
  }

  .card,
  .feature-card,
  .scenario-card,
  .benefit-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Floating Buttons Wrapper */
.floating-buttons-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.3s ease;
}

.floating-buttons-wrapper.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-button {
  position: absolute;
  bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: white;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  transform: scale(1);
  pointer-events: auto;
}

.floating-button:hover, 
.floating-button:focus {
  transform: scale(1.05);
  color: white;
}

.floating-button:active {
  transform: scale(0.95);
}

/* Top Button (Nach oben) - RECHTS */
.top-button {
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary);
  font-size: 1.25rem;
}

.top-button:hover {
  background: var(--primary-dark);
}

/* Signup Button (Kostenlos anmelden) - LINKS */
.signup-button {
  left: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.signup-button i {
  transition: transform 0.3s ease;
}

.signup-button:hover i {
  transform: translateX(3px);
}

/* Media Queries for Mobile - KLEINER */
@media (max-width: 768px) {
  .top-button {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 2.75rem; /* Kleiner */
    height: 2.75rem; /* Kleiner */
    font-size: 0.875rem; /* Kleiner */
  }
  
  .signup-button {
    left: 1.5rem;
    bottom: 1.5rem;
    padding: 0.5rem 1rem; /* Kleiner */
    font-size: 0.75rem; /* Kleiner */
  }
}

@media (max-width: 576px) {
  .top-button {
    right: 1rem;
    bottom: 1rem;
    width: 2.5rem; /* Noch kleiner */
    height: 2.5rem; /* Noch kleiner */
  }
  
  .signup-button {
    left: 1rem;
    bottom: 1rem;
    padding: 0.4rem 0.875rem; /* Noch kleiner */
    font-size: 0.7rem; /* Noch kleiner */
  }
}

/* Logo Styling für responsive SVG */
.logo-img {
  height: 45px;
  width: auto;
  max-width: 100%;
  transition: var(--transition);
}

/* Kleineres Logo im gescrollten Zustand */
.navbar-scrolled .logo-img {
  height: 35px;
}

/* Responsive Anpassungen */
@media (max-width: 576px) {
  .logo-img {
    height: 35px;
  }
  
  .navbar-scrolled .logo-img {
    height: 28px;
  }
  
  .footer-logo-img {
    height: 35px;
  }
}

/* Entfernt den Standard Bootstrap Hamburger Button */
.navbar-toggler {
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;
  position: relative;
  transition: all 0.3s ease;
  background: transparent;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler:hover {
  transform: scale(1.05);
}

.navbar-toggler:active {
  transform: scale(0.95);
}

/* Basis-Styling für den Toggler mit Farbvariablen */
.navbar-toggler-icon {
  background-image: none !important;
  background-color: var(--primary);
  height: 2px;
  width: 30px;
  margin: 10px 0;
  position: relative;
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: block;
  border-radius: 2px;
}

/* Oberer und unterer Strich */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  display: block;
  background-color: var(--primary);
  height: 2px;
  content: "";
  position: absolute;
  border-radius: 2px;
  left: 0;
  right: 0;
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  bottom: -8px;
}

/* Animation für den geöffneten Zustand - nicht im initialen Zustand */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
  background-color: var(--primary-dark);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
  background-color: var(--primary-dark);
}

/* Dunkler Modus für Navbar */
.navbar-dark .navbar-toggler-icon,
.navbar-dark .navbar-toggler-icon::before,
.navbar-dark .navbar-toggler-icon::after {
  background-color: white;
}

.navbar-dark .navbar-toggler:not(.collapsed) .navbar-toggler-icon::before,
.navbar-dark .navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Hover-Effekt */
.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:hover .navbar-toggler-icon::before,
.navbar-toggler:hover .navbar-toggler-icon::after {
}

/* Für Bootstrap, um sicherzustellen, dass die korrekte Klasse angewendet wird */
.navbar-toggler.collapsed .navbar-toggler-icon {
  background-color: var(--primary);
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
  transform: rotate(0);
  top: -8px;
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
  transform: rotate(0);
  bottom: -8px;
}