/* CNVidas - Advanced Landing Page Styles */
/* Inspired by Apple, Stripe, and Render design systems */

:root {
  /* Force light color scheme */
  color-scheme: light only;
  
  /* Brand Colors - Modernized */
  --primary-blue: #1e3a8a;
  --primary-blue-light: #3655b3;
  --primary-blue-dark: #152c6a;
  --primary-green: #2f855a;
  --primary-green-light: #38a169;
  --primary-green-dark: #276749;
  --secondary-violet: #7C3AED;
  --secondary-amber: #F59E0B;
  --secondary-emerald: #10B981;
  
  /* Neutral Colors - Enhanced */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0A0A0A;
  
  /* Gradients - Enhanced */
  --gradient-primary: linear-gradient(135deg, #2b4da8 0%, #3b5dc8 100%);
  --gradient-secondary: linear-gradient(135deg, #59c089 0%, #6bd09a 100%);
  --gradient-premium: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
  --gradient-ultra: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(220, 80%, 60%, 0.2) 0px, transparent 50%), 
                   radial-gradient(at 80% 0%, hsla(160, 50%, 60%, 0.2) 0px, transparent 50%), 
                   radial-gradient(at 0% 50%, hsla(260, 60%, 60%, 0.2) 0px, transparent 50%);
  --gradient-dark: linear-gradient(135deg, #1f3a82 0%, #162B61 100%);
  
  /* Shadows - Modern elevation system */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-elevation-1: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-elevation-2: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-elevation-3: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-elevation-4: 0 16px 32px rgba(0, 0, 0, 0.08);
  --shadow-elevation-5: 0 24px 48px rgba(0, 0, 0, 0.12);
  
  /* Blur Effects */
  --blur-sm: 4px;
  --blur-md: 12px;
  --blur-lg: 24px;
  --blur-xl: 40px;
  
  /* Animations */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 700ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: white;
  overflow-x: hidden;
  position: relative;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-tap-highlight-color: transparent;
}

/* Typography - Enhanced */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 { 
  font-size: clamp(2rem, 4vw, 3rem); 
  font-weight: 700;
  letter-spacing: -0.025em;
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2rem); 
  font-weight: 600;
}
h4 { 
  font-size: clamp(1.25rem, 2.5vw, 1.5rem); 
  font-weight: 600;
}
h5 { 
  font-size: clamp(1.125rem, 2vw, 1.25rem); 
}
h6 { 
  font-size: clamp(1rem, 1.5vw, 1.125rem); 
}

p {
  line-height: 1.7;
  color: var(--gray-700);
}

/* Focus styles */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection */
::selection {
  background: var(--primary-blue);
  color: white;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 500ms ease;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 200px;
  height: auto;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-elevation-1);
  z-index: 1000;
  transition: all var(--transition-base);
  transform: translateY(0);
}

/* Additional glass texture */
.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
  z-index: -1;
}

/* Hide mobile menu elements on desktop */
.mobile-menu-header,
.mobile-menu-actions,
.nav-menu-overlay,
.mobile-menu-close {
  display: none;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  box-shadow: var(--shadow-elevation-2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Social links in navbar */
.nav-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 1rem;
  padding-right: 1rem;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--gray-600);
  background: transparent;
  border-radius: 8px;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-social-links a:hover {
  color: var(--primary-blue);
  background: rgba(43, 77, 168, 0.08);
  transform: translateY(-2px);
}

/* Buttons - Enhanced */
.btn-primary,
.btn-secondary {
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.3);
  color: var(--gray-700);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Hero Section - Modern */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e6efff 50%, #d9e5ff 100%);
}

.hero-3d-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  filter: blur(0.5px) contrast(1.2);
  transform: scale(1);
  transition: filter 0.5s ease;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.hero-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse at top, rgba(74, 144, 226, 0.3) 0%, transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(89, 192, 137, 0.3) 0%, transparent 50%),
              radial-gradient(ellipse at bottom left, rgba(43, 77, 168, 0.3) 0%, transparent 50%);
  opacity: 0.6;
  z-index: 0;
  animation: gradient-shift 15s ease infinite;
  pointer-events: none;
  mix-blend-mode: multiply;
}

@keyframes gradient-shift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-top: -70px; /* Eleva todo o conteúdo - aumentado 10px */
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo-hero {
  height: 120px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.25)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transform: translateZ(0);
}

.inline-logo {
  height: 50px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.5rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.gradient-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(20px);
  opacity: 0.5;
}

.hero-subtitle {
  color: var(--gray-800);
}

