/* Root Variables */
        :root {
            --primary-color: #4a90e2;
            --secondary-color: #2c3e50;
            --accent-color: #00ffaa;
            --tertiary-color: #9c27b0;
            --background-light: #f4f4f4;
            --background-dark: #1e1e1e;
            --text-light: #333;
            --text-dark: #f4f4f4;
            --glow-color: rgba(0, 255, 170, 0.7);
        }

        /* Global Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            transition: all 0.3s ease-in-out;
        }

        /* Body */
        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            background: linear-gradient(135deg, #1f1c2c, #4a90e2, #2c3e50, #131862);
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
            color: var(--text-dark);
            position: relative;
            overflow-x: hidden;
            min-height: 100vh;
        }

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

        /* AI circuit pattern overlay */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='0.1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3C/svg%3E");
            z-index: -1;
            opacity: 0.6;
        }

        /* Digital rain effect */
        .digital-rain {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -2;
        }

        /* Navbar */
        .navbar {
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            padding: 15px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(0, 255, 170, 0.3);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
        }

        .container {
            max-width: 1100px;
            margin: auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            color: #fff;
            font-size: 24px;
            position: relative;
            text-shadow: 0 0 10px var(--glow-color);
            font-weight: 800;
            letter-spacing: 1px;
        }

        .logo::after {
            content: "AI";
            position: absolute;
            top: -10px;
            right: -20px;
            font-size: 12px;
            background: var(--accent-color);
            color: #000;
            padding: 2px 5px;
            border-radius: 4px;
            animation: pulse 2s infinite;
            box-shadow: 0 0 15px var(--glow-color);
        }

        .nav-links {
            list-style: none;
            display: flex;
        }

        .nav-links li {
            margin: 0 15px;
            position: relative;
        }

        .nav-links a {
            text-decoration: none;
            color: #fff;
            font-size: 18px;
            position: relative;
            padding: 5px 0;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 500;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--accent-color);
            transition: width 0.3s;
            box-shadow: 0 0 10px var(--glow-color);
        }

        .nav-links a:hover {
            color: var(--accent-color);
            text-shadow: 0 0 5px var(--glow-color);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .theme-toggle, .menu-toggle {
            background: none;
            border: none;
            color: #fff;
            font-size: 22px;
            cursor: pointer;
            text-shadow: 0 0 10px var(--glow-color);
        }

        .theme-toggle:hover, .menu-toggle:hover {
            color: var(--accent-color);
            transform: scale(1.1);
        }

        /* Hero Section */
        .hero {
            color: white;
            text-align: center;
            padding: 180px 20px 150px;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
            z-index: -1;
        }

        .animated-text {
            font-size: 3.5em;
            margin-bottom: 20px;
            text-shadow: 0 0 15px rgba(0, 255, 170, 0.7);
            font-weight: 800;
            position: relative;
            display: inline-block;
        }

        .animated-text::before, .animated-text::after {
            content: "";
            position: absolute;
            height: 100%;
            width: 10px;
            background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
            transform: scale(0);
            opacity: 0;
        }

        .animated-text::before {
            left: -30px;
            animation: pulse-left 4s infinite;
        }

        .animated-text::after {
            right: -30px;
            animation: pulse-right 4s infinite;
        }

        @keyframes pulse-left {
            0%, 100% { transform: scaleY(0); opacity: 0; }
            50% { transform: scaleY(1); opacity: 1; }
        }

        @keyframes pulse-right {
            0%, 100% { transform: scaleY(0); opacity: 0; }
            50% { transform: scaleY(1); opacity: 1; }
        }

        .hero-subtitle {
            font-size: 1.5em;
            opacity: 0.9;
            margin-bottom: 30px;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            position: relative;
            letter-spacing: 1px;
        }

        .typewriter-container {
            display: inline-block;
            position: relative;
            padding: 0 5px;
        }

        .typewriter {
            display: inline-block;
            overflow: hidden;
            border-right: 0.15em solid var(--accent-color);
            white-space: nowrap;
            margin: 0;
            color: var(--accent-color);
            animation: blinking-cursor 0.75s step-end infinite;
            font-weight: 700;
        }

        @keyframes blinking-cursor {
            from, to { border-color: transparent }
            50% { border-color: var(--accent-color) }
        }

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

        .button {
            font-size: 19px;
            background: linear-gradient(135deg, var(--accent-color), #00c3ff);
            color: #000;
            border: none;
            padding: 15px 40px;
            border-radius: 50px;
            cursor: pointer;
            font-weight: bold;
            margin-top: 30px;
            box-shadow: 0 5px 25px rgba(0, 255, 170, 0.5);
            position: relative;
            overflow: hidden;
            transition: all 0.5s;
            text-transform: uppercase;
            letter-spacing: 2px;
            z-index: 1;
        }

        .button::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: 0.5s;
            z-index: -1;
        }

        .button:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 255, 170, 0.7);
        }

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

        .button::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            z-index: -2;
            transition: all 0.5s;
        }

        .button:hover::after {
            height: 10%;
        }

        /* Feature Section */
        .features {
            padding: 80px 20px;
            text-align: center;
            position: relative;
        }

        .features::before {
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 5px;
            background: var(--accent-color);
            border-radius: 10px;
            box-shadow: 0 0 20px var(--glow-color);
        }

        .features h2 {
            font-size: 2.8em;
            margin-bottom: 50px;
            position: relative;
            display: inline-block;
            color: #fff;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            letter-spacing: 2px;
        }

        .features h2::after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 3px;
            background: var(--accent-color);
            box-shadow: 0 0 10px var(--glow-color);
        }

        .feature-grid {
            display: flex;
            gap: 30px;
            margin-top: 50px;
            perspective: 1000px;
        }

        .feature-card {
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(10px);
            padding: 40px 30px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            border-radius: 20px;
            text-align: center;
            flex: 1;
            border: 1px solid rgba(0, 255, 170, 0.2);
            transform-style: preserve-3d;
            transform: translateZ(0);
            transition: transform 0.5s ease, box-shadow 0.5s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .feature-card::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(0, 255, 170, 0.1), transparent);
            transform: rotate(45deg);
            z-index: -1;
            transition: 0.6s;
        }

        .feature-card:hover {
            transform: translateY(-15px) rotateX(5deg);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 255, 170, 0.3);
            border-color: rgba(0, 255, 170, 0.5);
        }

        .feature-card:hover::before {
            left: 100%;
        }

        .feature-card i {
            font-size: 50px;
            color: var(--accent-color);
            margin-bottom: 25px;
            display: inline-block;
            text-shadow: 0 0 20px var(--glow-color);
            animation: float 4s ease-in-out infinite;
        }

        @keyframes float {
            0% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(5deg); }
            100% { transform: translateY(0px) rotate(0deg); }
        }

        .feature-card h3 {
            color: white !important;
            font-size: 24px;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
            letter-spacing: 1px;
        }

        .feature-card h3::after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 2px;
            background-color: var(--accent-color);
            transition: width 0.3s;
        }

        .feature-card:hover h3::after {
            width: 70px;
        }

        .feature-card p {
            color: rgba(255, 255, 255, 0.8) !important;
            font-size: 16px;
            line-height: 1.7;
        }

        /* HUD Circle Elements */
        .hud-element {
            position: absolute;
            border: 2px solid rgba(0, 255, 170, 0.3);
            border-radius: 50%;
            opacity: 0.5;
            pointer-events: none;
        }

        .hud-circle-1 {
            width: 300px;
            height: 300px;
            top: 20%;
            left: -150px;
            border-top-color: transparent;
            border-right-color: transparent;
            animation: rotate 20s linear infinite;
        }

        .hud-circle-2 {
            width: 200px;
            height: 200px;
            bottom: 10%;
            right: -100px;
            border-bottom-color: transparent;
            border-left-color: transparent;
            animation: rotate 15s linear infinite reverse;
        }

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

        /* Footer */
        .footer {
            text-align: center;
            padding: 40px 20px;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            color: white;
            margin-top: 80px;
            border-top: 1px solid rgba(0, 255, 170, 0.3);
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
            animation: glow 3s infinite;
        }

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

        .footer p {
            margin-bottom: 20px;
            font-size: 16px;
            letter-spacing: 1px;
        }

        .social-links {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .social-links a {
            color: white;
            font-size: 22px;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(0, 255, 170, 0.3);
            transition: all 0.3s;
        }

        .social-links a:hover {
            color: var(--accent-color);
            transform: translateY(-5px);
            background: rgba(0, 0, 0, 0.3);
            border-color: var(--accent-color);
            box-shadow: 0 0 15px var(--glow-color);
        }

        /* AI-inspired animated elements */
        .ai-particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            background: var(--accent-color);
            border-radius: 50%;
            filter: blur(2px);
            box-shadow: 0 0 10px var(--glow-color);
            animation: moveParticle 15s linear infinite;
        }

        @keyframes moveParticle {
            0% { transform: translate(0, 0); opacity: 0; }
            10% { opacity: 0.8; }
            90% { opacity: 0.8; }
            100% { transform: translate(100vw, -100vh) rotate(360deg); opacity: 0; }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .feature-grid {
                flex-direction: column;
            }

            .nav-links {
                position: absolute;
                top: 70px;
                left: 0;
                background: rgba(0, 0, 0, 0.9);
                backdrop-filter: blur(10px);
                width: 100%;
                flex-direction: column;
                align-items: center;
                padding: 20px 0;
                gap: 20px;
                border-bottom: 1px solid rgba(0, 255, 170, 0.3);
                transform: translateY(-150%);
                transition: transform 0.5s;
                z-index: 999;
            }

            .nav-links.active {
                transform: translateY(0);
                display: flex !important;
            }

            .hero h1 {
                font-size: 2.2em;
            }

            .animated-text::before, .animated-text::after {
                display: none;
            }
        }

        /* Data Visualization Element */
        .data-visualization {
            position: absolute;
            bottom: 50px;
            right: 50px;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.4);
            border: 2px solid rgba(0, 255, 170, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            pointer-events: none;
            box-shadow: 0 0 30px rgba(0, 255, 170, 0.3);
            z-index: -1;
        }

        .data-bar {
            position: absolute;
            bottom: 0;
            width: 5px;
            background: var(--accent-color);
            animation: dataFlow 2.5s infinite;
            box-shadow: 0 0 10px var(--glow-color);
        }

        @keyframes dataFlow {
            0%, 100% { height: 20%; }
            50% { height: 80%; }
        }

        /* Radar Animation */
        .radar {
            position: absolute;
            top: 100px;
            left: 80px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            border: 2px solid rgba(0, 255, 170, 0.3);
            display: flex;
            justify-content: center;
            align-items: center;
            pointer-events: none;
            opacity: 0.7;
            z-index: -1;
        }

        .radar-line {
            position: absolute;
            top: 0;
            left: 50%;
            width: 2px;
            height: 50%;
            background: linear-gradient(to bottom, var(--accent-color), transparent);
            transform-origin: bottom center;
            animation: radarScan 4s linear infinite;
        }

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

        /* Neural Network Connections */
        .neural-networks {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            opacity: 0.2;
            z-index: -3;
        }

        /* Login Form Styles */
        .login-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 100px 20px;
        }
        .login-card {
            background: rgba(15, 23, 42, 0.8);
            backdrop-filter: blur(15px);
            padding: 40px;
            width: 100%;
            max-width: 450px;
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(0, 255, 170, 0.3);
            position: relative;
            overflow: hidden;
            animation: cardAppear 0.8s forwards;
        }

        @keyframes cardAppear {
            0% { transform: translateY(50px); opacity: 0; }
            100% { transform: translateY(0); opacity: 1; }
        }

        .login-card::before {
            content: "";
            position: absolute;
            top: -100px;
            left: -100px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(rgba(0, 255, 170, 0.2), transparent);
            z-index: -1;
        }

        .login-card::after {
            content: "";
            position: absolute;
            bottom: -100px;
            right: -100px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(rgba(0, 255, 170, 0.2), transparent);
            z-index: -1;
        }

        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .login-header h2 {
            font-size: 2.5em;
            color: #fff;
            margin-bottom: 10px;
            text-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
            letter-spacing: 2px;
        }

        .login-header p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1em;
        }

        .login-form {
            position: relative;
        }

        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #fff;
            font-size: 16px;
            letter-spacing: 1px;
            transform-origin: left;
            transition: all 0.3s;
        }

        .form-group input {
            width: 100%;
            padding: 15px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(0, 255, 170, 0.3);
            border-radius: 8px;
            color: #fff;
            font-size: 16px;
            outline: none;
            transition: all 0.3s;
        }

        .form-group input:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 15px rgba(0, 255, 170, 0.3);
        }

        .form-group .input-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            color: rgba(255, 255, 255, 0.5);
            font-size: 18px;
            transition: all 0.3s;
        }

        .form-group input:focus + .input-icon {
            color: var(--accent-color);
        }

        .forgot-password {
            text-align: right;
            margin-top: -15px;
            margin-bottom: 20px;
        }

        .forgot-password a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s;
        }

        .forgot-password a:hover {
            color: var(--accent-color);
            text-decoration: underline;
        }

        .login-button {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, var(--accent-color), #00c3ff);
            border: none;
            border-radius: 8px;
            color: #000;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            letter-spacing: 1px;
            box-shadow: 0 5px 20px rgba(0, 255, 170, 0.4);
        }

        .login-button::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: 0.5s;
        }

        .login-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 255, 170, 0.6);
        }

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

        .divider {
            display: flex;
            align-items: center;
            margin: 30px 0;
            color: rgba(255, 255, 255, 0.5);
        }

        .divider::before, .divider::after {
            content: "";
            flex: 1;
            height: 1px;
            background: rgba(255, 255, 255, 0.2);
        }

        .divider span {
            padding: 0 15px;
            font-size: 14px;
        }

        .social-login {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .social-button {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(0, 255, 170, 0.3);
            color: #fff;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .social-button:hover {
            background: rgba(0, 255, 170, 0.1);
            border-color: var(--accent-color);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 255, 170, 0.3);
        }

        .register-link {
            text-align: center;
            margin-top: 30px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        .register-link a {
            color: var(--accent-color);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
        }

        .register-link a:hover {
            text-shadow: 0 0 8px var(--glow-color);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .login-card {
                padding: 30px 20px;
            }

            .login-header h2 {
                font-size: 2em;
            }
        }