
:root {
    /* Brand Colors */
    --owlfie-green: #368738;
    --owlfie-orange: #e29000;
    --owlfie-blue: #0094c1;
    --brand-turquoise: #6cb9bf;
    --brand-turquoise-light: #8cc9ce;
    --brand-turquoise-dark: #4a9ba3;
    
    /* Dark Theme (Hero) */
    --dark-bg: #0a0b0f;
    --dark-surface: #1a1b23;
    --dark-text: #ffffff;
    --dark-text-secondary: #e2e8f0;
    --dark-text-muted: #94a3b8;
    
    /* Light Theme (Rest) */
    --light-bg: #ffffff;
    --light-surface: #fafbfc;
    --light-surface-secondary: #f4f6f8;
    --light-text: #1e293b;
    --light-text-secondary: #475569;
    --light-text-muted: #64748b;
    
    /* Advanced Gradients */
    --gradient-brand: linear-gradient(135deg, #368738 0%, #6cb9bf 35%, #0094c1 100%);
    --gradient-brand-reverse: linear-gradient(135deg, #0094c1 0%, #6cb9bf 35%, #368738 100%);
    --gradient-hero-glow: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(54, 135, 56, 0.4) 0%, rgba(108, 185, 191, 0.3) 40%, rgba(0, 148, 193, 0.2) 70%, transparent 100%);
    --gradient-section-transition: linear-gradient(180deg, #0a0b0f 0%, #1a1b23 20%, rgba(255, 255, 255, 0) 60%, #ffffff 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-papyrus: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    --gradient-cta-bg: radial-gradient(circle at 30% 20%, rgba(54, 135, 56, 0.1) 0%, transparent 50%), 
                       radial-gradient(circle at 70% 80%, rgba(108, 185, 191, 0.1) 0%, transparent 50%),
                       linear-gradient(45deg, rgba(0, 148, 193, 0.05) 0%, rgba(54, 135, 56, 0.05) 100%);
    
    /* Premium Shadows */
    --shadow-01: 0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-02: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --shadow-03: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    --shadow-04: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --shadow-glow-green: 0 0 60px rgba(54, 135, 56, 0.5);
    --shadow-glow-turquoise: 0 0 40px rgba(108, 185, 191, 0.4);
    --shadow-glass: 0 8px 32px rgba(15, 23, 42, 0.12);
    
    /* Animation Timing */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}


/* Elegant Modern Scrollbar - Matches Website Design */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        var(--owlfie-green) 0%, 
        var(--brand-turquoise) 50%, 
        var(--owlfie-blue) 100%);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        #4a9f52 0%, 
        #8cc9ce 50%, 
        #2ba8c9 100%);
    box-shadow: 0 4px 8px rgba(54, 135, 56, 0.2);
    transform: scaleX(1.2);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, 
        var(--owlfie-green) 0%, 
        var(--brand-turquoise) 100%);
    transform: scaleX(1.4);
}

::-webkit-scrollbar-corner {
    background: rgba(255, 255, 255, 0.02);
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--owlfie-green) rgba(255, 255, 255, 0.05);
}

/* Enhanced scrollbar for dark sections */
.hero::-webkit-scrollbar-track,
.hero *::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
}

.hero::-webkit-scrollbar-thumb,
.hero *::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.6) 0%, 
        var(--brand-turquoise) 50%, 
        var(--owlfie-green) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Scrollbar for mobile webkit browsers */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
    }
    
    ::-webkit-scrollbar-thumb {
        border-radius: 3px;
        background: var(--brand-turquoise);
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--owlfie-green);
        transform: none; /* No scale on mobile */
    }
}

/* Elegant scrollbar for specific containers */
.nav-container::-webkit-scrollbar,
.mobile-menu::-webkit-scrollbar,
.hero-video::-webkit-scrollbar {
    width: 4px;
}

.nav-container::-webkit-scrollbar-thumb,
.mobile-menu::-webkit-scrollbar-thumb,
.hero-video::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    border: none;
}

.nav-container::-webkit-scrollbar-thumb:hover,
.mobile-menu::-webkit-scrollbar-thumb:hover,
.hero-video::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Custom scrollbar animations */
@keyframes scrollbar-glow {
    0%, 100% { 
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    }
    50% { 
        box-shadow: 0 4px 12px rgba(54, 135, 56, 0.3); 
    }
}

::-webkit-scrollbar-thumb:hover {
    animation: scrollbar-glow 2s ease-in-out infinite;
}

/* Scrollbar selection styling */
::selection {
    background: rgba(54, 135, 56, 0.3);
    color: var(--dark-text);
}

