/* ===========================================
   VaoCa Glassmorphism Design System V3.0
   Modern Elegant Glass Architecture
   =========================================== */

/* Base Theme */
html,
body {
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
    min-height: 100vh;
    font-family: 'Open-sans', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}

body {
    /* Gradient xanh đen sâu hơn, giảm độ sáng và độ chối */
    background: #fff;
    /* background-image:
        radial-gradient(180px 180px at 12% 28%, rgba(29, 147, 54, 0.25) 0%, rgba(29, 147, 54, 0.12) 50%, transparent 75%),
        radial-gradient(220px 220px at 88% 32%, rgba(0, 103, 59, 0.22) 0%, rgba(0, 103, 59, 0.10) 45%, transparent 70%),
        radial-gradient(160px 160px at 42% 18%, rgba(16, 185, 129, 0.20) 0%, rgba(16, 185, 129, 0.08) 40%, transparent 65%),
        radial-gradient(240px 240px at 78% 82%, rgba(0, 76, 57, 0.28) 0%, rgba(0, 76, 57, 0.14) 50%, transparent 80%),
        radial-gradient(140px 140px at 28% 72%, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0.06) 35%, transparent 60%),
        radial-gradient(200px 200px at 92% 25%, rgba(5, 150, 105, 0.15) 0%, rgba(5, 150, 105, 0.05) 40%, transparent 65%),
        radial-gradient(120px 120px at 65% 45%, rgba(29, 147, 54, 0.12) 0%, rgba(29, 147, 54, 0.04) 30%, transparent 55%),
        radial-gradient(180px 180px at 8% 85%, rgba(0, 103, 59, 0.20) 0%, rgba(0, 103, 59, 0.08) 45%, transparent 70%),
        radial-gradient(800px 300px at 50% 95%, rgba(29, 147, 54, 0.08) 0%, rgba(29, 147, 54, 0.03) 60%, transparent 80%),
        radial-gradient(100% 100% at 50% 50%, transparent 20%, rgba(0, 0, 0, 0.80) 55%, rgba(0, 0, 0, 0.95) 100%),
        linear-gradient(180deg,
            #000000 0%,
            #000805 20%,
            #001008 40%,
            #000603 60%,
            #000000 100%
        ) !important; */
    /* background-image:
                radial-gradient(140px 140px at 18% 22%, rgba(29, 147, 54, 0.28) 0%, rgba(29, 147, 54, 0.12) 50%, transparent 75%),
                radial-gradient(190px 190px at 82% 38%, rgba(0, 103, 59, 0.25) 0%, rgba(0, 103, 59, 0.10) 45%, transparent 70%),
                radial-gradient(110px 110px at 38% 12%, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.08) 40%, transparent 65%),
                radial-gradient(220px 220px at 72% 88%, rgba(0, 76, 57, 0.32) 0%, rgba(0, 76, 57, 0.15) 50%, transparent 80%),
                radial-gradient(90px 90px at 22% 78%, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0.06) 35%, transparent 60%),
                radial-gradient(160px 160px at 88% 18%, rgba(5, 150, 105, 0.15) 0%, rgba(5, 150, 105, 0.05) 40%, transparent 70%),
                radial-gradient(70px 70px at 58% 42%, rgba(29, 147, 54, 0.12) 0%, rgba(29, 147, 54, 0.04) 30%, transparent 55%),
                radial-gradient(130px 130px at 12% 82%, rgba(0, 103, 59, 0.20) 0%, rgba(0, 103, 59, 0.08) 45%, transparent 70%),
                radial-gradient(50px 50px at 68% 28%, rgba(16, 185, 129, 0.10) 0%, rgba(16, 185, 129, 0.03) 25%, transparent 50%),
                radial-gradient(100px 100px at 92% 68%, rgba(0, 76, 57, 0.16) 0%, rgba(0, 76, 57, 0.05) 40%, transparent 65%),
                radial-gradient(500px 200px at 50% 95%, rgba(29, 147, 54, 0.08) 0%, rgba(29, 147, 54, 0.03) 70%, transparent 85%),
                radial-gradient(85% 100% at 50% 50%, transparent 15%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.90) 100%),
                linear-gradient(160deg,
                    #000808 0%,
                    #001010 30%,
                    #001818 60%,
                    #000a0a 100%
                ) !important; */
    background-image:
        radial-gradient(190px 190px at 82% 38%, rgba(29, 147, 54, 0.40) 0%, rgba(29, 147, 54, 0.18) 45%, transparent 70%),
        radial-gradient(130px 90px at 22% 78%, rgba(41, 163, 66, 0.32) 0%, rgba(41, 163, 66, 0.12) 35%, transparent 60%),
        radial-gradient(160px 160px at 88% 18%, rgba(27, 143, 52, 0.28) 0%, rgba(27, 143, 52, 0.10) 40%, transparent 70%),
        radial-gradient(70px 70px at 58% 42%, rgba(29, 147, 54, 0.22) 0%, rgba(29, 147, 54, 0.08) 30%, transparent 55%),
        radial-gradient(130px 130px at 12% 82%, rgba(25, 135, 50, 0.35) 0%, rgba(25, 135, 50, 0.15) 45%, transparent 70%),
        radial-gradient(80px 50px at 68% 28%, rgba(33, 151, 58, 0.18) 0%, rgba(33, 151, 58, 0.06) 25%, transparent 50%),
        radial-gradient(100px 100px at 92% 68%, rgba(21, 131, 46, 0.28) 0%, rgba(21, 131, 46, 0.10) 40%, transparent 65%),

        /* Base layer với #1d9336 - giữ nguyên */
        radial-gradient(600px 250px at 50% 95%, rgba(29, 147, 54, 0.18) 0%, rgba(29, 147, 54, 0.08) 70%, transparent 85%),

        /* Much darker vignette - tối hơn nhiều */
        radial-gradient(90% 100% at 50% 50%, transparent 25%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.95) 100%),

        /* Much darker base - tối hơn nhiều */
        linear-gradient(160deg,
            #0a0c0b 0%,
            #0c0f0d 30%,
            #0e110f 60%,
            #0b0d0c 100%
        ) !important;
    position: relative;
}

