/* ========================================
   NAVIMED - MAIN STYLESHEET
   ======================================== */

/* CSS Variables - Easy to customize */
:root {
    /* Colors */
    --primary-blue: #3b82f6;
    --primary-purple: #8b5cf6;
    --primary-cyan: #06b6d4;
    --primary-pink: #ec4899;
    --primary-indigo: #6366f1;
    --primary-slate: #1e293b;
    
    /* Medical Theme Colors */
    --medical-blue: #2563eb;
    --medical-dark: #1d4ed8;
    --medical-light: #60a5fa;
    
    /* Light Theme Hero Colors */
    --hero-blue-light: rgba(147, 197, 253, 0.4);
    --hero-blue-lighter: rgba(191, 219, 254, 0.35);
    --hero-blue-lightest: rgba(219, 234, 254, 0.3);
    --hero-blue-ultra-light: rgba(239, 246, 255, 0.25);
    --hero-blue-white: rgba(248, 250, 252, 0.2);
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-gray-100: #f3f4f6;
    --text-gray-200: #e5e7eb;
    --text-gray-300: #d1d5db;
    --text-gray-600: #4b5563;
    --text-gray-700: #374151;
    --text-gray-800: #1f2937;
    --text-gray-900: #111827;
    
    /* Background Colors */
    --bg-yellow-50: #fefce8;
    --bg-yellow-100: #fef3c7;
    --bg-yellow-400: #fbbf24;
    --bg-yellow-500: #f59e0b;
    --bg-yellow-600: #d97706;
    --bg-yellow-700: #b45309;
    --bg-yellow-800: #92400e;
    
    /* Spacing */
    --section-padding: 6rem;
    --container-max-width: 80rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Header height for proper spacing */
    --header-height: 5rem;
}

/* ========================================
   DARK MODE STYLES
   ======================================== */

/* Base HTML and Body Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Dark Mode Base Styles */
html.dark {
    background-color: #111827;
    color: #f9fafb;
}

html.dark body {
    background-color: #111827;
    color: #f9fafb;
}

/* Hero text visibility in both themes */
.hero-title .title-word {
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

html.dark .hero-title .title-word {
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-description {
    color: var(--text-white);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

html.dark .hero-description {
    color: var(--text-white);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
}

html.dark * {
    border-color: #374151;
}

/* Dark Mode CTA Support */
html.dark .cta-glassbox {
    background: rgba(255, 255, 255, 0.15); /* Keep white glass effect in dark mode */
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

html.dark .cta-heading {
    color: #ffffff;
}

html.dark .cta-subheading {
    color: #e5e7eb;
}

html.dark .cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff !important;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        0 4px 12px rgba(29, 78, 216, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

html.dark .cta-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 
        0 12px 35px rgba(59, 130, 246, 0.5),
        0 6px 18px rgba(29, 78, 216, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Dark Mode Text Colors */
html.dark h1, 
html.dark h2, 
html.dark h3, 
html.dark h4, 
html.dark h5, 
html.dark h6 {
    color: #f9fafb;
}

html.dark p {
    color: #d1d5db;
}

html.dark a {
    color: #60a5fa;
}

html.dark a:hover {
    color: #93c5fd;
}

/* Dark Mode Background Colors */
html.dark .hero-section { background: #0b1220; }

html.dark .hero-background { background: rgba(0, 0, 0, 0.85); }

html.dark .hero-gradient-overlay {
    background-color: rgba(0, 0, 0, 0.9);
}



/* ========================================
   HERO SECTION - INDUSTRY LEVEL DESIGN
   ======================================== */


.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
    z-index: 1;
}

/* Removed animation for performance */

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #0f172a;
}

html.dark .hero-background { background: #0b1220; }

/* Helix */

.dna-helix {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%) rotateZ(-20deg); 
    width: 220px;
    height: 500px;
    perspective: 800px;
    z-index: 5;
  }
  
  .dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 15px #10b981;
    animation: glow 1.5s ease-in-out infinite alternate;
  }
  
  .base-pair {
    position: absolute;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    border-radius: 1px;
  }
  
  .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #facc15; /* yellow for moving particles */
    box-shadow: 0 0 8px #facc15;
  }
  
  /* Dot glow animation */
  @keyframes glow {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
  }


  

/* ========================================
   FLOATING NEURAL NETWORK
   ======================================== */
.neural-network {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 300px;
    height: 200px;
    z-index: 2;
}

.neural-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #f59e0b, #d97706);
    border-radius: 50%;
    box-shadow: 0 0 20px #f59e0b;
    animation: neuralPulse 4s ease-in-out infinite;
}

.node-1 { top: 0; left: 0; animation-delay: 0s; }
.node-2 { top: 0; right: 0; animation-delay: 0.8s; }
.node-3 { top: 50%; left: 25%; animation-delay: 1.6s; }
.node-4 { top: 50%; right: 25%; animation-delay: 2.4s; }
.node-5 { bottom: 0; left: 0; animation-delay: 3.2s; }
.node-6 { bottom: 0; right: 0; animation-delay: 4s; }

.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    animation: neuralFlow 3s ease-in-out infinite;
}

.connection-1 { top: 6px; left: 6px; width: 75px; animation-delay: 0s; }
.connection-2 { top: 6px; right: 6px; width: 75px; animation-delay: 0.5s; }
.connection-3 { top: 50%; left: 25%; width: 50px; animation-delay: 1s; }
.connection-4 { top: 50%; right: 25%; width: 50px; animation-delay: 1.5s; }
.connection-5 { bottom: 6px; left: 6px; width: 75px; animation-delay: 2s; }

@keyframes neuralPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes neuralFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* ========================================
   QUANTUM PARTICLES
   ======================================== */
.quantum-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.quantum-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ec4899, #be185d);
    border-radius: 50%;
    box-shadow: 0 0 15px #ec4899;
    animation: quantumFloat 12s ease-in-out infinite;
}

.particle-1 { top: 15%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 30%; right: 25%; animation-delay: -2s; }
.particle-3 { bottom: 25%; left: 15%; animation-delay: -4s; }
.particle-4 { bottom: 40%; right: 20%; animation-delay: -6s; }
.particle-5 { top: 45%; left: 40%; animation-delay: -8s; }
.particle-6 { top: 70%; right: 35%; animation-delay: -10s; }

