/* Cherry Blossom Falling Animation (Disabled for performance) */
/*
.cherry-blossom-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.cherry-blossom {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffb3d9;
    border-radius: 50% 0 50% 0;
    opacity: 0.8;
    animation: fall linear infinite;
    transform-origin: center;
}

.cherry-blossom::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ff99cc;
    border-radius: 0 50% 0 50%;
    top: -6px;
    left: -6px;
}

.cherry-blossom::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffccdd;
    border-radius: 50%;
    top: -2px;
    left: -2px;
}

.cherry-blossom.type-1 {
    background: #ffb3d9;
    animation-duration: 8s;
}

.cherry-blossom.type-2 {
    background: #ff99cc;
    animation-duration: 10s;
    width: 10px;
    height: 10px;
}

.cherry-blossom.type-3 {
    background: #ffccdd;
    animation-duration: 12s;
    width: 14px;
    height: 14px;
}

.cherry-blossom.type-4 {
    background: #ffe6f2;
    animation-duration: 9s;
    width: 8px;
    height: 8px;
}

.cherry-blossom.type-5 {
    background: #ff80b3;
    animation-duration: 11s;
    width: 16px;
    height: 16px;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    20% {
        transform: translateY(20vh) rotate(45deg) scale(1.1);
    }
    40% {
        transform: translateY(40vh) rotate(90deg) scale(0.9);
    }
    60% {
        transform: translateY(60vh) rotate(180deg) scale(1.2);
    }
    80% {
        transform: translateY(80vh) rotate(270deg) scale(0.8);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

.cherry-blossom.floating {
    animation: floating linear infinite;
}

@keyframes floating {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    25% {
        transform: translateY(25vh) translateX(20px) rotate(90deg);
    }
    50% {
        transform: translateY(50vh) translateX(-15px) rotate(180deg);
    }
    75% {
        transform: translateY(75vh) translateX(25px) rotate(270deg);
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh) translateX(0) rotate(360deg);
        opacity: 0;
    }
}

.cherry-blossom.wind {
    animation: windEffect linear infinite;
}

@keyframes windEffect {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
        transform: translateY(15vh) translateX(30px) rotate(45deg);
    }
    30% {
        transform: translateY(30vh) translateX(-20px) rotate(120deg);
    }
    45% {
        transform: translateY(45vh) translateX(40px) rotate(200deg);
    }
    60% {
        transform: translateY(60vh) translateX(-30px) rotate(280deg);
    }
    75% {
        transform: translateY(75vh) translateX(20px) rotate(340deg);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(100vh) translateX(0) rotate(360deg);
        opacity: 0;
    }
}
*/

/* Advanced Design System 2025 */
:root {
    /* Primary Brand Colors - TikTok Inspired */
    --primary: #ff0050;
    --primary-light: #ff1a66;
    --primary-dark: #e6004a;
    --secondary: #25f4ee;
    --secondary-light: #4df5f0;
    --secondary-dark: #1dd9d4;
    --accent: #fe2c55;
    --accent-light: #ff4d73;
    --accent-dark: #e5284d;

    /* Semantic Colors */
    --success: #00d084;
    --warning: #ffb800;
    --danger: #ff3333;
    --info: #00bcd4;

    /* Neutral Colors */
    --dark: #0a0a0a;
    --light: #fafbfc;
    --white: #ffffff;
    --black: #000000;

    /* Gray Scale */
    --gray-50: #fafbfc;
    --gray-100: #f4f6f8;
    --gray-200: #e8ecf0;
    --gray-300: #d1d9e0;
    --gray-400: #9aa5b1;
    --gray-500: #6b7684;
    --gray-600: #57606a;
    --gray-700: #424a53;
    --gray-800: #32383e;
    --gray-900: #161b22;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--info));
    --gradient-rainbow: linear-gradient(135deg, #ff0050, #ff8a00, #ffed00, #00ff88, #00d4ff, #8b5cf6);
    --gradient-dark: linear-gradient(135deg, var(--gray-900), var(--gray-800));

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 0, 80, 0.3);
    --shadow-neon: 0 0 20px rgba(37, 244, 238, 0.5);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-primary);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 0, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 244, 238, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-50) 100%);
    color: var(--gray-800);
    line-height: 1.7;
    font-size: 16px;
    padding-top: 90px;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}



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

    ::-webkit-scrollbar-track {
        background: var(--gray-100);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--gradient-primary);
        border-radius: var(--radius-full);
    }

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

    /* Selection styles */
    ::selection {
        background: var(--primary);
        color: var(--white);
    }

    ::-moz-selection {
        background: var(--primary);
        color: var(--white);
    }

    /* Advanced Background Effects (Disabled for performance) */
    /*
    body::before {
        content: '';
        position: fixed;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background:
            radial-gradient(circle at 25% 25%, rgba(255, 0, 80, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, rgba(37, 244, 238, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(254, 44, 85, 0.05) 0%, transparent 70%);
        z-index: -2;
        pointer-events: none;
        animation: backgroundFloat 25s ease-in-out infinite;
        opacity: 0.7;
    }

    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        z-index: -1;
        pointer-events: none;
        opacity: 0.3;
    }

    @keyframes backgroundFloat {
        0%, 100% {
            transform: translateY(0px) rotate(0deg) scale(1);
        }
        25% {
            transform: translateY(-20px) rotate(1deg) scale(1.02);
        }
        50% {
            transform: translateY(0px) rotate(0deg) scale(1.01);
        }
        75% {
            transform: translateY(15px) rotate(-1deg) scale(1.02);
        }
    }
    */

    /* Removed cursor effects - keeping only basic hover states */

    /* Advanced Scroll Animations (Optimized for performance) */
    .fade-in-section, .stagger-item, .reveal-up, .reveal-scale {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    /* Parallax elements */
    .parallax {
        transform: translateZ(0);
        will-change: transform;
    }

    /* Ultra-Modern Header with Advanced Glass Effect */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(40px) saturate(200%);
        -webkit-backdrop-filter: blur(40px) saturate(200%);
        box-shadow:
            0 8px 32px rgba(255, 0, 80, 0.1),
            0 1px 0 rgba(255, 255, 255, 0.5) inset;
        z-index: 1050;
        padding: 0;
        border-bottom: 1px solid rgba(255, 0, 80, 0.1);
        transition: var(--transition-normal);
        transform: translateZ(0);
        will-change: transform, background, box-shadow;
    }