/* Add subtle animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: radial-gradient(circle at top right,
            rgba(15, 23, 42, 0.8),
            transparent 70%);
    animation: backgroundFloat 20s ease infinite;
}

/* ===========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =========================================== */

:root {
    /* ===== BRAND COLORS - VIETINSOFT IDENTITY ===== */
    --brand-primary: #004c39;
    --brand-secondary: #1d9336;
    --brand-accent: #2ead50;
    --brand-bright: #4ade80;
    --brand-white: #ffffff;
    --brand-black: #121212;

    /* ===== BACKGROUND STRATEGY - ELEGANT DARK WITH SOPHISTICATED GREEN TRANSITION ===== */
    --bg-foundation:
        radial-gradient(ellipse 1000px 600px at top left, rgba(0, 76, 57, 0.15) 0%, rgba(0, 76, 57, 0.08) 40%, transparent 70%),
        radial-gradient(ellipse 800px 500px at bottom right, rgba(0, 76, 57, 0.12) 0%, rgba(0, 76, 57, 0.04) 50%, transparent 80%),
        linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 25%, #004c39 50%, #2a2a2a 75%, #1a1a1a 100%);
    --bg-secondary:
        radial-gradient(circle at center, rgba(0, 76, 57, 0.12) 0%, rgba(0, 76, 57, 0.04) 60%, transparent 85%),
        linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #004c39 100%);
    --bg-hero:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(0, 76, 57, 0.2) 0%, rgba(0, 76, 57, 0.08) 40%, transparent 70%),
        radial-gradient(ellipse at center, rgba(0, 76, 57, 0.15) 0%, rgba(26, 26, 26, 0.95) 80%);
    --bg-section:
        radial-gradient(circle at top, rgba(0, 76, 57, 0.1) 0%, rgba(0, 76, 57, 0.04) 50%, transparent 80%),
        linear-gradient(180deg, rgba(0, 76, 57, 0.06) 0%, rgba(26, 26, 26, 0.98) 100%);

    /* ===== 3-TIER GLASSMORPHISM HIERARCHY ===== */
    /* Tier 1: Subtle (5% opacity) */
    --glass-tier1-bg: rgba(255, 255, 255, 0.05);
    --glass-tier1-tint: rgba(0, 76, 57, 0.01);
    --glass-tier1-border: rgba(255, 255, 255, 0.08);
    --glass-tier1-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);

    /* Tier 2: Standard (10% opacity) */
    --glass-tier2-bg: rgba(255, 255, 255, 0.3);
    --glass-tier2-tint: rgba(255, 255, 255, 0.2);
    --glass-tier2-border: rgba(255, 255, 255, 0.12);
    --glass-tier2-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);

    /* Tier 3: Prominent (15% opacity) */
    --glass-tier3-bg: rgba(255, 255, 255, 0.15);
    --glass-tier3-tint: rgba(0, 76, 57, 0.03);
    --glass-tier3-border: rgba(255, 255, 255, 0.18);
    --glass-tier3-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.2);

    --glass-bg: rgba(255, 255, 255, 0.05);

    /* ===== BACKDROP BLUR LEVELS ===== */
    --blur-subtle: blur(15px) saturate(180%);
    --blur-standard: blur(25px) saturate(200%);
    --blur-prominent: blur(35px) saturate(220%);

    /* ===== BORDER SYSTEM WITH GRADIENT OVERLAYS ===== */
    --border-base: 1px solid rgba(255, 255, 255, 0.1);
    --border-enhanced: 1px solid rgba(255, 255, 255, 0.15);
    --border-accent: 1px solid rgba(74, 222, 128, 0.3);
    --border-primary: 1px solid rgba(0, 76, 57, 0.4);

    /* Gradient border overlays */
    --border-gradient-subtle: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    --border-gradient-accent: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.4), transparent);
    --border-gradient-primary: linear-gradient(90deg, transparent, rgba(0, 76, 57, 0.5), transparent);

    /* ===== MULTI-LAYERED SHADOW DEPTH ===== */
    --shadow-glass-depth1:
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.1);

    --shadow-glass-depth2:
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 16px 48px rgba(0, 0, 0, 0.15);

    --shadow-glass-depth3:
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 16px 32px rgba(0, 0, 0, 0.2),
        0 32px 64px rgba(0, 0, 0, 0.2);

    /* Brand-specific shadows */
    --shadow-primary-depth:
        0 4px 20px rgba(0, 76, 57, 0.2),
        0 8px 40px rgba(0, 76, 57, 0.15),
        0 16px 80px rgba(0, 76, 57, 0.1);

    --shadow-accent-depth:
        0 4px 20px rgba(74, 222, 128, 0.2),
        0 8px 40px rgba(74, 222, 128, 0.15),
        0 16px 80px rgba(74, 222, 128, 0.1);

    /* ===== BORDER RADIUS SYSTEM ===== */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 50%;

    /* ===== ANIMATION & TRANSITIONS ===== */
    --transition-glass: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-apple: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Apple-inspired easing curves */
    --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ===== TYPOGRAPHY CONTRAST - OPTIMIZED FOR LIGHTER DARK THEME ===== */
    --text-primary: rgba(255, 255, 255, 0.92);
    --text-secondary: rgba(255, 255, 255, 0.78);
    --text-tertiary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.52);
    --text-brand: var(--brand-primary);
    --text-accent: var(--brand-accent);

    /* ===== SPACING SYSTEM ===== */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* ===== RESPONSIVE GLASS BEHAVIOR ===== */
    --mobile-blur-subtle: blur(10px) saturate(160%);
    --mobile-blur-standard: blur(18px) saturate(180%);
    --mobile-blur-prominent: blur(25px) saturate(200%);
}