.hero-description {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all var(--transition-spring);
  box-shadow: 0 8px 24px rgba(43, 77, 168, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(43, 77, 168, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

.btn-hero-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--gray-800);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all var(--transition-base);
}

.btn-hero-secondary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 120px; /* Aumenta espaço antes do CTA */
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.stat-item p {
  color: var(--gray-600);
  font-size: 0.8rem;
}

/* Enhanced Scroll CTA */
.scroll-cta-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px;
    transition: all 0.3s ease;
}

.scroll-cta-button:hover {
    transform: scale(1.05);
}

.scroll-cta-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    letter-spacing: -0.02em;
}

.scroll-cta-button:hover .scroll-cta-text {
    color: var(--primary-blue);
}

.scroll-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(43, 77, 168, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    position: relative;
}

.scroll-cta-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.2;
    z-index: -1;
    animation: pulse 2s infinite;
}

.scroll-cta-button:hover .scroll-cta-icon {
    box-shadow: 0 8px 24px rgba(43, 77, 168, 0.4);
}

.scroll-cta-icon svg {
    color: white;
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-cta-container {
        bottom: 100px; /* Aumenta a distância do fundo para evitar sobreposição com a barra do Safari */
    }
    
    .scroll-cta-text {
        font-size: 14px;
    }
    
    .scroll-cta-icon {
        width: 40px;
        height: 40px;
    }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  transition: opacity var(--transition-base);
  text-decoration: none;
  display: block;
  padding: 1rem;
}

.scroll-indicator:hover {
  opacity: 0.8;
}

.scroll-indicator .scroll-arrow {
  animation: bounce 2s infinite;
}

.scroll-indicator:hover .scroll-arrow {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(43, 77, 168, 0.3);
  animation-play-state: paused;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--gray-400);
  border-bottom: 2px solid var(--gray-400);
  transform: rotate(45deg);
}



/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 0.75rem;
  font-size: 2.5rem;
}

.section-description {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  min-height: 100vh;
  padding: 5rem 0;
  background: linear-gradient(to bottom, white, var(--gray-50));
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevation-1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-elevation-3);
  border-color: rgba(43, 77, 168, 0.1);
}

.feature-card:hover::before {
  transform: translateX(0);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.icon-3d {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: all var(--transition-base);
}

.feature-card:hover .icon-3d {
  transform: rotateY(180deg);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--gray-900);
}

.feature-card p {
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  font-size: 0.85rem;
}

.feature-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-benefits span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gray-700);
}

.feature-benefits i {
  color: var(--primary-green);
  font-size: 0.75rem;
}

/* How It Works */
.how-it-works {
  min-height: 100vh;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.6) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(241, 245, 249, 0.6) 100%);
  position: relative;
  overflow: visible;
  z-index: 100;
  display: flex;
  align-items: center;
}


.how-it-works .container {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding-top: 2rem;
}

.step-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem 1.75rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px -10px rgba(43, 77, 168, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(43, 77, 168, 0.08);
  overflow: visible;
  margin-top: 25px;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px -10px rgba(43, 77, 168, 0.2);
  border-color: rgba(43, 77, 168, 0.15);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px -6px rgba(43, 77, 168, 0.4);
  border: 3px solid white;
  z-index: 100;
}

.step-icon-wrapper {
  position: relative;
  margin: 1.5rem auto 1.5rem;
  width: 80px;
  height: 80px;
}

.step-icon {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(43, 77, 168, 0.1) 0%, rgba(89, 192, 137, 0.1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-blue);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.step-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(43, 77, 168, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.step-card:hover .step-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px -5px rgba(43, 77, 168, 0.4);
}

.step-card:hover .step-glow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.step-card:hover h3 {
  color: var(--primary-blue);
}

.step-card p {
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.step-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(89, 192, 137, 0.1);
  color: var(--primary-green);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
}

.step-connector {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
}

.connector-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  position: relative;
  overflow: hidden;
}

.connector-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

.connector-arrow {
  position: absolute;
  background: white;
  color: var(--primary-blue);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(43, 77, 168, 0.2);
  border: 2px solid var(--primary-blue);
}

.steps-cta {
  text-align: center;
  margin-top: 4rem;
}

.btn-steps-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px -8px rgba(43, 77, 168, 0.4);
  cursor: pointer;
}

.btn-steps-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(43, 77, 168, 0.5);
}

.btn-steps-primary i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.btn-steps-primary:hover i {
  transform: translateX(3px);
}

.steps-guarantee {
  margin-top: 1rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  font-weight: 500;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@media (min-width: 1024px) {
  .steps-container {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
  }
  
  .step-connector {
    display: flex;
  }
}

@media (max-width: 768px) {
  .step-card {
    padding: 2.5rem 2rem;
  }
  
  .step-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .step-icon {
    font-size: 2rem;
  }
  
  .step-glow {
    width: 100px;
    height: 100px;
  }
}

/* Pricing Section */
.pricing-section {
  min-height: 100vh;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.6) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(241, 245, 249, 0.6) 100%);
  position: relative;
  overflow: visible;
  z-index: 100;
  display: flex;
  align-items: center;
}