::-moz-selection {
    background: rgba(54, 135, 56, 0.3);
    color: var(--dark-text);
}




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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--light-text);
    background: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Hierarchy */
h1, h2, h3, .hero-title, .section-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
}

.papyrus-subtitle {
    font-family: 'Inter', sans-serif;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Loading Screen */
.premium-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.8s var(--ease-smooth);
}

.premium-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-owlfie {
    animation: premium-float 3s var(--ease-smooth) infinite;
    filter: drop-shadow(0 0 100px rgba(54, 135, 56, 0.8));
}

.loader-owlfie svg {
    width: 240px;
    height: 240px;
}

/* Enhanced Owlfie Loading Animations */
.owlfie-body { 
    fill: var(--owlfie-green);
    animation: body-glow 4s ease-in-out infinite;
}
.owlfie-orange { fill: var(--owlfie-orange); }
.owlfie-blue { fill: var(--owlfie-blue); }
.owlfie-white { fill: #ffffff; }

.wing-left { 
    transform-origin: 28px 73px;
    animation: wing-flap-left 1.8s ease-in-out infinite;
}
.wing-right { 
    transform-origin: 74px 73px;
    animation: wing-flap-right 1.8s ease-in-out infinite;
}

.eye-left, .eye-right {
    animation: smart-blink 5s ease-in-out infinite;
}

@keyframes premium-float {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        filter: drop-shadow(0 0 100px rgba(54, 135, 56, 0.8)); 
    }
    50% { 
        transform: translateY(-20px) scale(1.05); 
        filter: drop-shadow(0 0 120px rgba(54, 135, 56, 1)); 
    }
}

@keyframes wing-flap-left {
    0%, 100% { transform: rotate(0deg) scaleY(1); }
    25% { transform: rotate(-15deg) scaleY(0.9); }
    75% { transform: rotate(-22deg) scaleY(0.85); }
}

@keyframes wing-flap-right {
    0%, 100% { transform: rotate(0deg) scaleY(1); }
    25% { transform: rotate(15deg) scaleY(0.9); }
    75% { transform: rotate(22deg) scaleY(0.85); }
}

@keyframes body-glow {
    0%, 100% { fill: #368738; }
    50% { fill: #4a9f52; }
}

@keyframes smart-blink {
    0%, 94%, 100% { opacity: 1; }
    95%, 97% { opacity: 0.1; }
}

.loader-text {
    margin-top: 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text-secondary);
    animation: text-pulse 3s ease-in-out infinite;
}

@keyframes text-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.loader-progress {
    margin-top: 2rem;
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-brand);
    width: 0%;
    border-radius: 2px;
    animation: loading-progress 3s var(--ease-smooth) infinite;
}

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

/* Advanced Floating Navigation - Fixed Responsive Issues */
.premium-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.4s var(--ease-smooth);
}

.nav-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-glass);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s var(--ease-smooth);
    min-height: 60px;
}

.nav-container:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.02);
    box-shadow: var(--shadow-04);
}

.nav-scrolled {
    top: 1.5rem;
}

.nav-scrolled .nav-container {
    padding: 0.75rem 1.25rem;
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px)
}

.nav-scrolled .nav-link {
    color: var(--light-text-secondary);
}

.nav-scrolled .nav-link:hover {
    color: var(--owlfie-green);
    background: rgba(54, 135, 56, 0.1);
}

.nav-scrolled .nav-logo-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

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

.nav-owlfie {
    width: 36px;
    height: 36px;
    animation: nav-float 4s ease-in-out infinite;
}

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

.nav-logo-text {
    font-size: 1.375rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    color: var(--dark-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--brand-turquoise);
    background: rgba(108, 185, 191, 0.1);
    transform: translateY(-2px);
}

.nav-demo-btn {
    background: var(--gradient-brand);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: var(--shadow-02);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

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

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

.nav-demo-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-03);
}

/* Mobile Navigation - Activates at 1024px */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s var(--ease-smooth);
}

.mobile-toggle:hover {
    color: var(--brand-turquoise);
    background: rgba(108, 185, 191, 0.1);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 5.5rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: var(--shadow-04);
    padding: 1.5rem;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
    animation: mobile-slide-down 0.4s var(--ease-smooth);
}

@keyframes mobile-slide-down {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    color: var(--light-text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s var(--ease-smooth);
}

.mobile-nav-link:hover {
    color: var(--owlfie-green);
    background: rgba(54, 135, 56, 0.05);
    transform: translateX(8px);
}

/* Responsive Navigation Breakpoints */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-container {
        gap: 1rem;
    }
}