@keyframes quantumFloat {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateY(0px) translateX(0px) scale(1);
    }
    25% { 
        opacity: 1; 
        transform: translateY(-30px) translateX(20px) scale(1.2);
    }
    50% { 
        opacity: 0.8; 
        transform: translateY(-60px) translateX(-15px) scale(0.8);
    }
    75% { 
        opacity: 1; 
        transform: translateY(-40px) translateX(25px) scale(1.1);
    }
}

/* ========================================
   HOLOGRAPHIC GRID - REMOVED (was causing square patterns)
   ======================================== */

/* ========================================
   ENERGY FIELD
   ======================================== */
.energy-field {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.energy-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    animation: energyRotate 20s linear infinite;
}

.ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.ring-2 { width: 300px; height: 300px; animation-delay: -7s; }
.ring-3 { width: 400px; height: 400px; animation-delay: -14s; }

@keyframes energyRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========================================
   FLOATING MEDICAL ICONS
   ======================================== */
.medical-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.icon-container {
    position: absolute;
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.8);
    animation: iconFloat 6s ease-in-out infinite;
}

.icon-container svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.icon-heartbeat { top: 20%; left: 10%; animation-delay: 0s; }
.icon-brain { top: 60%; right: 15%; animation-delay: -2s; }
.icon-dna { bottom: 20%; left: 60%; animation-delay: -4s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========================================
   AMBIENT LIGHT RAYS
   ======================================== */
.light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ray {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: rayGlow 4s ease-in-out infinite;
}

.ray-1 { left: 20%; animation-delay: 0s; }
.ray-2 { left: 40%; animation-delay: -1s; }
.ray-3 { left: 60%; animation-delay: -2s; }
.ray-4 { left: 80%; animation-delay: -3s; }

@keyframes rayGlow {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}



/* .hero-gradient removed - was creating unwanted patterns */

/* .hero-pattern removed - was creating unwanted patterns */

.hero-content {
    position: relative;
    z-index: 999;
    text-align: center;
    max-width: 64rem;
    padding: 0 2rem;
    padding-top: calc(var(--header-height) + 4rem);
}

/* ========================================
   CLEAN FUTURISTIC HERO TITLE
   ======================================== */
   .title-container {
    margin-bottom: 3rem;
    text-align: center;
}

.title-container[data-scroll-fade] {
    opacity: 1;
    transform: translateY(0);
}

.title-container[data-scroll-fade].fade-out {
    opacity: 0.3;
    transform: translateY(20px);
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-word {
    display: inline-block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--text-white);
    opacity: 1;
    transform: none;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1000;
}

.title-word-1 { animation: none; }
.title-word-2 { animation: none; }
.title-word-3 { animation: none; }



.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    color: var(--text-white);
    line-height: 1.6;
    max-width: 48rem;
    margin: 0 auto;
    padding-bottom: 100px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1000;
}

@keyframes heroDescriptionFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(25px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1000;
}

.hero-actions[data-scroll-scale] {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-actions[data-scroll-scale].scale-out {
    opacity: 0.7;
    transform: translateY(30px) scale(0.95);
}

/* Hero stats removed for simplicity */

/* ========================================
   ENHANCED BUTTON STYLING
   ======================================== */
.hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.btn-particles::before,
.btn-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: btn-particle-float 2s ease-out infinite;
}

.btn-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.btn-particles::after {
    top: 80%;
    right: 20%;
    animation-delay: 0.5s;
}

@keyframes btn-particle-float {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0);
    }
}

.hero-btn {
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: buttonSlideIn 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-btn.primary {
    background: #3b82f6;
    color: #ffffff;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.hero-btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    backdrop-filter: none;
}

.btn-text {
    position: relative;
    z-index: 2;
}


.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.6);
    transition: all 1s ease-in-out;
}

/* Simplified button effects for performance */

.hero-btn:hover .btn-icon {
    transform: translateX(5px);
}

.hero-btn:hover .btn-glow {
    left: 100%;
}

.hero-btn.primary:hover {
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(255, 255, 255, 1);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transition: all 1s ease-in-out;
}

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroActionsFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Cleaned up duplicate rules */

.hero-btn.secondary {
    animation-delay: 1.4s;
}

@keyframes heroButtonFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px) scale(0.9); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}