.pricing-section .container {
  position: relative;
  z-index: 2;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  background: white;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  box-shadow: 0 3px 12px -3px rgba(43, 77, 168, 0.08);
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.toggle-label {
  font-weight: 600;
  color: var(--gray-500);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0.35rem 1rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  min-width: 85px;
  justify-content: center;
  user-select: none;
  position: relative;
}

.toggle-label.active {
  color: white;
  background: var(--gradient-primary);
  transform: scale(1);
  box-shadow: 0 2px 8px -2px rgba(43, 77, 168, 0.3);
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-300);
  border-radius: 25px;
  transition: all var(--transition-base);
}

.toggle-switch label::after {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all var(--transition-base);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + label {
  background: var(--primary-blue);
}

.toggle-switch input:checked + label::after {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.pricing-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: visible;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(40px);
  box-shadow: var(--shadow-elevation-1);
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: var(--shadow-elevation-4);
  border-color: transparent;
}

/* Plan Color Variants */
.plan-basic {
  border-color: rgba(89, 192, 137, 0.2);
}

.plan-basic::before {
  background: var(--gradient-secondary);
}

.plan-basic:hover {
  box-shadow: 0 25px 60px -10px rgba(89, 192, 137, 0.25);
}

.plan-premium.featured {
  border-color: rgba(43, 77, 168, 0.3);
  transform: scale(1.02);
  box-shadow: 0 20px 50px -10px rgba(43, 77, 168, 0.2);
}

.plan-premium.featured:hover {
  transform: scale(1.02) translateY(-8px);
  box-shadow: 0 30px 70px -10px rgba(43, 77, 168, 0.3);
}

.plan-ultra {
  border-color: rgba(139, 92, 246, 0.2);
}

.plan-ultra::before {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #8B5CF6 100%);
}

.plan-ultra:hover {
  box-shadow: 0 25px 60px -10px rgba(139, 92, 246, 0.25);
}

.plan-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-elevation-3);
  border: 3px solid white;
  animation: pulse-glow 3s infinite;
  z-index: 20;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: var(--shadow-elevation-3), 0 0 20px rgba(43, 77, 168, 0.4);
  }
  50% { 
    box-shadow: var(--shadow-elevation-3), 0 0 40px rgba(43, 77, 168, 0.6);
  }
}

.pricing-card:hover .plan-badge {
  transform: translateX(-50%) translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px -5px rgba(43, 77, 168, 0.7), 0 8px 20px -3px rgba(43, 77, 168, 0.5);
}

.plan-header {
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(43, 77, 168, 0.1);
  padding-bottom: 1.25rem;
  position: relative;
}

.plan-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(43, 77, 168, 0.1) 0%, rgba(89, 192, 137, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: all 0.4s ease;
  position: relative;
}

.plan-basic .plan-icon {
  background: linear-gradient(135deg, rgba(89, 192, 137, 0.1) 0%, rgba(89, 192, 137, 0.2) 100%);
  color: var(--primary-green);
}

.plan-premium .plan-icon {
  background: linear-gradient(135deg, rgba(43, 77, 168, 0.1) 0%, rgba(43, 77, 168, 0.2) 100%);
  color: var(--primary-blue);
}

.plan-ultra .plan-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.2) 100%);
  color: #8B5CF6;
}

.pricing-card:hover .plan-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px -5px rgba(43, 77, 168, 0.3);
}

.plan-basic:hover .plan-icon {
  background: var(--gradient-secondary);
  color: white;
}

.plan-premium:hover .plan-icon {
  background: var(--gradient-primary);
  color: white;
}

.plan-ultra:hover .plan-icon {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #8B5CF6 100%);
  color: white;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
  transition: color 0.3s ease;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.25rem;
  color: var(--gray-600);
}

.amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
}

.period {
  font-size: 1rem;
  color: var(--gray-600);
}

.price-contact {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

.plan-description {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.plan-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.plan-features li i {
  color: var(--primary-green);
  font-size: 0.875rem;
}

.plan-features li.disabled {
  opacity: 0.5;
}

.plan-features li.disabled i {
  color: var(--gray-400);
}

.btn-plan {
  width: 100%;
  padding: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  background: var(--gray-100);
  color: var(--gray-800);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  text-align: center;
  box-sizing: border-box;
  isolation: isolate;
}

.btn-plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
  z-index: -1;
  border-radius: 14px;
}

.btn-plan:hover::before {
  width: 100%;
}

.btn-plan:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevation-3);
  border-color: transparent;
  background: transparent;
}