/* Complete Hero Section - Corporate & Sophisticated */
.hero {
    min-height: 100vh;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Enhanced Dot Effects */
.dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: crosshair;
}

.dot.active {
    background: #ffffff;
    box-shadow: 
        0 0 30px rgba(54, 135, 56, 1),
        0 0 60px rgba(54, 135, 56, 0.6),
        0 0 100px rgba(54, 135, 56, 0.3);
    transform: scale(4);
    border-radius: 50%;
}

.dot.nearby {
    background: var(--brand-turquoise);
    box-shadow: 
        0 0 20px rgba(108, 185, 191, 0.8),
        0 0 40px rgba(108, 185, 191, 0.4);
    transform: scale(2.5);
}

.dot.distant {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes dot-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

/* Stronger Hero Background Gradient */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 140%;
    height: 70%;
    background: radial-gradient(ellipse 100% 80% at 50% 100%, 
        rgba(54, 135, 56, 0.5) 0%, 
        rgba(108, 185, 191, 0.35) 30%, 
        rgba(0, 148, 193, 0.2) 60%, 
        transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
}

/* Smooth organic transition to next section */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.7) 70%,
        var(--light-bg) 100%);
    z-index: 2;
}


/* Smooth Hero Element Animations */
.hero-badge,
.papyrus-subtitle,
.hero-title,
.hero-description,
.hero-actions,
.hero-video-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-smooth);
}

.hero-badge.animate-in,
.papyrus-subtitle.animate-in,
.hero-title.animate-in,
.hero-description.animate-in,
.hero-actions.animate-in,
.hero-video-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Override the individual animation delays */
.hero-title.animate-in {
    animation: elegant-reveal 1.2s var(--ease-smooth) both;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
    padding: 8rem 0 4rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Enhanced Apple-Style Glossy Badge with Auto-loop Shine */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 -1px 0 rgba(0, 0, 0, 0.2) inset;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-smooth);
    
    /* Start hidden for proper animation timing */
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

/* Auto-looping shine effect */
.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    z-index: 1;
    animation: badge-auto-shine 4s ease-in-out infinite;
}

/* Auto-shine animation */
@keyframes badge-auto-shine {
    0%, 85%, 100% {
        left: -100%;
        opacity: 0;
    }
    
    10% {
        opacity: 1;
    }
    
    50% {
        left: 100%;
        opacity: 1;
    }
    
    60% {
        opacity: 0;
    }
}

/* Enhanced hover effect - faster shine + badge transform */
.hero-badge:hover::before {
    animation: badge-hover-shine 0.6s ease-out;
}

.hero-badge:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 -1px 0 rgba(0, 0, 0, 0.3) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hover-specific shine animation - faster and more prominent */
@keyframes badge-hover-shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    
    20% {
        opacity: 0.6;
    }
    
    100% {
        left: 100%;
        opacity: 0.6;
    }
}
/* Hero Title - Fixed Animation Timing */
.hero-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark-text);
    letter-spacing: -0.02em;
    margin: 1rem 0;
    
    /* Start completely hidden */
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(3px);
    transition: all 1.2s var(--ease-smooth);
}



/* Better mobile responsiveness */
@media (max-width: 768px) {
    .hero-badge {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
    
    .papyrus-subtitle {
        font-size: 1rem;
    }
    
    .dot.active {
        transform: scale(3);
        box-shadow: 
            0 0 20px rgba(54, 135, 56, 0.8),
            0 0 40px rgba(54, 135, 56, 0.4);
    }
}


/* Better Animation - Smooth reveal with subtle scale */
@keyframes elegant-reveal {
    0% { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(2px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}


/* Other hero elements - Start hidden */
.hero-description,
.hero-actions,
.hero-video-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-smooth);
}

/* Animation states - Triggered after loader */
.hero-badge.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.papyrus-subtitle.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-title.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

.hero-description.animate-in,
.hero-actions.animate-in,
.hero-video-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}



/* Papyrus Subtitle - Back on Left, Better Styled */
.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.125rem, 2.2vw, 1.5rem);
    font-weight: 600;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: fade-up 0.8s var(--ease-smooth) 0.6s both;
    position: relative;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    border-radius: 1px;
    opacity: 0.4;
}


/* Elegant Papyrus Subtitle - Matching Badge Style */
.papyrus-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark-text-secondary);
    margin: 0.75rem 0 0.5rem 0;
    letter-spacing: 0.01em;
    margin-top: 0;

    /* Start hidden for proper animation timing */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-smooth);
}

.papyrus-subtitle .brand-name {
    font-weight: 700;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 50%, 
        rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    position: relative;
}