/* ===========================================
   GLOBAL FOUNDATION STYLES
   =========================================== */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    background: #0a0f14 !important;
}

body {
    color: rgba(255, 255, 255, 0.95) !important;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gentle noise of glows, leaving perimeter darker */
    background:
        radial-gradient(420px 220px at 15% 70%, rgba(0, 76, 57, 0.08) 0%, transparent 70%),
        radial-gradient(360px 180px at 85% 25%, rgba(29, 147, 54, 0.06) 0%, transparent 80%),
        radial-gradient(600px 300px at 50% 95%, rgba(0, 180, 120, 0.10) 0%, transparent 75%);
    pointer-events: none;
    z-index: -1;
}

/* ===========================================
   GLASSMORPHISM CORE COMPONENTS
   =========================================== */
/* ===========================================
     ENHANCED ANIMATION KEYFRAMES
     =========================================== */

@keyframes glassFadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 60px, 0) scale(0.95);
        filter: blur(10px);
    }

    60% {
        opacity: 0.8;
        transform: translate3d(0, -8px, 0) scale(1.02);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes glassScaleIn {
    0% {
        opacity: 0;
        transform: scale3d(0.8, 0.8, 1);
    }

    50% {
        opacity: 0.9;
        transform: scale3d(1.05, 1.05, 1);
    }

    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes glassBtnPop {
    0% {
        transform: scale3d(1, 1, 1);
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }

    100% {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes glassSlideUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 100px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes glassSlideInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-100px, 0, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes glassSlideInRight {
    0% {
        opacity: 0;
        transform: translate3d(100px, 0, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes glassFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    33% {
        transform: translate3d(30px, -30px, 0) rotate(1deg);
    }

    66% {
        transform: translate3d(-20px, 20px, 0) rotate(-1deg);
    }
}

@keyframes glassPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }

    50% {
        opacity: 0.8;
        transform: scale3d(1.05, 1.05, 1);
    }
}

@keyframes glassShimmer {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ===== BASE GLASS CLASSES - SOFT WHITE TRANSLUCENT SYSTEM ===== */

.glass-tier1 {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px) saturate(220%);
    -webkit-backdrop-filter: blur(30px) saturate(220%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22), 0 8px 25px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-tier1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-gradient-subtle);
    opacity: 0.6;
    z-index: 1;
}

.glass-tier2 {
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(35px) saturate(240%);
    -webkit-backdrop-filter: blur(35px) saturate(240%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), 0 12px 40px rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-tier2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-gradient-subtle);
    opacity: 0.7;
    z-index: 1;
}

.glass-tier3 {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(40px) saturate(260%);
    -webkit-backdrop-filter: blur(40px) saturate(260%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-xl);
    box-shadow: 0 32px 120px rgba(0, 0, 0, 0.35), 0 16px 50px rgba(255, 255, 255, 0.22);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-tier3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-gradient-accent);
    opacity: 0.8;
    z-index: 1;
}

/* ===== HOVER STATES FOR GLASS TIERS ===== */

.glass-tier1:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.glass-tier2:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18), 0 8px 25px rgba(255, 255, 255, 0.10);
    transform: translateY(-4px);
}

.glass-tier3:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20), 0 10px 30px rgba(255, 255, 255, 0.12);
    transform: translateY(-6px) scale(1.02);
}

/* ===========================================
   SIMPLE CLEAN NAVIGATION - VIETINSOFT STYLE
   =========================================== */