/* Plan-specific button colors */
.plan-basic .btn-plan {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.plan-basic .btn-plan::before {
  background: var(--gradient-secondary);
}

.plan-basic .btn-plan:hover {
  box-shadow: 0 15px 35px -5px rgba(89, 192, 137, 0.4);
  color: white;
}

.plan-premium .btn-plan {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 25px -8px rgba(43, 77, 168, 0.4);
}

.plan-premium .btn-plan::before {
  display: none;
}

.plan-premium .btn-plan:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -5px rgba(43, 77, 168, 0.5);
}

.plan-ultra .btn-plan {
  border-color: #8B5CF6;
  color: #8B5CF6;
}

.plan-ultra .btn-plan::before {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #8B5CF6 100%);
}

.plan-ultra .btn-plan:hover {
  box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.4);
  color: white;
}

/* Testimonials */
.testimonials-section {
  min-height: 100vh;
  padding: 4rem 0;
  background: rgba(249, 250, 251, 0.7);
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
}

.testimonials-slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-rating i {
  color: #FCD34D;
  font-size: 1.125rem;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--gray-900);
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Doctors Section */
.doctors-section {
  min-height: 100vh;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(43, 77, 168, 0.05) 0%, rgba(89, 192, 137, 0.05) 100%);
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
}

.doctors-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.doctors-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.benefit-item {
  display: flex;
  gap: 1rem;
}

.benefit-item i {
  font-size: 1.5rem;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.benefit-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.doctors-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.dashboard-mockup {
  position: relative;
  z-index: 1;
  max-width: 450px;
  width: 100%;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(43, 77, 168, 0.25);
  border: 1px solid rgba(43, 77, 168, 0.1);
  transition: all 0.3s ease;
}

.dashboard-mockup:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px -10px rgba(43, 77, 168, 0.3);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #3b5dc8 100%);
  color: white;
}

.dashboard-title h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.status-online {
  color: #10B981;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.25rem;
  display: block;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
}

.dashboard-user span {
  font-weight: 600;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
}

.stat-card {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px -4px rgba(43, 77, 168, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 77, 168, 0.1);
  border-radius: 8px;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.dashboard-chart {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-chart h4 {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  color: var(--gray-900);
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  height: 80px;
  margin-bottom: 0.5rem;
}

.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  border-radius: 4px 4px 0 0;
  min-height: 20%;
  animation: barGrow 1.5s ease-out forwards;
  transform: scaleY(0);
  transform-origin: bottom;
}

.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }
.bar:nth-child(6) { animation-delay: 0.6s; }
.bar:nth-child(7) { animation-delay: 0.7s; }

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.dashboard-appointments {
  padding: 1.5rem;
}

.dashboard-appointments h4 {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  color: var(--gray-900);
}

.appointment-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.appointment-item:last-child {
  border-bottom: none;
}

.appointment-time {
  font-weight: 700;
  color: var(--primary-blue);
  min-width: 50px;
}

.appointment-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.patient-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.9rem;
}

.appointment-type {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.appointment-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.appointment-status.online {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.appointment-status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

@keyframes barGrow {
  to {
    transform: scaleY(1);
  }
}

.floating-cards {
  display: none;
}

.doctors-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(43, 77, 168, 0.05) 40%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.doctors-visual::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg at 50% 50%, rgba(43, 77, 168, 0.1) 0deg, transparent 60deg, rgba(89, 192, 137, 0.1) 120deg, transparent 180deg, rgba(43, 77, 168, 0.1) 240deg, transparent 300deg, rgba(89, 192, 137, 0.1) 360deg);
  animation: rotateGlow 20s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes rotateGlow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* App Download Section - Premium Design */
.app-download-section {
  min-height: 100vh;
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, #0F172A 100%);
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.app-download-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.sphere-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation: float 20s ease-in-out infinite;
}

.sphere-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: float 25s ease-in-out infinite reverse;
}

.sphere-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--secondary-violet) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 15s ease-in-out infinite;
}

.app-download-section .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

.app-download-section .section-title,
.app-download-section .section-description {
  color: white;
}

.app-download-section .section-description {
  color: rgba(255, 255, 255, 0.8);
}