.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 0 40px rgba(255, 0, 80, 0.2);
    transform: translateY(-2px);
}

.navbar.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: -1;
}

.navbar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.75rem;
    font-family: var(--font-primary);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
    filter: blur(20px);
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    border-radius: var(--radius-sm);
}

.navbar-brand:hover::before {
    opacity: 0.1;
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-brand:hover {
    color: var(--accent);
    text-decoration: none;
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 0 20px rgba(255, 0, 80, 0.3);
}

.navbar-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.navbar-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-slow);
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        var(--shadow-glow),
        0 0 40px rgba(255, 0, 80, 0.4);
}

.navbar-brand:hover .navbar-logo::before {
    left: 100%;
}


    /* Desktop Navigation */
    .desktop-nav {
        display: none;
        align-items: center;
        gap: 1.5rem;
    }

    @media (min-width: 992px) {
        .desktop-nav {
            display: flex;
        }

        .mobile-menu-toggle {
            display: none;
        }
    }

    .desktop-nav .nav-link {
        color: var(--gray-600);
        font-weight: 500;
        padding: 0.75rem 1.25rem;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        position: relative;
        overflow: hidden;
    }

    .desktop-nav .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
        transition: left 0.5s ease;
    }

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

    .desktop-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 1px;
    }

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

    .desktop-nav .nav-link:hover {
        color: var(--primary);
        background: rgba(99, 102, 241, 0.08);
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    }

    .desktop-nav .nav-link.active {
        color: var(--primary);
        background: rgba(99, 102, 241, 0.1);
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    }

    .desktop-nav .nav-link.active::after {
        width: 80%;
    }

    /* Special styling for Affiliate button */
    .desktop-nav .affiliate-nav-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white !important;
        font-weight: 600;
        border-radius: 20px;
        padding: 0.75rem 1.5rem;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        margin-left: 0.5rem;
    }

    .desktop-nav .affiliate-nav-btn::before {
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    }

    .desktop-nav .affiliate-nav-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        color: white !important;
    }

    .desktop-nav .affiliate-nav-btn.active {
        background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    }

    .desktop-nav .affiliate-nav-btn i {
        margin-right: 0.5rem;
        animation: pulse 2s infinite;
    }

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


    /* Dropdown with Hover Effect - Fixed */
    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-menu {
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0;
        min-width: 220px;
        position: absolute;
        top: 100%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease;
        z-index: 9999;
        list-style: none;
        margin: 0;
        margin-top: 0.5rem;
        pointer-events: none;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        display: block !important;
    }

    /* Keep dropdown visible when hovering over menu itself */
    .dropdown-menu:hover {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        display: block !important;
    }

    .dropdown-item {
        color: var(--gray-700);
        padding: 0.75rem 1.5rem;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
        font-weight: 500;
        position: relative;
    }

    .dropdown-item:hover {
        background: var(--gray-50);
        color: var(--primary);
        text-decoration: none;
    }

    .dropdown-item i {
        width: 20px;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Dropdown divider */
    .dropdown-divider {
        height: 1px;
        margin: 0.5rem 0;
        background: var(--gray-200);
        border: none;
    }

    /* Categories dropdown - align left */
    .dropdown.categories-dropdown .dropdown-menu {
        left: 0;
        right: auto;
        min-width: 250px;
    }

    /* Mobile Menu */
    .mobile-menu-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--gray-600);
        cursor: pointer;
        padding: 0.5rem;
        transition: all 0.2s ease;
        border-radius: 6px;
    }

    @media (max-width: 991px) {
        .mobile-menu-toggle {
            display: block;
        }
    }

    .mobile-menu-toggle:hover {
        color: var(--primary);
        background: var(--gray-50);
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1060;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100%;
        background: var(--white);
        z-index: 1070;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.active {
        right: 0;
    }

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.mobile-menu-content {
    padding: 4rem 2rem 2rem;
    height: 100%;
    overflow-y: auto;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.user-details h6 {
    margin: 0;
    font-weight: 600;
    color: var(--gray-800);
}

.user-details small {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.mobile-menu-content nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-content nav li {
    margin-bottom: 0.5rem;
}

.mobile-menu-content .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.mobile-menu-content .nav-link:hover {
    background: var(--gray-50);
    color: var(--primary);
    text-decoration: none;
}

.mobile-menu-content .nav-link.active {
    background: var(--gray-50);
    color: var(--primary);
}

.mobile-menu-content .nav-link i {
    width: 20px;
    text-align: center;
}

/* Mobile Affiliate button styling */
.mobile-menu-content .affiliate-mobile-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    font-weight: 600;
    border-radius: 12px;
    margin: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.mobile-menu-content .affiliate-mobile-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateX(5px);
    color: white !important;
}

.mobile-menu-content .affiliate-mobile-btn i {
    animation: pulse 2s infinite;
}



/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::after {
    width: 100%;
}

.btn-outline:hover {
    color: white;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

/* Hero Section with Advanced Effects */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(16, 185, 129, 0.04) 100%);
    border-radius: 50%;
    /* animation: heroFloat 15s ease-in-out infinite; */
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    /* animation: heroFloat 20s ease-in-out infinite reverse; */
    z-index: 1;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    /* animation: slideInLeft 1s ease-out; */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow:
        0 8px 25px rgba(99, 102, 241, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    /* animation: slideInUp 1s ease-out 0.2s both; */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 35px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    /* animation: pulse 2s ease-in-out infinite; */
}

.badge-text {
    font-weight: 600;
    letter-spacing: 0.025em;
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    /* animation: shine 3s ease-in-out infinite; */
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    /* animation: slideInUp 1s ease-out 0.4s both; */
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.title-line {
    display: block;
    /* animation: slideInUp 1s ease-out both; */
}

.title-line:nth-child(1) { animation-delay: 0.4s; }
.title-line:nth-child(2) { animation-delay: 0.6s; }
.title-line:nth-child(3) { animation-delay: 0.8s; }

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* animation: gradientShift 4s ease-in-out infinite; */
    position: relative;
    display: inline-block;
}

.hero-title .gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
    border-radius: 8px;
    z-index: -1;
    filter: blur(20px);
    /* animation: glowPulse 3s ease-in-out infinite; */
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.05); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
    /* animation: slideInUp 1s ease-out 0.6s both; */
    max-width: 600px;
}