.glass-nav {
    background: transparent;
    border-bottom: none;
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.glass-nav.scrolled {
background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.04) 50%,
            rgba(255, 255, 255, 0.06) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Force header to always be visible - override any hidden class */
.glass-nav.hidden {
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Ensure navigation items are tightly grouped on the right */
.glass-nav nav {
    margin-right: 0;
}

/* Additional override for any hiding animations */
#siteHeader {
    position: fixed !important;
    top: 0 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

#siteHeader.hidden {
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Simple navigation links - no glassmorphism effects, no green glow */
.glass-nav .nav-link {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0.5rem;
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.glass-nav .nav-link:hover {
    background: none;
    border: none;
    color: white;
    transform: none;
    box-shadow: none;
    text-shadow: none;
}

/* Active state for navigation links */
.glass-nav .nav-link.active {
    color: white;
}

.glass-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background: white;
}

/* Remove glass-btn effects for navigation */
.glass-nav .glass-btn {
    background: none !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.glass-nav .glass-btn:hover {
    background: none !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Clean mobile navigation */
.mobile-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .3);
    backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-top: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.mobile-nav-menu.active {
    display: block !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Simple mobile button */
#mobileMenuBtn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

#mobileMenuBtn:hover {
    color: white;
}

/* Simple input styling */
.glass-input {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: white;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.glass-input:focus {
    background: rgba(26, 26, 26, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
    box-shadow: none;
}

/* ===========================================
   CARD COMPONENTS
   =========================================== */

.glass-card {
background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.06) 25%,
            rgba(255, 255, 255, 0.09) 50%,
            rgba(255, 255, 255, 0.05) 75%,
            rgba(255, 255, 255, 0.12) 100%);
    backdrop-filter: blur(20px) saturate(180%) brightness(1.3);
        -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.3);
        border: 1px solid rgba(255, 255, 255, 0.15);
            border-top-color: rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    box-shadow:
            0 12px 48px rgba(0, 0, 0, 0.5),
            0 6px 24px rgba(0, 0, 0, 0.3),
            0 3px 12px rgba(255, 255, 255, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    padding: var(--space-lg);
    padding-top: 5rem;
    position: relative;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--glass-bg);
    border-color: rgba(0, 76, 57, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.glass-feature-card {
    background: linear-gradient(135deg, var(--glass-tier2-bg), var(--glass-tier2-tint));
    backdrop-filter: var(--blur-standard);
    -webkit-backdrop-filter: var(--blur-standard);
    border: var(--border-enhanced);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass-depth2);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-elastic);
}

.glass-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-gradient-accent);
    opacity: 0.7;
    z-index: 1;
}

.glass-feature-card:hover {
    background: linear-gradient(135deg, var(--glass-tier3-bg), rgba(74, 222, 128, 0.08));
    border-color: var(--brand-accent);
    box-shadow: var(--shadow-accent-depth);
    transform: translateY(-8px) scale(1.02);
}

.glass-feature-card:hover::before {
    opacity: 1;
    height: 4px;
    background: var(--border-gradient-accent);
}

.glass-hero-card {
    background: linear-gradient(135deg, var(--glass-tier3-bg), rgba(0, 76, 57, 0.05));
    backdrop-filter: var(--blur-prominent);
    -webkit-backdrop-filter: var(--blur-prominent);
    border: 1px solid var(--glass-tier3-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-glass-depth3);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-glass);
}

.glass-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-gradient-primary);
    opacity: 0.8;
    z-index: 1;
}

/* ===========================================
   ENHANCED BUTTON COMPONENTS WITH ENGAGING EFFECTS
   =========================================== */

/* ===========================================
   CLEAN BUTTON COMPONENTS
   =========================================== */

