/* ===================================
   HearAssist - Advanced Styling
   Modern, Futuristic, Glassmorphism Design
   =================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
/* Color Palette - Neon & Gradients */
:root {
    /* Color Palette - Neon & Gradients */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #a855f7;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Background Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-tertiary: #737373;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-neon: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.5);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== LIGHT MODE THEME ===== */
/* Optional light theme override for accessibility */
body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #e5e5e7;
    --text-primary: #1a1a1a;
    --text-secondary: #6b6b6b;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.1);
}

/* ===== GLOBAL STYLES ===== */
/* Base HTML and body styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Prevent horizontal scroll on all devices */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improve touch interactions on mobile */
a, button, .btn, .nav-link, .social-link, .chatbot-toggle {
    -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2);
    touch-action: manipulation;
}

/* Prevent text selection on interactive elements */
.btn, button, .nav-toggle, .slider-btn, .chatbot-toggle {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Responsive images and media */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix for embedded videos */
iframe {
    max-width: 100%;
}

body.large-text {
    font-size: 18px;
}

body.high-contrast {
    --text-primary: #ffffff;
    --bg-primary: #000000;
    --primary: #00ff00;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== ACCESSIBILITY CONTROLS ===== */
/* Fixed position accessibility buttons for theme and text size toggles */
.accessibility-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.btn-icon:hover {
    background: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

/* ===== NAVIGATION ===== */
/* Fixed navigation bar with glassmorphism effect and mobile menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.logo-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.highlight {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-neon);
    transition: var(--transition-normal);
}

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

.btn-primary-small {
    padding: 0.5rem 1.5rem;
    background: var(--gradient-neon);
    border-radius: 50px;
    color: white !important;
}

.btn-primary-small::after {
    display: none;
}

/* Simulator Button in Navigation */
.nav-simulator-btn {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-simulator-btn::after {
    display: none;
}

.nav-simulator-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.nav-simulator-btn i {
    font-size: 1.1em;
    animation: phone-pulse 2s ease-in-out infinite;
}

@keyframes phone-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: var(--transition-fast);
}

/* ===== HERO SECTION ===== */
/* Full-screen hero with animated background slider and main content */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* ===== HERO SLIDER BACKGROUND ===== */
/* Full-screen background image slider with overlay effects */
.hero-slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.3) 0%, rgba(26, 26, 36, 0.2) 100%);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#soundWaveCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* ===== HERO CONTENT ===== */
/* Main hero text, buttons, and call-to-action elements */
.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 2s ease-out, textGlow 3s ease-in-out infinite alternate;
}

.hero-title strong {
    font-weight: 400;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    animation: fadeInScale 2.5s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 2.5s ease-out;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-neon);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.7);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-3px);
}

/* ===== IMAGE SLIDER ===== */
/* Interactive image carousel with navigation controls */
.image-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.slider-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    animation: bounce 2s infinite;
    z-index: 2;
}

/* ===== GLASSMORPHISM CARD COMPONENT ===== */
/* Reusable glass effect card with hover animations */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

/* ===== ABOUT SECTION ===== */
/* Company mission, vision, and key highlights */
.about-section {
    padding: var(--spacing-xl) 0;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

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

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.mission-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary);
    padding: 0.8rem;
    background: var(--glass-bg);
    border-radius: 15px;
}

.highlight-item h4 {
    margin-bottom: 0.3rem;
}

.highlight-item p {
    color: var(--text-secondary);
}

.stats-card {
    padding: 2rem;
}

.stats-card h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.impact-stat {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.impact-stat:last-child {
    border-bottom: none;
}

.impact-stat i {
    font-size: 2rem;
    color: var(--primary);
}

.impact-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-light);
}

.impact-stat span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== HOW IT WORKS SECTION ===== */
/* Process flow diagram showing device functionality */
.howitworks-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.flow-step {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    min-width: 250px;
    position: relative;
    transition: var(--transition-normal);
}

.flow-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-neon);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.flow-step h3 {
    margin-bottom: 1rem;
}

.flow-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary);
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.spec-card {
    text-align: center;
    padding: 2rem;
}

.spec-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.spec-card h4 {
    margin-bottom: 0.5rem;
}

.spec-card p {
    color: var(--text-secondary);
}

/* ===== FEATURES SECTION ===== */
/* Key product features and capabilities grid */
.features-section {
    padding: var(--spacing-xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-neon);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

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

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

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 800;
}

/* ===== INTERACTIVE DEMO SECTION ===== */
/* Experience vibration patterns and mode switching */
.demo-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: pulse 4s ease-in-out infinite;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto 3rem;
}

/* Mode Toggle */
.mode-toggle-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.mode-btn {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
}