.animated-gradient {
  background: linear-gradient(90deg, #60A5FA, #34D399, #A78BFA, #60A5FA);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 8s ease infinite;
}

/* App Stats */
.app-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.app-stat {
  text-align: center;
  color: white;
}

.app-stat i {
  font-size: 1.5rem;
  color: var(--secondary-amber);
  margin-bottom: 0.5rem;
}

.app-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.app-stat .stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Phone Mockups */
.app-mockups {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  height: 600px;
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5),
              0 30px 60px -30px rgba(0, 0, 0, 0.6),
              inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.phone-mockup:hover {
  transform: rotateY(10deg) rotateX(5deg);
}

.iphone-mockup {
  animation: float-phone 6s ease-in-out infinite;
}

.android-mockup {
  animation: float-phone 6s ease-in-out infinite;
  animation-delay: 3s;
}

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

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 30px;
  background: #000;
  border-radius: 15px;
  z-index: 10;
}

.phone-camera {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

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

.screen-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.screen-img.active {
  opacity: 1;
}

.phone-glow {
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.phone-mockup:hover .phone-glow {
  opacity: 1;
}

/* App Info */
.app-info {
  text-align: center;
}

.app-info-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 3rem;
}

/* Premium Download Buttons */
.app-download-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.premium-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: white;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
  min-width: 200px;
}

.premium-btn:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.premium-btn:hover .btn-shine {
  left: 100%;
}

/* QR Code Section */
.qr-code-section {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.qr-text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.qr-codes {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.qr-code-item {
  text-align: center;
}

.qr-code {
  width: 150px;
  height: 150px;
  padding: 1rem;
  background: white;
  border-radius: 20px;
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.qr-code img {
  width: 100%;
  height: 100%;
}

.qr-code-item span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Enhanced App Features */
.app-features.enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.app-features.enhanced .app-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.app-features.enhanced .app-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrapper i {
  color: white;
  font-size: 1.25rem;
}

.feature-text h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Partners Section */
.partners-section {
  min-height: 100vh;
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 16px;
  transition: all var(--transition-base);
}

.partner-card:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.partner-card i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.partner-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.partner-card p {
  color: var(--gray-600);
}

.partner-cta {
  text-align: center;
}

/* FAQ Section */
.faq-section {
  min-height: 100vh;
  padding: 4rem 0;
  background: rgba(249, 250, 251, 0.7);
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
}

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

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.active {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: all var(--transition-base);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question i {
  color: var(--gray-500);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  min-height: auto;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(43, 77, 168, 0.85) 0%, rgba(59, 93, 200, 0.85) 100%);
  position: relative;
  overflow: hidden;
  z-index: 100;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.cta-title {
  color: white;
  margin-bottom: 0.75rem;
  font-size: 2.25rem;
}

.cta-title .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  max-width: 450px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-form-submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25), 0 0 30px rgba(255, 255, 255, 0.15);
  min-width: 180px;
}

.btn-form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-form-submit:hover::before {
  left: 100%;
}

.btn-form-submit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5), 0 0 60px rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  border-color: rgba(255, 255, 255, 1);
}

.btn-form-submit:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

.btn-form-submit i {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.1rem;
}

.btn-form-submit:hover i {
  transform: translateX(6px) rotate(15deg);
}



/* Footer */
.footer {
  background: rgba(17, 24, 39, 0.9);
  color: white;
  padding: 2.5rem 0 1.5rem;
  position: relative;
  z-index: 100;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-main-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--gray-300);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  max-width: 500px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-base);
  font-size: 0.9rem;
}

.social-links a:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.footer-column h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: white;
}

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

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

.footer-column a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-base);
  font-size: 0.85rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.85rem;
}

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

.footer-badges img {
  height: 30px;
  width: auto;
  opacity: 0.6;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 100;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: modalIn 300ms ease-out;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--gray-700);
  transition: all var(--transition-base);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

#demoVideo {
  width: 100%;
  height: auto;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(43, 77, 168, 0.1);
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all var(--transition-base);
}

.nav-toggle:hover {
  background: rgba(43, 77, 168, 0.15);
  transform: scale(1.05);
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--primary-blue);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dynamic blur for 3D background */
body.scrolled-past-hero .hero-3d-container {
  filter: blur(15px);
  opacity: 0.3;
}