.glass-btn {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 76, 57, 0.3);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.glass-btn:hover {
    background: rgba(0, 76, 57, 0.3);
    border-color: rgba(0, 76, 57, 0.6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.glass-btn:active {
    transform: translateY(0);
    transition: all 0.2s ease;
}

/* Enhanced Primary Button */
.glass-btn-primary {
    background: linear-gradient(135deg, rgba(0, 76, 57, 0.8), rgba(0, 76, 57, 0.9));
    border: 1px solid rgba(0, 76, 57, 0.6);
    color: white;
    font-weight: 600;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.glass-btn-primary:hover {
    background: linear-gradient(135deg, rgba(0, 76, 57, 0.9), rgba(0, 76, 57, 1));
    border-color: rgba(0, 76, 57, 0.8);
    box-shadow: 0 8px 25px rgba(0, 76, 57, 0.4);
    transform: translateY(-2px);
}

/* Enhanced Outline Button */
.glass-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(0, 76, 57, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 2rem;
}

.glass-btn-outline:hover {
    background: rgba(0, 76, 57, 0.1);
    border-color: rgba(0, 76, 57, 0.8);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 76, 57, 0.3);
    transform: translateY(-2px);
}

/* Call-to-Action Button with Special Effects */
.cta-btn-special {
    background: linear-gradient(135deg,
            #a6ff00 0%,
            #73c41d 25%,
            #1d9336 50%,
            #1d9336 70%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 2rem;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    min-width: 200px;
    width: auto;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, box-shadow;
    transform: translate3d(0, 0, 0);
}

.cta-btn-special::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    z-index: -1;
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

.cta-btn-special::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.cta-btn-special:hover {
    transform: translate3d(0, -5px, 0) scale(1.08);
    box-shadow:
        0 20px 60px rgba(0, 76, 57, 0.4),
        0 10px 30px rgba(74, 222, 128, 0.3),
        0 0 50px rgba(0, 76, 57, 0.2);
}

.cta-btn-special:hover::after {
    width: 300px;
    height: 300px;
}

.cta-btn-special:active {
    transform: translate3d(0, -2px, 0) scale(1.05);
}

/* Mobile CTA Button */
.mobile-cta-btn {
    background: linear-gradient(135deg,
            #004c39 0%,
            #1d9336 30%,
            #73c41d 70%,
            #004c39 100%);
    border: 1px solid rgba(74, 222, 128, 0.4);
    border-radius: 2rem;
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 2rem;
    min-width: 200px;
    width: auto;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-cta-btn:hover {
    background: linear-gradient(135deg,
            #004c39 0%,
            #1d9336 40%,
            #73c41d 80%,
            #004c39 100%);
    border-color: rgba(74, 222, 128, 0.6);
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(0, 76, 57, 0.3),
        0 4px 15px rgba(74, 222, 128, 0.2);
}

/* ===========================================
   FORM COMPONENTS
   =========================================== */

.glass-form {
    background: linear-gradient(135deg, var(--glass-tier2-bg), var(--glass-tier2-tint));
    backdrop-filter: var(--blur-standard);
    -webkit-backdrop-filter: var(--blur-standard);
    border: var(--border-enhanced);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass-depth2);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.glass-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-gradient-primary);
    opacity: 0.6;
    z-index: 1;
}

.glass-input {
    background: linear-gradient(135deg, var(--glass-tier1-bg), var(--glass-tier1-tint));
    backdrop-filter: var(--blur-subtle);
    -webkit-backdrop-filter: var(--blur-subtle);
    border: var(--border-base);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: var(--space-md);
    width: 100%;
    transition: var(--transition-elastic);
    font-size: 1rem;
    animation: glassFadeIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    will-change: opacity, transform;
}

.glass-input:focus {
    background: linear-gradient(135deg, var(--glass-tier2-bg), var(--glass-tier2-tint));
    border-color: var(--brand-primary);
    outline: none;
    box-shadow:
        0 0 0 3px rgba(0, 76, 57, 0.1),
        var(--shadow-glass-depth1);
    transform: translateY(-1px) scale(1.03);
    transition: var(--transition-elastic);
}

.glass-input::placeholder {
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ===========================================
   ENHANCED RESPONSIVE GLASS BEHAVIOR
   =========================================== */

@media (max-width: 768px) {

    /* Enhanced mobile blur effects */
    .glass-tier1 {
        backdrop-filter: blur(12px) saturate(170%);
        -webkit-backdrop-filter: blur(12px) saturate(170%);
        background: rgba(255, 255, 255, 0.08);
    }

    .glass-tier2 {
        backdrop-filter: blur(20px) saturate(190%);
        -webkit-backdrop-filter: blur(20px) saturate(190%);
        background: rgba(255, 255, 255, 0.12);
    }

    .glass-tier3 {
        backdrop-filter: blur(28px) saturate(210%);
        -webkit-backdrop-filter: blur(28px) saturate(210%);
        background: rgba(255, 255, 255, 0.15);
    }

    /* Enhanced mobile navigation */
    .glass-nav {
        backdrop-filter: blur(25px) saturate(200%);
        -webkit-backdrop-filter: blur(25px) saturate(200%);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(0, 76, 57, 0.10));
        padding: 0.75rem 0;
    }

    .glass-nav.scrolled {
        backdrop-filter: blur(35px) saturate(230%);
        -webkit-backdrop-filter: blur(35px) saturate(230%);
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(0, 76, 57, 0.15));
        box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.25),
            0 6px 20px rgba(0, 76, 57, 0.2);
    }

    /* Enhanced mobile buttons */
    .glass-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        border-radius: 0.625rem;
    }

    .glass-btn:hover {
        transform: translate3d(0, -2px, 0) scale(1.03);
    }

    .glass-btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-btn-special {
        padding: 0.875rem 1.5rem;
        font-size: 1.2rem;
        border-radius: 0.875rem;
    }

    .cta-btn-special:hover {
        transform: translate3d(0, -3px, 0) scale(1.05);
    }

    /* Enhanced mobile cards */
    .glass-hero-card {
        padding: 1.5rem;
        border-radius: 1.25rem;
        margin: 1rem;
    }

    .glass-feature-card {
        padding: 1.5rem;
        border-radius: 1rem;
        margin: 0.75rem;
    }

    .feature-card-modern {
        padding: 1.5rem;
        border-radius: 1.25rem;
        margin: 0.75rem;
    }

    /* Enhanced mobile layout spacing */
    .glass-card {
        margin: 0.75rem;
        padding: 1.25rem;
    }

    /* Mobile-specific enhancements */
    .mobile-nav-menu {
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 1rem;
        box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.4),
                0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
        margin-top: 1rem;
        padding: 1rem;
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        z-index: 1001;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .mobile-nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-menu .glass-btn {
        width: 100%;
        margin-bottom: 0.5rem;
        justify-content: flex-start;
        padding: 0.875rem 1.25rem;
    }
}

/* ===========================================
   LEGACY COMPATIBILITY
   =========================================== */

.glass-base {
    background: linear-gradient(135deg, var(--glass-tier1-bg), var(--glass-tier1-tint));
    backdrop-filter: var(--blur-subtle);
    -webkit-backdrop-filter: var(--blur-subtle);
    border: var(--border-base);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass-depth1);
    position: relative;
    overflow: hidden;
    transition: var(--transition-glass);
}