.papyrus-subtitle .brand-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.8), 
        rgba(255, 255, 255, 0.2));
    opacity: 0.6;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-text-secondary);
    max-width: 90%;
    animation: fade-up 0.8s var(--ease-smooth) 0.8s both;
}

/* Corporate Button Sizing */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    animation: fade-up 0.8s var(--ease-smooth) 1s both;
}

.primary-btn {
    background: var(--gradient-brand);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: var(--shadow-02);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-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.6s ease;
}

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-03);
}

.secondary-btn {
    background: transparent;
    color: var(--dark-text-secondary);
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.secondary-btn:hover {
    border-color: var(--brand-turquoise);
    color: var(--brand-turquoise);
    background: rgba(108, 185, 191, 0.05);
    transform: translateY(-1px);
}

/* Clean Video Container */
.hero-video-container {
    animation: fade-up 0.8s var(--ease-smooth) 0.8s both;
}

.hero-video {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-03);
    background: var(--dark-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s var(--ease-smooth);
}

.hero-video::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--gradient-brand);
    border-radius: 13px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.hero-video:hover::before {
    opacity: 1;
}

.hero-video:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-04);
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(54, 135, 56, 0.1) 0%, transparent 60%);
    border-radius: 12px;
    transition: opacity 0.3s var(--ease-smooth);
    opacity: 0;
}

.hero-video:hover .video-overlay {
    opacity: 1;
}

/* Fixed Navigation Scroll Colors */
.nav-scrolled .nav-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(0,0,0,0.08);
}

.nav-scrolled .nav-link {
    color: var(--light-text-secondary);
}

.nav-scrolled .nav-link:hover {
    color: var(--owlfie-green);
    background: rgba(54, 135, 56, 0.08);
}

.nav-scrolled .nav-logo-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fade-up Animation */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 6rem 0 3rem;
            }
    
.hero-badge {
        margin-top: 3rem; /* Add extra margin on mobile */
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .dot {
        width: 1.5px;
        height: 1.5px;
    }
    
    .hero-content {
        padding: 5rem 0 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}


/* Light AI Section with Elegant Typography */
.ai-section {
    padding: 8rem 0;
    background: var(--light-bg);
    position: relative;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(54, 135, 56, 0.04) 0%, transparent 70%);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-brand);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-02);
}

/* Elegant Two-line Section Title */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--light-text);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-title .line-two {
    display: block;
    color: var(--owlfie-green);
    font-style: italic;
    font-weight: 600;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--light-text-secondary);
    line-height: 1.6;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Enhanced Owlfie Showcase with Perfect Glow */
.owlfie-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.owlfie-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--light-bg);
    box-shadow: var(--shadow-04);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s var(--ease-smooth);
}

.owlfie-container::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-brand);
    border-radius: 50%;
    z-index: -1;
    animation: rotate-border 20s linear infinite;
}

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

.owlfie-container:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-04), var(--shadow-glow-green);
}

.owlfie-svg {
    width: 180px;
    height: 180px;
    animation: owlfie-float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 40px rgba(54, 135, 56, 0.4));
}

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

/* Enhanced Wing Animations for AI Section */
.owlfie-wing-left {
    transform-origin: 28px 73px;
    animation: hero-wing-left 2s ease-in-out infinite;
}

.owlfie-wing-right {
    transform-origin: 74px 73px;
    animation: hero-wing-right 2s ease-in-out infinite;
}

@keyframes hero-wing-left {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-12deg); }
}

@keyframes hero-wing-right {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(12deg); }
}

/* Premium Features Grid */
.features-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--light-bg);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-03);
    border-color: var(--brand-turquoise-light);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-brand);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    transition: all 0.3s var(--ease-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(8deg);
    box-shadow: var(--shadow-02);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--light-text-secondary);
    line-height: 1.5;
}

/* Content Sections */
.ai-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-section {
    /*margin-bottom: 3rem;*/
}

.content-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--owlfie-green);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 2rem;
}

.content-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 60%;
    background: var(--gradient-brand);
    border-radius: 3px;
    transform: translateY(-50%);
}

.content-desc {
    font-size: 1.125rem;
    color: var(--light-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.capability-item {
    background: var(--light-bg);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.capability-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-smooth);
}

.capability-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-03);
    border-color: var(--brand-turquoise-light);
}

.capability-item:hover::before {
    transform: scaleX(1);
}

.capability-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.capability-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-smooth);
}

.capability-item:hover .capability-icon {
    transform: scale(1.1) rotate(5deg);
}

.capability-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--light-text);
}