/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    animation: scrollIndicatorFadeIn 2s ease-out 3s both;
    opacity: 0;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes scrollIndicatorFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-btn.primary {
    background: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.hero-btn.secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn.secondary:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        padding-top: calc(var(--header-height) + 3rem);
        max-width: 56rem;
    }
    
    .title-word {
        font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    }
    
    .hero-description {
        font-size: clamp(1rem, 2.25vw, 1.125rem);
    }
    
    .dna-helix {
        right: 5%;
        width: 150px;
        height: 300px;
    }
    
    .neural-network {
        left: 10%;
        width: 250px;
        height: 150px;
    }
    
    .tech-preview {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: calc(var(--header-height) + 2rem);
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .title-word {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .hero-description {
        font-size: clamp(0.875rem, 2vw, 1rem);
        margin-bottom: 2rem;
    }
    
    .dna-helix {
        display: none;
    }
    
    .neural-network {
        display: none;
    }
    
    .tech-preview {
        flex-direction: column;
        gap: 1rem;
    }
    
    .preview-item {
        width: 100%;
        max-width: 15rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: calc(var(--header-height) + 1.5rem);
    }
    
    .title-word {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    }
    
    .hero-description {
        font-size: clamp(0.75rem, 1.75vw, 0.875rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .quantum-particles {
        display: none;
    }
    
    .medical-icons {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: calc(var(--header-height) + 2rem);
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: 1.25rem;
    }
    
    .hero-description {
        font-size: clamp(0.875rem, 2vw, 1rem);
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 20rem;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: calc(var(--header-height) + 1.5rem);
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: clamp(0.75rem, 1.75vw, 0.875rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 360px) {
    .hero-content {
        padding-top: calc(var(--header-height) + 1rem);
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    
    .hero-description {
        font-size: clamp(0.625rem, 1.5vw, 0.75rem);
    }
    
    .hero-btn {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }
}

/* ========================================
   SETUP SECTION
   ======================================== */

.setup-section {
    padding: var(--section-padding) 0;
    background: var(--bg-yellow-50);
    /* Ensure it doesn't interfere with hero height */
    margin-top: 0;
}

.setup-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.setup-content {
    background: var(--bg-yellow-100);
    border: 1px solid var(--bg-yellow-200);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
}

.setup-icon {
    width: 4rem;
    height: 4rem;
    background: var(--bg-yellow-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.setup-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--text-white);
}

.setup-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--bg-yellow-800);
    margin-bottom: 1rem;
}

.setup-description {
    font-size: 1.125rem;
    color: var(--bg-yellow-700);
    margin-bottom: 1.5rem;
}

.setup-button {
    background: var(--bg-yellow-500);
    color: var(--text-white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-normal);
}

.setup-button:hover {
    background: var(--bg-yellow-600);
}


/* Floating Orbs */
.floating-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.orb-4 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 60%;
    animation-delay: 6s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 1;
    }
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: shapeRotate 12s linear infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid #3b82f6;
    top: 25%;
    right: 25%;
    animation-delay: 0s;
}

.shape-circle {
    width: 40px;
    height: 40px;
    background: #8b5cf6;
    border-radius: 50%;
    bottom: 20%;
    left: 30%;
    animation-delay: 3s;
}

.shape-square {
    width: 35px;
    height: 35px;
    background: #06b6d4;
    transform: rotate(45deg);
    top: 70%;
    right: 40%;
    animation-delay: 6s;
}

.shape-hexagon {
    width: 30px;
    height: 30px;
    background: #10b981;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    bottom: 60%;
    left: 70%;
    animation-delay: 9s;
}

@keyframes shapeRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Data Streams */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.data-stream {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stream-1 {
    top: 15%;
    right: 10%;
    animation: dataFlow 4s linear infinite;
}

.stream-2 {
    bottom: 25%;
    left: 15%;
    animation: dataFlow 4s linear infinite reverse;
}

.data-bit {
    width: 8px;
    height: 8px;
    background: #06b6d4;
    border-radius: 50%;
    opacity: 0.7;
    animation: dataPulse 2s ease-in-out infinite;
}

.data-bit:nth-child(1) { animation-delay: 0s; }
.data-bit:nth-child(2) { animation-delay: 0.2s; }
.data-bit:nth-child(3) { animation-delay: 0.4s; }
.data-bit:nth-child(4) { animation-delay: 0.6s; }
.data-bit:nth-child(5) { animation-delay: 0.8s; }

@keyframes dataFlow {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

@keyframes dataPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Enhanced Title Styling */
.title-container {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.title-word {
    display: inline-block;
    margin: 0 0.2em;
    opacity: 0;
    animation: titleSlideIn 0.8s ease-out forwards;
}

.title-word-1 { animation-delay: 0.1s; }
.title-word-2 { animation-delay: 0.2s; }
.title-word-3 { animation-delay: 0.3s; }
.title-word-4 { animation-delay: 0.4s; }
.title-word-5 { animation-delay: 0.5s; }

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   SPECTACULAR SECTION STYLING
   Industry-Grade Design with Parallax & Animations
   ======================================== */

/* ========================================
   INTRODUCTION SECTION - PREMIUM DESIGN
   ======================================== */
.introduction {
    position: relative;
    padding: 6rem 0;
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 0;
}

.introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.introduction .container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.introduction h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(50px);
    animation: titleSlideUp 1s ease-out 0.3s forwards;
}

.introduction .lead {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-gray-700);
    line-height: 1.8;
    max-width: 60rem;
    margin: 0 auto 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: contentSlideUp 1s ease-out 0.6s forwards;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.intro-feature {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(50px) scale(0.9) rotate(0deg);
    animation: featureSlideUp 1s ease-out forwards;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Force no rotation on intro-feature cards */
.intro-feature,
.intro-feature *,
.intro-feature::before,
.intro-feature::after {
    transform: none !important;
    animation: none !important;
}

.intro-feature {
    transform: translateY(50px) scale(0.9) rotate(0deg) !important;
}

.intro-feature:hover {
    transform: translateY(-3px) scale(1.005) rotate(0deg) !important;
}

.intro-feature:nth-child(1) { animation-delay: 0.9s; }
.intro-feature:nth-child(2) { animation-delay: 1.1s; }
.intro-feature:nth-child(3) { animation-delay: 1.3s; }

/* Removed ::before pseudo-element to eliminate rotation */

.intro-feature:hover {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.95);
}

.intro-feature i {
    font-size: 3rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.intro-feature:hover i {
    transform: scale(1.05) !important;
    color: var(--primary-blue);
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.intro-feature h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-gray-800);
    margin-bottom: 1rem;
}

.intro-feature p {
    color: var(--text-gray-600);
    line-height: 1.6;
}

@keyframes titleSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contentSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes featureSlideUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes magneticPulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

/* ========================================
   SERVICES SECTION - PREMIUM CARDS
   ======================================== */
.services-section {
    position: relative;
    padding: 6rem 0;
    background: #f8fafc;
    overflow: hidden;
    margin-bottom: 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.services-section .container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.services-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: #1e293b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1.5px solid #d1d5db !important;
    border-radius: var(--border-radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(60px);
    animation: serviceCardSlideUp 1s ease-out forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Force override any white borders and backgrounds */
.services-section .service-card {
    border-color: #d1d5db !important;
    border-style: solid !important;
    border-width: 1.5px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
}

/* Ensure all service cards have identical backgrounds */
.services-section .service-card:nth-child(1),
.services-section .service-card:nth-child(2),
.services-section .service-card:nth-child(3) {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
}

.service-card:nth-child(1) { 
    animation-delay: 0.2s; 
    background: rgba(255, 255, 255, 0.9) !important;
}
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #3b82f6;
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Ensure blue line shows on all cards */
.services-section .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #3b82f6;
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.services-section .service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6 !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-gray-800);
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--text-gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.service-features li {
    color: var(--text-gray-600);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.service-card .btn {
    background: #3b82f6;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    border: 2px solid #264e8d;
    position: relative;
    overflow: hidden;
    margin: 0 0.5rem;
}

/* Force all buttons in service cards to display inline */
.service-card .btn + .btn {
    margin-left: 1rem;
}

/* Position buttons at bottom of cards */
.service-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.service-card .btn {
    white-space: nowrap;
    margin-top: auto;
    margin-bottom: 5px;
}

.service-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.service-card .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.service-card .btn:hover::before {
    left: 100%;
}

.service-card .btn:hover::after {
    opacity: 1;
}

.service-card .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.5);
    background: #2563eb;
    border-color: #2563eb;
    filter: brightness(1.1);
}

@keyframes serviceCardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SYSTEM GALLERY - PARALLAX GALLERY
   ======================================== */
.system-gallery {
    position: relative;
    padding: 6rem 0;
    background: #0f172a;
    color: white;
    overflow: hidden;
    margin-bottom: 0;
}

.system-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.system-gallery .container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 50rem;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: galleryItemSlideUp 1s ease-out forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
    border: none;

}

.gallery-item:hover::before {
    opacity: 1;
    border: 1px solid #ffffff;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}



.gallery-item:hover img {
    transform: scale(1.2) !important;
    filter: brightness(1.2) contrast(1.2) saturate(1.1) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Dark mode image hover consistency */
html.dark .gallery-item:hover img {
    transform: scale(1.2) !important;
    filter: brightness(1.2) contrast(1.2) saturate(1.1) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: #111827;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
    opacity: 1;
}

.gallery-content h4 {
    padding: 0 20px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 800;
}

.gallery-content p {
    padding: 0 20px;
    font-size: 1rem;
    opacity: 1;
    color: #ffffff;
    font-weight: 600;
}



/* Dark mode gallery item consistency */
html.dark .gallery-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

html.dark .gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none !important;
    outline: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}


/* Full-screen container with background */
.cta-supernova {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: visible; /* Allow glass box to be visible */
    z-index: 1; /* Create stacking context */
}

/* Background Image with Parallax Effect */
.cta-background {
    position: fixed; /* Fixed position for true parallax */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('/Uploads/background-cta.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: -1; /* Keep background behind content */
    filter: brightness(60%); /* Slightly brighter for better visibility */
    will-change: transform; /* Optimize for animations */
}

/* Glass box that holds the content */
.cta-glassbox {
    position: absolute; /* Keep as absolute but with proper z-index */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.15); /* Much more see-through */
    border-radius: 12px;
    padding: 40px 60px;
    backdrop-filter: blur(10px); /* Reduced blur for more transparency */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    width: 90%; /* Make the box almost as wide as the screen */
    max-width: 1200px; /* Max width limit */
    z-index: 99999; /* Extremely high z-index to ensure it's above everything */
    text-align: center;
    border: none; /* No border */
    pointer-events: auto; /* Ensure it can receive interactions */
    isolation: isolate; /* Create new stacking context */
}

/* Styling for the heading and subheading */
.cta-heading {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    opacity: 0;
    animation: slideInUp 1s ease-out forwards;
    animation-delay: 0.3s;
    color: #ffffff !important; /* Permanent white text */
    text-shadow: none; /* No glow effects */
}

.cta-subheading {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideInUp 1s ease-out forwards;
    animation-delay: 0.5s;
    color: #ffffff !important; /* Permanent white text */
    text-shadow: none; /* No glow effects */
}

/* Button with animation */
.cta-button {
    position: relative;
    display: inline-block;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.3),
        0 4px 12px rgba(29, 78, 216, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.cta-button .cta-text {
    position: relative;
    z-index: 2;
    font-weight: 600;
    color: #ffffff !important; /* Ensure white text */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button .cta-circle {
    position: absolute;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: none; /* No more continuous animation */
    z-index: 1;
}

/* Hover effects for button */
.cta-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 
        0 12px 35px rgba(59, 130, 246, 0.4),
        0 6px 18px rgba(29, 78, 216, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:hover .cta-circle {
    animation: none;
    width: 100%;
    height: 100%;
    opacity: 0;
}



/* Keyframes for animations */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Mobile responsiveness */
@media (max-width: 768px) {
    .cta-heading {
        font-size: 30px;
    }
    .cta-subheading {
        font-size: 18px;
    }
    .cta-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    /* Fix parallax on mobile devices */
    .cta-background {
        background-attachment: scroll;
    }
}


/* ========================================
   PRODUCT HIGHLIGHTS - PREMIUM SHOWCASE
   ======================================== */
.product-highlights {
    position: relative;
    padding: 6rem 0;
    background: #f8fafc;
    overflow: hidden;
    margin-bottom: 0;
}

.product-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.product-highlights .container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.product-highlights h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-intro {
    font-size: 1.25rem;
    color: var(--text-gray-600);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 500;
}

.highlights-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.device-showcase {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: visible;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    animation: videoFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* Cool glow effect around video */
.device-showcase::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.3),
        rgba(139, 92, 246, 0.3),
        rgba(6, 182, 212, 0.3),
        rgba(59, 130, 246, 0.3));
    border-radius: var(--border-radius-xl);
    z-index: -1;
    filter: blur(20px);
    opacity: 0.7;
    animation: glowPulse 4s ease-in-out infinite;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.device-showcase::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.2),
        rgba(139, 92, 246, 0.2));
    border-radius: var(--border-radius-xl);
    z-index: -2;
    filter: blur(15px);
    opacity: 0.5;
    animation: glowPulse 4s ease-in-out infinite reverse;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.device-video {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.device-showcase:hover .device-video {
    transform: scale(1.03) translateY(-8px);
    filter: brightness(1.05) contrast(1.02);
}

.device-showcase:hover::before {
    filter: blur(25px);
    opacity: 0.9;
    transform: scale(1.05);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.device-showcase:hover::after {
    filter: blur(20px);
    opacity: 0.7;
    transform: scale(1.03);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.perks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.perk-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(30px);
    animation: perkSlideIn 1s ease-out forwards;
}

.perk-item:nth-child(1) { animation-delay: 0.2s; }
.perk-item:nth-child(2) { animation-delay: 0.4s; }
.perk-item:nth-child(3) { animation-delay: 0.6s; }
.perk-item:nth-child(4) { animation-delay: 0.8s; }
.perk-item:nth-child(5) { animation-delay: 1.0s; }
.perk-item:nth-child(6) { animation-delay: 1.2s; }

.perk-item:hover {
    transform: translateX(0) translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.perk-icon {
    width: 50px;
    height: 50px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.perk-item:hover .perk-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.perk-icon i {
    font-size: 1.25rem;
    color: white;
}

.perk-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-gray-800);
    margin-bottom: 0.5rem;
}

.perk-content p {
    color: var(--text-gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
}

.highlights-cta {
    text-align: center;
}

.highlights-cta .btn {
    background: #3b82f6;
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #3b82f6;
}

.highlights-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

@keyframes perkSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating and glow animations */
@keyframes videoFloat {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg);
    }
    50% {
        transform: translateY(-15px) rotateX(2deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}



/* ========================================
   FAQ SECTION - INTERACTIVE ACCORDION
   ======================================== */
.faq-section {
    position: relative;
    padding: 6rem 0;
    background: #0f172a;
    color: white;
    overflow: hidden;
    margin-bottom: 0;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,0 50,14.4 50,28.9 25,43.3 0,28.9 0,14.4" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: 0.3;
}

.faq-section .container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
}

.faq-accordion {
    max-width: 60rem;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    animation: faqItemSlideUp 1s ease-out forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.faq-question {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: white;
    padding: 2rem 2.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px 12px 0 0;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #60a5fa;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    background: rgba(255, 255, 255, 0.08);
    color: #60a5fa;
    border-radius: 12px 12px 0 0;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #60a5fa;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 12px 12px;
    margin-top: 1px;
    opacity: 0;
    transform: translateY(-10px);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem 0;
    opacity: 1;
    transform: translateY(0);
}

.faq-answer p {
    padding: 0 2.5rem 1.5rem;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
}

@keyframes faqItemSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .highlights-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .perks-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .introduction,
    .services-section,
    .system-gallery,
    .product-highlights,
    .faq-section {
        padding: 4rem 0;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
    
    .gallery-content h4 {
        font-size: 1.25rem;
    }
    
    .gallery-content p {
        font-size: 0.875rem;
    }
    
    .perks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .intro-feature,
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .introduction h1,
    .services-section h2,
    .system-gallery h2,
    .product-highlights h2,
    .faq-section h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .intro-feature,
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .gallery-grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        border-radius: var(--border-radius-lg);
    }
    
    .gallery-content h4 {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }
    
    .gallery-content p {
        font-size: 0.8rem;
    }
    
    .gallery-cta h3 {
        font-size: 1.5rem;
    }
    
    .gallery-cta p {
        font-size: 1rem;
    }
}

/* ========================================
   DARK MODE ADAPTATIONS
   ======================================== */
html.dark .introduction {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%, 
        rgba(6, 182, 212, 0.1) 100%);
}

html.dark .introduction .lead {
    color: #d1d5db;
}

html.dark .intro-feature {
    background: rgba(31, 41, 55, 0.9);
    border-color: #4b5563;
    color: #f9fafb;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html.dark .intro-feature:hover {
    background: rgba(31, 41, 55, 0.95);
    border-color: #3b82f6;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
    transform: translateY(-3px) scale(1.005) rotate(0deg) !important;
}

html.dark .intro-feature h3 {
    color: #f9fafb;
}

html.dark .intro-feature p {
    color: #d1d5db;
}

html.dark .intro-feature i {
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html.dark .intro-feature:hover i {
    transform: scale(1.05) !important;
    color: var(--primary-blue);
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

html.dark .services-section {
    background: #1f2937;
}

html.dark .services-section h2 {
    color: #f9fafb;
}

html.dark .service-card {
    background: rgba(17, 24, 39, 0.95);
    border: 1.5px solid #374151 !important;
    color: #f9fafb;
}

html.dark .service-card:hover {
    border-color: #3b82f6 !important;
}

/* Force override any white borders and backgrounds in dark mode */
html.dark .services-section .service-card {
    border-color: #374151 !important;
    border-style: solid !important;
    border-width: 1.5px !important;
    background: rgba(17, 24, 39, 0.95) !important;
}

html.dark .services-section .service-card:hover {
    border-color: #3b82f6 !important;
}

html.dark .service-card h3 {
    color: #f9fafb;
}

html.dark .service-card p,
html.dark .service-features li {
    color: #d1d5db;
}

html.dark .product-highlights {
    background: #1f2937;
}

html.dark .product-highlights h2 {
    color: #f9fafb;
}

html.dark .section-intro {
    color: #d1d5db;
}

html.dark .perk-item {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(75, 85, 99, 0.3);
}

html.dark .perk-content h4 {
    color: #f9fafb;
}

html.dark .perk-content p {
    color: #d1d5db;
}

/* Dark mode glow effects */
html.dark .device-showcase::before {
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.4),
        rgba(139, 92, 246, 0.4),
        rgba(6, 182, 212, 0.4),
        rgba(59, 130, 246, 0.4));
    filter: blur(25px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.dark .device-showcase::after {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3),
        rgba(139, 92, 246, 0.3));
    filter: blur(20px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark mode video transitions */
html.dark .device-video {
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark mode hover effects */
html.dark .device-showcase:hover .device-video {
    transform: scale(1.03) translateY(-8px);
    filter: brightness(1.05) contrast(1.02);
}

html.dark .device-showcase:hover::before {
    filter: blur(25px);
    opacity: 0.9;
    transform: scale(1.05);
}

html.dark .device-showcase:hover::after {
    filter: blur(20px);
    opacity: 0.7;
    transform: scale(1.03);
}

/* ========================================
   ENHANCED ANIMATIONS & EFFECTS
   ======================================== */

/* Responsive adjustments for product highlights */
@media (max-width: 768px) {
    .device-showcase {
        animation: none; /* Disable floating on mobile */
        margin: 0 -1rem; /* Extend to edges */
    }
    
    .device-showcase::before,
    .device-showcase::after {
        display: none; /* Hide glow effects on mobile for performance */
    }
    
    .highlights-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .perks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Section reveal animations */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced hover effects for all interactive elements */
.gallery-item:hover,
.perk-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
}

/* Glowing borders on hover */
.gallery-item::after,
.perk-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: #3b82f6;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after,
.perk-item:hover::after {
    opacity: 1;
}

/* Floating animation for icons */
.service-card .service-icon,
.perk-item .perk-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Enhanced text animations */
.introduction h1::after,
.services-section h2::after,
.system-gallery h2::after,
.product-highlights h2::after,
.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -100%;
    width: 100%;
    height: 3px;
    background: #3b82f6;
    transition: left 0.6s ease;
}

.introduction.revealed h1::after,
.services-section.revealed h2::after,
.system-gallery.revealed h2::after,
.product-highlights.revealed h2::after,
.faq-section.revealed h2::after {
    left: 0;
}

/* Removed conflicting gallery overlay animations */

/* Enhanced FAQ animations */
.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.faq-item:hover::before {
    left: 100%;
}

/* Enhanced button animations */
.btn::before, .animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before, .animated-button:hover::before {
    left: 100%;
}

/* Enhanced perk item animations */
.perk-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 50%,
        rgba(6, 182, 212, 0.05) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.perk-item:hover::before {
    transform: scaleX(1);
}

/* Enhanced service card animations */
/* Removed conflicting ::after hover effect */

/* Enhanced intro feature animations */
.intro-feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.1);
    transform: rotate(0deg);
    transition: transform 0.6s ease;
}

.intro-feature:hover::after {
    transform: rotate(180deg);
}

/* Enhanced section backgrounds */
.introduction::after,
.services-section::after,
.product-highlights::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circles" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
    opacity: 0.3;
    animation: backgroundFloat 30s linear infinite;
}

@keyframes backgroundFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

/* Enhanced floating particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(odd) {
    background: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.particle:nth-child(3n) {
    background: rgba(6, 182, 212, 0.6);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

/* Enhanced scroll animations */
.scroll-trigger {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-trigger.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Enhanced focus states for accessibility */
.btn:focus,
.animated-button:focus,
.faq-question:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Enhanced loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced dark mode transitions */
html.dark * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Enhanced mobile animations */
@media (max-width: 768px) {
    .intro-feature,
    .service-card,
    .gallery-item,
    .perk-item {
        transform: none !important;
        animation: none !important;
        opacity: 1 !important;
    }
    
    .intro-feature:hover,
    .gallery-item:hover,
    .perk-item:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Enhanced print styles */
@media print {
    .intro-feature,
    .service-card,
    .gallery-item,
    .perk-item,
    .faq-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .btn,
    .animated-button {
        display: none;
    }
}

/* ========================================
   HERO SECTION ENHANCEMENTS
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(147, 197, 253, 0.4);
}



.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--primary-cyan);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray-300);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Service Cards - Removed duplicate conflicting styles */

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Removed conflicting icon-glow hover effect */

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* Enhanced Logo */
.logo-link {
    position: relative;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text {
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 1;
}

.logo-link:hover .logo-glow {
    width: 120px;
    height: 120px;
}

/* Loading Screen Enhancements */
.loading-subtitle {
    color: var(--text-gray-300);
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fade-in 1s ease 1s forwards;
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #3b82f6;
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Enhanced Navigation */
.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-gray-300);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}



/* ========================================
   COOL FLOATING ELEMENTS (FIXED POSITIONING)
   ======================================== */









/* Subtle background gradient - Fixed to screen */
.morphing-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.08);
    z-index: 0;
}

/* Magnetic Elements */
.magnetic-element {
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #3b82f6;
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Glow Border Effect */
.glow-border {
    position: relative;
    overflow: hidden;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.3);
    transition: left 0.5s ease;
}

.glow-border:hover::before {
    left: 100%;
}

/* Morph Cards */
.morph-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.morph-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.morph-card:hover::before {
    transform: translateX(100%);
}

.morph-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    animation: text-reveal-up 0.8s ease forwards;
}

@keyframes text-reveal-up {
    to {
        transform: translateY(0);
    }
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3b82f6;
    z-index: 9999;
    transform: scaleY(0);
    transform-origin: top;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.custom-cursor.hover {
    background: rgba(139, 92, 246, 0.9);
    transform: scale(1.5);
}

/* Loading Screen Enhancements */
.loading-screen {
    background: #0f172a;
}

/* Removed gradient animation for performance */

.loading-icon-svg {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.8));
    }
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #3b82f6;
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Enhanced DNA Helix */
.dna-helix .dot {
    animation: dot-pulse 2s ease-in-out infinite;
}

.dna-helix .particle {
    animation: particle-flow 3s linear infinite;
}

@keyframes dot-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 15px #10b981;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 25px #10b981, 0 0 35px #10b981;
    }
}