.mode-btn i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.mode-btn span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mode-btn small {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.mode-btn:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.mode-btn.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.mode-btn.active i {
    color: var(--primary);
    transform: scale(1.1);
}

/* Mode Visual Indicator */
.mode-visual-indicator {
    position: relative;
    height: 300px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mode-animation {
    position: absolute;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.mode-animation.active {
    opacity: 1;
}

.mode-icon {
    font-size: 4rem;
    color: var(--primary);
    z-index: 2;
}

/* Indoor Animation - Concentric Waves */
.indoor-animation .wave-circle {
    position: absolute;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: wave-expand 2s ease-out infinite;
}

.indoor-animation .wave-circle:nth-child(1) {
    animation-delay: 0s;
}

.indoor-animation .wave-circle:nth-child(2) {
    animation-delay: 0.7s;
}

.indoor-animation .wave-circle:nth-child(3) {
    animation-delay: 1.4s;
}

@keyframes wave-expand {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    100% {
        width: 250px;
        height: 250px;
        opacity: 0;
    }
}

/* Outdoor Animation - Radar Sweep */
.outdoor-animation .radar-ring {
    position: absolute;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.3;
}

.outdoor-animation .radar-ring:nth-child(2) {
    width: 150px;
    height: 150px;
}

.outdoor-animation .radar-ring:nth-child(3) {
    width: 220px;
    height: 220px;
}

.outdoor-animation .radar-sweep {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 270deg,
        rgba(236, 72, 153, 0.6) 315deg,
        transparent 360deg
    );
    animation: radar-spin 3s linear infinite;
}

@keyframes radar-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sound Grid */
.sound-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    perspective: 1000px;
}

.sound-card {
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: none; /* Hidden by default */
}

.sound-card.indoor-sound {
    display: block; /* Show indoor sounds initially */
}

.sound-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.sound-card:hover::before {
    left: 100%;
}

.sound-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.sound-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

.sound-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
}

