/* ===========================
           NAVIGATION
        =========================== */

        .navbar {
            display: flex;
            align-items: center;
            padding: 0.8rem 2rem;
            margin: 20px auto;
            max-width: 1400px;
            width: calc(100% - 40px);
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            background: rgba(10, 10, 26, 0.85);
            backdrop-filter: blur(20px);
            /* border: 1px solid rgba(168, 85, 247, 0.2); */
            border-radius: 50px;
            /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                        0 0 60px rgba(168, 85, 247, 0.15); */
            transition: all 0.3s ease;
        }

        .navbar:hover {
            border-color: rgba(168, 85, 247, 0.4);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                        0 0 80px rgba(168, 85, 247, 0.25);
        }

        .navbar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(168, 85, 247, 0.5) 20%, 
                rgba(168, 85, 247, 0.5) 80%, 
                transparent);
            border-radius: 20px 20px 0 0;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
        }

        .logo-container img {
            height: 55px;
            width: auto;
            filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
            transition: transform 0.3s ease, filter 0.3s ease;
        }

        .logo-container:hover img {
            transform: scale(1.05);
            filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.5));
        }

        .logo-text {
            font-family: 'Arial Black', 'Helvetica Bold', sans-serif;
            font-size: 28px;
            font-weight: 900;
            background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
            white-space: nowrap;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 0.5rem;
            margin-left: auto;
            margin-right: 1rem;
        }

        .nav-link {
            color: #cccccc;
            text-decoration: none;
            font-weight: 500;
            font-size: 18px;
            padding: 0.6rem 1.2rem;
            border-radius: 12px;
            transition: all 0.3s ease;
            white-space: nowrap;
            position: relative;
        }

        .nav-link:hover {
            color: #ffffff;
            background: rgba(168, 85, 247, 0.1);
            transform: translateY(-2px);
            border-radius: 86px;
        }

        .nav-link.active {
            color: #ffffff;
            background: rgba(168, 85, 247, 0.15);
            transform: translateY(-2px);
            border-radius: 86px;
        }

        .download-btn1 {
            background: linear-gradient(135deg, #8400D8 0%, #764ba2 100%);
            color: white;
            padding: 0.7rem 1.8rem;
            border-radius: 36px;
            text-decoration: none;
            font-weight: 600;
            font-size: 18px;
            transition: all 0.3s ease;
            /* box-shadow: 0 4px 20px #8400D8; */
            flex-shrink: 0;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }

        .download-btn1::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.2), 
                transparent);
            transition: left 0.6s ease;
        }

        .download-btn1:hover::before {
            left: 100%;
        }

        .download-btn1:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 8px 30px #8400D8;
        }

        .download-btn1:active {
            transform: translateY(-1px) scale(0.98);
        }

        /* Mobile Menu Toggle */
        .mobile-toggle {
            display: none;
            background: rgba(168, 85, 247, 0.1);
            border: 1px solid rgba(168, 85, 247, 0.2);
            border-radius: 10px;
            cursor: pointer;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 0.6rem;
            gap: 4px;
            flex-shrink: 0;
            z-index: 1001;
            transition: all 0.3s ease;
            width: 44px;
            height: 44px;
            position: relative;
            margin-left: auto;
        }

        .mobile-toggle:hover {
            background: rgba(168, 85, 247, 0.2);
            border-color: rgba(168, 85, 247, 0.4);
            transform: scale(1.05);
        }

        .mobile-toggle:active {
            transform: scale(0.95);
        }

        .mobile-toggle span {
            width: 22px;
            height: 2.5px;
            background: #ffffff;
            border-radius: 2px;
            transition: all 0.3s ease;
            display: block;
            position: relative;
        }

        .mobile-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .mobile-toggle.active span:nth-child(2) {
            opacity: 0;
            transform: translateX(-10px);
        }

        .mobile-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(10, 10, 20, 0.98);
            backdrop-filter: blur(30px);
            display: flex;
            justify-content: center;
            align-items: center;
            transform: translateX(-100%);
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 1000;
            visibility: hidden;
            opacity: 0;
        }

        .mobile-menu.active {
            transform: translateX(0);
            visibility: visible;
            opacity: 1;
        }

        .mobile-menu-content {
            text-align: center;
            position: relative;
            animation: slideIn 0.5s ease forwards;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .mobile-nav {
            list-style: none;
            margin-bottom: 2rem;
        }

        .mobile-nav li {
            margin: 1.5rem 0;
            opacity: 0;
            animation: fadeInUp 0.5s ease forwards;
        }

        .mobile-nav li:nth-child(1) { animation-delay: 0.1s; }
        .mobile-nav li:nth-child(2) { animation-delay: 0.2s; }
        .mobile-nav li:nth-child(3) { animation-delay: 0.3s; }
        .mobile-nav li:nth-child(4) { animation-delay: 0.4s; }
        .mobile-nav li:nth-child(5) { animation-delay: 0.5s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
            from {
                opacity: 0;
                transform: translateY(20px);
            }
        }

        .mobile-nav a {
            color: var(--white);
            text-decoration: none;
            font-size: 1.8rem;
            font-weight: 600;
            transition: all 0.3s ease;
            padding: 0.5rem 2rem;
            display: inline-block;
            border-radius: 12px;
            position: relative;
        }

        .mobile-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: var(--gradient-purple);
            transform: translateX(-50%);
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .mobile-nav a:hover {
            color: var(--purple-primary);
            background: rgba(167, 139, 250, 0.1);
        }

        .mobile-nav a:hover::after {
            width: 80%;
        }

        .mobile-download-btn {
            background: var(--gradient-purple);
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 16px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.2rem;
            display: inline-block;
            margin-top: 1rem;
            box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
            transition: all 0.3s ease;
            opacity: 0;
            animation: fadeInUp 0.5s ease 0.6s forwards;
        }

        .mobile-download-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 40px rgba(102, 126, 234, 0.7);
        }

        /* Responsive Design */
        
        /* Extra Large Screens (1920px and above) */
        @media (min-width: 1920px) {
            .navbar {
                max-width: 1600px;
                padding: 1rem 3rem;
            }

            .logo-text {
                font-size: 32px;
            }

            .logo-container img {
                height: 50px;
            }

            .nav-link {
                font-size: 17px;
                padding: 0.7rem 1.4rem;
            }

            .download-btn1 {
                font-size: 17px;
                padding: 0.8rem 2rem;
            }
        }

        /* Large Screens (1440px - 1919px) */
        @media (min-width: 1440px) and (max-width: 1919px) {
            .navbar {
                max-width: 1400px;
            }
        }

        /* Desktop (1200px - 1439px) */
        @media (min-width: 1200px) and (max-width: 1439px) {
            .navbar {
                max-width: 1200px;
                padding: 0.8rem 1.8rem;
            }

            .nav-link {
                font-size: 15px;
                gap: 0.4rem;
            }
        }

        /* Small Desktop / Large Tablet (992px - 1199px) */
        @media (min-width: 992px) and (max-width: 1199px) {
            .navbar {
                max-width: 1000px;
                padding: 0.8rem 1.5rem;
            }

            .logo-text {
                font-size: 26px;
            }

            .logo-container img {
                height: 42px;
            }

            .nav-menu {
                gap: 0.3rem;
            }

            .nav-link {
                font-size: 14px;
                padding: 0.6rem 1rem;
            }

            .download-btn1 {
                font-size: 14px;
                padding: 0.65rem 1.5rem;
            }
        }

        /* Tablet Landscape (768px - 991px) */
        @media (min-width: 768px) and (max-width: 991px) {
            .navbar {
                padding: 0.8rem 1.5rem;
                margin: 15px auto;
                width: calc(100% - 30px);
            }

            .logo-text {
                font-size: 24px;
            }

            .logo-container img {
                height: 38px;
            }

            .nav-menu {
                display: none;
            }

            .download-btn1 {
                display: none;
            }

            .mobile-toggle {
                display: flex;
            }
        }

        /* Tablet Portrait (600px - 767px) */
        @media (min-width: 600px) and (max-width: 767px) {
            .navbar {
                padding: 0.7rem 1.2rem;
                margin: 12px auto;
                width: calc(100% - 24px);
                border-radius: 16px;
            }

            .logo-text {
                font-size: 22px;
            }

            .logo-container img {
                height: 36px;
            }

            .nav-menu {
                display: none;
            }

            .download-btn1 {
                display: none;
            }

            .mobile-toggle {
                display: flex;
            }

            .mobile-nav a {
                font-size: 1.6rem;
            }

            .mobile-download-btn {
                font-size: 1.1rem;
                padding: 0.9rem 2.2rem;
            }
        }

        /* Mobile Landscape / Large Phone (480px - 599px) */
        @media (min-width: 480px) and (max-width: 599px) {
            .navbar {
                padding: 0.7rem 1rem;
                margin: 10px auto;
                width: calc(100% - 20px);
                border-radius: 14px;
            }

            .logo-text {
                font-size: 20px;
            }

            .logo-container img {
                height: 34px;
            }

            .nav-menu {
                display: none;
            }

            .download-btn1 {
                display: none;
            }

            .mobile-toggle {
                display: flex;
                padding: 0.5rem;
                width: 40px;
                height: 40px;
            }

            .mobile-toggle span {
                width: 20px;
                height: 2.5px;
            }

            .mobile-nav a {
                font-size: 1.5rem;
                padding: 0.4rem 1.5rem;
            }

            .mobile-download-btn {
                font-size: 1rem;
                padding: 0.85rem 2rem;
                border-radius: 14px;
            }
        }

        /* Mobile Portrait (360px - 479px) */
        @media (min-width: 360px) and (max-width: 479px) {
            .navbar {
                padding: 0.6rem 0.8rem;
                margin: 10px auto;
                width: calc(100% - 20px);
                border-radius: 12px;
            }

            .logo-text {
                font-size: 18px;
            }

            .logo-container img {
                height: 30px;
            }

            .logo-container {
                gap: 0.3rem;
            }

            .nav-menu {
                display: none;
            }

            .download-btn1 {
                display: none;
            }

            .mobile-toggle {
                display: flex;
                padding: 0.45rem;
                width: 38px;
                height: 38px;
            }

            .mobile-toggle span {
                width: 18px;
                height: 2.5px;
            }

            .mobile-nav a {
                font-size: 1.4rem;
                padding: 0.4rem 1.2rem;
            }

            .mobile-download-btn {
                font-size: 0.95rem;
                padding: 0.8rem 1.8rem;
            }

            .demo-content h1 {
                font-size: 2rem;
            }

            .demo-content p {
                font-size: 1rem !important;
            }
        }

        /* Small Mobile (320px - 359px) */
        @media (max-width: 359px) {
            .navbar {
                padding: 0.5rem 0.7rem;
                margin: 8px auto;
                width: calc(100% - 16px);
                border-radius: 12px;
            }

            .logo-text {
                font-size: 16px;
            }

            .logo-container img {
                height: 28px;
            }

            .logo-container {
                gap: 0.25rem;
            }

            .nav-menu {
                display: none;
            }

            .download-btn1 {
                display: none;
            }

            .mobile-toggle {
                display: flex;
                padding: 0.4rem;
                width: 36px;
                height: 36px;
            }

            .mobile-toggle span {
                width: 16px;
                height: 2.5px;
                margin: 2.5px 0;
            }

            .mobile-nav {
                margin-bottom: 1.5rem;
            }

            .mobile-nav li {
                margin: 1.2rem 0;
            }

            .mobile-nav a {
                font-size: 1.3rem;
                padding: 0.3rem 1rem;
            }

            .mobile-download-btn {
                font-size: 0.9rem;
                padding: 0.75rem 1.5rem;
                border-radius: 12px;
            }

            .demo-content {
                padding: 1rem;
            }

            .demo-content h1 {
                font-size: 1.8rem;
            }

            .demo-content p {
                font-size: 0.9rem !important;
            }
        }

        /* Ultra Wide Screens (2560px and above) */
        @media (min-width: 2560px) {
            .navbar {
                max-width: 2000px;
                padding: 1.2rem 4rem;
            }

            .logo-text {
                font-size: 36px;
            }

            .logo-container img {
                height: 55px;
            }

            .nav-link {
                font-size: 18px;
                padding: 0.8rem 1.6rem;
            }

            .download-btn1 {
                font-size: 18px;
                padding: 0.9rem 2.2rem;
            }
        }

        /* Landscape orientation specific adjustments */
        @media (max-height: 600px) and (orientation: landscape) {
            .mobile-menu-content {
                padding: 1rem 0;
            }

            .mobile-nav li {
                margin: 0.8rem 0;
            }

            .mobile-nav a {
                font-size: 1.3rem;
            }

            .mobile-download-btn {
                font-size: 0.95rem;
                padding: 0.7rem 1.8rem;
                margin-top: 0.5rem;
            }
        }

        /* Very short screens */
        @media (max-height: 500px) and (orientation: landscape) {
            .mobile-nav li {
                margin: 0.5rem 0;
            }

            .mobile-nav a {
                font-size: 1.1rem;
                padding: 0.3rem 1rem;
            }

            .mobile-download-btn {
                font-size: 0.9rem;
                padding: 0.6rem 1.5rem;
            }
        }

        /* Demo Content */
        .demo-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            color: white;
            text-align: center;
        }

        .demo-content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }