/* Global Overflow Prevention - Critical for all devices */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

/* CSS Variables for Theme Support */
:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-primary: #8b5cf6;
    --accent-secondary: #06b6d4;
    --accent-tertiary: #f97316;
    --border-light: rgba(148, 163, 184, 0.1);
    --border-medium: rgba(148, 163, 184, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #f97316 100%);
    --gradient-tertiary: linear-gradient(135deg, #8b5cf6 0%, #f97316 100%);
}

[data-theme="dark"] {
    /* Dark Theme Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-primary: #6b46c1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #a78bfa;
    --border-light: rgba(148, 163, 184, 0.1);
    --border-medium: rgba(148, 163, 184, 0.2);
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(148, 163, 184, 0.15);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}

.lang-switch-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 2rem;
    padding: 0.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lang-switch-container:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    will-change: transform;
}

.lang-label {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    user-select: none;
    cursor: pointer;
}

.lang-label.active {
    color: #3b82f6;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.lang-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.lang-switch:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.lang-switch-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.lang-switch-slider .lang-flag {
    font-size: 0.9rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Arabic position (right side) - handled by .lang-switch.ar class above */
[dir="rtl"] .lang-switch-slider {
    left: auto;
    right: 2px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

/* RTL Support */
[dir="rtl"] .language-switcher {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .lang-switch-container {
    flex-direction: row-reverse;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Fix AI Assistant text wrapping on mobile */
    .logo-tagline {
        white-space: nowrap !important;
        font-size: 0.6rem !important;
    }
    
    /* Ensure logo wrapper doesn't shrink */
    .logo-wrapper {
        flex-shrink: 0 !important;
        min-width: auto !important;
    }
    
    .logo-text-container {
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }
    
    .language-switcher {
        margin-right: 0.25rem;
    }

    .lang-switch-container {
        gap: 0.5rem;
        padding: 0.2rem;
    }

    .lang-label {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }

    .lang-switch {
        width: 50px;
        height: 28px;
    }

    .lang-switch-slider {
        width: 22px;
        height: 22px;
    }

    .lang-switch-slider .lang-flag {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .lang-switch-container {
        gap: 0.4rem;
    }

    .lang-label {
        font-size: 0.7rem;
    }

    .lang-switch {
        width: 45px;
        height: 26px;
    }

    .lang-switch-slider {
        width: 20px;
        height: 20px;
    }
}

/* Animation for switch toggle */
.lang-switch-slider {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Language Transition Effects */
.language-transitioning * {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.language-transitioning .navbar,
.language-transitioning .hero,
.language-transitioning .section,
.language-transitioning .card,
.language-transitioning .industry-card,
.language-transitioning .capability-card,
.language-transitioning .use-case-card {
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Smooth language switching animations */
.language-transitioning {
    overflow-x: hidden;
}

.language-transitioning .hero-content,
.language-transitioning .section-header,
.language-transitioning .card-content {
    opacity: 0.8;
    transform: translateY(5px);
}

.lang-switch.ar .lang-switch-slider {
    left: auto;
    right: 2px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    transform: translateX(0);
}

.lang-switch.en .lang-switch-slider {
    left: 2px;
    right: auto;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: translateX(0);
}

@keyframes slideToRight {
    from { left: 2px; right: auto; }
    to { left: auto; right: 2px; }
}

@keyframes slideToLeft {
    from { left: auto; right: 2px; }
    to { left: 2px; right: auto; }
}

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

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Default Cursor System */
body {
    cursor: auto;
}

/* Interactive Element Cursors */
button, .cta-button, .btn, a, [onclick], [role="button"] {
    cursor: pointer;
}

input, textarea, select {
    cursor: text;
}

.disabled, [disabled] {
    cursor: not-allowed;
}

/* Main Neon Cursor */
.custom-cursor {
    position: fixed;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 10001;
    transition: all 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(-2px, -2px) rotate(-45deg);
    /* Constrain cursor to viewport bounds */
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    min-width: 0;
    min-height: 0;
}

/* Arrow Head */
.custom-cursor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 16px solid #8b5cf6;
}

/* Arrow Body */
.custom-cursor::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 4px;
    width: 8px;
    height: 12px;
    background: linear-gradient(180deg, #8b5cf6 0%, #ec4899 100%);
}

/* Clean Cursor - No Glow */
.custom-cursor {
    filter: none;
}

/* Hover State - Scale Only */
.custom-cursor.hover {
    transform: translate(-2px, -2px) rotate(-45deg) scale(1.2);
    filter: none;
}

/* Click State - Pulsing Effect */
.custom-cursor.click {
    transform: translate(-2px, -2px) rotate(-45deg) scale(0.9);
    filter: none;
    animation: neonPulse 0.3s ease-out;
}

@keyframes neonPulse {
    0% { transform: translate(-2px, -2px) rotate(-45deg) scale(1.1); }
    50% { transform: translate(-2px, -2px) rotate(-45deg) scale(0.8); }
    100% { transform: translate(-2px, -2px) rotate(-45deg) scale(0.9); }
}

/* Text Cursor - I-beam Style */
.custom-cursor.text {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, #8b5cf6 0%, #ec4899 100%);
    border-radius: 1px;
    filter: none;
    transform: translate(-1px, -10px) rotate(0deg);
    clip-path: none;
}

/* Cursor Trail - Clean Particles */
.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, rgba(236, 72, 153, 0.4) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    animation: neonTrail 1.2s ease-out forwards;
    filter: none;
}

@keyframes neonTrail {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}

/* Smooth Transitions */
* {
    transition: cursor 0.05s ease;
}

/* Fallback for Mobile */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .custom-cursor {
        display: none;
    }
}

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

.section {
    padding: 3rem 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Initially hide main content sections until loading completes */
.hero-section,
#capabilities,
#industries,
.badges-section,
section[style*="background: #0f172a"] {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    animation: fadeInContent 0.8s ease-in-out 6s forwards;
}

/* Fallback animation to ensure content appears */
@keyframes fadeInContent {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

/* Enhanced Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 30%, #16213e 70%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    overflow: hidden;
    cursor: default;
    position: relative;
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.01) 50%, transparent 70%);
    animation: backgroundShift 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(2px) translateY(-1px); }
    50% { transform: translateX(-1px) translateY(2px); }
    75% { transform: translateX(1px) translateY(1px); }
}

/* Enhanced Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    position: relative;
}

.spinner-ring {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin: 0 0.8rem;
    position: relative;
    background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
}

.spinner-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-top: 2px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite reverse;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.3s;
    background: conic-gradient(from 0deg, transparent, rgba(236, 72, 153, 0.3), transparent);
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.3));
}

.spinner-ring:nth-child(2)::before {
    border-top-color: #ec4899;
    animation-delay: 0.1s;
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.6s;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

.spinner-ring:nth-child(3)::before {
    border-top-color: #3b82f6;
    animation-delay: 0.2s;
}

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

/* Disable custom cursor in loading screen and use normal cursor */
.loading-screen {
    cursor: default !important;
}

.loading-screen * {
    cursor: default !important;
}

.loading-screen .custom-cursor {
    display: none !important;
}

/* Hide custom cursor completely during loading */
body.loading .custom-cursor {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Specifically disable text cursor (I-beam) in loading screen */
.loading-screen input,
.loading-screen textarea,
.loading-screen [contenteditable],
.loading-screen .loading-text,
.loading-screen .fun-loading-text,
.loading-screen .code-snippet,
.loading-screen .floating-code,
.loading-screen .floating-code * {
    cursor: default !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    pointer-events: none !important;
    caret-color: transparent !important;
}

/* Force disable any text input behavior in loading screen */
.loading-screen * {
    caret-color: transparent !important;
    -webkit-text-stroke: none !important;
    text-decoration: none !important;
}

/* Ensure mobile menu works outside loading screen */
.navbar,
.navbar *,
.mobile-menu-toggle,
.nav-links {
    pointer-events: auto !important;
}

/* Force mobile menu toggle to be visible on all mobile devices */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
        background: rgba(139, 92, 246, 0.9) !important;
        border: 2px solid #8b5cf6 !important;
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.6) !important;
        width: 40px !important;
        height: 40px !important;
        position: relative !important;
        margin-left: auto !important;
    }
    
    .navbar .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
}

/* Force mobile menu toggle to be visible on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1002 !important;
        background: rgba(139, 92, 246, 0.9) !important;
        border: 2px solid #8b5cf6 !important;
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.6) !important;
        width: 40px !important;
        height: 40px !important;
        position: relative !important;
    }
}

/* Ensure skip loading button is clickable */
#skipLoading {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Force mobile menu toggle to be visible - highest priority */
@media screen and (max-width: 768px) {
    #mobileMenuToggle,
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
        background: rgba(139, 92, 246, 0.9) !important;
        border: 2px solid #8b5cf6 !important;
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.6) !important;
        width: 40px !important;
        height: 40px !important;
        position: relative !important;
        margin-left: auto !important;
    }
    
    /* Force navbar to show mobile toggle */
    .navbar .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .navbar .nav-container .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Force mobile menu to appear as fullscreen - HIGHEST PRIORITY */
    #navLinks.mobile-open {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 99999 !important;
        background: linear-gradient(135deg, 
            rgba(15, 23, 42, 0.98) 0%, 
            rgba(30, 41, 59, 0.95) 50%, 
            rgba(15, 23, 42, 0.98) 100%) !important;
        backdrop-filter: blur(25px) !important;
        flex-direction: column !important;
        padding: 2rem 1.5rem !important;
        gap: 2rem !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5) !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Override any conflicting display rules for mobile menu */
    .nav-links.mobile-open {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 99999 !important;
        background: linear-gradient(135deg, 
            rgba(15, 23, 42, 0.98) 0%, 
            rgba(30, 41, 59, 0.95) 50%, 
            rgba(15, 23, 42, 0.98) 100%) !important;
        backdrop-filter: blur(25px) !important;
        flex-direction: column !important;
        padding: 2rem 1.5rem !important;
        gap: 2rem !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5) !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hide the original navbar when mobile menu is open */
    .navbar.mobile-menu-open {
        display: none !important;
    }
    
    /* Style the mobile menu links for fullscreen */
    #navLinks.mobile-open .nav-link,
    .nav-links.mobile-open .nav-link {
        font-size: 1.5rem !important;
        padding: 1.5rem 2rem !important;
        margin: 0.5rem 0 !important;
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        background: rgba(139, 92, 246, 0.1) !important;
        border: 2px solid rgba(139, 92, 246, 0.3) !important;
        border-radius: 12px !important;
        transition: all 0.3s ease !important;
    }
    
    #navLinks.mobile-open .nav-link:hover,
    .nav-links.mobile-open .nav-link:hover {
        background: rgba(139, 92, 246, 0.2) !important;
        border-color: rgba(139, 92, 246, 0.5) !important;
        transform: scale(1.05) !important;
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3) !important;
    }
    
    /* Add close button for mobile menu */
    #navLinks.mobile-open::before,
    .nav-links.mobile-open::before {
        content: '✕';
        position: absolute;
        top: 2rem;
        right: 2rem;
        width: 48px;
        height: 48px;
        background: rgba(236, 72, 153, 0.2);
        border: 2px solid rgba(236, 72, 153, 0.3);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.5rem;
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.3s ease;
        z-index: 10000;
    }
    
    #navLinks.mobile-open::before:hover,
    .nav-links.mobile-open::before:hover {
        background: rgba(236, 72, 153, 0.4);
        border-color: rgba(236, 72, 153, 0.6);
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
    }
    
    /* Add entrance animation for mobile menu */
    #navLinks.mobile-open,
    .nav-links.mobile-open {
        animation: mobileMenuSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    @keyframes mobileMenuSlideIn {
        from {
            opacity: 0;
            transform: scale(0.9) translateY(20px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
    
    /* Add entrance animation for nav links */
    #navLinks.mobile-open .nav-link,
    .nav-links.mobile-open .nav-link {
        animation: navLinkFadeIn 0.5s ease forwards;
        opacity: 0;
        transform: translateY(20px);
    }
    
    #navLinks.mobile-open .nav-link:nth-child(1),
    .nav-links.mobile-open .nav-link:nth-child(1) { animation-delay: 0.1s; }
    #navLinks.mobile-open .nav-link:nth-child(2),
    .nav-links.mobile-open .nav-link:nth-child(2) { animation-delay: 0.2s; }
    #navLinks.mobile-open .nav-link:nth-child(3),
    .nav-links.mobile-open .nav-link:nth-child(3) { animation-delay: 0.3s; }
    #navLinks.mobile-open .nav-link:nth-child(4),
    .nav-links.mobile-open .nav-link:nth-child(4) { animation-delay: 0.4s; }
    #navLinks.mobile-open .nav-link:nth-child(5),
    .nav-links.mobile-open .nav-link:nth-child(5) { animation-delay: 0.5s; }
    
    @keyframes navLinkFadeIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Ensure desktop version remains unchanged */
@media screen and (min-width: 769px) {
    .nav-links,
    #navLinks {
        display: flex !important;
    }
    
    #navLinks.mobile-open {
        display: none !important;
    }
    
    .navbar.mobile-menu-open {
        display: flex !important;
    }
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    padding: 3rem;
    box-sizing: border-box;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(236, 72, 153, 0.05) 100%);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.loading-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.loading-text h2 {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 25%, #c7d2fe 50%, #a5b4fc 75%, #8b5cf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        0.1em 0 0 rgba(139, 92, 246, 0.3),
        -0.1em -0.05em 0 rgba(236, 72, 153, 0.3),
        0.05em 0.1em 0 rgba(59, 130, 246, 0.3);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.2));
    letter-spacing: 0.1em;
}

.loading-text p {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: text-fade 2s ease-in-out infinite;
}

.fun-loading-text {
    margin: 0;
    min-height: 2rem;
}

.fun-loading-text span {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: text-fade 0.5s ease-in-out;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: loading-bounce 1.4s ease-in-out infinite both;
}

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

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

@keyframes loading-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

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

/* Animated Background Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 80%; left: 40%; animation-delay: 2s; }
.particle:nth-child(4) { top: 40%; left: 60%; animation-delay: 3s; }
.particle:nth-child(5) { top: 10%; left: 70%; animation-delay: 4s; }
.particle:nth-child(6) { top: 70%; left: 10%; animation-delay: 5s; }
.particle:nth-child(7) { top: 30%; left: 90%; animation-delay: 1.5s; }
.particle:nth-child(8) { top: 90%; left: 30%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Floating Code Elements */
.floating-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.code-snippet {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: bold;
    animation: codeFloat 8s linear infinite;
    cursor: default !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    pointer-events: none !important;
}

.code-snippet:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.code-snippet:nth-child(2) { top: 25%; right: 15%; animation-delay: 1.5s; }
.code-snippet:nth-child(3) { top: 75%; left: 20%; animation-delay: 3s; }
.code-snippet:nth-child(4) { top: 85%; right: 25%; animation-delay: 4.5s; }
.code-snippet:nth-child(5) { top: 45%; left: 5%; animation-delay: 6s; }
.code-snippet:nth-child(6) { top: 55%; right: 5%; animation-delay: 7.5s; }

@keyframes codeFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Enhanced 3D Rotating Logo */
.logo-3d {
    perspective: 1000px;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo-3d::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

.logo-cube {
    position: relative;
    width: 120px;
    height: 120px;
    transform-style: preserve-3d;
    animation: rotate3d 6s linear infinite, float 3s ease-in-out infinite;
    margin: 0 auto;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
}

.cube-face {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 25%, #c7d2fe 50%, #a5b4fc 75%, #8b5cf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    backdrop-filter: blur(15px);
    box-shadow: 
        inset 0 0 20px rgba(139, 92, 246, 0.2),
        0 0 20px rgba(139, 92, 246, 0.1);
}

.cube-face.front { transform: rotateY(0deg) translateZ(60px); }
.cube-face.back { transform: rotateY(180deg) translateZ(60px); }
.cube-face.right { transform: rotateY(90deg) translateZ(60px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(60px); }
.cube-face.top { transform: rotateX(90deg) translateZ(60px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }

@keyframes rotate3d {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

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

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

/* Enhanced Glitch Text Effect */
.glitch-text {
    position: relative;
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff 0%, #e0e7ff 25%, #c7d2fe 50%, #a5b4fc 75%, #8b5cf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        0.1em 0 0 rgba(139, 92, 246, 0.3),
        -0.1em -0.05em 0 rgba(236, 72, 153, 0.3),
        0.05em 0.1em 0 rgba(59, 130, 246, 0.3);
    animation: glitch 3s infinite;
    text-align: center;
    width: 100%;
    display: block;
    letter-spacing: 0.1em;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.2));
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ffffff 0%, #e0e7ff 25%, #c7d2fe 50%, #a5b4fc 75%, #8b5cf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glitch-text::before {
    animation: glitch-1 0.8s infinite;
    color: #8b5cf6;
    z-index: -1;
    filter: blur(1px);
}

.glitch-text::after {
    animation: glitch-2 0.8s infinite;
    color: #ec4899;
    z-index: -2;
    filter: blur(2px);
}

@keyframes glitch {
    0%, 100% { 
        transform: translate(0) scale(1);
        filter: hue-rotate(0deg);
    }
    10% { 
        transform: translate(-3px, 3px) scale(1.02);
        filter: hue-rotate(90deg);
    }
    20% { 
        transform: translate(3px, -3px) scale(0.98);
        filter: hue-rotate(180deg);
    }
    30% { 
        transform: translate(-2px, 2px) scale(1.01);
        filter: hue-rotate(270deg);
    }
    40% { 
        transform: translate(2px, 2px) scale(0.99);
        filter: hue-rotate(360deg);
    }
    50% { 
        transform: translate(-1px, -1px) scale(1.01);
        filter: hue-rotate(45deg);
    }
    60% { 
        transform: translate(1px, 1px) scale(0.98);
        filter: hue-rotate(135deg);
    }
    70% { 
        transform: translate(-1px, 1px) scale(1.02);
        filter: hue-rotate(225deg);
    }
    80% { 
        transform: translate(1px, -1px) scale(0.99);
        filter: hue-rotate(315deg);
    }
    90% { 
        transform: translate(0, 0) scale(1);
        filter: hue-rotate(0deg);
    }
}

@keyframes glitch-1 {
    0%, 100% { 
        transform: translate(0) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translate(4px, -4px) scale(1.05);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-4px, 4px) scale(0.95);
        opacity: 0.4;
    }
    75% { 
        transform: translate(2px, 2px) scale(1.02);
        opacity: 0.7;
    }
}

@keyframes glitch-2 {
    0%, 100% { 
        transform: translate(0) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translate(-3px, 3px) scale(0.98);
        opacity: 0.4;
    }
    50% { 
        transform: translate(3px, -3px) scale(1.03);
        opacity: 0.3;
    }
    75% { 
        transform: translate(-2px, -2px) scale(1.01);
        opacity: 0.5;
    }
}

/* Enhanced Typewriter Effect - No Cursor */
.typewriter {
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 4s steps(50, end), fadeInGlow 0.5s ease-in-out 4s forwards;
    text-align: center;
    width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    letter-spacing: 0.5px;
}

.typewriter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    animation: shimmer 2s ease-in-out 4s infinite;
    pointer-events: none;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes fadeInGlow {
    from { 
        filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }
    to { 
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.2));
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Progress Bar */
.progress-container {
    width: 300px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    border-radius: 2px;
    animation: progress 3s ease-in-out;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.progress-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    display: block;
    width: 100%;
}

/* Responsive loading screen text */
@media (max-width: 768px) {
    .loading-content {
        padding: 1rem;
        gap: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        max-width: 100vw;
    }
    
    .loading-text h2 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .loading-text p {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .glitch-text {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .logo-3d {
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        position: relative;
    }
    
    .logo-cube {
        width: 80px;
        height: 80px;
        margin: 0 auto;
        position: relative;
        transform-style: preserve-3d;
        animation: rotate3d 4s linear infinite;
    }
    
    .cube-face {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
        font-weight: bold;
        color: white;
    }
    
    .cube-face.front { transform: rotateY(0deg) translateZ(40px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(40px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(40px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(40px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(40px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(40px); }
    
    .floating-code {
        gap: 0.5rem;
    }
    
    .code-snippet {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        position: relative;
    }
    
    .code-snippet:nth-child(1) { top: 10%; left: 5%; }
    .code-snippet:nth-child(2) { top: 20%; right: 10%; }
    .code-snippet:nth-child(3) { top: 70%; left: 15%; }
    .code-snippet:nth-child(4) { top: 80%; right: 20%; }
    .code-snippet:nth-child(5) { top: 40%; left: 2%; }
    .code-snippet:nth-child(6) { top: 50%; right: 2%; }
    
    .loading-spinner {
        margin: 1rem 0;
    }
    
    .loading-text {
        font-size: 1rem;
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }
    
    #skipLoading {
        margin-top: 1.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-tagline {
        white-space: nowrap !important;
        font-size: 0.55rem !important;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .logo-image {
        width: 38px;
        height: 38px;
    }
    
    .logo-wrapper {
        gap: 0.5rem;
        flex-shrink: 0 !important;
    }
    
    .logo-text-container {
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }
    
    .loading-content {
        padding: 0.75rem;
        gap: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        max-width: 100vw;
    }
    
    .loading-text h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .loading-text p {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .glitch-text {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .logo-3d {
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        position: relative;
    }
    
    .logo-cube {
        width: 60px;
        height: 60px;
        margin: 0 auto;
        position: relative;
        transform-style: preserve-3d;
        animation: rotate3d 4s linear infinite;
    }
    
    .cube-face {
        width: 60px;
        height: 60px;
        font-size: 1rem;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
        font-weight: bold;
        color: white;
    }
    
    .cube-face.front { transform: rotateY(0deg) translateZ(30px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(30px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(30px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(30px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(30px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(30px); }
    
    .floating-code {
        gap: 0.3rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .code-snippet {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        position: relative;
    }
    
    .code-snippet:nth-child(1) { top: 8%; left: 3%; }
    .code-snippet:nth-child(2) { top: 18%; right: 8%; }
    .code-snippet:nth-child(3) { top: 65%; left: 12%; }
    .code-snippet:nth-child(4) { top: 75%; right: 15%; }
    .code-snippet:nth-child(5) { top: 35%; left: 1%; }
    .code-snippet:nth-child(6) { top: 45%; right: 1%; }
    
    .loading-spinner {
        margin: 0.75rem 0;
    }
    
    .loading-text {
        font-size: 0.9rem;
        margin-top: 0.75rem;
        text-align: center;
        padding: 0 1rem;
        width: 100%;
    }
    
    #skipLoading {
        margin-top: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-height: 44px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .typewriter {
        font-size: 0.9rem;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}




/* Nav Logo - Enhanced World-Class Design */
.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    transition: all 0.3s ease;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

.logo-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-wrapper:hover .logo-icon::before {
    opacity: 1;
}

.logo-wrapper:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1;
    transition: all 0.3s ease;
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.logo-wrapper:hover .logo-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-wrapper:hover .logo-tagline {
    color: rgba(255, 255, 255, 0.9);
}

.logo-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 1px rgba(59, 130, 246, 0.3),
        0 0 2px rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: logoRotate 8s linear infinite;
    opacity: 0.6;
}

.logo-e {
    font-size: 4.2rem;
    font-weight: 900;
    color: #ef4444;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-right: -0.1em;
    z-index: 2;
    position: relative;
}

.logo-text {
    font-size: 2.6rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    z-index: 2;
    position: relative;
}

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

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    z-index: 100;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0;
    transition: all 0.5s ease;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.navbar:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%) !important;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px) !important;
    opacity: 1 !important;
    border-color: rgba(139, 92, 246, 0.5);
}

.nav-container {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #0a0a0f;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 65px;
    height: 65px;
    color: #0a0a0f;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-image:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a0a0f;
    text-shadow: none;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: #475569;
    margin-top: -2px;
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin: 0 1rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.2rem;
    border-radius: 15px;
    white-space: nowrap;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-link::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #8b5cf6;
    transform: translateX(10px);
    background: rgba(139, 92, 246, 0.2);
    padding-left: 1rem;
    border-color: rgba(139, 92, 246, 0.4);
}

.nav-link:hover::before {
    width: 6px;
}

.nav-link.active {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.nav-link.cta-nav-link {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-link.cta-nav-link::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;
}

.nav-link.cta-nav-link:hover::before {
    left: 100%;
}

.nav-link.cta-nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

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

.search-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.search-btn:hover {
    background: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    transform: scale(1.05);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2), 0 0 20px rgba(59, 130, 246, 0.1);
}

.search-btn svg {
    width: 16px;
    height: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.mobile-menu-toggle:hover::before {
    left: 100%;
}

.mobile-menu-toggle:hover {
    background: rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2), 0 0 20px rgba(59, 130, 246, 0.1);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle:hover span {
    background: var(--accent-primary);
}

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

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

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

/* Mobile Menu */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling on mobile */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Force mobile menu toggle to be visible */
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1002 !important;
        background: rgba(139, 92, 246, 0.9) !important;
        border: 2px solid #8b5cf6 !important;
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.6) !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1rem;
        border-top: 1px solid rgba(59, 130, 246, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: 1001;
        box-sizing: border-box;
        min-height: 300px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Override for mobile menu when open */
    .nav-links.mobile-open {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 99999 !important;
        background: linear-gradient(135deg, 
            rgba(15, 23, 42, 0.98) 0%, 
            rgba(30, 41, 59, 0.95) 50%, 
            rgba(15, 23, 42, 0.98) 100%) !important;
        backdrop-filter: blur(25px) !important;
        flex-direction: column !important;
        padding: 2rem 1.5rem !important;
        gap: 2rem !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5) !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        border-top: none !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    /* Style mobile menu links for fullscreen */
    .nav-links.mobile-open .nav-link {
        font-size: 1.5rem !important;
        padding: 1.5rem 2rem !important;
        margin: 0.5rem 0 !important;
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        background: rgba(139, 92, 246, 0.1) !important;
        border: 2px solid rgba(139, 92, 246, 0.3) !important;
        border-radius: 12px !important;
        transition: all 0.3s ease !important;
        color: #f8fafc !important;
    }
    
    .nav-links.mobile-open .nav-link:hover {
        background: rgba(139, 92, 246, 0.2) !important;
        border-color: rgba(139, 92, 246, 0.5) !important;
        transform: scale(1.05) !important;
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3) !important;
    }
    
    /* Add close button for mobile menu */
    .nav-links.mobile-open::before {
        content: '✕';
        position: absolute;
        top: 2rem;
        right: 2rem;
        width: 48px;
        height: 48px;
        background: rgba(236, 72, 153, 0.2);
        border: 2px solid rgba(236, 72, 153, 0.3);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.5rem;
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.3s ease;
        z-index: 10000;
    }
    
    .nav-links.mobile-open::before:hover {
        background: rgba(236, 72, 153, 0.4);
        border-color: rgba(236, 72, 153, 0.6);
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
    }
    
    /* Add entrance animation for mobile menu */
    .nav-links.mobile-open {
        animation: mobileMenuSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    @keyframes mobileMenuSlideIn {
        from {
            opacity: 0;
            transform: scale(0.9) translateY(20px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
    
    /* Add entrance animation for nav links */
    .nav-links.mobile-open .nav-link {
        animation: navLinkFadeIn 0.5s ease forwards;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .nav-links.mobile-open .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.mobile-open .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-links.mobile-open .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-links.mobile-open .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-links.mobile-open .nav-link:nth-child(5) { animation-delay: 0.5s; }
    
    @keyframes navLinkFadeIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-link {
        color: #f8fafc !important;
        padding: 1.5rem 2rem;
        border-radius: 0.75rem;
        text-align: center;
        font-size: 1.3rem;
        font-weight: 600;
        transition: all 0.3s ease;
        background: rgba(59, 130, 246, 0.2);
        border: 2px solid rgba(59, 130, 246, 0.4);
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
        text-decoration: none !important;
        min-height: 60px;
        line-height: 1.2;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    }
    
    .nav-link:hover {
        background: rgba(59, 130, 246, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, #3b82f6, #8b5cf6);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1002;
        background: rgba(139, 92, 246, 0.8) !important;
        border: 2px solid #8b5cf6 !important;
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.5) !important;
    }
    
    /* Mobile Layout Improvements */
    .container {
        padding: 0 1rem;
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
    }
    
    .section {
        padding: 2rem 0;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Ensure all content fits within viewport */
    .hero-section,
    .capabilities,
    .industries,
    .footer {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Hero Section Mobile Optimization */
    .hero-section {
        min-height: 70vh;
        padding: 100px 1rem 40px 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Grid Improvements */
    .capabilities-grid,
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .use-case-cards {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .first-row-cards,
    .second-row-cards {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .use-case-card {
        max-width: 100%;
        min-width: auto;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Mobile Button Improvements */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    /* Mobile Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 1.25rem 1rem;
        text-align: center;
    }
    
    /* Mobile Avatar Section */
    .avatar-box {
        width: 100%;
        max-width: 280px;
        height: 350px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .audio-options {
        flex-direction: column;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .audio-language {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Mobile Footer Improvements */
    @media (max-width: 768px) {
        .footer-links-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
            width: 100%;
            max-width: 100vw;
            overflow-x: hidden;
        }
    }
    
    .footer-newsletter {
        padding: 2rem 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Simplified Footer Mobile Styles */
    .footer-cta-section {
        padding: 2rem 1rem 1.5rem;
    }
    
    .cta-heading {
        font-size: 1.8rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .trust-badges {
        gap: 0.75rem;
        justify-content: center;
    }
    
    .trust-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .footer-brand-section {
        padding: 1.5rem 1rem;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        min-height: auto;
    }
    
    .footer-brand .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-input {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.5rem;
        box-sizing: border-box;
    }
    
    /* Ensure all text and content fits */
    .hero-content,
    .section-header,
    .capabilities-grid,
    .industries-grid {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Fix any potential overflow issues */
    .hero-visual,
    .ai-assistant-section,
    .avatar-box,
    .audio-options {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure all images and media fit within viewport */
    img, video, iframe, canvas {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    
    /* Fix any fixed width elements that might cause overflow */
    .badges-scroller-container,
    .badges-scroller,
    .badge-item {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Ensure all text content doesn't overflow */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Fix any absolute positioned elements */
    .particles-container,
    .lottie-container,
    .neural-network {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
    /* Ensure no horizontal scrolling on small screens */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        padding: 0 0.75rem;
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-section {
        min-height: 65vh;
        padding: 90px 0.75rem 30px 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .avatar-box {
        width: 250px;
        height: 320px;
        margin-top: 1rem;
    }
    
    .avatar-comment {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .mobile-menu-toggle {
        width: 28px;
        height: 28px;
    }
    
    .mobile-menu-toggle span {
        height: 2px;
    }
    
    .nav-links {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
        font-weight: 900;
        white-space: nowrap;
        -webkit-text-stroke: 0.5px rgba(139, 92, 246, 0.3);
        text-shadow: 0 0 8px rgba(139, 92, 246, 0.2);
        letter-spacing: -0.01em;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .stat-label {
        font-size: 0.85rem;
        font-weight: 600;
        white-space: nowrap;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
        visibility: hidden;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.2rem;
    outline: none;
    border-bottom: 2px solid var(--accent-primary);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

/* Removed heavy shimmer effect for better performance */

.btn-primary {
    background: white;
    color: #8b5cf6;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: 25px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    min-width: 200px;
}

.cta-primary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 60px;
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    will-change: transform, box-shadow;
}

/* Removed heavy shimmer effect for better performance */

.cta-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-primary:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* Enhanced arrow icon for the CTA button */
.cta-primary svg {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    width: 24px;
    height: 24px;
}

.cta-primary:hover svg {
    transform: translateX(5px) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.cta-primary:active svg {
    transform: translateX(3px) scale(1.05);
}

/* Add a subtle glow effect around the button */
.cta-primary::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 62px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-primary:hover::after {
    opacity: 1;
}

/* Removed heavy pulsing animation for better performance */

.btn-demo {
    background: white;
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
}

/* Particles.js Container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Add glow effect to particles */
.particles-container canvas {
    filter: drop-shadow(0 0 3px rgba(139, 92, 246, 0.3));
}

/* Ensure hero content appears above particles */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.3) 0%, rgba(6, 182, 212, 0.2) 20%, rgba(249, 115, 22, 0.1) 40%, rgba(139, 92, 246, 0.2) 60%, rgba(6, 182, 212, 0.1) 80%, rgba(249, 115, 22, 0.05) 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.4) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.2) 0%, transparent 40%);
    z-index: -1;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.particle:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.particle:nth-child(2) { top: 25%; left: 85%; animation-delay: 1s; }
.particle:nth-child(3) { top: 45%; left: 15%; animation-delay: 2s; }
.particle:nth-child(4) { top: 65%; left: 90%; animation-delay: 3s; }
.particle:nth-child(5) { top: 85%; left: 25%; animation-delay: 4s; }
.particle:nth-child(6) { top: 35%; left: 5%; animation-delay: 5s; }
.particle:nth-child(7) { top: 75%; left: 75%; animation-delay: 6s; }
.particle:nth-child(8) { top: 5%; left: 50%; animation-delay: 7s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Abstract 3D Shapes */
.abstract-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 80px;
    top: 20%;
    left: 5%;
    border-radius: 40px;
    background: rgba(107, 70, 193, 0.12);
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.shape-2 {
    width: 120px;
    height: 300px;
    top: 10%;
    left: 15%;
    border-radius: 60px;
    background: rgba(139, 92, 246, 0.1);
    animation-delay: 1s;
    transform: rotate(25deg);
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(139, 92, 246, 0.15);
    animation-delay: 2s;
}

.shape-4 {
    width: 150px;
    height: 60px;
    top: 60%;
    left: 20%;
    border-radius: 30px;
    background: rgba(107, 70, 193, 0.12);
    animation-delay: 3s;
    transform: rotate(45deg);
}

.shape-5 {
    width: 100px;
    height: 250px;
    top: 30%;
    right: 10%;
    border-radius: 50px;
    background: rgba(107, 70, 193, 0.12);
    animation-delay: 4s;
    transform: rotate(-30deg);
}

.shape-6 {
    width: 180px;
    height: 40px;
    top: 70%;
    right: 20%;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.1);
    animation-delay: 5s;
    transform: rotate(60deg);
}

.shape-7 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 10%;
    background: rgba(139, 92, 246, 0.12);
    animation-delay: 6s;
    transform: rotate(15deg);
}

.hero-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.goal-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goal-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.goal-btn:active {
    transform: translateY(0);
}

.goal-btn.active {
    background: rgba(107, 70, 193, 0.3);
    border-color: rgba(107, 70, 193, 0.6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.2);
}

.discover-btn {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
}

.discover-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(107, 70, 193, 0.4);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards 0.4s;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards 0.6s;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 1s ease forwards 0.8s;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ai-brain {
    position: relative;
    width: 300px;
    height: 300px;
}

.brain-core {
    width: 120px;
    height: 120px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
}

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

.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.connection {
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--accent-tertiary), transparent);
    animation: neuralFlow 3s ease-in-out infinite;
}

.connection:nth-child(1) { top: 20%; left: 50%; transform: translateX(-50%) rotate(0deg); }
.connection:nth-child(2) { top: 30%; left: 30%; transform: rotate(45deg); }
.connection:nth-child(3) { top: 30%; right: 30%; transform: rotate(-45deg); }
.connection:nth-child(4) { bottom: 30%; left: 30%; transform: rotate(-45deg); }
.connection:nth-child(5) { bottom: 30%; right: 30%; transform: rotate(45deg); }

@keyframes neuralFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.data-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-tertiary);
    border-radius: 50%;
    animation: dataFlow 4s linear infinite;
}

.data-point:nth-child(1) { top: 10%; left: 20%; }
.data-point:nth-child(2) { top: 60%; right: 10%; }
.data-point:nth-child(3) { bottom: 20%; left: 60%; }

@keyframes dataFlow {
    0% { transform: translate(0, 0) scale(0); opacity: 0; }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { transform: translate(100px, -100px) scale(0); opacity: 0; }
}

/* Section Styles */
section {
    padding: 1rem 0;
    position: relative;
}

/* Style for each section container with dark background and neon accents */
.section {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    margin: 10px;
    width: calc(100% - 20px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
    color: var(--text-primary);
}

/* Adding spacing between multiple sections */
.section + .section {
    margin-top: 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 1;
    transform: translateY(0);
}

.section-header.animate {
    animation: slideInUp 0.8s ease forwards;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

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

/* Industries Section */
.industries {
    background: var(--bg-secondary);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin: 10px;
    width: calc(100% - 20px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 30px rgba(6, 182, 212, 0.2);
    color: var(--text-primary);
}

.industries .section-title,
.industries .section-subtitle {
    color: white;
}

/* New Industries Container Layout */
.industries-container {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: center !important;
}

/* Healthcare Row - Centered */
.healthcare-row {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
}

.healthcare-row .healthcare-center {
    max-width: 400px !important;
    width: 100% !important;
}

/* Three Cards Row - Banking, Education, Customer Service */
.three-cards-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 1200px !important;
}

/* Force the layout with very specific selectors */
section#industries .industries-container {
    display: flex !important;
    flex-direction: column !important;
}

section#industries .healthcare-row {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

section#industries .three-cards-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
}

/* Ensure our new layout takes priority */
.industries-container {
    display: flex !important;
}

.healthcare-row {
    display: flex !important;
}

.three-cards-row {
    display: grid !important;
}

/* Ensure layout on large screens */
@media (min-width: 1201px) {
    .three-cards-row {
        gap: 2rem;
        max-width: 1400px;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE SYSTEM
   ======================================== */

/* Mobile devices (320px - 767px) */
@media (max-width: 767px) {
    /* Touch Optimization - Minimum 44px tap targets */
    a,
    button,
    .btn,
    .nav-link,
    .mobile-nav-link,
    .cta-button,
    .cta-primary,
    .cta-secondary,
    input[type="button"],
    input[type="submit"],
    .lang-switch,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Navigation Touch Targets */
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .mobile-nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 50px;
    }
    
    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        padding: 0.5rem;
    }
    
    .hamburger-line {
        height: 3px;
        width: 24px;
    }
    
    /* Container & Spacing */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    /* Capabilities Grid - Single Column */
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .capability-card {
        padding: 1.5rem;
        min-height: 250px;
    }
    
    .capability-card h3 {
        font-size: 1.125rem;
        min-height: auto;
    }
    
    .capability-card p {
        font-size: 0.9rem;
        min-height: auto;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    /* Industries Grid - Single Column */
    .industries-grid,
    .three-cards-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        align-items: center;
    }
    
    .industry-card {
        width: 100%;
        max-width: 320px;
        min-width: 280px;
        padding: 1.5rem;
        min-height: 240px;
        margin: 0 auto;
    }
    
    .industry-card h3 {
        font-size: 1.1rem;
    }
    
    .industry-card p {
        font-size: 0.85rem;
    }
    
    /* Features Section */
    .features-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-visual {
        min-height: 180px;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
    }
    
    /* Buttons */
    .btn,
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 44px;
    }
    
    .cta-button,
    .cta-primary,
    .cta-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Emma Process Section */
    .process-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .process-visual {
        order: 1;
    }
    
    .process-details {
        order: 2;
    }
    
    /* Badges Section */
    .badges-section {
        padding: 2rem 0;
    }
    
    /* Navigation responsive */
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.98);
        z-index: 9999;
        padding: 2rem;
        overflow-y: auto;
    }
    
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mobile-nav-link {
        width: 100%;
        text-align: left;
        border-radius: 0.75rem;
        transition: all 0.3s ease;
    }
    
    /* Prevent horizontal overflow */
    html {
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Prevent any element from causing horizontal scroll */
    .hero-section,
    .section,
    .container,
    .use-case-cards,
    .first-row-cards,
    .second-row-cards,
    .industries-grid,
    .capabilities-grid {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* Prevent content breaking - ensure proper word wrapping */
    .use-case-card,
    .industry-card,
    .capability-card,
    .feature-item,
    .hero-content,
    .section-title,
    .section-subtitle {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Ensure text doesn't overflow */
    .use-case-content h4,
    .use-case-content p,
    .industry-card h3,
    .industry-card p,
    .capability-card h3,
    .capability-card p {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* Prevent any layout breaks */
    .use-case-card,
    .industry-card,
    .capability-card {
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Ensure stats and badges don't break */
    .use-case-stats,
    .featured-badge,
    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Extra small screens (320px - 480px) */
@media (max-width: 480px) {
    .section {
        padding: 2.5rem 0;
    }
    
    .capabilities-grid,
    .industries-grid,
    .three-cards-row {
        gap: 0.75rem;
    }
    
    .capability-card {
        padding: 1rem;
        min-height: 200px;
    }
    
    .industry-card {
        padding: 1.25rem;
        min-height: 220px;
        max-width: 300px;
        min-width: 260px;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
    }
}

/* Tablet devices (768px - 1024px) - STACKED LAYOUT */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Force hero section to use stacked layout */
    .hero-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        min-height: auto !important;
        justify-content: flex-start !important;
        padding: 120px 1rem 2rem 1rem !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Touch Optimization for Tablets */
    button,
    .btn,
    .cta-button,
    .cta-primary,
    .cta-secondary,
    input[type="button"],
    input[type="submit"] {
        min-height: 44px;
        padding: 0.875rem 1.75rem;
    }
    
    /* Navigation */
    .nav-link {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Container & Spacing - Full width for tablets */
    .container {
        padding: 0 1rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .section {
        padding: 3rem 0;
        overflow-x: hidden;
    }
    
    /* Capabilities Grid - 2 Columns */
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .capability-card {
        padding: 1.5rem;
        min-height: 260px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .capability-card h3 {
        font-size: 1.1rem;
    }
    
    .capability-card p {
        font-size: 0.9rem;
    }
    
    /* Industries Grid - 2 Columns with proper spacing */
    .industries-grid,
    .three-cards-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .industry-card {
        padding: 1.25rem;
        min-height: 240px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Features Section - Stack on tablets with proper alignment */
    .features-section {
        padding: 4rem 0;
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .features-header {
        text-align: center;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .features-title {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .features-subtitle {
        font-size: 1.1rem !important;
        max-width: 600px;
        margin: 0 auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .feature-item {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 4rem !important;
        padding: 2rem !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        text-align: center !important;
        align-items: center !important;
        justify-items: center !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .feature-item.feature-left,
    .feature-item.feature-right {
        grid-template-columns: 1fr !important;
    }
    
    .feature-item.feature-right .feature-content,
    .feature-item.feature-right .feature-visual {
        order: 0 !important;
    }
    
    .feature-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .feature-visual {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 250px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin-bottom: 1rem !important;
    }
    
    .feature-animation {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .feature-title {
        font-size: 1.8rem !important;
        margin-bottom: 0.75rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .feature-subtitle {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .feature-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Lottie animation containers for features */
    .multilingual-lottie-container,
    .avatar-lottie-container,
    .security-lottie-container,
    .availability-lottie-container,
    .integration-lottie-container,
    .industry-lottie-container {
        width: 200px !important;
        height: 200px !important;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Typography */
    h1 {
        font-size: 2.5rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    h2 {
        font-size: 2rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    h3 {
        font-size: 1.5rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-title {
        font-size: 2rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    /* Emma Process Section - Stack on tablets */
    .process-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
        max-width: 100vw;
        box-sizing: border-box;
        text-align: center;
    }
}

/* Large tablets (820px - 1024px) - iPad Air, iPad Pro - FORCE STACKED LAYOUT */
@media (min-width: 820px) and (max-width: 1024px) {
    /* Force complete layout reset for iPad Air */
    * {
        box-sizing: border-box !important;
    }
    
    /* Force hero section to use stacked layout */
    .hero-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        min-height: auto !important;
        justify-content: flex-start !important;
        padding: 100px 1rem 2rem 1rem !important;
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative !important;
        width: 100% !important;
    }
    
    /* Force overflow prevention for large tablets */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .container {
        padding: 0 1rem !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .section {
        padding: 3rem 0 !important;
        overflow-x: hidden !important;
        text-align: center !important;
    }
    
    .capabilities-grid,
    .industries-grid,
    .three-cards-row {
        padding: 0 1rem !important;
        gap: 2rem !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .capability-card,
    .industry-card {
        padding: 2rem !important;
        min-height: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Features section - SIMPLIFIED STACKED */
    .features-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .feature-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 2rem !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .feature-item.feature-left,
    .feature-item.feature-right {
        flex-direction: column !important;
    }
    
    .feature-item.feature-right .feature-content,
    .feature-item.feature-right .feature-visual {
        order: 0 !important;
    }
    
    .feature-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .feature-visual {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 200px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin-bottom: 1rem !important;
    }
    
    .process-content {
        padding: 0 1rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    h1 {
        font-size: 2.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
    }
    
    h2 {
        font-size: 2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
    }
    
    .section-title {
        font-size: 2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
    }
    
    /* Use case cards for large tablets - SIMPLIFIED SINGLE COLUMN */
    .use-case-cards {
        padding: 0 1rem !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .use-case-header {
        padding: 0 1rem !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    
    .first-row-cards,
    .second-row-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .first-row-cards .use-case-card,
    .second-row-cards .use-case-card {
        padding: 1.5rem !important;
        min-height: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Emma bubble and avatar positioning for large tablets */
    .emma-bubble {
        position: relative !important;
        margin: 0 auto 1rem auto !important;
        max-width: 400px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .emma-avatar {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 300px !important;
    }
    
    /* Lottie animations for large tablets - SIMPLIFIED */
    .multilingual-lottie-container,
    .avatar-lottie-container,
    .security-lottie-container,
    .availability-lottie-container,
    .integration-lottie-container,
    .industry-lottie-container {
        width: 200px !important;
        height: 200px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Foldable devices and Surface Pro fixes */
@media (min-width: 768px) and (max-width: 1024px) and (min-height: 900px) {
    /* Surface Pro 7, Galaxy Z Fold 5, Asus Zenbook Fold */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .hero-section {
        padding: 100px 1rem 3rem 1rem !important;
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .hero-content {
        padding: 0 1rem !important;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        width: 100%;
    }
    
    .hero-content h1,
    .title-line-1,
    .title-line-2 {
        font-size: 2.25rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content p,
    .hero-description {
        font-size: 0.95rem !important;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .ai-assistant-section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .language-cards {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .use-case-cards {
        padding: 0 1rem !important;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .use-case-header {
        padding: 0 1rem !important;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .first-row-cards,
    .second-row-cards {
        gap: 1rem !important;
        padding: 0 !important;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .first-row-cards .use-case-card,
    .second-row-cards .use-case-card {
        padding: 1.25rem 1rem !important;
        min-height: 240px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .container {
        padding: 0 1rem !important;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .section {
        padding: 3rem 0 !important;
        overflow-x: hidden;
    }
    
    .capabilities-grid,
    .industries-grid,
    .three-cards-row {
        padding: 0 1rem !important;
        gap: 1rem !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .capability-card,
    .industry-card {
        padding: 1.25rem !important;
        min-height: 240px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Features section fixes for foldable devices */
    .features-list {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .feature-item {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
        align-items: center;
        justify-items: center;
        padding: 2rem 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .feature-content {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .feature-visual {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    /* Lottie animation containers for features */
    .multilingual-lottie-container,
    .avatar-lottie-container,
    .security-lottie-container,
    .availability-lottie-container,
    .integration-lottie-container,
    .industry-lottie-container {
        width: 200px !important;
        height: 200px !important;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Maintain layout for all screen sizes above 1024px (Desktop - unchanged) */
@media (min-width: 1025px) {
    /* Desktop styles remain untouched */
    .three-cards-row {
        gap: 1.5rem;
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .industry-card {
        width: 100%;
        min-width: 0;
        flex-shrink: 1;
        max-width: 100%;
    }
}

.industry-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    padding: 0.75rem;
    backdrop-filter: blur(25px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(6, 182, 212, 0.1);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-shrink: 1;
    box-sizing: border-box;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.industry-card.animate {
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

/* Fallback animation for industry cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure cards are visible after a delay */
.industry-card:nth-child(1) { animation-delay: 0.5s; }
.industry-card:nth-child(2) { animation-delay: 0.7s; }
.industry-card:nth-child(3) { animation-delay: 0.9s; }
.industry-card:nth-child(4) { animation-delay: 1.1s; }
.industry-card:nth-child(5) { animation-delay: 1.3s; }
.industry-card:nth-child(6) { animation-delay: 1.5s; }

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-primary);
}

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

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

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.industry-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.industry-icon.healthcare {
    background: var(--gradient-secondary);
}

.industry-icon.banking {
    background: var(--gradient-primary);
}

.industry-icon.education {
    background: var(--gradient-tertiary);
}

.industry-icon.customer-service {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    min-height: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.card-footer {
    margin-top: 1rem;
    text-align: center;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 10px;
    width: calc(100% - 20px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.features .section-title,

/* ========================================
   WORLD-CLASS FOOTER STYLES
   ======================================== */

.footer {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    overflow: hidden;
    margin-top: 6rem;
    clear: both;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, #3b82f6, transparent);
    animation: glow-pulse 3s ease-in-out infinite;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Simplified Footer CTA Section */
.footer-cta-section {
    text-align: center;
    padding: 2.5rem 0 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-heading {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    margin-bottom: 2rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #f8fafc;
    transform: translateY(-2px);
}

.trust-badge svg {
    color: #3b82f6;
}

/* Brand & Social Block */
.footer-brand-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-height: 60px;
    padding: 0 1rem;
}

/* Social Links in Brand Section */
.footer-brand .social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-brand .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-brand .social-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* Footer Logo - Enhanced World-Class Design */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    min-width: 0;
    flex-shrink: 0;
    padding: 0.5rem;
}

.footer-logo-wrapper:hover {
    transform: translateY(-2px);
}

.footer-logo-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.footer-logo-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-logo-wrapper:hover .footer-logo-icon::before {
    opacity: 1;
}

.footer-logo-wrapper:hover .footer-logo-icon {
    transform: scale(1.05);
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.footer-logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-brand-name {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
    transition: all 0.3s ease;
}

.footer-brand-tagline {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    margin: 0;
    transition: all 0.3s ease;
}

.footer-logo-wrapper:hover .footer-brand-name {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-wrapper:hover .footer-brand-tagline {
    color: rgba(255, 255, 255, 0.95);
}

.logo-container:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 1),
        0 0 0 6px rgba(139, 92, 246, 0.8),
        0 0 12px rgba(59, 130, 246, 0.6),
        0 0 20px rgba(139, 92, 246, 0.4);
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}


.brand-info {
    flex: 1;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
}

.brand-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    white-space: normal;
    overflow: hidden;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.social-link:hover {
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    min-width: 0;
    overflow: hidden;
    padding-left: 3rem;
    margin-left: 2rem;
    box-sizing: border-box;
}

.footer-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.footer-column:first-child {
    padding-left: 0;
}

.column-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Remove default underlines - keep only Product column special */
.column-title::after {
    display: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-link:hover {
    color: #3b82f6;
    padding-left: 1rem;
}

.footer-link:hover::before {
    width: 8px;
}

/* Newsletter Section */
.footer-newsletter {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, #3b82f6, transparent);
}

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

.newsletter-text {
    max-width: 400px;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-description {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.newsletter-form {
    max-width: 400px;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: #f8fafc;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-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.5s ease;
}

.newsletter-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.newsletter-button:hover::before {
    left: 100%;
}

.newsletter-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
}

.newsletter-disclaimer svg {
    flex-shrink: 0;
}

/* Trust Signals */
.trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.6) 0%, 
        rgba(30, 41, 59, 0.4) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(139, 92, 246, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.trust-badge:hover::before {
    left: 100%;
}

.trust-badge svg {
    color: #8b5cf6;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(139, 92, 246, 0.4));
}

.trust-badge:hover {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(236, 72, 153, 0.1) 100%);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-3px);
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.1),
        0 8px 20px rgba(139, 92, 246, 0.25);
}

/* Social Section */
.social-section {
    margin-top: 2rem;
}

.social-heading {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Enhanced Social Links - Outline Style */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: #94a3b8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.12);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}

.social-link svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.social-link:hover svg {
    transform: rotate(8deg) scale(1.1);
}

/* Newsletter Title Enhancements */
.newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.title-highlight {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    animation: titleUnderlineGlow 2s ease-in-out infinite;
}

@keyframes titleUnderlineGlow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 2px 12px rgba(139, 92, 246, 0.6);
    }
}

/* Enhanced Button States */
.newsletter-button {
    position: relative;
    overflow: hidden;
}

.newsletter-button .button-icon {
    transition: all 0.4s ease;
}

.newsletter-button .button-checkmark {
    position: absolute;
    right: 1.5rem;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.4s ease;
}

.newsletter-button.success {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
}

.newsletter-button.success .button-icon {
    opacity: 0;
    transform: translateX(20px);
}

.newsletter-button.success .button-checkmark {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.newsletter-button:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.newsletter-button:hover .button-icon {
    transform: translateX(3px);
}

/* Input Focus Glow */
.form-group {
    position: relative;
    transition: all 0.3s ease;
}

.form-group.input-focused {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
}

.form-group.input-focused .newsletter-input {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Footer Link Enhancements */
.footer-column:first-child .column-title {
    color: #8b5cf6;
    font-weight: 700;
}

/* Special underline for Product column only */
.footer-column:first-child .column-title::after {
    display: block;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.footer-link {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #8b5cf6;
    transform: translateY(-2px);
}

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

/* Bottom Links with Separators */
.link-separator {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

.bottom-link {
    transition: all 0.3s ease;
}

.bottom-link:hover {
    color: #8b5cf6;
    transform: translateY(-1px);
}

/* Neural Network Background */
.neural-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding: 1.5rem 0;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, #3b82f6, transparent);
    opacity: 0.5;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.bottom-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.bottom-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.bottom-link:hover {
    color: #3b82f6;
}

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

/* Footer Background Effects */
.footer-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    animation: float-particles 20s ease-in-out infinite;
}

@keyframes float-particles {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.03) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(139, 92, 246, 0.03) 100%);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-logo-icon {
        width: 65px;
        height: 65px;
    }
    
    .footer-logo-image {
        width: 55px;
        height: 55px;
    }
    
    .footer-brand-name {
        font-size: 2rem;
    }
    
    .footer-brand-tagline {
        font-size: 0.85rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-top {
        padding: 3rem 0 2rem;
        gap: 2rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-newsletter {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .newsletter-button {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-logo-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .footer-logo-image {
        width: 50px;
        height: 50px;
    }
    
    .footer-brand-name {
        font-size: 1.8rem;
    }
    
    .footer-brand-tagline {
        font-size: 0.8rem;
    }
    
    .brand-info {
        text-align: center;
    }
    
    .newsletter-title {
        font-size: 1.25rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animation for footer entrance */
@keyframes footer-slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    animation: footer-slide-up 0.8s ease-out;
}

.features .section-title,
.features .section-subtitle {
    color: white;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate {
    animation: slideInUp 0.8s ease forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-primary);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
    min-height: 2.6rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    min-height: 4.8rem;
}

/* Labs Section */
.labs {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 4rem 0;
}

.labs .section-title,
.labs .section-subtitle {
    color: white;
}

.labs-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.labs-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.labs-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.labs-cta .cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.labs-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.lab-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(25px);
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.lab-card.animate {
    animation: slideInUp 0.8s ease forwards;
}

.lab-card.coming-soon {
    opacity: 0.7;
}

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

.lab-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.lab-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
    min-height: 2.6rem;
}

.lab-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
    min-height: 4.8rem;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

/* CTA Section */
.cta {
    background: var(--bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    color: var(--text-primary);
    padding: 4rem 0;
    border-radius: 20px;
    margin: 10px;
    width: calc(100% - 20px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 30px rgba(139, 92, 246, 0.2);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 3rem 0 2rem;
    margin-top: 2rem;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.footer-container {
    width: 100%;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.1));
    backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2), 0 0 20px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.footer-section:hover::before {
    left: 100%;
}

.footer-section:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(59, 130, 246, 0.15));
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3), 0 0 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-radius: 8px;
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: #8b5cf6;
    transform: translateX(10px);
    background: rgba(139, 92, 246, 0.1);
    padding-left: 1rem;
}

.footer-section a:hover::before {
    width: 6px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    color: #ffffff;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo .logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-logo .logo-image:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo .logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-logo .logo-sub {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: -2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    left: 0;
}

.social-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

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


/* About Us Section */
.about {
    background: var(--bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 10px;
    width: calc(100% - 20px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.about > * {
    position: relative;
    z-index: 1;
}

.about .section-title,
.about .section-subtitle {
    color: white;
}

/* Story Section */
.story-section {
    margin-bottom: 2rem;
}

/* Top Three Cards Row: Reality, From Court to Code, Emma is Born */
.top-story-cards-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

/* Bottom Two Cards Row: The Game, The Vision */
.bottom-story-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

.basketball-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.basketball-card .basketball-court-bg {
    position: relative;
    min-height: 300px;
    height: 100%;
    background: linear-gradient(135deg, #2d5016 0%, #1a3009 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.basketball-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
    text-align: center;
}

.basketball-card-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.basketball-card-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.basketball-quote {
    margin-top: 1.5rem;
}

.basketball-quote blockquote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
}

.basketball-quote cite {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: normal;
}

/* Bottom row featured card styling */
.bottom-story-cards-row .story-card-featured {
    max-width: 100%;
}

/* Featured card styling */
.story-card-featured {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(236, 72, 153, 0.1) 50%, 
        rgba(6, 182, 212, 0.1) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.2),
        0 0 20px rgba(236, 72, 153, 0.1);
    transform: scale(1.02);
    position: relative;
    overflow: hidden;
}

.story-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.05) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(236, 72, 153, 0.05) 100%);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
}

.story-card-featured > * {
    position: relative;
    z-index: 2;
}

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

.story-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

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

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

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

.story-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.story-card-icon svg {
    width: 30px;
    height: 30px;
}

.story-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.story-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Styles for Story Section */
@media (max-width: 1024px) {
    .top-story-cards-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .bottom-story-cards-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .basketball-card .basketball-court-bg {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .top-story-cards-row {
        gap: 1.5rem;
    }
    
    .bottom-story-cards-row {
        gap: 1.5rem;
    }
    
    .basketball-card .basketball-court-bg {
        height: 200px;
    }
    
    .basketball-card-overlay {
        padding: 1.5rem;
    }
    
    .basketball-card-overlay h3 {
        font-size: 1.5rem;
    }
    
    .basketball-card-overlay p {
        font-size: 1rem;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    .story-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .story-card-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .story-card h4 {
        font-size: 1.1rem;
    }
    
    .story-card p {
        font-size: 0.9rem;
    }
}




.image-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}

.image-placeholder svg {
    width: 60px;
    height: 60px;
    color: white;
}








.basketball-court-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2d5016 0%, #1a3009 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.court-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 20%, transparent 40%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.1) 42%, transparent 42%),
        linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.1) 48%, rgba(255, 255, 255, 0.1) 52%, transparent 52%);
}

.basketball-hoop {
    position: absolute;
    top: 15%;
    right: 20%;
    width: 60px;
    height: 60px;
}

.hoop-ring {
    width: 50px;
    height: 50px;
    border: 4px solid #ff6b35;
    border-radius: 50%;
    position: relative;
}

.hoop-net {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    border-radius: 0 0 20px 20px;
    opacity: 0.8;
}

.floating-basketball {
    position: absolute;
    top: 30%;
    left: 30%;
    animation: bounce 3s ease-in-out infinite;
}

.basketball {
    width: 40px;
    height: 40px;
    background: #ff6b35;
    border-radius: 50%;
    position: relative;
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.3);
}

.basketball::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
    transform: translateY(-50%);
}

.basketball::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #000;
    transform: translateX(-50%);
}

.story-image {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-overlay h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.story-quote {
    margin-top: 1.5rem;
}

.story-quote blockquote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
}

.story-quote cite {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 600;
}

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

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

/* Mobile Responsive for About Us Section */
@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-item {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        margin-right: 1rem;
    }
    
    .timeline-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .timeline-content h4 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .story-stats {
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.8rem;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .story-image {
        height: 300px;
    }
    
    .story-title {
        font-size: 2.2rem;
    }
    
    .story-lead {
        font-size: 1.1rem;
    }
}

/* Team Sections */
.leadership-section,
.team-section {
    margin-bottom: 4rem;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.subsection-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(25px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
}

.team-card.animate {
    animation: slideInUp 0.8s ease forwards;
}

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

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.team-card:hover .team-photo {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
}

.team-photo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
}

.photo-placeholder svg {
    width: 60px;
    height: 60px;
    color: white;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 50%;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

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

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Leadership specific styling */
.leadership-card {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(6, 182, 212, 0.1);
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.leadership-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(6, 182, 212, 0.2);
}

.leadership-card:hover .team-photo {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.4);
}

.leadership-card .team-photo {
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.3);
}

.leadership-card .photo-placeholder {
    background: var(--gradient-secondary);
}

.leadership-card .social-link {
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.3);
}

.leadership-card .social-link:hover {
    background: var(--accent-secondary);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.leadership-card .team-role {
    color: var(--accent-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo-circle {
        width: 70px;
        height: 70px;
    }
    
    .logo-image {
        width: 100%;
        height: 100%;
    }
    
    .logo-e {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .logo-image {
        width: 42px;
        height: 42px;
    }
    
    .logo-wrapper {
        gap: 0.75rem;
    }
    
    .navbar {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        border-radius: 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        height: 60px;
        width: 100%;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1002 !important;
        background: rgba(139, 92, 246, 0.8) !important;
        border: 2px solid #8b5cf6 !important;
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.5) !important;
    }
    
    .navbar {
        padding: 0.75rem 0;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .search-btn {
        width: 38px;
        height: 38px;
    }
    
    .search-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .btn-demo {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding-top: 70px;
        min-height: 100vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: 70vh;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .goal-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .industries-grid .second-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .industries-cta {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .features-grid,
    .labs-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Medium screens - maintain 1+3 layout */
@media (max-width: 1200px) and (min-width: 769px) {
    .three-cards-row {
        gap: 1rem;
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
        gap: 2rem;
        max-width: 100%;
        margin: 0 1rem 3rem 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-section a:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .three-cards-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .healthcare-row .healthcare-center {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        margin: 0 0.5rem 3rem 0.5rem;
    }
    
    .footer-section {
        padding: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* FORCE LAYOUT - Healthcare centered, 3 cards below */
.industries-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: center !important;
}

/* Industries Grid Layout */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.industries-grid.second-row {
    margin-top: 2rem;
}

/* Ensure second row cards match first row height */
.industries-grid.second-row .industry-card {
    min-height: 300px;
    height: auto;
}

/* Industries CTA Section */
.industries-cta {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem auto 0;
    max-width: 800px;
    text-align: center;
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(6, 182, 212, 0.1);
}

.industries-cta .cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.industries-cta .cta-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.industries-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.industries-cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 2rem;
}

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.industries-cta .cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Industry Icon Colors */
.industry-icon.manufacturing {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.industry-icon.retail {
    background: linear-gradient(135deg, #4834d4, #686de0);
}

.industry-icon.finance {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
}

/* Team Layout Styles */
.leadership-first-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.leadership-first-row .team-card {
    grid-column: 2; /* Center the card in the middle column */
}

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

.team-behind-first-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.team-behind-first-row .team-card {
    grid-column: 2; /* Center the card in the middle column */
}

.team-behind-second-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Responsive for Team Layout */
@media (max-width: 768px) {
    .leadership-first-row,
    .leadership-second-row,
    .team-behind-first-row,
    .team-behind-second-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .leadership-first-row .team-card,
    .team-behind-first-row .team-card {
        grid-column: 1; /* Reset to single column on mobile */
    }
    
    .leadership-first-row,
    .team-behind-first-row {
        margin-bottom: 1.5rem;
    }
}

.healthcare-row {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.three-cards-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
}
    
    .industry-card,
    .feature-card,
    .lab-card,
    .capability-card {
        padding: 1.5rem;
        min-height: 250px; /* Slightly smaller on mobile */
    }
    
    /* Adjust card content for mobile */
    .capability-card h3,
    .industry-card h3,
    .feature-card h3,
    .lab-card h3 {
        font-size: 1.125rem;
        min-height: 2.25rem;
    }
    
    .capability-card p,
    .industry-card p,
    .feature-card p,
    .lab-card p {
        min-height: 4rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .goal-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 100px;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Interactive Scroll Progress */
.scroll-progress {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.progress-fill {
    width: 4px;
    height: 200px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #00ff88, #00cc6a);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.progress-dots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--accent-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

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

.progress-dots .dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(107, 70, 193, 0.5);
    transform: scale(1.3);
}

.progress-dots .dot::after {
    content: attr(data-section);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.progress-dots .dot:hover::after {
    opacity: 1;
}

/* Reading Mode Styles */
.reading-mode {
    overflow: hidden;
}

.reading-mode .section:not(.reading-focus) {
    opacity: 0.3;
    filter: blur(2px);
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.reading-focus {
    opacity: 1 !important;
    filter: none !important;
    transform: scale(1) !important;
    position: relative;
    z-index: 10;
}

.reading-focus::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 25px;
    z-index: -1;
    animation: readingGlow 2s ease-in-out infinite alternate;
}

@keyframes readingGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

.reading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.reading-mode .reading-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Reading Toggle Button */
.reading-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reading-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(107, 70, 193, 0.4);
}

.reading-toggle.active {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    transform: scale(1.1);
}

/* Reading Suggestion */
.reading-suggestion {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 250px;
}

.suggestion-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.suggestion-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.suggestion-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.suggestion-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.suggestion-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Scrolling State */
.scrolling {
    cursor: grabbing;
}

.scrolling * {
    pointer-events: none;
}

/* Section Headings - Ensure visibility and smooth transitions */
.section-title,
.section-subtitle,
h2, h3 {
    /* Ensure headings are visible by default - fallback for GSAP animations */
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) translateX(0) scale(1) !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Specific heading styles for better visibility */
#capabilities-title,
#capabilities-subtitle,
#industries-title,
#industries-subtitle {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

/* Unified Card Sizing System */
.capability-card,
.industry-card,
.feature-card,
.lab-card {
    /* Consistent sizing for all cards */
    min-height: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
    
    /* Ensure cards are visible by default - fallback for GSAP animations */
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Ensure card content fills available space */
.capability-card .card-content,
.industry-card .card-content,
.feature-card .card-content,
.lab-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Standardize card headers */
.capability-card .card-header,
.industry-card .card-header,
.feature-card .card-header,
.lab-card .card-header {
    margin-bottom: 1rem;
}

/* Standardize card titles */
.capability-card h3,
.industry-card h3,
.feature-card h3,
.lab-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    min-height: 2.6rem; /* Ensure consistent title height */
}

/* Standardize card descriptions */
.capability-card p,
.industry-card p,
.feature-card p,
.lab-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    min-height: 4.8rem; /* Ensure consistent description height */
}

/* Standardize card icons */
.capability-card .card-icon,
.industry-card .industry-icon,
.feature-card .feature-icon,
.lab-card .lab-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optimized Card Animations */
.capability-card,
.industry-card,
.feature-card,
.lab-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
}

.capability-card:hover,
.industry-card:hover,
.feature-card:hover,
.lab-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Center second line items */
.capabilities-grid .capability-card:nth-child(2),
.labs-grid .lab-card:nth-child(2) {
    transform: translateY(20px);
}

.capabilities-grid .capability-card:nth-child(2):hover,
.labs-grid .lab-card:nth-child(2):hover {
    transform: translateY(5px) scale(1.02);
}

/* Optimized Section Transitions */
.section {
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .scroll-progress {
        right: 10px;
        top: 40%;
    }
    
    .progress-fill {
        height: 150px;
    }
    
    .progress-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .reading-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
    
    .reading-suggestion {
        bottom: 80px;
        right: 20px;
        max-width: 200px;
    }
    
    .progress-dots .dot::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .scroll-progress {
        display: none;
    }
    
    .reading-toggle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Emma Demo Overlay */
.emma-demo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: default;
    overflow: hidden;
}

/* Disable main page interactions when demo is open */
body.demo-open {
    overflow: hidden;
    cursor: default !important;
}

body.demo-open * {
    cursor: default !important;
    pointer-events: none;
}

/* Allow modal content to be interactive */
.modal.show * {
    pointer-events: auto;
    cursor: auto;
}

body.demo-open .emma-demo-overlay,
body.demo-open .emma-demo-overlay * {
    pointer-events: auto;
    cursor: default;
}

.demo-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.demo-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.demo-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.demo-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.demo-content {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.demo-chat {
    margin-bottom: 2rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 1rem;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 1rem;
}

.chat-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: messageSlideIn 0.5s ease-out;
    opacity: 1;
    visibility: visible;
}

.chat-message.emma-message {
    opacity: 1;
    visibility: visible;
}

.chat-message.user-message {
    flex-direction: row-reverse;
}

.chat-message.user-message .message-avatar {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
}

.chat-message.user-message .message-content {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

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

.message-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-content p {
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.message-content ul {
    color: white;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.message-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.demo-option {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    cursor: pointer !important;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(10px);
}

.demo-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.demo-option:active {
    transform: translateY(0);
}

/* Video Modal Styles */
.video-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
}

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

.video-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-content {
    padding: 2rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

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

.video-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive for video modal */
@media (max-width: 768px) {
    .emma-demo-overlay {
        padding: 1rem;
    }
    
    .video-container {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .video-header {
        padding: 1rem 1.5rem;
    }
    
    .video-header h2 {
        font-size: 1.2rem;
    }
    
    .video-content {
        padding: 1.5rem;
    }
    
    .video-info p {
        font-size: 0.9rem;
    }
    
    .demo-actions {
        grid-template-columns: 1fr;
    }
    
    .demo-option {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Emma Avatar and Hero Visual */
.hero-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 80vh;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Modern AI Assistant Hero Section */
.ai-assistant-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    perspective: 1000px;
    transform-style: preserve-3d;
    min-height: 500px;
}

/* Animated Background Particles */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 4s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 5s;
}

.particle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.particle:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 3s;
    animation-duration: 4.5s;
}

.particle:nth-child(5) {
    top: 40%;
    left: 50%;
    animation-delay: 1.5s;
    animation-duration: 5.5s;
}

.particle:nth-child(6) {
    top: 80%;
    left: 60%;
    animation-delay: 2.5s;
    animation-duration: 4s;
}

.particle:nth-child(7) {
    top: 10%;
    left: 70%;
    animation-delay: 0.5s;
    animation-duration: 6.5s;
}

.particle:nth-child(8) {
    top: 50%;
    right: 10%;
    animation-delay: 3.5s;
    animation-duration: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.8);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-30px) translateX(5px) scale(1.1);
        opacity: 0.9;
    }
}

/* Neural Network Background */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.neural-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.neural-node {
    filter: drop-shadow(0 0 3px currentColor);
}

.neural-line {
    stroke-dasharray: 5,5;
    animation: dash 3s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

.avatar-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    cursor: pointer;
    transform-style: preserve-3d;
    min-height: 450px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 40px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.avatar-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

.avatar-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.03) 25%, 
        transparent 50%, 
        rgba(236, 72, 153, 0.03) 75%, 
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
    z-index: -1;
}

.avatar-card {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(139, 92, 246, 0.08) 0%, 
        rgba(236, 72, 153, 0.08) 50%, 
        rgba(6, 182, 212, 0.08) 100%);
    border-radius: 40px;
    padding: 2.5rem;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 32px 100px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 10;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFloat 10s ease-in-out infinite;
    transform-style: preserve-3d;
    min-height: 380px;
    width: 100%;
    position: relative;
}

.avatar-card:hover {
    transform: translateY(-12px) rotateX(3deg) rotateY(3deg) scale(1.03);
    box-shadow: 
        0 40px 120px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(139, 92, 246, 0.25),
        0 0 120px rgba(236, 72, 153, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(145deg, 
        rgba(139, 92, 246, 0.12) 0%, 
        rgba(236, 72, 153, 0.12) 50%, 
        rgba(6, 182, 212, 0.12) 100%);
}

.avatar-card:active {
    transform: translateY(-5px) rotateX(2deg) rotateY(2deg) scale(0.98);
    transition: all 0.1s ease;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg);
    }
    50% {
        transform: translateY(-5px) rotateX(2deg);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6), 0 0 60px rgba(236, 72, 153, 0.3);
    }
}

/* Unified Controls Section */
.unified-controls {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 0 auto;
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 10;
}

}

.time-display {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-align: center;
}

.audio-progress {
    width: 100%;
    cursor: pointer;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

/* Language Controls */
.language-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 500px;
}

.language-controls:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.language-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 0.25rem;
}

.language-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 120px;
    justify-content: center;
    flex: 1;
    max-width: 140px;
}

.lang-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.lang-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}

.lang-flag {
    font-size: 1.2rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.lang-text {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

    gap: 0.5rem;
    min-width: 80px;
}

.time-display {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.audio-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-progress:hover {
    background: rgba(255, 255, 255, 0.3);
    height: 6px;
}

.progress-bar {
    width: 100%;
    height: 100%;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: white;
    border-radius: 50%;
    transform: translateX(50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.audio-progress:hover .progress-fill::after {
    opacity: 1;
}

/* Audio Playing State */
.avatar-card.audio-playing {
    animation: audioGlow 2s ease-in-out infinite;
}

@keyframes audioGlow {
    0%, 100% {
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(139, 92, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 35px 100px rgba(0, 0, 0, 0.5),
            0 0 60px rgba(139, 92, 246, 0.5),
            0 0 80px rgba(236, 72, 153, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

/* Mobile responsive audio controls */
@media (max-width: 768px) {
    .unified-controls {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1.5rem auto 0 auto;
        max-width: 100%;
    }
    
    
    .time-display {
        font-size: 0.75rem;
    }
    
    .language-controls {
        padding: 1rem;
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .language-buttons {
        gap: 0.5rem;
        flex-direction: column;
    }
    
    .lang-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
        max-width: 100%;
        flex: none;
    }
    
    .lang-flag {
        font-size: 1.1rem;
    }
    
    .language-label {
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
        font-weight: 900;
        white-space: nowrap;
        -webkit-text-stroke: 0.5px rgba(139, 92, 246, 0.3);
        text-shadow: 0 0 8px rgba(139, 92, 246, 0.2);
        letter-spacing: -0.01em;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    .stat-label {
        font-size: 0.85rem;
        font-weight: 600;
        white-space: nowrap;
    }
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 480px) {
    .stats-grid {
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.75rem 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
        -webkit-text-stroke: 0.8px rgba(139, 92, 246, 0.4);
        text-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
        display: inline-block;
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }
    
    .stat-label {
        font-size: 0.9rem;
        font-weight: 700;
    }
}

.avatar-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(139, 92, 246, 0.2),
        0 25px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.avatar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(236, 72, 153, 0.1) 100%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.avatar-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.avatar-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 2;
    animation: avatarGlow 2s ease-in-out;
}

@keyframes avatarGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(139, 92, 246, 0));
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    }
    100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(139, 92, 246, 0));
    }
}

.avatar-image-wrapper {
    position: relative;
    width: 360px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 2rem auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(139, 92, 246, 0.25),
        0 0 100px rgba(236, 72, 153, 0.15);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: avatarPulse 8s ease-in-out infinite;
    transform-style: preserve-3d;
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(236, 72, 153, 0.1) 50%, 
        rgba(6, 182, 212, 0.1) 100%);
    backdrop-filter: blur(10px);
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(139, 92, 246, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(139, 92, 246, 0.1);
    }
}

.avatar-image-wrapper:hover {
    transform: scale(1.1) rotateY(8deg) rotateX(3deg);
    animation-play-state: paused;
    box-shadow: 
        0 25px 70px rgba(139, 92, 246, 0.4), 
        0 0 0 20px rgba(139, 92, 246, 0.15),
        0 0 0 40px rgba(236, 72, 153, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1.1);
    transform: scale(1.5);
}

.avatar-image-wrapper:hover .avatar-image {
    filter: brightness(1.1) contrast(1.2) saturate(1.1);
    transform: scale(1.35);
}

.avatar-glow {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(45deg, 
        #8b5cf6 0%, 
        #ec4899 25%, 
        #06b6d4 50%, 
        #8b5cf6 75%, 
        #ec4899 100%);
    border-radius: 26px;
    z-index: -1;
    animation: rotate 4s linear infinite;
    opacity: 0.8;
    filter: blur(2px);
}

/* Industry Badge */
.industry-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(236, 72, 153, 0.9));
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
    z-index: 3;
    animation: badgePulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.industry-badge.general {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
}

.industry-badge.arabic {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.9), rgba(16, 185, 129, 0.9));
}

.industry-badge.hindi {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(245, 158, 11, 0.9));
}

.industry-badge.healthcare {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(239, 68, 68, 0.9));
}

.industry-badge.banking {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(59, 130, 246, 0.9));
}

.industry-badge.education {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(168, 85, 247, 0.9));
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

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

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.speech-bubble {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.95) 0%, 
        rgba(236, 72, 153, 0.95) 50%, 
        rgba(6, 182, 212, 0.95) 100%);
    color: white;
    padding: 1.4rem 2rem;
    border-radius: 30px;
    max-width: 240px;
    box-shadow: 
        0 20px 50px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(236, 72, 153, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 20;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: speechBubbleFloat 4s ease-in-out infinite;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.speech-bubble:hover {
    transform: translateX(-50%) translateY(-85px) scale(1.05);
    box-shadow: 
        0 18px 45px rgba(139, 92, 246, 0.5),
        0 0 30px rgba(236, 72, 153, 0.3);
}

@keyframes speechBubbleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.02);
    }
}

.speech-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ec4899;
}

.speech-bubble p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    text-align: center;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.speaking-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    opacity: 0;
    transition: all 0.3s ease;
}

.speaking-indicator.active {
    opacity: 1;
    animation: speakingPulse 2s ease-in-out infinite;
}

@keyframes speakingPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

.processing-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.speaker-icon {
    width: 16px;
    height: 16px;
    color: #8b5cf6;
}

.sound-waves {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.wave {
    width: 4px;
    height: 20px;
    background: linear-gradient(to top, #8b5cf6, #ec4899);
    border-radius: 2px;
    transform-origin: bottom;
    animation: wavePulse 1.5s ease-in-out infinite;
}

.wave:nth-child(2) { animation-delay: 0.2s; }
.wave:nth-child(3) { animation-delay: 0.4s; }

@keyframes wavePulse {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

.avatar-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 4;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.dot:hover::before {
    width: 100%;
    height: 100%;
}

.dot.active {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Auto-cycle Indicator */
.auto-cycle-indicator {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(236, 72, 153, 0.15) 50%, 
        rgba(6, 182, 212, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 0.9rem 1.5rem;
    z-index: 25;
    opacity: 0.95;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 
        0 12px 35px rgba(139, 92, 246, 0.25),
        0 0 20px rgba(236, 72, 153, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.auto-cycle-indicator:hover {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.3) 0%, 
        rgba(236, 72, 153, 0.25) 50%, 
        rgba(6, 182, 212, 0.2) 100%);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 18px 45px rgba(139, 92, 246, 0.35),
        0 0 30px rgba(236, 72, 153, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.cycle-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.cycle-arrow {
    width: 18px;
    height: 18px;
    color: white;
    animation: pulse-arrow 2.5s infinite;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.cycle-arrow svg {
    width: 100%;
    height: 100%;
}

@keyframes pulse-arrow {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateX(4px) scale(1.1);
        opacity: 1;
    }
}

/* Hero Text Section */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-left: 0;
    max-width: 700px;
    margin-left: 0;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.badge-icon {
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8b5cf6;
}

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


.title-line-1 {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    position: relative;
    animation: gradientShift 3s ease-in-out infinite;
}

.title-line-2 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gradientShift 3s ease-in-out infinite;
}

.highlight-text {
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-align: center;
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 8px;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

.feature-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    line-height: 1.6;
}

.feature-cards {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    flex: 1;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

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

.feature-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.feature-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cta-primary {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.cta-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cta-icon {
    width: 20px;
    height: 20px;
}

/* Dynamic Use Case Showcase */
.use-case-showcase {
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

/* Hero Stats Section */
.hero-stats-section {
    margin-bottom: 1rem;
    position: relative;
    z-index: 100;
    overflow: visible;
    isolation: isolate;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 20px;
    padding: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 101;
}

.stat-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 102;
    overflow: visible;
    min-width: 0;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 900;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 8px rgba(139, 92, 246, 0.2);
    white-space: nowrap;
    line-height: 1.1;
    letter-spacing: -0.01em;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: visible;
    text-overflow: visible;
}

/* Ensure percentage symbol is visible */
.stat-number::after {
    content: '';
    display: inline;
}

/* Specific styling for percentage symbol */
.stat-number:contains('%') {
    color: #8b5cf6 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 8px rgba(139, 92, 246, 0.2) !important;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
}

.use-case-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 2rem;
}

.use-case-header h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.use-case-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.use-case-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.use-case-cards .use-case-card:first-child {
    max-width: 280px;
    width: 100%;
    padding: 2.5rem 1.5rem;
    min-height: 320px;
}

.use-case-cards .use-case-card:first-child .use-case-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.25rem;
}

.use-case-cards .use-case-card:first-child .use-case-icon svg {
    width: 20px;
    height: 20px;
}

.use-case-cards .use-case-card:first-child .use-case-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.use-case-cards .use-case-card:first-child .use-case-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.use-case-cards .use-case-card:first-child .use-case-stats .stat {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.first-row-cards {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    flex-wrap: nowrap;
    margin-bottom: 1rem;
}

.first-row-cards .use-case-card {
    flex: 0 0 calc(33.333% - 0.5rem);
    max-width: 280px;
    min-width: 240px;
    padding: 1.75rem 1rem;
    min-height: 280px;
}

.second-row-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 1400px;
    flex-wrap: nowrap;
    margin-bottom: 0.5rem;
    /* Ensure perfect horizontal alignment */
    align-content: center;
}

.second-row-cards .use-case-card {
    flex: 1;
    max-width: 300px;
    min-width: 260px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Responsive styles for use-case cards */
/* Mobile devices (320px - 767px) - Single column stack (one card per row) */
@media (max-width: 767px) {
    .use-case-cards {
        padding: 0 1rem;
    }
    
    .use-case-header {
        padding: 0 1rem;
    }
    
    .use-case-header h3 {
        font-size: 1.5rem;
    }
    
    .use-case-header p {
        font-size: 0.95rem;
    }
    
    .first-row-cards,
    .second-row-cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        align-items: center;
    }
    
    .first-row-cards .use-case-card,
    .second-row-cards .use-case-card {
        flex: none;
        max-width: 320px;
        min-width: 280px;
        width: 100%;
        padding: 1.5rem 1.25rem;
        min-height: 260px;
    }
    
    .use-case-card {
        padding: 1.5rem 1.25rem;
        min-height: 260px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .use-case-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.25rem;
    }
    
    .use-case-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .use-case-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .use-case-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .use-case-stats .stat {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        min-width: auto;
    }
    
    .featured-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Extra small screens (320px - 480px) */
@media (max-width: 480px) {
    .use-case-cards {
        padding: 0 0.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .use-case-header {
        padding: 0 0.5rem;
    }
    
    .first-row-cards,
    .second-row-cards {
        gap: 0.75rem;
        padding: 0;
        margin: 0;
    }
    
    .first-row-cards .use-case-card,
    .second-row-cards .use-case-card {
        padding: 1rem 0.75rem;
        min-height: 220px;
        max-width: 100%;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .use-case-card {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .use-case-content h4 {
        font-size: 1rem;
    }
    
    .use-case-content p {
        font-size: 0.8rem;
    }
    
    .use-case-icon {
        width: 40px;
        height: 40px;
    }
    
    .use-case-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .use-case-stats .stat {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Very small screens (320px - 375px) - iPhone SE, Samsung S8+ */
@media (max-width: 375px) {
    /* Force overflow prevention */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .use-case-cards {
        padding: 0 0.125rem;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .use-case-header {
        padding: 0 0.125rem;
        max-width: 100vw;
    }
    
    .use-case-header h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .use-case-header p {
        font-size: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .first-row-cards,
    .second-row-cards {
        padding: 0;
        margin: 0;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .first-row-cards .use-case-card,
    .second-row-cards .use-case-card {
        padding: 0.75rem 0.375rem;
        min-height: 180px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .use-case-card {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .use-case-content h4 {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .use-case-content p {
        font-size: 0.7rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .use-case-icon {
        width: 30px;
        height: 30px;
    }
    
    .use-case-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .use-case-stats .stat {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Tablet devices (768px - 1024px) - MOSAIC 2-COLUMN GRID */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Force overflow prevention for tablets */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .use-case-cards {
        padding: 0 1rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        margin: 2rem 0;
    }
    
    .use-case-header {
        padding: 0 1rem;
        max-width: 100vw;
        box-sizing: border-box;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .use-case-header h3 {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.5rem;
    }
    
    .use-case-header p {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* MOSAIC GRID LAYOUT - Healthcare as primary focus */
    .first-row-cards,
    .second-row-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
        max-width: 100vw;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* Healthcare card - Primary Focus (larger) */
    .first-row-cards .use-case-card.featured {
        grid-column: 1;
        grid-row: 1 / 3; /* Span 2 rows */
        min-height: 320px;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.2));
        border: 2px solid rgba(139, 92, 246, 0.6);
        box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
    }
    
    /* Regular cards in right column */
    .first-row-cards .use-case-card:not(.featured),
    .second-row-cards .use-case-card {
        min-height: 150px;
        padding: 1rem;
    }
    
    .first-row-cards .use-case-card,
    .second-row-cards .use-case-card {
        flex: none;
        max-width: 100%;
        min-width: 0;
        padding: 1.25rem 1rem;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .use-case-card {
        padding: 1.25rem 1rem;
        min-height: 150px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .use-case-icon {
        width: 50px;
        height: 50px;
    }
    
    .use-case-content h4 {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.75rem;
    }
    
    .use-case-content p {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
    }
    
    .use-case-stats .stat {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Touch interactions for tablets */
    .use-case-card:active {
        transform: scale(0.98);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    
    .use-case-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    }
    
    /* Entrance animations for tablet cards */
    .use-case-card {
        animation: fadeInUp 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .use-case-card:nth-child(1) { animation-delay: 0.1s; }
    .use-case-card:nth-child(2) { animation-delay: 0.2s; }
    .use-case-card:nth-child(3) { animation-delay: 0.3s; }
    .use-case-card:nth-child(4) { animation-delay: 0.4s; }
    .use-case-card:nth-child(5) { animation-delay: 0.5s; }
    .use-case-card:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.use-case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Ensure cards are visible by default - fallback for GSAP animations */
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

.second-row-cards .use-case-card {
    padding: 2rem 1.5rem;
    min-height: 300px;
    border-radius: 16px !important;
}

.second-row-cards .use-case-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 12px;
    border: none;
}

.second-row-cards .use-case-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.second-row-cards .use-case-content h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #ffffff;
}

.second-row-cards .use-case-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.9);
}

.second-row-cards .use-case-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.second-row-cards .use-case-stats .stat {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-align: center;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
}

.use-case-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 ease;
}

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

.use-case-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.use-case-card.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.use-case-card.featured {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.2));
    border: 2px solid rgba(139, 92, 246, 0.6);
    box-shadow: 
        0 12px 40px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.2);
    transform: scale(1.02) translateY(-4px);
}

.featured-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    align-self: center;
}

.use-case-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.use-case-content h4 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.use-case-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.use-case-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.use-case-stats .stat {
    background: linear-gradient(135deg, rgba(75, 85, 99, 0.9), rgba(55, 65, 81, 0.9));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.02em;
    border: 1px solid rgba(75, 85, 99, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    min-width: 140px;
    width: auto;
}

.use-case-stats .stat:hover {
    background: linear-gradient(135deg, rgba(75, 85, 99, 1), rgba(55, 65, 81, 1));
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
}


/* Medium screens - tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .second-row-cards {
        gap: 0.875rem;
        max-width: 1000px;
    }
    
    .second-row-cards .use-case-card {
        flex: 1;
        max-width: 280px;
        min-width: 220px;
        padding: 1.875rem 1.25rem;
        min-height: 300px;
    }
}

/* Responsive Design for Dynamic Content */
@media (max-width: 768px) {
    .use-case-cards {
        gap: 1rem;
    }
    
    .use-case-card {
        padding: 1.5rem 1rem;
        min-height: 280px;
    }
    
    .use-case-cards .use-case-card:first-child {
        max-width: 300px;
        padding: 2rem 1.5rem;
        min-height: 280px;
    }
    
    .second-row-cards {
        flex-direction: column;
        gap: 1.25rem;
        max-width: 400px;
        align-items: center;
    }
    
    .second-row-cards .use-case-card {
        max-width: 320px;
        min-width: 280px;
        padding: 2rem 1.5rem;
        min-height: 280px;
    }
    
    .use-case-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .use-case-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .use-case-content h4 {
        font-size: 1.1rem;
    }
    
    .use-case-content p {
        font-size: 0.9rem;
    }
    
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        padding-left: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-badge {
        margin: 0 auto 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .title-line-1 {
        font-size: 1.8rem;
    }
    
    .title-line-2 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.2rem;
        width: 2rem;
        height: 2rem;
    }
    
    .feature-title {
        font-size: 0.85rem;
    }
    
    .feature-desc {
        font-size: 0.75rem;
    }
    
    .feature-cards {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .avatar-container {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .avatar-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .avatar-image-wrapper {
        width: 100%;
        max-width: 260px;
        height: 200px;
        margin: 0 auto;
    }
    
    .auto-cycle-indicator {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.375rem 0.75rem;
    }
    
    .cycle-text {
        font-size: 0.7rem;
    }
    
    .cycle-arrow {
        width: 14px;
        height: 14px;
    }
    
    .industry-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .speech-bubble {
        position: relative;
        top: auto;
        right: auto;
        margin: 1rem auto 0;
        max-width: 100%;
    }
}

/* New Avatar Section */
.new-avatar-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1.5rem 0;
    animation: fadeInUp 1s ease-out 0.5s both;
    transform: translateX(-15px);
    z-index: 1;
    min-height: 400px;
    padding-top: 2rem;
}

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

.avatar-comment {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 50%, 
        rgba(241, 245, 249, 0.95) 100%);
    color: #1e293b;
    padding: 1.2rem 2rem;
    border-radius: 50px 50px 50px 15px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    position: relative;
    z-index: 10;
    animation: thoughtBubbleFloat 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.5rem;
    max-width: 280px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.avatar-comment:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.2),
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 250, 252, 0.98) 50%, 
        rgba(241, 245, 249, 0.98) 100%);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar-comment::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.avatar-comment::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 16px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid rgba(248, 250, 252, 0.95);
    z-index: -1;
}

.avatar-comment p {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #1e293b;
    line-height: 1.4;
}

/* Avatar CTA Button */
.avatar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}

.avatar-cta-btn .cta-icon {
    width: 20px;
    height: 20px;
}

.avatar-cta-btn:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.avatar-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

@keyframes thoughtBubbleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-4px) rotate(0deg);
    }
    75% {
        transform: translateY(-2px) rotate(-0.5deg);
    }
}

/* Thought bubble tail */
.avatar-comment::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 16px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid rgba(248, 250, 252, 0.95);
    z-index: -1;
}

.avatar-comment::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Small thought bubbles around the main bubble */
.avatar-comment:hover::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -12px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: smallBubbleFloat 2s ease-in-out infinite;
    z-index: 1;
}

.avatar-comment:hover::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -25px;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    animation: smallBubbleFloat 2.5s ease-in-out infinite;
    z-index: 1;
}

@keyframes smallBubbleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-3px) scale(1.1);
        opacity: 1;
    }
}

.avatar-box {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(139, 92, 246, 0.25),
        0 0 100px rgba(236, 72, 153, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(236, 72, 153, 0.1) 50%, 
        rgba(6, 182, 212, 0.1) 100%);
    backdrop-filter: blur(10px);
    animation: scaleIn 1s ease-out 0.9s both;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8) rotateY(15deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

.avatar-box:hover {
    transform: scale(1.05) rotateY(5deg) rotateX(3deg);
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(139, 92, 246, 0.35),
        0 0 120px rgba(236, 72, 153, 0.25);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1.1);
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        filter: brightness(1) contrast(1.1) saturate(1);
    }
    50% {
        filter: brightness(1.05) contrast(1.15) saturate(1.1);
    }
}

.avatar-box:hover .avatar-img {
    filter: brightness(1.1) contrast(1.2) saturate(1.1);
    transform: scale(1.1);
}

.avatar-glow-effect {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(45deg, 
        #8b5cf6 0%, 
        #ec4899 25%, 
        #06b6d4 50%, 
        #8b5cf6 75%, 
        #ec4899 100%);
    border-radius: 26px;
    z-index: -1;
    animation: rotate 4s linear infinite;
    opacity: 0.8;
    filter: blur(2px);
}

.industry-badge {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.9) 0%, 
        rgba(236, 72, 153, 0.9) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Features Section - Modern Card Design */
.features {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(30, 41, 59, 0.95) 50%, 
        rgba(15, 23, 42, 0.98) 100%);
    padding: 0.5rem 0 4rem 0;
    position: relative;
    overflow: hidden;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

.features.section {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.features .section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.features .section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 2;
    font-weight: 400;
    line-height: 1.6;
}

.features-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.feature-item {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

/* Feature Layout Variations */
.feature-item.feature-right {
    flex-direction: row-reverse;
    text-align: right;
}

.feature-item.feature-left {
    flex-direction: row;
    text-align: left;
}

.feature-visual {
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    max-height: 280px;
    width: 280px;
    box-sizing: border-box;
    overflow: hidden;
}

.feature-animation {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.feature-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.feature-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
}

.feature-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:nth-child(2) {
    background: #8b5cf6;
    border: 1px solid #8b5cf6;
    color: #ffffff;
}

.tag:nth-child(3) {
    background: #10b981;
    border: 1px solid #10b981;
    color: #ffffff;
}

.tag:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tag:nth-child(2):hover {
    background: #7c3aed;
    border-color: #7c3aed;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.tag:nth-child(3):hover {
    background: #059669;
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Feature Visual Elements */
.language-flags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.flag {
    font-size: 1.5rem;
    padding: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.flag:hover {
    transform: scale(1.1);
    background: rgba(139, 92, 246, 0.2);
}

.conversation-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 80%;
    animation: messageSlide 0.5s ease-out;
}

.user-msg {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: white;
    align-self: flex-end;
}

.emma-msg {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    align-self: flex-start;
}

.avatar-preview {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-preview:hover {
    transform: scale(1.05);
    border-color: rgba(139, 92, 246, 0.5);
}

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

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.security-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.industry-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.industry-icon {
    font-size: 1.5rem;
    padding: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    animation: iconBounce 2s ease-in-out infinite;
}

.industry-icon:nth-child(1) { animation-delay: 0s; }
.industry-icon:nth-child(2) { animation-delay: 0.2s; }
.industry-icon:nth-child(3) { animation-delay: 0.4s; }
.industry-icon:nth-child(4) { animation-delay: 0.6s; }
.industry-icon:nth-child(5) { animation-delay: 0.8s; }
.industry-icon:nth-child(6) { animation-delay: 1s; }

.industry-icon:hover {
    transform: scale(1.1);
    background: rgba(139, 92, 246, 0.2);
}

.digital-clock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.time-display {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.time {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #8b5cf6;
    letter-spacing: 0.1em;
    animation: timeGlow 2s ease-in-out infinite;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.integration-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.logo-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logo-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.chart-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mini-chart {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 60px;
}

.bar {
    width: 12px;
    background: linear-gradient(to top, #8b5cf6, #ec4899);
    border-radius: 2px 2px 0 0;
    animation: chartGrow 2s ease-out infinite;
}

.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }
.bar:nth-child(4) { animation-delay: 0.6s; }
.bar:nth-child(5) { animation-delay: 0.8s; }

/* Animations */
@keyframes messageSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes chartGrow {
    0% { height: 0%; }
    100% { height: var(--height, 60%); }
}

/* Globe Container */
.globe-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b, #334155);
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: globeRotate 20s linear infinite;
}

.globe-surface {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    overflow: hidden;
}

.globe-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(139, 92, 246, 0.2) 1px, transparent 1px),
        linear-gradient(rgba(139, 92, 246, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.6;
}

.globe-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #8b5cf6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: globePulse 2s ease-in-out infinite;
}

.globe-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-1 {
    width: 160px;
    height: 160px;
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.ring-2 {
    width: 200px;
    height: 200px;
    top: -40px;
    left: -40px;
    animation-delay: 1s;
}

.ring-3 {
    width: 240px;
    height: 240px;
    top: -60px;
    left: -60px;
    animation-delay: 2s;
}

.language-orbits {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.language-orb {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orbitRotate 15s linear infinite;
}

.orbit-1 { transform: rotate(0deg) translateX(100px) rotate(0deg); animation-delay: 0s; }
.orbit-2 { transform: rotate(60deg) translateX(100px) rotate(-60deg); animation-delay: -2.5s; }
.orbit-3 { transform: rotate(120deg) translateX(100px) rotate(-120deg); animation-delay: -5s; }
.orbit-4 { transform: rotate(180deg) translateX(100px) rotate(-180deg); animation-delay: -7.5s; }
.orbit-5 { transform: rotate(240deg) translateX(100px) rotate(-240deg); animation-delay: -10s; }
.orbit-6 { transform: rotate(300deg) translateX(100px) rotate(-300deg); animation-delay: -12.5s; }

.orb-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.flag-icon {
    font-size: 1.2rem;
}

.orb-content span {
    font-size: 0.7rem;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* Conversation Interface */
.conversation-interface {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.message-bubble {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    max-width: 85%;
    animation: messageSlideIn 0.6s ease-out;
}

.user-bubble {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.emma-bubble {
    align-self: flex-start;
}

.message-content {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 18px 18px 4px 18px;
    padding: 0.875rem 1.25rem;
    position: relative;
}

.emma-bubble .message-content {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    border-radius: 18px 18px 18px 4px;
}

.message-text {
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.message-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.message-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.emma-avatar {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.typing-indicator {
    align-self: flex-start;
    padding: 0.75rem 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 18px 18px 18px 4px;
    margin-top: 0.5rem;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

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

/* Avatar Customization */
.avatar-customization {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.avatar-preview {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60%;
}

.avatar-frame {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

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

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.customization-controls {
    text-align: center;
    color: white;
}

.control-group {
    margin-bottom: 1rem;
}

.control-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.name-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    color: white;
    font-size: 0.8rem;
    width: 100px;
    text-align: center;
}

.style-options {
    display: flex;
    gap: 0.5rem;
}

.style-btn {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    color: white;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.style-btn.active {
    background: rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.avatar-variants {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.variant {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.variant.active {
    opacity: 1;
    transform: scale(1.1);
}

.variant img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.variant span {
    font-size: 0.7rem;
    color: white;
    font-weight: 500;
}

/* Security Matrix */
.security-matrix {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.security-core {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    z-index: 3;
}

.shield-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.security-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.security-ring {
    position: absolute;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    animation: securityPulse 3s ease-in-out infinite;
}

.ring-1 {
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.ring-2 {
    width: 140px;
    height: 140px;
    top: -70px;
    left: -70px;
    animation-delay: 1s;
}

.ring-3 {
    width: 180px;
    height: 180px;
    top: -90px;
    left: -90px;
    animation-delay: 2s;
}

.security-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-icon {
    font-size: 1rem;
}

.security-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; right: 20%; animation-delay: 1s; }
.particle:nth-child(3) { bottom: 30%; left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { top: 40%; right: 40%; animation-delay: 3s; }

/* Industry Network */
.industry-network {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    z-index: 3;
}

.hub-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.hub-icon svg {
    width: 100%;
    height: 100%;
}

.industry-nodes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.node:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: scale(1.1);
}

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

.node span {
    font-size: 0.7rem;
    color: white;
    font-weight: 500;
    text-align: center;
}

.healthcare { top: -60px; left: -30px; }
.finance { top: -30px; right: -60px; }
.education { bottom: -30px; right: -60px; }
.retail { bottom: -60px; left: -30px; }
.energy { top: -45px; left: -60px; }
.manufacturing { bottom: -45px; right: -30px; }

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    animation: lineFlow 3s ease-in-out infinite;
}

.line-1 { top: 50%; left: 50%; width: 60px; transform: rotate(0deg); animation-delay: 0s; }
.line-2 { top: 50%; left: 50%; width: 60px; transform: rotate(60deg); animation-delay: 0.5s; }
.line-3 { top: 50%; left: 50%; width: 60px; transform: rotate(120deg); animation-delay: 1s; }
.line-4 { top: 50%; left: 50%; width: 60px; transform: rotate(180deg); animation-delay: 1.5s; }
.line-5 { top: 50%; left: 50%; width: 60px; transform: rotate(240deg); animation-delay: 2s; }
.line-6 { top: 50%; left: 50%; width: 60px; transform: rotate(300deg); animation-delay: 2.5s; }

/* Availability Monitor */
.availability-monitor {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.clock-display {
    position: relative;
}

.clock-face {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    position: relative;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #8b5cf6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.hour-hand, .minute-hand, .second-hand {
    position: absolute;
    background: white;
    border-radius: 2px;
    transform-origin: bottom center;
    animation: clockTick 2s linear infinite;
}

.hour-hand {
    width: 4px;
    height: 35px;
    top: 25px;
    left: 58px;
}

.minute-hand {
    width: 3px;
    height: 45px;
    top: 15px;
    left: 58.5px;
    animation-duration: 1s;
}

.second-hand {
    width: 1px;
    height: 50px;
    top: 10px;
    left: 59.5px;
    background: #8b5cf6;
    animation-duration: 0.5s;
}

.clock-numbers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.number {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 600;
}

.number-12 { top: 8px; left: 50%; transform: translateX(-50%); }
.number-3 { right: 8px; top: 50%; transform: translateY(-50%); }
.number-6 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.number-9 { left: 8px; top: 50%; transform: translateY(-50%); }

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

.timezone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 0.8rem;
}

.timezone-name {
    font-weight: 600;
    min-width: 30px;
}

.timezone-time {
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

/* Analytics Dashboard */
.analytics-dashboard {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.chart-bars .bar {
    width: 12px;
    background: linear-gradient(to top, #8b5cf6, #ec4899);
    border-radius: 2px 2px 0 0;
    animation: chartGrow 2s ease-out infinite;
}

.chart-bars .bar-1 { height: 30%; animation-delay: 0s; }
.chart-bars .bar-2 { height: 60%; animation-delay: 0.2s; }
.chart-bars .bar-3 { height: 80%; animation-delay: 0.4s; }
.chart-bars .bar-4 { height: 45%; animation-delay: 0.6s; }
.chart-bars .bar-5 { height: 70%; animation-delay: 0.8s; }

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.metric-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

@keyframes chartGrow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

/* Integration Dashboard */
.integration-dashboard {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 100%;
}

.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.integration-card:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.integration-logo {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.8);
}

.integration-logo svg {
    width: 100%;
    height: 100%;
}

.integration-card span {
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
    text-align: center;
}

/* Analytics Dashboard */
.analytics-dashboard {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-header h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.chart-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-btn.active {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    color: white;
}

.chart-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.5rem;
    height: 120px;
    padding: 0 0.5rem;
}

.chart-bar {
    position: relative;
    width: 24px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 4px 4px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    animation: chartGrow 2s ease-out infinite;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(to top, #8b5cf6, #ec4899);
    border-radius: 4px 4px 0 0;
    animation: barFill 2s ease-out infinite;
}

.bar-value {
    position: absolute;
    top: -20px;
    font-size: 0.7rem;
    color: white;
    font-weight: 600;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
}

.chart-labels span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.metrics-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #8b5cf6;
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Animations */
@keyframes globeRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes globePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

@keyframes orbitRotate {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

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

@keyframes typingDot {
    0%, 60%, 100% { transform: scale(1); opacity: 0.5; }
    30% { transform: scale(1.2); opacity: 1; }
}

@keyframes securityPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.4; }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
    50% { transform: translateY(-10px) scale(1.1); opacity: 1; }
}

@keyframes lineFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

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

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes chartGrow {
    0% { height: 0%; }
    100% { height: var(--height, 60%); }
}

@keyframes barFill {
    0% { height: 0%; }
    100% { height: 100%; }
}

@keyframes timeGlow {
    0%, 100% { 
        color: #8b5cf6;
        text-shadow: 0 0 5px rgba(139, 92, 246, 0.3);
    }
    50% { 
        color: #ec4899;
        text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
    }
}

/* Architecture Section */
.architecture {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(30, 41, 59, 0.95) 50%, 
        rgba(15, 23, 42, 0.98) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.architecture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.architecture .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.architecture .section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 2;
    font-weight: 400;
    line-height: 1.5;
}

/* Example Query Container */
.example-query-container {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.example-query {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.query-prefix {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.query-text {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
}

.query-highlight {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.highlight-item {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    animation: highlightPulse 2s ease-in-out infinite;
}

.highlight-item:nth-child(2) {
    animation-delay: 0.5s;
}

.highlight-item:nth-child(3) {
    animation-delay: 1s;
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    }
}

/* Entity Animation Styles */
.entity-text {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.entity-icon {
    font-size: 1.1rem;
    margin-right: 0.3rem;
}

.flying-entity {
    position: relative;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.flying-entity.flying {
    position: fixed;
    z-index: 1000;
    animation: flyDown 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes flyDown {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0.8;
        transform: translateY(800px) scale(0.9);
    }
}

/* Data Stream Container */
.data-stream-container {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: calc(100% - 200px);
    pointer-events: none;
    z-index: 1;
}

#dataStreamCanvas {
    width: 100%;
    height: 100%;
}

.stream-path {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(139, 92, 246, 0.3) 0%,
        rgba(236, 72, 153, 0.2) 50%,
        rgba(6, 182, 212, 0.3) 100%);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.architecture-flow {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.process-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-node {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    margin: 0.5rem 0;
    padding: 1rem 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-node.process-left {
    flex-direction: row;
    margin-left: -2rem;
}

.process-node.process-right {
    flex-direction: row-reverse;
    margin-right: -2rem;
}

.process-node.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.process-node:hover .node-orb {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.process-node:hover .node-content h3 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stage Visualizations */
.stage-visualization {
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stage-visualization.show {
    opacity: 1;
    transform: translateY(0);
}

/* NLP Visualization */
.nlp-visualization {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.entity-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #e2e8f0;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.breakdown-item.show {
    opacity: 1;
    transform: translateX(0);
}

.breakdown-item span {
    font-weight: 500;
}

/* Intelligence Visualization */
.intelligence-visualization {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.intelligence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mini-calendar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.8rem;
}

.calendar-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ec4899;
    margin-bottom: 0.5rem;
    text-align: center;
}

.calendar-grid {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.time-slot {
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.time-slot.highlight {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-color: transparent;
    color: #ffffff;
    font-weight: 600;
    animation: slotPulse 2s ease-in-out infinite;
}

@keyframes slotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    }
}

.contact-lookup {
    position: relative;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.contact-item.show {
    opacity: 1;
    transform: translateX(0);
}

.contact-avatar {
    font-size: 1.5rem;
}

.contact-name {
    font-size: 0.85rem;
    color: #e2e8f0;
}

/* Contact Form Styling */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    letter-spacing: 0.025em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
    opacity: 0.8;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contact-form select {
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23e2e8f0" stroke-width="2"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
    appearance: none;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.025em;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.contact-form .submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Contact Info Styling */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
}

.contact-item:hover {
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.contact-info h3 {
    color: #8b5cf6;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.contact-info p {
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.contact-info a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-info a:hover {
    color: #3b82f6;
    text-decoration: none;
}

/* Specific styling for different contact items */
.contact-item:not(.social-media-section) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.contact-item:not(.social-media-section) h3 {
    width: 100%;
    margin-bottom: 0.75rem;
}

.contact-item:not(.social-media-section) p {
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Email styling */
.contact-item a[href^="mailto:"] {
    color: #3b82f6;
    font-weight: 600;
}

.contact-item a[href^="mailto:"]:hover {
    color: #60a5fa;
}

/* Phone styling */
.contact-item p:contains("631-729-1474") {
    font-family: 'Monaco', 'Menlo', monospace;
    letter-spacing: 0.05em;
}

/* Address styling */
.contact-item p:contains("200 Motor Parkway") {
    line-height: 1.5;
}

/* Response time styling */
.contact-item:contains("Response Time") p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Info Grid Layout */
.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Ensure proper text alignment for all contact items */
.contact-item h3,
.contact-item p,
.contact-item a {
    text-align: left;
    width: 100%;
    display: block;
}

/* Fix any potential alignment issues */
.contact-item {
    text-align: left;
    display: block;
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .contact-form .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Social Media Section Styling */
.contact-item.social-media-section {
    padding: 1.5rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
    display: block !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.contact-item.social-media-section h3 {
    margin-bottom: 1rem !important;
    color: #3b82f6 !important;
    font-size: 1.25rem !important;
}

.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-platform {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-platform:hover::before {
    opacity: 1;
}

.social-platform:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.twitter-icon {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
    border: 1px solid rgba(29, 161, 242, 0.2);
}

.linkedin-icon {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
    border: 1px solid rgba(0, 119, 181, 0.2);
}

.instagram-icon {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border: 1px solid rgba(225, 48, 108, 0.2);
}

.social-platform:hover .twitter-icon {
    background: rgba(29, 161, 242, 0.2);
    border-color: rgba(29, 161, 242, 0.4);
    transform: scale(1.05);
}

.social-platform:hover .linkedin-icon {
    background: rgba(0, 119, 181, 0.2);
    border-color: rgba(0, 119, 181, 0.4);
    transform: scale(1.05);
}

.social-platform:hover .instagram-icon {
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.4);
    transform: scale(1.05);
}

.social-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.social-label {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.social-handle {
    display: block;
    font-size: 1rem;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-handle:hover {
    color: #3b82f6;
    text-decoration: none;
}

/* Responsive Design for Social Media Section */
@media (max-width: 768px) {
    .social-media-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .social-platform {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-label {
        font-size: 0.8rem;
    }
    
    .social-handle {
        font-size: 0.9rem;
    }
}

/* Response Visualization */
.response-visualization {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.typing-indicator {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
}

.typing-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    animation: typingDot 1.4s ease-in-out infinite;
}

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

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

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

.response-preview {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease 0.8s;
}

.response-preview.show {
    opacity: 1;
    transform: scale(1);
}

/* Integration Visualization */
.integration-visualization {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.integration-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.app-icon.show {
    opacity: 1;
    transform: translateY(0);
}

.app-icon:nth-child(2) {
    transition-delay: 0.2s;
}

.app-icon:nth-child(3) {
    transition-delay: 0.4s;
}

.app-icon svg {
    width: 32px;
    height: 32px;
    color: #8b5cf6;
}

.app-icon span {
    font-size: 0.75rem;
    color: #cbd5e1;
    font-weight: 500;
}

.app-icon:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-5px);
}

.sync-indicator {
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #4ade80;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease 0.6s;
}

.sync-indicator.show {
    opacity: 1;
    transform: scale(1);
}

/* Reactive Tag Animations */
.tag-reactive {
    transition: all 0.3s ease;
}

.tag-reactive.light-up {
    background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.8), 0 0 40px rgba(236, 72, 153, 0.4) !important;
    transform: scale(1.1) translateY(-5px) !important;
}

.node-orb {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.orb-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 3s ease-in-out infinite;
}

.orb-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(139, 92, 246, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    animation: orbFloat 4s ease-in-out infinite;
}

.orb-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-node:hover .orb-icon svg {
    color: #ec4899;
    filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.8));
}

.node-content {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.node-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #e2e8f0, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.node-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0 0 1rem 0;
    font-weight: 400;
}

.floating-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.floating-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: tagFloat 6s ease-in-out infinite;
}

.floating-tag:nth-child(1) {
    animation-delay: 0s;
}

.floating-tag:nth-child(2) {
    animation-delay: 1s;
}

.floating-tag:nth-child(3) {
    animation-delay: 2s;
}

.floating-tag {
    position: relative;
    cursor: pointer;
}

.floating-tag:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.floating-tag[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 250px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.floating-tag[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(139, 92, 246, 0.3);
    z-index: 1000;
}

.flow-line {
    position: relative;
    width: 4px;
    height: 40px;
    background: linear-gradient(180deg, 
        rgba(139, 92, 246, 0.4) 0%, 
        rgba(236, 72, 153, 0.3) 50%, 
        rgba(6, 182, 212, 0.4) 100%);
    border-radius: 2px;
    margin: 0.25rem 0;
    overflow: hidden;
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.6s ease;
}

.flow-line.animate-in {
    opacity: 1;
    transform: scaleY(1);
}

.flow-line:hover {
    background: linear-gradient(180deg, 
        rgba(139, 92, 246, 0.8) 0%, 
        rgba(236, 72, 153, 0.6) 50%, 
        rgba(6, 182, 212, 0.8) 100%);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.flow-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: lineShimmer 2s ease-in-out infinite;
}

.flow-particles {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: particleFlow 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    animation-delay: 0s;
}

.particle:nth-child(2) {
    animation-delay: 1s;
}

.particle:nth-child(3) {
    animation-delay: 2s;
}


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

@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

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

@keyframes lineShimmer {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes particleFlow {
    0% {
        top: 0;
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .features-list {
        padding: 0 1rem;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .feature-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
        min-height: auto !important;
        margin-bottom: 1.5rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Override feature-right alignment on mobile */
    .feature-item.feature-right {
        text-align: center !important;
    }
    
    .feature-item.feature-left {
        text-align: center !important;
    }
    
    .feature-visual {
        flex: none !important;
        width: 100%;
        min-height: 180px;
        max-height: 200px;
        order: -1; /* Always show visual first on mobile */
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .feature-content {
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .features .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .features .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .feature-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    
    .feature-tags {
        justify-content: center;
        padding: 0 0.5rem;
    }
    
    /* Lottie players mobile sizing */
    lottie-player {
        max-width: 100% !important;
        max-height: 180px !important;
        width: auto !important;
        height: auto !important;
    }
    
    .conversation-lottie-container,
    .multilingual-lottie-container,
    .security-lottie-container,
    .industry-lottie-container,
    .emergency-lottie-container,
    .integration-lottie-container {
        width: 100%;
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Conversation bubbles on mobile */
    .conversation-flow {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .message-bubble {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        max-width: 90%;
    }
    
    .architecture-flow {
        padding: 0 1rem;
    }
}

/* Extra Small Mobile (Phones < 480px) */
@media (max-width: 480px) {
    .feature-item {
        padding: 1.25rem 0.75rem !important;
        gap: 1rem !important;
        margin-bottom: 1.25rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .feature-visual {
        min-height: 150px !important;
        max-height: 160px !important;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .features .section-title {
        font-size: 1.75rem;
    }
    
    .feature-title {
        font-size: 1.15rem;
    }
    
    .feature-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    lottie-player {
        max-height: 150px !important;
    }
    
    .conversation-lottie-container,
    .multilingual-lottie-container,
    .security-lottie-container,
    .industry-lottie-container,
    .emergency-lottie-container,
    .integration-lottie-container {
        height: 150px;
    }
    
    .process-node {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
        padding: 0.8rem;
        margin: 0.3rem 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .process-left,
    .process-right {
        flex-direction: column !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .node-orb {
        width: 100px;
        height: 100px;
    }
    
    .orb-icon {
        width: 70px;
        height: 70px;
    }
    
    .orb-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .node-content h3 {
        font-size: 1.5rem;
    }
    
    .node-content p {
        font-size: 1rem;
    }
    
    .flow-line {
        height: 30px;
        margin: 0.2rem 0;
    }
    
    .architecture .section-title {
        font-size: 2.5rem;
    }
    
    .architecture .section-subtitle {
        font-size: 1.1rem;
    }
    
    .example-query-container {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .example-query {
        padding: 1rem 1.5rem;
    }
    
    .query-text {
        font-size: 1rem;
    }
    
    .query-highlight {
        gap: 0.5rem;
    }
    
    .highlight-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .stage-visualization {
        padding: 0.8rem;
    }
    
    .intelligence-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .integration-icons {
        gap: 0.8rem;
    }
    
    .app-icon {
        padding: 0.8rem;
    }
    
    .app-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .entity-icon {
        font-size: 1rem;
    }
    
    .data-stream-container {
        display: none;
    }
    
}

/* Audio Options */
.audio-options {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1.1s both;
}

.audio-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(236, 72, 153, 0.2) 50%, 
        rgba(6, 182, 212, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 500;
    animation: slideInUp 0.6s ease-out both;
    transform: translateY(20px);
    opacity: 0;
}

.audio-language:nth-child(1) {
    animation-delay: 1.2s;
}

.audio-language:nth-child(2) {
    animation-delay: 1.4s;
}

.audio-language:nth-child(3) {
    animation-delay: 1.6s;
}

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

.audio-language:hover {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.4) 0%, 
        rgba(236, 72, 153, 0.4) 50%, 
        rgba(6, 182, 212, 0.4) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.audio-language.active {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.6) 0%, 
        rgba(236, 72, 153, 0.6) 50%, 
        rgba(6, 182, 212, 0.6) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.audio-language.playing {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.7) 0%, 
        rgba(5, 150, 105, 0.7) 50%, 
        rgba(4, 120, 87, 0.7) 100%);
    border-color: rgba(16, 185, 129, 0.8);
    animation: pulse-audio 1.5s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
}

@keyframes pulse-audio {
    0%, 100% {
        transform: translateY(-2px) scale(1);
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 10px 30px rgba(16, 185, 129, 0.7);
    }
}

.flag {
    font-size: 1.2rem;
}

.lang-name {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .avatar-box {
        width: 320px;
        height: 400px;
    }
    
    .avatar-comment {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        max-width: 240px;
        margin-bottom: 0.8rem;
    }
    
    .avatar-cta-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .avatar-cta-btn .cta-icon {
        width: 18px;
        height: 18px;
    }
    
    .audio-options {
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .audio-language {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .flag {
        font-size: 1rem;
    }
    
    .lang-name {
        font-size: 0.8rem;
    }
}

.emma-avatar {
    position: relative;
    width: 300px;
    height: 300px;
}

.avatar-circle {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.3);
    animation: float 3s ease-in-out infinite;
}

.avatar-face {
    position: relative;
    width: 80px;
    height: 60px;
}

.eye {
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    top: 15px;
    animation: blink 4s infinite;
}

.eye.left {
    left: 15px;
}

.eye.right {
    right: 15px;
}

.mouth {
    position: absolute;
    width: 30px;
    height: 15px;
    border: 2px solid white;
    border-top: none;
    border-radius: 0 0 30px 30px;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: smile 2s ease-in-out infinite;
}

.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ai-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: orbit 4s linear infinite;
}

.ai-particles .particle:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 3s;
}

.ai-particles .particle:nth-child(2) {
    animation-delay: 0.5s;
    animation-duration: 4s;
}

.ai-particles .particle:nth-child(3) {
    animation-delay: 1s;
    animation-duration: 5s;
}

.ai-particles .particle:nth-child(4) {
    animation-delay: 1.5s;
    animation-duration: 3.5s;
}

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

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

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

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: flex-start;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff88;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem 0;
    text-align: center;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start;
}

/* Capabilities Section */
.capabilities {
    background: var(--bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin: 10px;
    width: calc(100% - 20px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 30px rgba(139, 92, 246, 0.2);
    color: var(--text-primary);
}

.capabilities .section-title,
.capabilities .section-subtitle {
    color: white;
    text-align: center;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.capability-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
}

.capability-card:hover {
    transform: translateY(-10px);
    background: rgba(26, 26, 46, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.3);
    border-color: var(--accent-primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3));
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
    min-height: 2.6rem;
}

.capability-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    min-height: 4.8rem;
}

.capability-demo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-bubble {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 80%;
}

.demo-bubble.emma-response {
    background: rgba(255, 255, 255, 0.2);
    align-self: flex-end;
    max-width: 90%;
}

/* Emma Image and Multilingual Features */
.emma-image-container {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 auto 2rem auto;
}

.emma-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.3);
    transition: all 0.3s ease;
}

.emma-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(107, 70, 193, 0.4);
}

.speaking-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaking-indicator.active {
    opacity: 1;
}

.sound-wave {
    width: 4px;
    height: 20px;
    background: #00ff88;
    border-radius: 2px;
    animation: soundWave 1s ease-in-out infinite;
}

.sound-wave:nth-child(2) {
    animation-delay: 0.2s;
}

.sound-wave:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes soundWave {
    0%, 100% { height: 20px; }
    50% { height: 40px; }
}

/* Language Selector */
.language-selector {
    text-align: center;
    margin-top: 2rem;
}

.language-selector h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.language-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(107, 70, 193, 0.1);
    border: 2px solid rgba(107, 70, 193, 0.2);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(107, 70, 193, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* Audio playing indicator */
.lang-btn.playing {
    animation: audioPulse 1.5s ease-in-out infinite;
}

@keyframes audioPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(139, 92, 246, 0.6);
    }
}

/* Loading state for audio */
.lang-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.lang-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translateY(-50%);
}

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

.flag {
    font-size: 1.2rem;
}

.demo-text {
    background: rgba(107, 70, 193, 0.1);
    border-radius: 15px;
    padding: 1rem;
    margin-top: 1rem;
}

.demo-text p {
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
}

/* Value Proposition Section */
.value-proposition {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 10px;
    width: calc(100% - 20px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.value-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.value-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.value-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.value-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-point {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.point-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.point-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.point-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Pricing Card */
.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.price-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0 0.25rem;
}

.period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.price-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.features-list {
    text-align: left;
    margin-bottom: 2rem;
}

.feature-item {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.buy-now-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.guarantee {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Resources Section Styles */
.resources {
    padding: 6rem 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    margin: 10px;
    width: calc(100% - 20px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.1);
    color: var(--text-primary);
}

/* Slider Styles */
.blogs-slider-container,
.usecases-slider-container,
.casestudies-slider-container {
    position: relative;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 20px;
}

.blogs-slider,
.usecases-slider,
.casestudies-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.blog-card,
.usecase-card,
.casestudy-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 280px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover,
.usecase-card:hover,
.casestudy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background: white;
    transform: scale(1.2);
}

.resources-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px rgba(139, 92, 246, 0.2);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
}

.resource-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resource-tab.active {
    background: white;
    color: #8b5cf6;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.resource-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.resource-content {
    display: none;
}

.resource-content.active {
    display: block;
}

/* Blogs Styles */
.blogs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blogs-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.blogs-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

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

.blog-card {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.blog-image {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-date {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.blog-author span {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    text-shadow: none;
}

.blogs-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Use Cases Styles */
.usecases-header {
    text-align: center;
    margin-bottom: 3rem;
}

.usecases-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.usecases-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

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

.usecase-card {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-align: center;
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.usecase-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.usecase-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.usecase-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.usecase-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

.usecase-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.usecases-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Documentation Styles */
.documentation-header {
    text-align: center;
    margin-bottom: 3rem;
}

.documentation-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.documentation-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.documentation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.doc-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.doc-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.doc-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.doc-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.doc-link:hover {
    color: #764ba2;
}

/* Mobile Responsive for Resources */
@media (max-width: 768px) {
    .resources-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .resource-tab {
        padding: 0.75rem 1rem;
    }
    
    .blogs-grid,
    .usecases-grid,
    .documentation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .usecase-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blogs-actions,
    .usecases-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .blogs-header h3,
    .usecases-header h3,
    .documentation-header h3 {
        font-size: 2rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Blog Modal Specific Styles - Much Larger for Better Reading */
#blogModal .modal-content,
#usecaseModal .modal-content,
#casestudyModal .modal-content {
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    min-height: 600px;
}

#blogModal .modal-body,
#usecaseModal .modal-body,
#casestudyModal .modal-body {
    padding: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

#blogModal .modal-header h2,
#usecaseModal .modal-header h2,
#casestudyModal .modal-header h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

#blogModal .blog-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

#blogModal .blog-detail-content h1,
#blogModal .blog-detail-content h2,
#blogModal .blog-detail-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

#blogModal .blog-detail-content p {
    margin-bottom: 1.5rem;
}

#blogModal .blog-detail-image {
    margin: 2rem 0;
    text-align: center;
}

#blogModal .blog-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#blogModal .blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    flex-wrap: wrap;
}

#blogModal .blog-category {
    background: #8b5cf6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

#blogModal .blog-date {
    color: #6b7280;
    font-size: 0.9rem;
}

#blogModal .blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#blogModal .blog-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

#blogModal .blog-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

#blogModal .blog-detail-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#blogModal .blog-detail-gallery img:hover {
    transform: scale(1.05);
}

/* Additional Blog Reading Enhancements */
#blogModal .blog-detail-content blockquote {
    border-left: 4px solid #8b5cf6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

#blogModal .blog-detail-content ul,
#blogModal .blog-detail-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

#blogModal .blog-detail-content li {
    margin-bottom: 0.5rem;
}

#blogModal .blog-detail-content code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e11d48;
}

#blogModal .blog-detail-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

#blogModal .blog-detail-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Smooth scrolling for better reading experience */
#blogModal .modal-body {
    scroll-behavior: smooth;
}

/* Reading progress indicator */
#blogModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#blogModal .modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

#blogModal .modal-body::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 3px;
}

#blogModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Use Case Modal Specific Styles */
#usecaseModal .usecase-detail-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
}

#usecaseModal .usecase-detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

#usecaseModal .usecase-detail-stats .stat {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

#usecaseModal .usecase-detail-stats .stat h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#usecaseModal .usecase-detail-stats .stat p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

#usecaseModal .usecase-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

#usecaseModal .usecase-detail-tags .tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

#usecaseModal .usecase-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

#usecaseModal .usecase-detail-content h3 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

#usecaseModal .usecase-detail-content p {
    margin-bottom: 1.5rem;
}

#usecaseModal .usecase-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

#usecaseModal .usecase-detail-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#usecaseModal .usecase-detail-gallery img:hover {
    transform: scale(1.05);
}

/* Case Study Modal Specific Styles */
#casestudyModal .casestudy-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    flex-wrap: wrap;
}

#casestudyModal .casestudy-client {
    background: #8b5cf6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

#casestudyModal .casestudy-date {
    color: #6b7280;
    font-size: 0.9rem;
}

#casestudyModal .casestudy-industry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-weight: 600;
}

#casestudyModal .casestudy-detail-image {
    margin: 2rem 0;
    text-align: center;
}

#casestudyModal .casestudy-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#casestudyModal .casestudy-detail-summary {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
}

#casestudyModal .casestudy-detail-results {
    margin: 2rem 0;
}

#casestudyModal .casestudy-detail-results h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

#casestudyModal .casestudy-detail-results .result-item {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

#casestudyModal .casestudy-detail-results .result-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#casestudyModal .casestudy-detail-results .result-item p {
    margin: 0;
    opacity: 0.9;
}

#casestudyModal .casestudy-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

#casestudyModal .casestudy-detail-tags .tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

#casestudyModal .casestudy-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

#casestudyModal .casestudy-detail-content h3 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

#casestudyModal .casestudy-detail-content p {
    margin-bottom: 1.5rem;
}

#casestudyModal .casestudy-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

#casestudyModal .casestudy-detail-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#casestudyModal .casestudy-detail-gallery img:hover {
    transform: scale(1.05);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.modal-body {
    padding: 0.75rem 1rem;
    flex: 1;
    overflow-y: auto;
    max-height: calc(80vh - 100px);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.75rem;
    border-top: 1px solid #e2e8f0;
    position: sticky;
    bottom: 0;
    background: white;
    border-radius: 0 0 16px 16px;
    flex-shrink: 0;
}

/* Contact Form Modal Specific Styles */
#contact-sales-form .modal-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

#contact-sales-form .header-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#contact-sales-form .header-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#contact-sales-form .header-icon svg {
    width: 12px;
    height: 12px;
    color: white;
}

#contact-sales-form .header-text h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

#contact-sales-form .header-text p {
    display: none;
}

#contact-sales-form .modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

#contact-sales-form .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

#contact-sales-form .contact-form {
    padding: 0;
}

#contact-sales-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#contact-sales-form .form-group {
    margin-bottom: 0;
}

#contact-sales-form .form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.125rem;
    font-size: 0.75rem;
}

#contact-sales-form .form-group input,
#contact-sales-form .form-group select,
#contact-sales-form .form-group textarea {
    width: 100%;
    padding: 0.375rem 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    background: white;
    color: #374151;
    font-family: inherit;
}

#contact-sales-form .form-group input:focus,
#contact-sales-form .form-group select:focus,
#contact-sales-form .form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

#contact-sales-form .form-group textarea {
    resize: vertical;
    min-height: 40px;
    line-height: 1.2;
}

#contact-sales-form .form-group select {
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    appearance: none;
}

/* Blog Detail Styles */
.blog-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.blog-detail-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.blog-detail-image:hover img {
    transform: scale(1.02);
}

.blog-detail-content {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #374151;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3 {
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.blog-detail-content h1 {
    font-size: 2rem;
}

.blog-detail-content h2 {
    font-size: 1.5rem;
}

.blog-detail-content h3 {
    font-size: 1.25rem;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Ensure proper spacing before footer */
section:last-of-type {
    margin-bottom: 6rem;
}

/* Add clear separation before footer */
.footer::before {
    content: '';
    display: block;
    height: 4rem;
    background: transparent;
}

/* Force clear separation for all content before footer */
main, .main-content, .resources-section, .hero, .filters-section {
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
    padding-bottom: 2rem;
}

/* Ensure footer has proper positioning */
.footer {
    position: relative;
    z-index: 2;
    clear: both;
    margin-top: 2rem;
}

/* Add a clear separation div before footer */
.footer-separator {
    height: 4rem;
    background: transparent;
    clear: both;
    display: block;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-detail-content li {
    margin-bottom: 0.5rem;
}

.blog-detail-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #64748b;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.blog-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.blog-detail-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-detail-gallery img:hover {
    transform: scale(1.05);
}

/* Use Case Detail Styles */
.usecase-detail-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.usecase-detail-icon i {
    font-size: 4rem;
    color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.usecase-detail-description {
    text-align: center;
    margin-bottom: 2rem;
}

.usecase-detail-description p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
}

.usecase-detail-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.usecase-detail-stats .stat {
    text-align: center;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 120px;
}

.usecase-detail-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    line-height: 1;
}

.usecase-detail-stats .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.usecase-detail-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.usecase-detail-tags .tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.usecase-detail-content {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #374151;
}

.usecase-detail-content h1,
.usecase-detail-content h2,
.usecase-detail-content h3 {
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.usecase-detail-content h1 {
    font-size: 2rem;
}

.usecase-detail-content h2 {
    font-size: 1.5rem;
}

.usecase-detail-content h3 {
    font-size: 1.25rem;
}

.usecase-detail-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.usecase-detail-content ul,
.usecase-detail-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.usecase-detail-content li {
    margin-bottom: 0.5rem;
}

.usecase-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.usecase-detail-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.usecase-detail-gallery img:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive for Modals */
@media (max-width: 768px) {
    .modal.show {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
        width: 100%;
        margin: 0;
        max-width: 100%;
    }
    
    .modal-header {
        padding: 1rem 1rem 0.75rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 0.75rem 1rem;
        max-height: calc(95vh - 120px);
    }
    
    .modal-footer {
        padding: 0.5rem 1rem 0.75rem;
        flex-direction: column;
    }
    
    /* Blog Modal Mobile Styles */
    #blogModal .modal-content,
    #usecaseModal .modal-content,
    #casestudyModal .modal-content {
        max-width: 100%;
        width: 100%;
        min-height: 500px;
    }
    
    #blogModal .modal-header h2,
    #usecaseModal .modal-header h2,
    #casestudyModal .modal-header h2 {
        font-size: 1.5rem;
    }
    
    #blogModal .modal-body,
    #usecaseModal .modal-body,
    #casestudyModal .modal-body {
        padding: 1rem;
        font-size: 1rem;
    }
    
    #blogModal .blog-detail-meta,
    #casestudyModal .casestudy-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    #blogModal .blog-detail-gallery,
    #usecaseModal .usecase-detail-gallery,
    #casestudyModal .casestudy-detail-gallery {
        grid-template-columns: 1fr;
    }
    
    #usecaseModal .usecase-detail-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    #usecaseModal .usecase-detail-stats .stat {
        padding: 1rem;
    }
    
    #usecaseModal .usecase-detail-stats .stat h4 {
        font-size: 1.2rem;
    }
    
    #casestudyModal .casestudy-detail-results .result-item {
        padding: 1rem;
    }
    
    #casestudyModal .casestudy-detail-results .result-item h4 {
        font-size: 1.1rem;
    }
    
    #contact-sales-form .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    #contact-sales-form .header-text h2 {
        font-size: 1.1rem;
    }
    
    #contact-sales-form .header-text p {
        font-size: 0.75rem;
    }
    
    .blog-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-detail-image {
        margin: 1rem 0;
    }
    
    .blog-detail-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Mobile Responsive for Blog and Use Case Details */
@media (max-width: 768px) {
    .usecase-detail-stats {
        gap: 1.5rem;
    }
    
    .usecase-detail-stats .stat {
        min-width: 100px;
        padding: 1rem;
    }
    
    .usecase-detail-stats .stat-number {
        font-size: 2rem;
    }
    
    .blog-detail-gallery,
    .usecase-detail-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    /* Mobile Slider Responsiveness */
    .blog-card,
    .usecase-card {
        flex: 0 0 calc(100% - 1rem);
        min-width: 280px;
    }

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

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

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

    .slider-indicators {
        margin-top: 1.5rem;
    }
}

/* Case Studies Styles */
.casestudies-header {
    text-align: center;
    margin-bottom: 3rem;
}

.casestudies-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.casestudies-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.casestudy-card {
    position: relative;
}

.casestudy-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.casestudy-content {
    padding: 1.5rem;
}

.casestudy-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.casestudy-client {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.casestudy-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.casestudy-industry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.casestudy-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.casestudy-summary {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.casestudy-results {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.casestudy-result {
    text-align: center;
    flex: 1;
}

.casestudy-result-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
}

.casestudy-result-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casestudy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.casestudy-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.casestudies-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

/* Case Study Detail Modal Styles */
.casestudy-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.casestudy-client {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
}

.casestudy-date {
    color: #718096;
    font-size: 0.95rem;
}

.casestudy-industry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

.casestudy-detail-image {
    margin-bottom: 2rem;
}

.casestudy-detail-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.casestudy-detail-summary {
    margin-bottom: 2rem;
}

.casestudy-detail-summary p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
}

.casestudy-detail-results {
    margin-bottom: 2rem;
}

.casestudy-detail-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.casestudy-detail-results .casestudy-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.casestudy-detail-results .casestudy-result {
    text-align: center;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.casestudy-detail-results .casestudy-result-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.casestudy-detail-results .casestudy-result-label {
    font-size: 0.875rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casestudy-detail-tags {
    margin-bottom: 2rem;
}

.casestudy-detail-tags .casestudy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.casestudy-detail-tags .casestudy-tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.casestudy-detail-content {
    margin-bottom: 2rem;
}

.casestudy-detail-content h1,
.casestudy-detail-content h2,
.casestudy-detail-content h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.casestudy-detail-content h1 {
    font-size: 2rem;
    font-weight: 700;
}

.casestudy-detail-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.casestudy-detail-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.casestudy-detail-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.casestudy-detail-content ul,
.casestudy-detail-content ol {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.casestudy-detail-content li {
    margin-bottom: 0.5rem;
}

.casestudy-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.casestudy-detail-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.casestudy-detail-gallery img:hover {
    transform: scale(1.05);
}

/* ========================================
   PRICING SECTION STYLES
   ======================================== */

.pricing {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    margin: 10px;
    width: calc(100% - 20px);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.pricing .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.pricing .section-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pricing .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto 2.5rem;
    max-width: 1200px;
    width: 100%;
    justify-items: center;
    align-items: start;
    padding: 0 2rem;
    box-sizing: border-box;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 0;
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(139, 92, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
    margin: 0 auto;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(139, 92, 246, 0.5);
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%);
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    transform: scale(1.05);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.3),
        0 0 30px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(139, 92, 246, 0.4);
    position: relative;
    z-index: 2;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #06b6d4);
    border-radius: 24px 24px 0 0;
}

.pricing-card.featured::after {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    z-index: 3;
}

.pricing-card.featured .card-header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.pricing-card.featured .card-header::before {
    display: none;
}

.pricing-card.featured .plan-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    transform: scale(1.1);
}

.pricing-card.featured .plan-name {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
    box-shadow: 
        0 20px 50px rgba(139, 92, 246, 0.4),
        0 0 50px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(139, 92, 246, 0.6);
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%);
}

/* Card Header */
.card-header {
    padding: 1.5rem 1.5rem 1.25rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.card-header::before {
    display: none;
}

.plan-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover .plan-icon::before {
    opacity: 1;
}

.plan-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
}

.pricing-card:hover .plan-icon svg {
    color: #ffffff;
    transform: scale(1.1);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pricing-card:hover .plan-name {
    transform: translateY(-2px);
}

.plan-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    font-weight: 500;
    text-align: center;
    max-width: 200px;
    margin: 0 auto;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Plan Features */
.plan-features {
    padding: 0 1.5rem 1rem;
    flex-grow: 1;
    overflow: hidden;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-card .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: white;
    line-height: 1.4;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    background: transparent !important;
    border-radius: 0;
}

.pricing-card .feature-item:hover {
    color: white;
    transform: translateX(4px);
    background: transparent !important;
}

.pricing-card .feature-item svg {
    width: 16px;
    height: 16px;
    color: white;
    flex-shrink: 0;
    margin-top: 0.1rem;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.pricing-card .feature-item:hover svg {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

/* Plan Price */
.plan-price {
    padding: 1rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: auto;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    position: relative;
}

.plan-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 0.25rem;
}

.price-period {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Plan Button */
.plan-btn {
    margin: 0 2rem 2rem;
    width: calc(100% - 4rem);
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.plan-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;
}

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

.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
}

.plan-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.plan-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.plan-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

.plan-features {
    margin-bottom: 2rem;
}

.pricing-card .plan-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
    transition: color 0.3s ease;
    background: transparent !important;
    padding: 0.25rem 0;
    border-radius: 0;
}

.pricing-card .plan-features .feature-item:hover {
    color: rgba(255, 255, 255, 0.9);
    background: transparent !important;
}

.pricing-card .plan-features .feature-item svg {
    width: 20px;
    height: 20px;
    color: white;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.plan-features .feature-item span {
    font-size: 0.95rem;
    line-height: 1.4;
    color: white;
}

.plan-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.price-period {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

.plan-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Custom Solutions */
.custom-solutions {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-bottom: 2rem;
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.custom-solutions:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 50px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.custom-content {
    max-width: 600px;
    margin: 0 auto;
}

.custom-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 6s ease-in-out infinite;
}

.custom-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(6px);
}

.custom-solutions:hover .custom-icon {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 
        0 12px 30px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.custom-icon svg {
    width: 30px;
    height: 30px;
}

.custom-solutions h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

@keyframes glow {
    from { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.1); }
    to { text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 255, 255, 0.2); }
}

.custom-solutions p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.custom-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.custom-feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.custom-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-feature:hover {
    color: white;
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.custom-feature svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    margin-right: 1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
    transition: all 0.3s ease;
}

.custom-feature:hover svg {
    color: #34d399;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.4));
}

.custom-cta {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 25px;
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.custom-cta::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;
}

.custom-cta:hover::before {
    left: 100%;
}

.custom-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.custom-cta:active {
    transform: translateY(-2px) scale(1.02);
}

/* Contact Sales Form - Modern Professional Design */
.contact-sales-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.contact-sales-form.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: -1;
}

.form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    max-width: 800px;
    width: 95%;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-sales-form.show .form-container {
    transform: scale(1) translateY(0);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    0% {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.form-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    padding: 1.25rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.header-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.header-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: white;
}

.header-text p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.form-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.form-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.form-close svg {
    width: 20px;
    height: 20px;
}

.form-content {
    padding: 0;
    flex: 1;
    overflow-y: auto;
    max-height: calc(95vh - 140px);
}

/* Custom scrollbar for form content */
.form-content::-webkit-scrollbar {
    width: 6px;
}

.form-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.form-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 3px;
}

.form-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
}

.sales-form {
    padding: 1rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 2px;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.form-group {
    margin-bottom: 0.75rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.025em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: white;
    color: #374151;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #d1d5db;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
    line-height: 1.4;
}

.form-group select {
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    appearance: none;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.btn-outline {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
    transform: translateY(-1px);
}

.btn-outline svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary.loading {
    position: relative;
    color: transparent;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .pricing {
        padding: 1.5rem 0;
        margin: 5px;
        width: calc(100% - 10px);
    }
    
    .pricing .section-title {
        font-size: 1.75rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
        padding: 0 1rem;
    }
    
    .pricing-card {
        max-width: 100%;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-cards {
        padding: 0 0.5rem;
    }
    
    .pricing-card {
        min-height: 350px;
    }
    
    .card-header {
        padding: 1.25rem 1.25rem 1rem;
    }
    
    .plan-features {
        padding: 0 1.5rem 1rem;
    }
    
    .plan-price {
        padding: 1rem 1.5rem;
    }
    
    .plan-btn {
        margin: 0 1.5rem 1.5rem;
        width: calc(100% - 3rem);
    }
}
    
    .custom-solutions {
        padding: 2rem 1.5rem;
    }
    
    .custom-solutions h3 {
        font-size: 1.5rem;
    }
    
    .custom-solutions p {
        font-size: 0.9rem;
    }
    
    .custom-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .custom-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .custom-cta {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .custom-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* Mobile Responsive for Contact Sales Form */
@media (max-width: 768px) {
    .contact-sales-form {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    .form-container {
        max-width: 100%;
        margin: 0;
        max-height: 95vh;
        width: 100%;
    }
    
    .form-header {
        padding: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .header-text h3 {
        font-size: 1.5rem;
    }
    
    .sales-form {
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-outline,
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .form-container {
        max-width: 100%;
        margin: 0.25rem;
        border-radius: 16px;
    }

    .form-header {
        padding: 1rem;
    }
    
    .header-text h3 {
        font-size: 1.25rem;
    }
    
    .header-text p {
        font-size: 0.875rem;
    }
    
    .sales-form {
        padding: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
}

/* Enhanced Mobile Full-Screen Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(30, 41, 59, 0.95) 50%, 
        rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    background: linear-gradient(90deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(236, 72, 153, 0.1) 100%);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.mobile-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

.mobile-menu-close {
    width: 48px;
    height: 48px;
    background: rgba(236, 72, 153, 0.2);
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.mobile-menu-close:hover {
    background: rgba(236, 72, 153, 0.4);
    border-color: rgba(236, 72, 153, 0.6);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

/* Mobile Navigation Links */
.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mobile-nav-link::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 ease;
}

.mobile-nav-link:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    color: #ffffff;
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link.active {
    background: rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.nav-icon {
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover .nav-icon {
    transform: scale(1.1);
}

.nav-text {
    flex: 1;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    background: linear-gradient(90deg, 
        rgba(139, 92, 246, 0.05) 0%, 
        rgba(236, 72, 153, 0.05) 100%);
}

.mobile-language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-lang-switch-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
}

.mobile-lang-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-lang-switch {
    width: 50px;
    height: 28px;
    background: rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-lang-switch:hover {
    background: rgba(139, 92, 246, 0.5);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.mobile-lang-switch-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-lang-flag {
    font-size: 0.8rem;
}

/* Mobile Menu Animations */
@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.mobile-nav-link {
    animation: fadeInScale 0.3s ease forwards;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-link:nth-child(5) { animation-delay: 0.5s; }

/* Mobile Navigation CTA Button */
.mobile-nav-link-cta {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.mobile-nav-link-cta:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    .mobile-menu-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .mobile-nav-links {
        padding: 1.5rem 1rem;
    }
    
    .mobile-nav-link {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .mobile-menu-footer {
        padding: 1rem;
    }
    
    .mobile-logo-text {
        font-size: 1.25rem;
    }
    
    .mobile-logo-image {
        width: 36px;
        height: 36px;
    }
}

/* ULTIMATE MOBILE MENU OVERRIDE - HIGHEST PRIORITY */
@media screen and (max-width: 768px) {
    /* Hide mobile menu by default */
    .nav-links,
    #navLinks {
        display: none !important;
    }
    
    /* Show mobile menu only when mobile-open class is present */
    .nav-links.mobile-open,
    #navLinks.mobile-open {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999 !important;
        background: linear-gradient(135deg, 
            rgba(15, 23, 42, 0.98) 0%, 
            rgba(30, 41, 59, 0.95) 50%, 
            rgba(15, 23, 42, 0.98) 100%) !important;
        backdrop-filter: blur(25px) !important;
        flex-direction: column !important;
        padding: 2rem 1.5rem !important;
        gap: 2rem !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5) !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        border-top: none !important;
        min-height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        transform: none !important;
        inset: 0 !important;
    }
    
    /* Force mobile menu to be absolutely positioned relative to viewport */
    .nav-links.mobile-open,
    #navLinks.mobile-open {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999 !important;
        background: linear-gradient(135deg, 
            rgba(15, 23, 42, 0.98) 0%, 
            rgba(30, 41, 59, 0.95) 50%, 
            rgba(15, 23, 42, 0.98) 100%) !important;
        backdrop-filter: blur(25px) !important;
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5) !important;
    }
    
    /* Ensure parent containers don't clip the mobile menu */
    .nav-container,
    .navbar,
    .nav-container * {
        overflow: visible !important;
    }
    
    /* Force mobile menu to break out of any parent containers */
    .nav-links.mobile-open,
    #navLinks.mobile-open {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999 !important;
        transform: none !important;
        margin: 0 !important;
        padding: 2rem 1.5rem !important;
        background: linear-gradient(135deg, 
            rgba(15, 23, 42, 0.98) 0%, 
            rgba(30, 41, 59, 0.95) 50%, 
            rgba(15, 23, 42, 0.98) 100%) !important;
        backdrop-filter: blur(25px) !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5) !important;
    }
    
    .nav-links.mobile-open .nav-link,
    #navLinks.mobile-open .nav-link {
        font-size: 1.5rem !important;
        padding: 1.5rem 2rem !important;
        margin: 0.5rem 0 !important;
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        background: linear-gradient(135deg, 
            rgba(139, 92, 246, 0.1) 0%, 
            rgba(59, 130, 246, 0.1) 100%) !important;
        border: 2px solid rgba(139, 92, 246, 0.3) !important;
        border-radius: 16px !important;
        transition: all 0.3s ease !important;
        color: #f8fafc !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1) !important;
    }
    
    .nav-links.mobile-open .nav-link:hover,
    #navLinks.mobile-open .nav-link:hover {
        background: linear-gradient(135deg, 
            rgba(139, 92, 246, 0.2) 0%, 
            rgba(59, 130, 246, 0.2) 100%) !important;
        border-color: rgba(139, 92, 246, 0.6) !important;
        transform: translateY(-2px) scale(1.02) !important;
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3) !important;
    }
    
    .nav-links.mobile-open::before,
    #navLinks.mobile-open::before {
        content: '✕';
        position: absolute;
        top: 2rem;
        right: 2rem;
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, 
            rgba(236, 72, 153, 0.2) 0%, 
            rgba(139, 92, 246, 0.2) 100%);
        border: 2px solid rgba(236, 72, 153, 0.4);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.5rem;
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.3s ease;
        z-index: 100000;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(236, 72, 153, 0.2);
    }
    
    .nav-links.mobile-open::before:hover,
    #navLinks.mobile-open::before:hover {
        background: linear-gradient(135deg, 
            rgba(236, 72, 153, 0.4) 0%, 
            rgba(139, 92, 246, 0.4) 100%);
        border-color: rgba(236, 72, 153, 0.6);
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    }
}

/* Custom bullet styling for problem lists */
.custom-bullet-list {
    list-style: none;
    padding-left: 0;
}

.custom-bullet-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    list-style: none;
}

.custom-bullet-list li::before {
    content: attr(data-number);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    z-index: 1;
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .trust-signals {
        gap: 0.8rem;
    }
    
    .trust-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .social-section {
        margin-top: 1.5rem;
    }
    
    .social-heading {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .link-separator {
        margin: 0 0.3rem;
    }
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: 1.3rem;
    }
    
    .newsletter-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .trust-signals {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .trust-badge {
        width: 100%;
        justify-content: center;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .newsletter-input,
    .newsletter-button {
        width: 100%;
    }
    
    .newsletter-button {
        margin-top: 0.5rem;
    }
    
    .title-highlight::after {
        display: none;
    }
}