.hero-description .highlight-text {
    color: var(--primary);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description strong {
    color: var(--gray-800);
    font-weight: 600;
    position: relative;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    /* animation: slideInUp 1s ease-out 0.8s both; */
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 100px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    /* animation: slideInUp 1s ease-out 1s both; */
}

.btn-hero {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-hero .btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.btn-hero.btn-primary .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    filter: blur(10px);
    z-index: 1;
}

.btn-hero.btn-primary:hover .btn-glow {
    opacity: 0.6;
}

.btn-hero.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-700);
    border: 2px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
}

.btn-hero.btn-outline:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.hero-visual {
    position: relative;
    z-index: 3;
    text-align: center;
    /* animation: slideInRight 1s ease-out 0.5s both; */
}

.hero-image-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.hero-logo-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-background-effects {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    /* animation: logoRingRotate 20s linear infinite; */
}

.logo-ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(99, 102, 241, 0.3);
    animation-duration: 20s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-ring-2 {
    width: 320px;
    height: 320px;
    border-color: rgba(16, 185, 129, 0.2);
    animation-duration: 30s;
    animation-direction: reverse;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-ring-3 {
    width: 360px;
    height: 360px;
    border-color: rgba(255, 0, 80, 0.15);
    animation-duration: 40s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow:
        0 20px 60px rgba(255, 0, 80, 0.3),
        0 0 100px rgba(99, 102, 241, 0.2),
        0 0 0 4px rgba(255, 255, 255, 0.1);
    /* animation: float 6s ease-in-out infinite; */
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.hero-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 30px 80px rgba(255, 0, 80, 0.4),
        0 0 120px rgba(99, 102, 241, 0.3),
        0 0 0 6px rgba(255, 255, 255, 0.2);
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
    transform: translate(-50%, -50%);
    /* animation: logoPulse 3s ease-in-out infinite; */
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg,
        rgba(255, 0, 80, 0.1),
        rgba(99, 102, 241, 0.1),
        rgba(0, 255, 255, 0.1));
    border-radius: 50%;
    /* animation: pulse 4s ease-in-out infinite; */
    z-index: 1;
}

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

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    /* animation: decorationFloat 12s ease-in-out infinite; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.decoration-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(255, 255, 255, 0.9));
}

.decoration-2 {
    width: 60px;
    height: 60px;
    top: 65%;
    right: 12%;
    animation-delay: -3s;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(255, 255, 255, 0.9));
}

.decoration-3 {
    width: 70px;
    height: 70px;
    bottom: 25%;
    left: 15%;
    animation-delay: -6s;
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.1), rgba(255, 255, 255, 0.9));
}

.decoration-4 {
    width: 50px;
    height: 50px;
    top: 40%;
    right: 5%;
    animation-delay: -9s;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(255, 255, 255, 0.9));
}

.decoration-5 {
    width: 65px;
    height: 65px;
    top: 80%;
    left: 50%;
    animation-delay: -12s;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.9));
}


/* Hero Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }

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

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 80px;
        padding: 0.75rem;
    }

    .hero-image-container {
        width: 350px;
        height: 350px;
    }

    .hero-logo {
        width: 180px;
        height: 180px;
    }

    .logo-ring-1 { width: 250px; height: 250px; }
    .logo-ring-2 { width: 280px; height: 280px; }
    .logo-ring-3 { width: 310px; height: 310px; }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

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

    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }

    .stat-item {
        min-width: 70px;
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

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

    .btn-hero {
        min-width: 140px;
        padding: 0.875rem 1.5rem;
    }

    .hero-image-container {
        width: 300px;
        height: 300px;
    }

    .hero-logo {
        width: 150px;
        height: 150px;
    }

    .logo-ring-1 { width: 200px; height: 200px; }
    .logo-ring-2 { width: 230px; height: 230px; }
    .logo-ring-3 { width: 260px; height: 260px; }

    .decoration-circle {
        font-size: 1rem;
    }

    .decoration-1 { width: 60px; height: 60px; }
    .decoration-2 { width: 50px; height: 50px; }
    .decoration-3 { width: 55px; height: 55px; }
    .decoration-4 { width: 40px; height: 40px; }
    .decoration-5 { width: 45px; height: 45px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 0.75rem 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .btn-hero {
        width: 100%;
        margin-bottom: 0.5rem;
    }

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

    .hero-image-container {
        width: 250px;
        height: 250px;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .logo-ring-1 { width: 160px; height: 160px; }
    .logo-ring-2 { width: 180px; height: 180px; }
    .logo-ring-3 { width: 200px; height: 200px; }

    .hero-particles {
        opacity: 0.5;
    }

    .hero-orb-1, .hero-orb-2, .hero-orb-3 {
        opacity: 0.3;
    }
}

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

/* Enhanced Hero Background Effects */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(16, 185, 129, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 0, 80, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(16, 185, 129, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particlesFloat 20s linear infinite;
}

@keyframes particlesFloat {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-10px) translateX(10px); }
    66% { transform: translateY(5px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: orbFloat 15s ease-in-out infinite;
}

.hero-orb-1 {
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    animation-delay: 0s;
}

.hero-orb-2 {
    bottom: 20%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
    animation-delay: -5s;
}

.hero-orb-3 {
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 0, 80, 0.3) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
    33% { transform: translateY(-30px) translateX(20px) scale(1.1); }
    66% { transform: translateY(15px) translateX(-15px) scale(0.9); }
}