.glass-strong {
    background: linear-gradient(135deg, var(--glass-tier2-bg), var(--glass-tier2-tint));
    backdrop-filter: var(--blur-standard);
    -webkit-backdrop-filter: var(--blur-standard);
    border: var(--border-enhanced);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass-depth2);
    position: relative;
    overflow: hidden;
    transition: var(--transition-glass);
}

.glass-light {
    background: linear-gradient(135deg, var(--glass-tier2-bg), var(--glass-tier2-tint));
    backdrop-filter: var(--blur-standard);
    -webkit-backdrop-filter: var(--blur-standard);
    border: var(--border-enhanced);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass-depth2);
    position: relative;
    overflow: hidden;
    transition: var(--transition-glass);
}

.glass-primary {
    background: linear-gradient(135deg, var(--glass-tier2-bg), rgba(0, 76, 57, 0.1));
    backdrop-filter: var(--blur-standard);
    -webkit-backdrop-filter: var(--blur-standard);
    border: var(--border-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-primary-depth);
}

.glass-lime {
    background: linear-gradient(135deg, var(--glass-tier2-bg), rgba(166, 255, 0, 0.05));
    backdrop-filter: var(--blur-standard);
    -webkit-backdrop-filter: var(--blur-standard);
    border: var(--border-accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-accent-depth);
}

/* ===========================================
   MODERN COMPONENT CLASSES
   =========================================== */

/* Enhanced Feature Cards */
.feature-card-modern {
    background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.18) 0%,
                rgba(255, 255, 255, 0.12) 25%,
                rgba(255, 255, 255, 0.15) 50%,
                rgba(255, 255, 255, 0.10) 75%,
                rgba(255, 255, 255, 0.20) 100%);
    backdrop-filter: var(--blur-standard);
    -webkit-backdrop-filter: var(--blur-standard);
    border: var(--border-enhanced);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass-depth2);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-apple);
    animation: glassFadeIn 0.8s var(--ease-out-expo) both;
    will-change: opacity, transform;
    transform: translate3d(0, 0, 0);
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-gradient-accent);
    opacity: 0.7;
    z-index: 1;
    transition: var(--transition-smooth);
}

.feature-card-modern::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, transparent, rgba(0, 76, 57, 0.1), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: var(--transition-glass);
    z-index: -1;
}

.feature-card-modern:hover {
    background: linear-gradient(135deg, var(--glass-tier3-bg), rgba(74, 222, 128, 0.08));
    border-color: var(--brand-accent);
    box-shadow:
        var(--shadow-accent-depth),
        0 0 60px rgba(74, 222, 128, 0.15);
    transform: translate3d(0, -12px, 0) scale(1.02);
    transition: var(--transition-spring);
}

.feature-card-modern:hover::before {
    opacity: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-secondary), var(--brand-accent));
}

.feature-card-modern:hover::after {
    opacity: 1;
}

/* Enhanced Pricing Cards */
.pricing-card-modern {
    background: linear-gradient(135deg, var(--glass-tier2-bg), var(--glass-tier2-tint));
    backdrop-filter: var(--blur-standard);
    -webkit-backdrop-filter: var(--blur-standard);
    border: var(--border-enhanced);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass-depth2);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-apple);
    animation: glassSlideUp 0.8s var(--ease-out-expo) both;
    will-change: opacity, transform;
    transform: translate3d(0, 0, 0);
}

.pricing-card-modern.featured {
    background: linear-gradient(135deg, var(--glass-tier3-bg), rgba(0, 76, 57, 0.08));
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-primary-depth);
    transform: translate3d(0, -8px, 0) scale(1.05);
}

.pricing-card-modern.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-primary));
    opacity: 1;
    z-index: 1;
}

.pricing-card-modern:hover {
    transform: translate3d(0, -8px, 0) scale(1.03);
    box-shadow:
        var(--shadow-glass-depth3),
        0 0 40px rgba(0, 76, 57, 0.2);
    transition: var(--transition-spring);
}

/* Enhanced Button Variants */
.btn-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(220%);
    -webkit-backdrop-filter: blur(30px) saturate(220%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    color: var(--text-primary);
    padding: var(--space-md) var(--space-xl);
    min-width: 200px;
    width: auto;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    will-change: opacity, transform;
    transform: translate3d(0, 0, 0);
}