@keyframes particle-flow {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-40px) scale(0);
        opacity: 0;
    }
}

/* ========================================
   COOL FLOATING ELEMENTS (VIEWPORT STICKY)
   ======================================== */

/* Floating Shapes Container */
.floating-shapes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* Individual Floating Shapes */
.floating-shape {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.18);
    border-radius: 50%;
    filter: blur(3px);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
    animation: float-gentle 35s ease-in-out infinite;
    animation-delay: calc(var(--shape-index) * -6s);
    transition: all 0.3s ease-in-out;
    z-index: 0;
}

.floating-shape:hover {
    transform: scale(1.05);
    filter: blur(2px);
}

/* Even-numbered shapes */
.floating-shape:nth-child(even) {
    background: rgba(236, 72, 153, 0.15);
    animation-duration: 40s;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.08);
}

/* Every 3rd shape */
.floating-shape:nth-child(3n) {
    background: rgba(6, 182, 212, 0.12);
    animation-duration: 45s;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.06);
}

/* Floating animation - Much More Gentle */
@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-8px) translateX(4px) scale(1.02);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-12px) translateX(-3px) scale(0.98);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-6px) translateX(6px) scale(1.01);
        opacity: 0.7;
    }
}


/* Subtle Particles Container */
.subtle-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
}