/* Animations - Smooth and Modern */
@keyframes pulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.8;
    transform: scale(1.05);
  }
}

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

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

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

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes dash {
  to { background-position: 100px 0; }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    flex-direction: column;
    padding: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
    overflow-y: auto;
    z-index: 1001;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  /* Mobile menu header */
  .nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
    z-index: -1;
  }
  
  /* Close button inside mobile menu */
  .mobile-menu-close {
    display: flex !important; /* Override desktop hidden state */
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--gray-700);
    font-size: 1.5rem;
    z-index: 10;
  }
  
  .mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
  }
  
  /* Mobile menu logo */
  .mobile-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem 2rem;
    margin-bottom: 1rem;
  }
  
  .mobile-menu-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    max-width: 90%;
    object-fit: contain;
  }
  
  .mobile-menu-tagline {
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
  }
  
  /* Mobile menu links */
  .nav-menu .nav-link {
    color: var(--gray-800);
    padding: 1rem 2rem;
    margin: 0.25rem 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
  }
  
  .nav-menu .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: height var(--transition-base);
  }
  
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    background: rgba(43, 77, 168, 0.08);
    color: var(--primary-blue);
    padding-left: 2.5rem;
  }
  
  .nav-menu .nav-link:hover::before {
    height: 70%;
  }
  
  .nav-menu .nav-link::after {
    display: none; /* Remove underline in mobile */
  }
  
  /* Mobile menu buttons */
  .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.5rem;
    margin-top: auto;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
  }
  
  .mobile-menu-actions .btn-secondary,
  .mobile-menu-actions .btn-primary {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  
  /* Mobile menu overlay */
  .nav-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity var(--transition-base);
  }
  
  .nav-menu-overlay.active {
    display: block;
    opacity: 1;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Hide social links in navbar on mobile */
  .nav-social-links {
    display: none;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .doctors-content {
    grid-template-columns: 1fr;
  }
  
  .footer-main-logo {
    height: 100px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-content {
    margin-top: -130px; /* Eleva os elementos da hero no mobile - aumentado mais 20px */
    padding-top: 20px;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }
  
  .contact-form {
    max-width: 100%;
    margin: 1.5rem auto 0;
    gap: 1rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .btn-form-submit {
    padding: 1.125rem 2rem;
    font-size: 1.1rem;
    min-width: 200px;
  }
  
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .footer-main-logo {
    height: 80px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Tablet adjustments */
@media (max-width: 768px) {
  /* App Download Section Mobile */
  .app-download-section {
    padding: 4rem 0;
  }
  
  .app-stats {
    gap: 2rem;
  }
  
  .app-stat .stat-number {
    font-size: 1.5rem;
  }
  
  .app-mockups {
    flex-direction: column;
    gap: 2rem;
    height: auto;
    margin-bottom: 3rem;
  }
  
  .phone-mockup {
    width: 250px;
    height: 500px;
  }
  
  .app-download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .premium-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .qr-codes {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
}

/* Mobile specific adjustments for iPhone and small screens */
@media (max-width: 430px) {
  /* Hero Section Mobile Optimizations */
  .hero-section {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    padding-top: 80px;
    padding-bottom: 2rem;
  }
  
  .hero-content {
    padding: 0 1rem;
    max-width: 100%;
    margin-top: -150px; /* Eleva ainda mais o conteúdo no mobile - aumentado mais 20px */
  }
  
  .hero-logo {
    margin-bottom: 0.75rem;
  }
  
  .logo-hero {
    display: block;
    margin: 0 auto;
    height: 80px; /* Reduzindo logo para mobile */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.10)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
  }
  
  .inline-logo {
    height: 36px; /* Reduzindo logos inline */
    margin: 0 0.2rem;
  }
  
  .hero-title {
    font-size: 2rem; /* Título maior e mais impactante */
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem; /* Subtítulo mais legível */
  }
  
  h1 { 
    font-size: clamp(1.5rem, 4.5vw, 2rem); /* Reduzindo h1 geral */
  }
  
  h2 { 
    font-size: clamp(1.25rem, 3.5vw, 1.75rem); /* Reduzindo h2 geral */
  }
  
  h3 { 
    font-size: clamp(1.125rem, 2.75vw, 1.375rem); /* Reduzindo h3 geral */
  }
  
  .hero-description {
    font-size: 1rem; /* Descrição mais legível */
    margin-bottom: 2rem;
    padding: 0 0.5rem;
    line-height: 1.6;
  }
  
  .hero-cta {
    gap: 0.75rem;
    margin-bottom: 2rem; /* Reduzindo margem */
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 1rem 2rem; /* Botões maiores e mais fáceis de clicar */
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .stat-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
  }
  
  .stat-item p {
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  /* Navigation Mobile - Clean Design */
  .navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-elevation-1);
  }
  
  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(25px) saturate(200%) brightness(1.2) !important;
    -webkit-backdrop-filter: blur(25px) saturate(200%) brightness(1.2) !important;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8) !important;
  }
  
  .nav-container {
    padding: 0.5rem 1rem;
  }
  
  .nav-logo {
    height: 30px;
  }
  
    .nav-brand {
      order: 2;
    }
    .nav-actions {
      order: 1;
    }
  .nav-actions .btn-secondary,
  .nav-actions .btn-primary {
    display: none; /* Hide nav buttons on mobile */
  }
  
  /* Sections spacing */
  .features-section,
  .how-it-works,
  .pricing-section,
  .testimonials-section,
  .doctors-section,
  .partners-section,
  .faq-section,
  .cta-section,
  .app-download-section {
    padding: 3rem 0;
    min-height: auto;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  /* Feature Cards Mobile - Enhanced */
  .features-grid {
    gap: 2rem;
  }
  
  .feature-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-elevation-2);
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
  
  .icon-3d {
    font-size: 1.5rem;
  }
  
  /* Pricing Toggle Mobile */
  .pricing-toggle {
    gap: 2rem;
    padding: 1rem 1.5rem;
  }
  
  .toggle-label {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    min-width: 100px;
  }
  
  .toggle-switch {
    width: 60px;
    height: 30px;
  }
  
  .toggle-switch label::after {
    height: 22px;
    width: 22px;
  }
  
  .toggle-switch input:checked + label::after {
    transform: translateX(30px);
  }
  
  /* Pricing Cards Mobile - Premium Feel */
  .pricing-grid {
    gap: 2rem;
    padding: 2rem 1rem 0;
  }
  
  .pricing-card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-elevation-2);
  }
  
  /* App Download Mobile */
  .app-download-section {
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-950) 100%);
  }
  
  .app-info-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .app-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .app-stat {
    min-width: 100px;
  }
  
  .app-stat .stat-number {
    font-size: 1.25rem;
  }
  
  .app-mockups {
    margin-bottom: 2rem;
  }
  
  .phone-mockup {
    width: 200px;
    height: 400px;
    border-radius: 30px;
  }
  
  .phone-notch {
    width: 100px;
    height: 20px;
    top: 15px;
  }
  
  .phone-camera {
    width: 60px;
    height: 15px;
    top: 20px;
  }
  
  .premium-btn {
    padding: 1rem 1.5rem;
    min-width: unset;
  }
  
  .btn-text .small-text {
    font-size: 0.75rem;
  }
  
  .btn-text .main-text {
    font-size: 0.875rem;
  }
  
  .qr-code-section {
    display: none; /* Hide QR codes on mobile */
  }
  
  .app-features.enhanced {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .app-features.enhanced .app-feature {
    padding: 1rem;
  }
  
  .feature-icon-wrapper {
    width: 40px;
    height: 40px;
  }
  
  .feature-text h4 {
    font-size: 1rem;
  }
  
  .feature-text p {
    font-size: 0.8rem;
  }
  
  .plan-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
  }
  
  .plan-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .plan-name {
    font-size: 1.5rem;
  }
  
  .amount {
    font-size: 2.5rem;
  }
  
  /* Steps Mobile */
  .step-card {
    padding: 2.5rem 2rem 2rem;
    margin-top: 20px;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    top: -22px;
  }
  
  .step-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 1.5rem auto;
  }
  
  /* Doctors Section Mobile */
  .doctors-info {
    text-align: center;
  }
  
  .doctors-info .btn-primary {
    margin: 0 auto;
  }
  
  .doctors-benefits {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .benefit-item i {
    font-size: 2rem;
  }
  
  .doctors-visual {
    margin-top: 2rem;
    min-height: auto;
  }
  
  .doctors-visual::before,
  .doctors-visual::after {
    display: none; /* Hide background animations on mobile */
  }
  
  .dashboard-mockup {
    max-width: 100%;
    margin: 0;
    transform: scale(0.9);
    animation: none; /* Disable float animation on mobile */
  }
  
  .dashboard-header {
    padding: 1rem;
  }
  
  .dashboard-title h3 {
    font-size: 1rem;
  }
  
  .dashboard-user img {
    width: 30px;
    height: 30px;
  }
  
  .dashboard-user span {
    font-size: 0.85rem;
  }
  
  .dashboard-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .stat-card {
    padding: 0.5rem;
    flex-direction: column;
    text-align: center;
  }
  
  .stat-icon {
    font-size: 1.25rem;
    width: 30px;
    height: 30px;
    margin: 0 auto 0.25rem;
  }
  
  .stat-value {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .dashboard-chart {
    padding: 1rem;
  }
  
  .dashboard-chart h4 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  
  .chart-bars {
    height: 60px;
  }
  
  .dashboard-appointments {
    padding: 1rem;
  }
  
  .dashboard-appointments h4 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  
  .appointment-item {
    padding: 0.5rem 0;
    gap: 0.5rem;
  }
  
  .appointment-time {
    font-size: 0.8rem;
    min-width: 40px;
  }
  
  .patient-name {
    font-size: 0.8rem;
  }
  
  .appointment-type {
    font-size: 0.7rem;
  }
  
  .appointment-status {
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-main-logo {
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .footer-brand p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .social-links {
    gap: 0.75rem;
  }
  
  .social-links a {
    width: 36px;
    height: 36px;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 0 1rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .btn-form-submit {
    padding: 1rem 1.75rem;
    font-size: 1rem;
    min-width: 180px;
  }
  
  /* FAQ Mobile */
  .faq-question {
    padding: 1.25rem 1rem;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 1rem 1.25rem;
  }
  
  /* Container padding for mobile */
  .container {
    padding: 0 1rem;
  }
  
  /* Scroll indicator mobile */
  .scroll-indicator {
    bottom: 5rem; /* Aumenta a distância para evitar sobreposição com a barra do Safari */
  }
  
  .scroll-arrow {
    width: 24px;
    height: 24px;
  }
}

/* Extra small devices (older iPhones, SE) */
@media (max-width: 375px) {
  .logo-hero {
  display: block;
  margin: 0 auto;
    height: 70px; /* Ainda menor para dispositivos pequenos */
  }
  
  .hero-title {
    font-size: 1.375rem; /* Reduzindo ainda mais */
  }
  
  .hero-subtitle {
    font-size: 1rem; /* Reduzindo ainda mais */
  }
  
  .hero-description {
    font-size: 0.85rem; /* Reduzindo ainda mais */
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.625rem 1rem; /* Botões menores */
    font-size: 0.9rem; /* Fonte menor */
  }
  
  .stat-item h3 {
    font-size: 1.125rem; /* Números menores */
  }
  
  .pricing-toggle {
    gap: 1rem;
    padding: 0.875rem 1rem;
  }
  
  .toggle-label {
    font-size: 0.9rem;
    padding: 0.625rem 1rem;
    min-width: 80px;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Typewriter Animation */
.typewriter-text {
  display: inline-block;
  position: relative;
  min-width: 250px;
  text-align: left;
}

.typewriter-cursor {
  display: inline-block;
  animation: blink 1s infinite;
  color: var(--primary-green);
  font-weight: 300;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Typewriter text animations */
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.typewriter-text.typing {
  overflow: hidden;
  white-space: nowrap;
  animation: typewriter 0.5s steps(20, end) forwards;
}

.typewriter-text.deleting {
  overflow: hidden;
  white-space: nowrap;
  animation: typewriter 0.3s steps(20, end) reverse;
}

/* Mobile adjustments for typewriter */
@media (max-width: 768px) {
  .typewriter-text {
    min-width: 200px;
    font-size: 0.9em;
  }
}

/* App Download Section */
.app-download-section {
  padding: 80px 0;
  background: var(--gray-50);
  position: relative;
}

.app-download-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.app-download-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.app-mockups {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 40px;
  min-width: 300px;
}

.phone-mockup {
  position: relative;
  width: 250px;
  height: 500px;
  background: #000;
  border-radius: 35px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.phone-mockup:hover {
  transform: translateY(-10px);
}

.phone-mockup.iphone-mockup {
  transform: rotate(-5deg);
}

.phone-mockup.android-mockup {
  transform: rotate(5deg);
}

.phone-mockup:hover.iphone-mockup {
  transform: rotate(-5deg) translateY(-10px);
}

.phone-mockup:hover.android-mockup {
  transform: rotate(5deg) translateY(-10px);
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.app-info {
  flex: 1;
  min-width: 300px;
}

.app-download-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.app-store-btn,
.google-play-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #000;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app-store-btn:hover,
.google-play-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: #222;
}

.app-store-btn i,
.google-play-btn i {
  font-size: 28px;
}

.btn-text {
  text-align: left;
}

.small-text {
  font-size: 12px;
  opacity: 0.8;
  display: block;
}

.main-text {
  font-size: 16px;
  font-weight: 600;
  display: block;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--gray-700);
  font-size: 16px;
}

.app-feature i {
  color: var(--primary-blue);
  font-size: 20px;
  width: 30px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .app-download-content {
    flex-direction: column;
    text-align: center;
  }
  
  .app-info {
    order: 1;
  }
  
  .app-mockups {
    order: 2;
  }
  
  .app-download-buttons {
    justify-content: center;
  }
  
  .app-features {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .app-download-section {
    padding: 60px 0;
  }
  
  .app-mockups {
    gap: 20px;
  }
  
  .phone-mockup {
    width: 150px;
    height: 300px;
    padding: 5px;
  }
  
  .phone-mockup.iphone-mockup,
  .phone-mockup.android-mockup {
    transform: rotate(0);
  }
  
  .phone-mockup:hover.iphone-mockup,
  .phone-mockup:hover.android-mockup {
    transform: translateY(-10px);
  }
  
  .app-download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .app-store-btn,
  .google-play-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .app-features {
    align-items: flex-start;
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
  }
}