.btn-primary-modern {
    background: linear-gradient(135deg,
            #004c39 0%,
            #1d9336 70%,
            #004c39 100%);
    border: var(--border-primary);
    color: var(--brand-white);
    box-shadow: var(--shadow-primary-depth);
    padding: var(--space-md) var(--space-xl);
    min-width: 200px;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    will-change: opacity, transform;
    transform: translate3d(0, 0, 0);
}

.btn-outline-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(220%);
    -webkit-backdrop-filter: blur(30px) saturate(220%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    color: var(--text-primary);
    padding: var(--space-md) var(--space-xl);
    min-width: 200px;
    width: auto;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    will-change: opacity, transform;
    transform: translate3d(0, 0, 0);
}

.btn-modern:hover {
    transform: translate3d(0, -3px, 0) scale(1.02);
    transition: var(--transition-spring);
}

.btn-primary-modern:hover {
    background: linear-gradient(135deg, rgba(0, 76, 57, 1), rgba(29, 147, 54, 0.9));
    box-shadow:
        var(--shadow-primary-depth),
        var(--shadow-glass-depth3),
        0 0 30px rgba(0, 76, 57, 0.4);
}

.btn-outline-modern:hover {
    transform: translate3d(0, -3px, 0) scale(1.02);
    transition: var(--transition-spring);
}

/* Glass Footer */
.glass-footer {
    background: linear-gradient(135deg, var(--glass-tier1-bg), var(--glass-tier1-tint));
    backdrop-filter: var(--blur-subtle);
    -webkit-backdrop-filter: var(--blur-subtle);
    border-top: var(--border-base);
    position: relative;
}

.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-gradient-primary);
    opacity: 0.6;
}

/* Animation Utilities */
.animate-fade-in {
    animation: glassFadeIn 0.8s var(--ease-out-expo) both;
}

.animate-slide-up {
    animation: glassSlideUp 0.8s var(--ease-out-expo) both;
}

.animate-slide-left {
    animation: glassSlideInLeft 0.8s var(--ease-out-expo) both;
}

.animate-slide-right {
    animation: glassSlideInRight 0.8s var(--ease-out-expo) both;
}

.animate-float {
    animation: glassFloat 6s ease-in-out infinite;
}

.animate-pulse {
    animation: glassPulse 2s ease-in-out infinite;
}

/* Staggered Animation Delays */
.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

.animate-delay-600 {
    animation-delay: 0.6s;
}

/* Enhanced Glass Float Effect - Removed for static display */
.glass-float {
    /* Animation removed - static display only */
    will-change: auto;
}

/* Glass Card Dark Variant */
.glass-card-dark {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 76, 57, 0.1));
    backdrop-filter: var(--blur-prominent);
    -webkit-backdrop-filter: var(--blur-prominent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass-depth2);
    padding: var(--space-md);
}

/* Highlight Effects for Hero Section */
/* .vc-highlight {
    position: absolute;
    background: linear-gradient(135deg, var(--glass-tier2-bg), var(--glass-tier2-tint));
    backdrop-filter: var(--blur-subtle);
    -webkit-backdrop-filter: var(--blur-subtle);
    border: var(--border-enhanced);
    border-radius: var(--radius-md);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    animation: glassFadeIn 1s var(--ease-out-expo) both;
    will-change: opacity, transform;
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.2),
            0 4px 16px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
} */

.vc-highlight {
    position: absolute;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.12) 25%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.10) 75%,
            rgba(255, 255, 255, 0.20) 100%);
    backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    animation: glassFadeIn 1s var(--ease-out-expo) both;
    will-change: opacity, transform;
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.4),
            0 4px 16px rgba(0, 0, 0, 0.2),
            0 2px 8px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.vc-highlight--top-left {
    top: 0%;
    left: -30%;
    animation-delay: 0.2s;
}

.vc-highlight--left {
    top: 20%;
    left: -45%;
    animation-delay: 0.4s;
}

.vc-highlight--bottom-left {
    bottom: 50%;
    left: -50%;
    animation-delay: 0.6s;
}

.vc-highlight--top-right {
    top: 57%;
    right: -60%;
    animation-delay: 0.3s;
}

.vc-highlight--right-mid {
    top: 40%;
    right: -60%;
    animation-delay: 0.5s;
}

.vc-highlight--right-bottom {
    bottom: -5%;
    right: -25%;
    animation-delay: 0.7s;
}

/* ===========================================
   ACCESSIBILITY & PERFORMANCE
   =========================================== */