/* Individual Subtle Particles - Balanced Visibility */
.subtle-particle {
    position: absolute;
    background: rgba(59, 130, 246, 0.25);
    border-radius: 50%;
    filter: blur(1.5px);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.15);
    animation: particle-float 20s ease-in-out infinite;
    animation-delay: calc(var(--particle-index) * -1.5s);
}

.subtle-particle:nth-child(even) {
    background: rgba(139, 92, 246, 0.35);
    animation-duration: 18s;
}

.subtle-particle:nth-child(3n) {
    background: rgba(6, 182, 212, 0.3);
    animation-duration: 22s;
}
/* Ambient Glow - Balanced Visibility */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: rgba(59, 130, 246, 0.025);
    animation: ambient-pulse 45s ease-in-out infinite;
}

/* Animations */
@keyframes float-gentle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-25px) translateX(15px) scale(1.05);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-15px) translateX(-20px) scale(0.95);
        opacity: 0.7;
    }
    75% { 
        transform: translateY(20px) translateX(10px) scale(1.02);
        opacity: 0.9;
    }
}

@keyframes particle-float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0.4;
    }
    33% { 
        transform: translateY(-20px) translateX(12px);
        opacity: 0.6;
    }
    66% { 
        transform: translateY(15px) translateX(-18px);
        opacity: 0.3;
    }
}