.capability-desc {
    color: var(--light-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Value Proposition Section */
.value-section {
    padding: 8rem 0;
    background: var(--light-surface);
    position: relative;
}

.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 50% 30% at 50% 50%, rgba(108, 185, 191, 0.05) 0%, transparent 70%);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.value-card {
    background: var(--light-bg);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-smooth);
}

.value-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-04), var(--shadow-glow-green);
    border-color: var(--brand-turquoise-light);
}

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

.value-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--owlfie-green);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.value-desc {
    color: var(--light-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Differentiators Section */
.diff-section {
    padding: 8rem 0;
    background: var(--light-bg);
    position: relative;
}

.diff-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 60% 40% at 30% 70%, rgba(0, 148, 193, 0.04) 0%, transparent 70%);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.diff-card {
    background: var(--light-bg);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-smooth);
}

.diff-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-04), var(--shadow-glow-turquoise);
    border-color: var(--brand-turquoise);
}

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

.diff-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-brand);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s var(--ease-smooth);
}

.diff-card:hover .diff-icon {
    transform: scale(1.1) rotate(8deg);
    box-shadow: var(--shadow-03);
}

.diff-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--owlfie-green);
    margin-bottom: 1rem;
}

.diff-desc {
    color: var(--light-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Mobile Responsive for Light Sections */
@media (max-width: 1024px) {
    .ai-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .value-grid,
    .diff-grid {
        grid-template-columns: 1fr;
    }
    
    .features-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .owlfie-container {
        width: 250px;
        height: 250px;
    }
    
    .owlfie-svg {
        width: 150px;
        height: 150px;
    }
}

/* Premium CTA Section with Breathtaking Background */
.cta-section {
    padding: 8rem 0;
    background: var(--light-surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cta-bg);
}

/* Geometric Background Pattern */
.cta-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(54, 135, 56, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(108, 185, 191, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(0, 148, 193, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(226, 144, 0, 0.08) 0%, transparent 50%);
    background-size: 400px 400px;
    animation: pattern-float 20s ease-in-out infinite;
}

@keyframes pattern-float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
        opacity: 0.6;
    }
    33% { 
        transform: translate(-20px, -20px) rotate(1deg); 
        opacity: 0.4;
    }
    66% { 
        transform: translate(20px, -10px) rotate(-1deg); 
        opacity: 0.8;
    }
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--light-text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cta-button {
    background: var(--gradient-brand);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: var(--shadow-03), var(--shadow-glow-green);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

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

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

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-04), 0 0 60px rgba(54, 135, 56, 0.4);
}

/* Premium Footer */
.footer {
    background: var(--light-surface-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

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

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-owlfie {
    width: 40px;
    height: 40px;
    animation: footer-float 6s ease-in-out infinite;
}

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

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--light-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 44px;
    height: 44px;
    background: var(--light-bg);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text-secondary);
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

.social-link:hover {
    border-color: var(--brand-turquoise);
    color: var(--brand-turquoise);
    transform: translateY(-2px);
    box-shadow: var(--shadow-02);
}

.footer-links {
    text-align: right;
}

.footer-links h4 {
    color: var(--light-text);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--light-text-secondary);
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
    font-size: 0.9375rem;
}

.footer-nav a:hover {
    color: var(--brand-turquoise);
    transform: translateX(-4px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light-text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.papyrus-logo {
    height: 32px;
    opacity: 0.6;
    transition: all 0.3s var(--ease-smooth);
}

.papyrus-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Advanced Micro-animations */
@keyframes magnetic-hover {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

.magnetic-element {
    animation: magnetic-hover 0.6s ease-in-out;
}

/* Enhanced Fade-in Animations */
.fade-in-stagger {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-smooth);
}

.fade-in-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger:nth-child(2) { transition-delay: 0.1s; }
.fade-in-stagger:nth-child(3) { transition-delay: 0.2s; }
.fade-in-stagger:nth-child(4) { transition-delay: 0.3s; }

/* Responsive Design for CTA and Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 6rem 0;
    }
    
    .cta-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-background-pattern {
        background-size: 200px 200px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .cta-background-pattern,
    .footer-owlfie,
    .pattern-float {
        animation: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover,
    .feature-card:hover,
    .value-card:hover,
    .diff-card:hover {
        transform: none;
    }
}



/* Fix mobile dot matrix */
@media (max-width: 768px) {
    .dot-matrix {
        display: none; /* Hide dots on mobile - they don't work well */
    }
    
    /* OR make them more subtle */
    .dot {
        width: 1px;
        height: 1px;
        opacity: 0.3;
    }
    
    .dot.active,
    .dot.nearby {
        display: none; /* Hide interactions on mobile */
    }
}