/* ===== HIGH CONTRAST SUPPORT ===== */
@media (prefers-contrast: high) {
    :root {
        --text-primary: rgba(255, 255, 255, 1);
        --text-secondary: rgba(255, 255, 255, 0.9);
        --glass-tier1-border: rgba(255, 255, 255, 0.3);
        --glass-tier2-border: rgba(255, 255, 255, 0.4);
        --glass-tier3-border: rgba(255, 255, 255, 0.5);
    }
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== CROSS-BROWSER COMPATIBILITY ===== */
@supports not (backdrop-filter: blur(20px)) {

    .glass-tier1,
    .glass-tier2,
    .glass-tier3,
    .glass-nav,
    .glass-card,
    .glass-feature-card,
    .glass-hero-card,
    .glass-btn,
    .glass-form,
    .glass-input {
        background: var(--glass-bg);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* ===== UTILITY CLASSES ===== */

.glass-rounded-sm {
    border-radius: var(--radius-sm);
}

.glass-rounded-md {
    border-radius: var(--radius-md);
}

.glass-rounded-lg {
    border-radius: var(--radius-lg);
}

.glass-rounded-xl {
    border-radius: var(--radius-xl);
}

.glass-rounded-2xl {
    border-radius: var(--radius-2xl);
}

.glass-rounded-full {
    border-radius: var(--radius-full);
}

.glass-shadow-sm {
    box-shadow: var(--shadow-glass-depth1);
}

.glass-shadow-md {
    box-shadow: var(--shadow-glass-depth2);
}

.glass-shadow-lg {
    box-shadow: var(--shadow-glass-depth3);
}

.glass-border-accent {
    border-color: var(--brand-accent);
}

.glass-border-primary {
    border-color: var(--brand-primary);
}

.text-glass-primary {
    color: var(--text-primary);
}

.text-glass-secondary {
    color: var(--text-secondary);
}

.text-glass-tertiary {
    color: var(--text-tertiary);
}

.text-glass-muted {
    color: var(--text-muted);
}

.glass-p-sm {
    padding: var(--space-sm);
}

.glass-p-md {
    padding: var(--space-md);
}

.glass-p-lg {
    padding: var(--space-lg);
}

.glass-p-xl {
    padding: var(--space-xl);
}

.glass-p-2xl {
    padding: var(--space-2xl);
}


/* Ensure body maintains dark theme */
body {
    color: var(--text-primary) !important;
}

/* Force text colors */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li {
    color: inherit !important;
}

/* Glass backdrop force */
.glass-card,
.glass-tier1,
.glass-tier2,
.glass-tier3 {
    backdrop-filter: var(--blur-standard) !important;
    -webkit-backdrop-filter: var(--blur-standard) !important;
}

/* ===========================================
   ENHANCED HEADER AND LAYOUT IMPROVEMENTS
   =========================================== */

/* Enhanced fixed header with smooth transitions */
.glass-nav {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(var(--scroll-blur, 30px)) saturate(220%);
    -webkit-backdrop-filter: blur(var(--scroll-blur, 30px)) saturate(220%);
    background: rgba(0, 76, 57, 0.1);
    will-change: transform, backdrop-filter, background;
}

/* Enhanced scroll reveal animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Enhanced utility classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s cubic-bezier(0.19, 1, 0.22, 1) both;
}

/* Staggered animation delays */
.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}


/* Enhanced section backgrounds */
.section-glass-bg {
    position: relative;
    overflow: hidden;
}

.section-glass-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-section);
    z-index: -1;
}

/* Enhanced hover states for interactive elements */
.interactive-glow:hover {
    box-shadow:
        0 0 30px rgba(74, 222, 128, 0.2),
        0 0 60px rgba(0, 76, 57, 0.1),
        0 10px 40px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.4s ease;
}

/* Enhanced text readability */
.text-enhanced {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.95);
}

.text-accent-glow {
    color: rgba(74, 222, 128, 0.9);
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

/* Enhanced spacing for better layout */
.container-enhanced {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container-enhanced {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container-enhanced {
        padding: 0 2.5rem;
    }
}

/* Enhanced focus states for accessibility */
.glass-btn:focus,
.glass-btn-primary:focus,
.glass-btn-outline:focus {
    outline: 2px solid rgba(74, 222, 128, 0.6);
    outline-offset: 2px;
    box-shadow:
        0 0 0 4px rgba(74, 222, 128, 0.2),
        0 10px 35px rgba(0, 0, 0, 0.2);
}

/* Performance optimizations */
.glass-nav,
.glass-btn,
.glass-card,
.feature-card-modern {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .glass-nav {
        transform: none !important;
    }
}

/* ===========================================
   ENHANCED GLOW EFFECTS & ANIMATIONS
   =========================================== */

/* Button hover - simple style */
.glass-nav .glass-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* ===========================================
   END GLASSMORPHISM DESIGN SYSTEM V2.0
   =========================================== */
  

 /* ===========================================
   SECTION BACKGROUND IMAGE
   =========================================== */

/* Background image cho section cụ thể */
.section-with-bg {
    position: relative;
    background-image: url('../images/VC_3D.png');
    background-size: 30%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.section-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* Content trong section cần có z-index cao hơn */
.section-with-bg > * {
    position: relative;
    z-index: 2;
}

/* Alternative: Background image với opacity thấp hơn */
.section-bg-subtle {
    position: relative;
    background-image: url('./assets/images/VC_3D.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: local;
    opacity: 0.1;
    z-index: -1;
}

/* Background image cho hero section */
.hero-bg-image {
    position: relative;
    background-image: url('./assets/images/VC_3D.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.9) 100%
        );
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-with-bg,
    .hero-bg-image {
        background-attachment: scroll;
        background-size: 30%;
    }
}