@keyframes ambient-pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* ========================================
   HERO SECTION MOBILE OPTIMIZATION
   ======================================== */

/* Dynamic Responsive Design for Hero Section */
@media (max-width: 768px) {
    /* Hero Section Mobile Layout */
    .hero-section {
        min-height: 100vh;
        padding: 0;
        position: relative;
        overflow: hidden;
    }

    /* Hero Content Mobile Optimization */
    .hero-content {
        padding-top: calc(var(--header-height) + 2rem);
        padding-left: 0;
        padding-right: 0;
        max-width: 100vw;
        width: 100vw;
        z-index: 1000;
    }

    /* Title Mobile Optimization */
    .title-container {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
        padding: 2rem 1rem;
    }

    .hero-title {
        gap: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .title-word {
        font-size: clamp(2.2rem, 8vw, 5rem);
        line-height: 1.2;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 900;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
        letter-spacing: -0.01em;
        position: relative;
        z-index: 1001;
        width: 100%;
    }

    .title-word-1 {
        font-size: clamp(1.8rem, 6.5vw, 4rem);
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
        z-index: 1001;
        margin-bottom: 0.3rem;
    }

    .title-word-2 {
        font-size: clamp(2.5rem, 9vw, 6rem);
        color: #ffffff;
        text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
        z-index: 1001;
        margin-bottom: 0.4rem;
        font-weight: 900;
    }

    .title-word-3 {
        font-size: clamp(2rem, 7.5vw, 5rem);
        color: #ffffff;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
        z-index: 1001;
        margin-bottom: 0.3rem;
    }
}

/* Advanced Dynamic Sizing for All Screen Sizes */
@media (max-width: 1024px) {
    .title-word-1 {
        font-size: clamp(1.8rem, 5.5vw + 0.5rem, 4rem);
    }

    .title-word-2 {
        font-size: clamp(2.2rem, 7.5vw + 0.8rem, 5.5rem);
    }

    .title-word-3 {
        font-size: clamp(2rem, 6.5vw + 0.7rem, 4.8rem);
    }
}

/* Ultra-wide and Large Mobile Screens */
@media (min-width: 430px) and (max-width: 768px) {
    .title-word-1 {
        font-size: clamp(2.2rem, 6.5vw + 0.8rem, 4.8rem);
    }

    .title-word-2 {
        font-size: clamp(2.8rem, 9vw + 1.2rem, 6.5rem);
    }

    .title-word-3 {
        font-size: clamp(2.5rem, 8vw + 1rem, 5.8rem);
    }
}

/* High DPI and Large Mobile Screens (iPhone 14 Pro Max, etc.) */
@media (min-width: 430px) and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .title-word-1 {
        font-size: clamp(2.5rem, 7vw + 1rem, 5.2rem);
    }

    .title-word-2 {
        font-size: clamp(3.2rem, 10vw + 1.5rem, 7.2rem);
    }

    .title-word-3 {
        font-size: clamp(2.8rem, 8.5vw + 1.2rem, 6.2rem);
    }

    @keyframes medicalGlow {
        0% {
            text-shadow: 
                0 0 20px rgba(59, 130, 246, 0.8),
                0 0 40px rgba(59, 130, 246, 0.6),
                0 0 60px rgba(59, 130, 246, 0.4),
                0 4px 25px rgba(0, 0, 0, 0.9);
        }
        100% {
            text-shadow: 
                0 0 30px rgba(59, 130, 246, 1),
                0 0 50px rgba(59, 130, 246, 0.8),
                0 0 70px rgba(59, 130, 246, 0.6),
                0 4px 25px rgba(0, 0, 0, 0.9);
        }
    }

    @keyframes medicalPulse {
        0%, 100% {
            opacity: 0.3;
            transform: scale(1);
        }
        50% {
            opacity: 0.6;
            transform: scale(1.05);
        }
    }

    /* Description Mobile Optimization */
    .hero-description {
        font-size: clamp(0.875rem, 3vw, 1.125rem);
        line-height: 1.5;
        max-width: 100%;
        margin: 0 auto 2rem auto;
        padding: 0 0.5rem 2rem 0.5rem;
    }

    /* Hero Actions Mobile Layout */
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        max-width: 240px;
        justify-content: center;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 20px;
        margin: 0 auto;
    }

    .btn-text {
        font-size: 0.95rem;
    }

    /* Scroll Indicator Mobile */
    .scroll-indicator {
        bottom: 1.5rem;
        z-index: 1000;
    }

    .scroll-line {
        height: 30px;
        width: 1px;
    }

    .scroll-text {
        font-size: 0.7rem;
    }

    /* ========================================
       MOBILE OPTIMIZED FLOATING ELEMENTS
       ======================================== */

    /* DNA Helix Mobile Optimization */
    .dna-helix {
        position: absolute;
        top: 15%;
        right: 5%;
        width: 120px;
        height: 250px;
        transform: translateY(-50%) rotateZ(-15deg) scale(0.6);
        z-index: 5;
    }

    .dna-helix .dot {
        width: 8px;
        height: 8px;
    }

    .dna-helix .base-pair {
        height: 1px;
    }

    .dna-helix .particle {
        width: 3px;
        height: 3px;
    }

    /* Neural Network Mobile Optimization */
    .neural-network {
        top: 10%;
        left: 5%;
        width: 150px;
        height: 100px;
        z-index: 2;
    }

    .neural-network .neural-node {
        width: 8px;
        height: 8px;
    }

    .neural-network .neural-connection {
        height: 1px;
    }

    /* Quantum Particles Mobile Optimization */
    .quantum-particles {
        z-index: 2;
    }

    .quantum-particles .quantum-particle {
        width: 4px;
        height: 4px;
    }

    /* Floating Orbs Mobile Optimization */
    .floating-orbs {
        z-index: 1;
    }

    .floating-orbs .orb-1 {
        width: 60px;
        height: 60px;
        top: 15%;
        left: 5%;
    }

    .floating-orbs .orb-2 {
        width: 40px;
        height: 40px;
        top: 55%;
        right: 8%;
    }

    .floating-orbs .orb-3 {
        width: 50px;
        height: 50px;
        bottom: 25%;
        left: 10%;
    }

    .floating-orbs .orb-4 {
        width: 30px;
        height: 30px;
        top: 35%;
        left: 55%;
    }

    /* Geometric Shapes Mobile Optimization */
    .geometric-shapes {
        z-index: 1;
    }

    .geometric-shapes .shape-triangle {
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 26px solid #3b82f6;
        top: 20%;
        right: 20%;
    }

    .geometric-shapes .shape-circle {
        width: 25px;
        height: 25px;
        bottom: 15%;
        left: 25%;
    }

    .geometric-shapes .shape-square {
        width: 22px;
        height: 22px;
        top: 65%;
        right: 30%;
    }

    .geometric-shapes .shape-hexagon {
        width: 20px;
        height: 20px;
        bottom: 55%;
        left: 65%;
    }

    /* Data Streams Mobile Optimization */
    .data-streams {
        z-index: 1;
    }

    .data-streams .data-stream {
        gap: 6px;
    }

    .data-streams .data-bit {
        width: 6px;
        height: 6px;
    }

    /* Energy Field Mobile Optimization */
    .energy-field {
        z-index: 1;
    }

    .energy-field .ring-1 {
        width: 120px;
        height: 120px;
    }

    .energy-field .ring-2 {
        width: 180px;
        height: 180px;
    }

    .energy-field .ring-3 {
        width: 240px;
        height: 240px;
    }

    /* Light Rays Mobile Optimization */
    .light-rays {
        z-index: 1;
    }

    .light-rays .ray {
        width: 0.5px;
    }

    /* Medical Icons Mobile Optimization */
    .medical-icons {
        z-index: 2;
    }

    .medical-icons .icon-container {
        width: 40px;
        height: 40px;
    }

    /* Floating Shapes Mobile Optimization */
    .floating-shapes-container {
        z-index: 1;
    }

    .floating-shapes-container .floating-shape {
        width: 25px;
        height: 25px;
        filter: blur(2px);
    }

    /* Subtle Particles Mobile Optimization */
    .subtle-particles-container {
        z-index: 2;
    }

    .subtle-particles-container .subtle-particle {
        filter: blur(1px);
    }
}