.sound-icon.critical {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.3));
    color: var(--danger);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.sound-icon.high {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
    color: var(--warning);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.sound-icon.medium {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(79, 70, 229, 0.3));
    color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.sound-icon.low {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
    color: var(--success);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.sound-card h4 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.priority-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.priority-badge.critical {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.priority-badge.high {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.priority-badge.medium {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.priority-badge.low {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.vibration-pattern {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

/* Vibration Visualizer */
.vibration-visualizer {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
}

.visualizer-header {
    margin-bottom: 2rem;
}

.visualizer-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.visualizer-header h3 {
    margin: 1rem 0 0.5rem;
}

.visualizer-header p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.visualizer-display {
    position: relative;
    min-height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    overflow: hidden;
    padding: 2rem;
    border: 2px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.pulse-indicator {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.visualizer-display.active .pulse-indicator {
    opacity: 1;
    animation: pulse-glow 0.6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

.wave-bars {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 60px;
}

.wave-bars .bar {
    width: 8px;
    background: var(--primary);
    border-radius: 4px;
    height: 20px;
    transition: height 0.1s ease;
}

.visualizer-display.active .bar {
    animation: bar-bounce 0.6s ease-in-out infinite;
}

.visualizer-display.active .bar:nth-child(1) { animation-delay: 0s; }
.visualizer-display.active .bar:nth-child(2) { animation-delay: 0.1s; }
.visualizer-display.active .bar:nth-child(3) { animation-delay: 0.2s; }
.visualizer-display.active .bar:nth-child(4) { animation-delay: 0.1s; }
.visualizer-display.active .bar:nth-child(5) { animation-delay: 0s; }

@keyframes bar-bounce {
    0%, 100% { height: 20px; }
    50% { height: 55px; }
}

.sound-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    width: 100%;
    text-align: center;
}

.sensitivity-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.sensitivity-icon {
    font-size: 1.5rem;
}

.sensitivity-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Live Detection Button */
.live-detection-container {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 20px;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.btn-live-detection {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 1.5rem 3.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-live-detection::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-live-detection:hover::before {
    width: 300px;
    height: 300px;
}

.btn-live-detection:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.6);
}

.btn-live-detection.listening {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulse-red 2s infinite;
}

.btn-live-detection.listening::after {
    content: '🎤 LISTENING...';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(239, 68, 68, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: float 2s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.9);
        transform: scale(1.02);
    }
}

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

.live-detection-info {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* ===== IMPACT SECTION ===== */
/* Global statistics and market opportunity metrics */
.impact-section {
    padding: var(--spacing-xl) 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.impact-card {
    text-align: center;
    padding: 2rem;
}

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

.impact-card h3 {
    margin-bottom: 1rem;
}

.impact-card p {
    color: var(--text-secondary);
}

/* ===== TEAM SECTION ===== */
/* Team member profiles with social links */
.team-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    position: relative;
    border: 3px solid var(--primary);
}

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

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.team-avatar:hover .avatar-overlay {
    opacity: 1;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    transform: scale(1.1);
}

.team-role {
    display: block;
    color: var(--primary-light);
    margin: 0.5rem 0;
    font-weight: 600;
}

.team-card p {
    color: var(--text-secondary);
}

/* ===== COLLABORATION SECTION ===== */
/* Partnership opportunities and contact forms */
.collaboration-section {
    padding: var(--spacing-xl) 0;
}

.collaboration-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.collaboration-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 2rem 0;
}

.partner-types {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.partner-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.partner-type i {
    font-size: 2.5rem;
    color: var(--primary);
}

.contact-form {
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 3rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
/* Site footer with links, social media, and company info */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary);
    font-size: 2rem;
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 1.5rem;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-col ul li i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

/* ===== CHATBOT INTERFACE ===== */
/* AI-powered chat assistant with message history */
.chatbot {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition-normal);
}

.chatbot.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.chatbot-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.chatbot-header h4 {
    flex: 1;
    margin: 0;
}

.chatbot-status {
    font-size: 0.8rem;
    color: var(--success);
}

.chatbot-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.chatbot-close:hover {
    background: var(--danger);
    color: white;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-message {
    padding: 1rem;
    border-radius: 15px;
    max-width: 80%;
    animation: slideInRight 0.3s ease;
}

.chatbot-message.bot {
    background: var(--primary);
    color: white;
    align-self: flex-start;
}

.chatbot-message.user {
    background: var(--bg-secondary);
    color: var(--text-primary);
    align-self: flex-end;
}

/* ===== TYPING INDICATOR ===== */
.typing-indicator {
    padding: 1rem;
}

.typing-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

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

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

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    padding: 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    color: var(--text-primary);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chatbot-input button:hover {
    transform: scale(1.1);
}

.chatbot-suggestions {
    padding: 0 1rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.suggestion-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-neon);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    z-index: 999;
    transition: var(--transition-normal);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

/* ===== ANIMATIONS ===== */
/* Keyframe animations for UI interactions and transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
/* Mobile and tablet optimizations */

/* Tablet view (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tech-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .flow-diagram {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* Mobile view (max-width: 768px) */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    /* ===== NAVIGATION ===== */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition-normal);
        z-index: 998;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    /* ===== HERO SECTION ===== */
    .hero {
        min-height: 100vh;
        padding: 80px 1rem 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-title strong {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 15px;
        font-size: 0.85rem;
    }

    /* ===== PROMO VIDEO ===== */
    .promo-section {
        height: 60vh;
        min-height: 400px;
    }

    .video-indicator {
        bottom: 80px;
    }

    .indicator-dot {
        width: 10px;
        height: 10px;
    }

    .brand-title {
        font-size: 3rem;
        letter-spacing: 4px;
        flex-direction: column;
        gap: 0.5rem;
    }

    .brand-tagline {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .brand-features {
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .feature-pill {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .feature-pill i {
        font-size: 1rem;
    }

    .promo-sound-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }

    /* ===== ABOUT SECTION ===== */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .about-text {
        font-size: 1rem;
    }

    .mission-highlights {
        gap: 1rem;
    }

    .highlight-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .highlight-item i {
        font-size: 1.5rem;
        padding: 0.6rem;
    }

    .stats-card {
        padding: 1.5rem;
    }

    .stats-card h3 {
        font-size: 1.5rem;
    }

    .impact-stat {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .impact-stat i {
        font-size: 1.5rem;
    }

    .impact-stat strong {
        font-size: 1.3rem;
    }

    /* ===== HOW IT WORKS ===== */
    .howitworks-section {
        padding: var(--spacing-lg) 0;
    }

    .flow-diagram {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    .flow-step {
        min-width: 100%;
        padding: 1.5rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .tech-specs {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .spec-card {
        padding: 1.5rem;
    }

    .spec-card i {
        font-size: 2rem;
    }

    .spec-card h4 {
        font-size: 0.95rem;
    }

    /* ===== FEATURES SECTION ===== */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    /* ===== IMPACT SECTION ===== */
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .impact-card {
        padding: 1.5rem;
    }

    .impact-card i {
        font-size: 2rem;
    }

    /* ===== DEMO SECTION ===== */
    .live-detection-container {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .btn-live-detection {
        padding: 1.2rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .btn-live-detection.listening::after {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .live-detection-info {
        font-size: 0.9rem;
    }

    .mode-toggle-container {
        flex-direction: column;
        gap: 1rem;
    }

    .mode-btn {
        min-width: 100%;
        padding: 1.2rem 1.5rem;
    }

    .mode-visual-indicator {
        height: 200px;
    }

    .mode-animation {
        width: 150px;
        height: 150px;
    }

    .mode-icon {
        font-size: 3rem;
    }

    .sound-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sound-card {
        padding: 1rem;
    }

    .sound-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .sound-card h4 {
        font-size: 0.95rem;
    }

    .vibration-visualizer {
        padding: 1.5rem;
    }

    .visualizer-header i {
        font-size: 2rem;
    }

    .visualizer-display {
        height: 150px;
    }

    .pulse-indicator {
        width: 60px;
        height: 60px;
    }

    .wave-bars {
        height: 40px;
    }

    .wave-bars .bar {
        width: 6px;
    }

    /* ===== TEAM SECTION ===== */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
    }

    /* ===== COLLABORATION SECTION ===== */
    .collaboration-text {
        font-size: 1rem;
    }

    .partner-types {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .partner-type i {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* ===== FOOTER ===== */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* ===== CHATBOT ===== */
    .chatbot {
        width: 100%;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .chatbot-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.3rem;
    }

    /* ===== ACCESSIBILITY CONTROLS ===== */
    .accessibility-controls {
        bottom: 80px;
        left: 15px;
    }

    .btn-icon {
        width: 40px;
        height: 40px;
    }

    /* ===== IMAGE SLIDER ===== */
    .image-slider {
        max-width: 100%;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* ===== SPACING ADJUSTMENTS ===== */
    .about-section,
    .features-section,
    .impact-section,
    .team-section,
    .collaboration-section {
        padding: var(--spacing-lg) 0;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Small mobile view (max-width: 480px) */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title strong {
        font-size: 2rem;
    }

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

    .tech-specs {
        grid-template-columns: 1fr;
    }

    .spec-card {
        padding: 1rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .chatbot-suggestions {
        flex-direction: column;
    }

    .suggestion-btn {
        width: 100%;
        text-align: center;
    }

    .partner-type {
        width: 100%;
    }

    /* ===== PROMO VIDEO - SMALL MOBILE ===== */
    .brand-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .brand-tagline {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .brand-features {
        flex-direction: column;
        gap: 0.6rem;
    }

    .feature-pill {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        max-width: 250px;
    }
}

/* Landscape mobile fix */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 1rem 2rem;
    }

    .promo-section {
        height: 100vh;
    }

    .nav-menu {
        height: calc(100vh - 70px);
    }
}

/* ===== PROMO VIDEO SECTION ===== */
/* Sequential video playback with glossy overlay and branding */
.promo-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    min-height: 500px;
    background: #000;
}

.promo-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ===== VIDEO CONTAINERS ===== */
.promo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: brightness(0.75) saturate(1.2);
}

.promo-video.active {
    opacity: 1;
    z-index: 2;
}

/* ===== VIDEO PROGRESS INDICATORS ===== */
.video-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 25;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.indicator-dot.active {
    background: rgba(99, 102, 241, 0.8);
    border-color: rgba(99, 102, 241, 1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
    transform: scale(1.3);
}

/* ===== GLOSSY GRADIENT OVERLAY ===== */
.promo-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(168, 85, 247, 0.1) 25%,
        transparent 50%,
        rgba(236, 72, 153, 0.1) 75%,
        rgba(99, 102, 241, 0.15) 100%
    );
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* ===== BRAND OVERLAY ===== */
.promo-brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(10, 10, 15, 0.3) 0%,
        rgba(10, 10, 15, 0.6) 100%
    );
}

.brand-content {
    text-align: center;
    animation: fadeInScale 1.5s ease-out;
}

/* ===== BRAND TITLE ===== */
.brand-logo-text {
    margin-bottom: 2rem;
}

.brand-title {
    font-size: 7rem;
    font-weight: 900;
    font-family: var(--font-display);
    letter-spacing: 8px;
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.brand-hear {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    animation: shimmer 3s ease-in-out infinite;
}

.brand-assist {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: shimmer 3s ease-in-out infinite 0.3s;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px currentColor);
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 40px currentColor);
    }
}

/* ===== BRAND TAGLINE ===== */
.brand-tagline {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 255, 255, 0.6) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 2s ease-out 0.5s both;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

/* ===== FEATURE PILLS ===== */
.brand-features {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 2s ease-out 1s both;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    pointer-events: all;
    cursor: default;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 30px rgba(99, 102, 241, 0.3);
}

.feature-pill i {
    font-size: 1.2rem;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SOUND TOGGLE BUTTON ===== */
.promo-sound-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    font-size: 1.3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    pointer-events: all;
}

.promo-sound-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.promo-sound-btn.unmuted {
    background: rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.promo-sound-btn.unmuted:hover {
    background: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.7);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

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

/* ===== PRINT STYLES ===== */
/* Optimized styles for printing and accessibility */
@media print {
    .navbar,
    .accessibility-controls,
    .chatbot,
    .chatbot-toggle,
    .scroll-indicator {
        display: none;
    }
}