/* Small Mobile Devices - Simplified */
@media (max-width: 480px) {
    .hero-section {
        padding: 0;
    }

    .hero-content {
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-left: 0;
        padding-right: 0;
        max-width: 100vw;
        width: 100vw;
    }

    .hero-description {
        font-size: clamp(0.75rem, 2.5vw, 0.875rem);
        margin-bottom: 1.5rem;
        padding: 0 0.25rem 1.5rem 0.25rem;
    }

    .hero-btn {
        max-width: 220px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    /* Further reduce floating elements for very small screens */
    .dna-helix {
        width: 80px;
        height: 180px;
        transform: translateY(-50%) rotateZ(-15deg) scale(0.4);
        top: 20%;
        right: 2%;
    }

    .neural-network {
        width: 100px;
        height: 70px;
        top: 15%;
        left: 2%;
    }

    .floating-orbs .orb-1 {
        width: 40px;
        height: 40px;
    }

    .floating-orbs .orb-2 {
        width: 30px;
        height: 30px;
    }

    .floating-orbs .orb-3 {
        width: 35px;
        height: 35px;
    }

    .floating-orbs .orb-4 {
        width: 25px;
        height: 25px;
    }

    .geometric-shapes .shape-triangle {
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 21px solid #3b82f6;
    }

    .geometric-shapes .shape-circle {
        width: 20px;
        height: 20px;
    }

    .geometric-shapes .shape-square {
        width: 18px;
        height: 18px;
    }

    .geometric-shapes .shape-hexagon {
        width: 16px;
        height: 16px;
    }

    .floating-shapes-container .floating-shape {
        width: 20px;
        height: 20px;
    }
}

/* Extra Small Mobile Devices - Simplified */
@media (max-width: 360px) {
    .hero-content {
        padding-top: calc(var(--header-height) + 1rem);
        padding-left: 0;
        padding-right: 0;
        max-width: 100vw;
        width: 100vw;
    }

    .hero-description {
        font-size: clamp(0.625rem, 2vw, 0.75rem);
        margin-bottom: 1rem;
    }

    .hero-btn {
        max-width: 200px;
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    /* Minimal floating elements for very small screens */
    .dna-helix {
        display: none;
    }

    .neural-network {
        display: none;
    }

    .quantum-particles {
        display: none;
    }

    .floating-orbs .orb-1,
    .floating-orbs .orb-3 {
        display: none;
    }

    .geometric-shapes .shape-triangle,
    .geometric-shapes .shape-hexagon {
        display: none;
    }

    .data-streams {
        display: none;
    }

    .energy-field .ring-2,
    .energy-field .ring-3 {
        display: none;
    }

    .light-rays .ray-2,
    .light-rays .ray-4 {
        display: none;
    }

    .medical-icons {
        display: none;
    }

    .floating-shapes-container .floating-shape:nth-child(n+3) {
        display: none;
    }
}

/* Landscape Mobile Optimization - Simplified */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 0;
    }

    .hero-content {
        padding-top: calc(var(--header-height) + 1rem);
        padding-left: 0;
        padding-right: 0;
        max-width: 100vw;
        width: 100vw;
    }

    .title-container {
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: clamp(0.75rem, 2vw, 1rem);
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .hero-actions {
        flex-direction: row;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-btn {
        width: auto;
        max-width: 180px;
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    /* Adjust floating elements for landscape */
    .dna-helix {
        top: 10%;
        right: 3%;
        width: 100px;
        height: 200px;
        transform: translateY(-50%) rotateZ(-15deg) scale(0.5);
    }

    .neural-network {
        top: 5%;
        left: 3%;
        width: 120px;
        height: 80px;
    }

    .floating-orbs .orb-1 {
        width: 50px;
        height: 50px;
        top: 10%;
        left: 3%;
    }

    .floating-orbs .orb-2 {
        width: 35px;
        height: 35px;
        top: 50%;
        right: 5%;
    }

    .floating-orbs .orb-3 {
        width: 40px;
        height: 40px;
        bottom: 20%;
        left: 8%;
    }

    .floating-orbs .orb-4 {
        width: 25px;
        height: 25px;
        top: 30%;
        left: 50%;
    }
}

/* High DPI Mobile Devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .floating-shape,
    .subtle-particle,
    .neural-node,
    .quantum-particle,
    .data-bit {
        transform: scale(0.8);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .floating-shape:hover,
    .neural-node:hover,
    .quantum-particle:hover {
        transform: none;
    }

    .hero-btn:hover {
        transform: none;
    }

    .hero-btn:active {
        transform: scale(0.98);
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    .dna-helix,
    .neural-network,
    .quantum-particles,
    .floating-orbs
    .geometric-shapes,
    .data-streams,
    .energy-field,
    .light-rays,
    .medical-icons,
    .floating-shapes-container,
    .subtle-particles-container {
        animation: none;
    }

    .hero-btn::before,
    .btn-glow {
        animation: none;
    }

    .scroll-line {
        animation: none;
    }
}


