  :root {
            --primary: #6366f1;
            --secondary: #ec4899;
            --accent: #06b6d4;
            --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
            --glass-bg: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.1);
        }

        /* Dark Theme */
        body[data-theme='dark'] {
            --bg-color: #0a0e1a;
            --surface-color: rgba(15, 23, 42, 0.6);
            --text-primary: #f8fafc;
            --text-secondary: #cbd5e1;
            --text-muted: #64748b;
            --border-color: rgba(148, 163, 184, 0.2);
            --spotlight: rgba(99, 102, 241, 0.1);
            --grid-pattern: rgba(99, 102, 241, 0.03);
            --scrollbar: #334155;
            --link-color: #ffffff;
            --link-hover: #f0f0f0;
            --nav-bg-color: rgba(10, 14, 26, 0.8);
            --form-bg: rgba(255, 255, 255, 0.05);
            --form-bg-focus: rgba(255, 255, 255, 0.08);
        }

        /* Light Theme */
        body[data-theme='light'] {
            --bg-color: #f8fafc;
            --surface-color: rgba(255, 255, 255, 0.8);
            --text-primary: #0f172a;
            --text-secondary: #1e293b;
            --text-muted: #64748b;
            --border-color: rgba(0, 0, 0, 0.05);
            --spotlight: rgba(99, 102, 241, 0.05);
            --grid-pattern: rgba(99, 102, 241, 0.02);
            --scrollbar: #cbd5e1;
            --link-color: var(--text-primary);
            --link-hover: var(--primary);
            --nav-bg-color: rgba(248, 250, 252, 0.8);
            --form-bg: rgba(0, 0, 0, 0.03);
            --form-bg-focus: rgba(0, 0, 0, 0.05);
        }

        /* General Link Styles */
        a {
            color: var(--link-color) !important;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        a:hover {
            color: var(--link-hover) !important;
            text-decoration: none;
        }

        /* Footer links specific override */
        .footer a {
            color: var(--text-muted);
        }

        .footer a:hover {
            color: var(--primary) !important;
        }

        /* Navigation links */
        .nav-link {
            color: var(--text-primary) !important;
            position: relative;
            padding: 8px 0;
            transition: all 0.3s ease;
        }

        .nav-link:hover {
            color: var(--primary) !important;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
        }

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

        * {
            scrollbar-width: thin;
            scrollbar-color: var(--scrollbar) transparent;
        }

        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { 
            background: var(--scrollbar); 
            border-radius: 10px;
            transition: background 0.3s ease;
        }
        ::-webkit-scrollbar-thumb:hover { background: var(--primary); }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-color);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background-image: 
                radial-gradient(circle at 20% 80%, var(--grid-pattern) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, var(--grid-pattern) 0%, transparent 50%),
                linear-gradient(var(--grid-pattern) 1px, transparent 1px),
                linear-gradient(90deg, var(--grid-pattern) 1px, transparent 1px);
            background-size: 100px 100px, 150px 150px, 50px 50px, 50px 50px;
        }

        /* Spotlight & Mouse Effects */
        #spotlight {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: -1;
            background: 
                radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                var(--spotlight) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.6s ease;
            mix-blend-mode: overlay;
        }

        /* Glass Morphism */
        .glass-surface {
            background: var(--surface-color);
            backdrop-filter: blur(24px) saturate(180%);
            -webkit-backdrop-filter: blur(24px) saturate(180%);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .glass-surface::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-primary);
            opacity: 0;
            transition: opacity 0.6s ease;
            z-index: -1;
        }

        .glass-surface:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
            border-color: var(--primary);
        }

        .glass-surface:hover::before { opacity: 0.05; }

        /* Gradient Text */
        .gradient-text {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% 200%;
            animation: gradientShift 4s ease infinite;
        }

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

        /* Navigation Container */
        .nav-container {
            backdrop-filter: blur(20px);
            background: var(--nav-bg-color); 
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }

        /* Buttons */
        .btn-gradient {
            background: var(--gradient-primary);
            background-size: 200% 200%;
            border: none;
            padding: 16px 32px;
            border-radius: 50px;
            color: white !important;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.4s ease;
            box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
            animation: gradientShift 3s ease infinite;
        }

        .btn-gradient:hover {
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 16px 48px rgba(99, 102, 241, 0.4);
            background-position: 100% 0;
            color: white !important;
        }
        
        .btn-gradient:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
        }

        /* Form Elements */
        .form-control {
            background: var(--form-bg);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 16px;
            border-radius: 16px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
            background: var(--form-bg-focus);
        }
        
        /* FIX: Style select dropdown options for dark/light mode */
        select.form-control option {
            background: var(--bg-color);
            color: var(--text-primary);
        }
        
        #mobile-menu a {
            color: var(--text-primary) !important;
        }
        #mobile-menu a:hover {
            color: var(--primary) !important;
        }

        /* Dropdown */
        .dropdown-menu {
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .dropdown-trigger:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .dropdown-menu a {
            color: var(--text-secondary) !important;
            display: block;
            padding: 12px 16px;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .dropdown-menu a:hover {
            color: var(--text-primary) !important;
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(8px);
        }

        /* Animations */
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotateZ(0deg); }
            33% { transform: translateY(-20px) rotateZ(2deg); }
            66% { transform: translateY(-10px) rotateZ(-2deg); }
        }

        .floating-element { 
            animation: float 8s ease-in-out infinite; 
        }

        @keyframes orbit {
            0% { 
                transform: rotate(0deg) translateX(120px) rotate(0deg) scale(1); 
                opacity: 0.7;
            }
            50% { 
                opacity: 1;
                transform: rotate(180deg) translateX(120px) rotate(-180deg) scale(1.1); 
            }
            100% { 
                transform: rotate(360deg) translateX(120px) rotate(-360deg) scale(1); 
                opacity: 0.7;
            }
        }

        .orbit-element {
            position: absolute;
            animation: orbit 12s linear infinite;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            backdrop-filter: blur(10px);
        }

        /* Scroll Animations */
        .fade-in-up {
            opacity: 0;
            transform: translateY(60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        /* Review Cards */
        .review-card {
            background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
            transition: all 0.4s ease;
        }

        .review-card:hover {
            transform: translateY(-8px) rotateX(5deg);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        .review-card a {
            color: var(--text-muted) !important;
        }

        .review-card a:hover {
            color: var(--link-color) !important;
        }

        /* QR Code Animation */
        .qr-container {
            animation: pulse-glow 2s ease-in-out infinite alternate;
        }

        @keyframes pulse-glow {
            0% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
            100% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
        }

        /* Override for specific colored links if needed */
        .colored-link {
            color: var(--primary) !important;
        }

        /* Logo theme switching */
        .logo-dark { display: block; }
        .logo-light { display: none; }

        body[data-theme='light'] .logo-dark {
            display: none;
        }
        body[data-theme='light'] .logo-light {
            display: block;
        }

        /* Deep Scanner Specific Styles */
        #scanner-results {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 0.5rem;
        }

        .scanner-item {
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 16px;
            max-width:300px;
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .scanner-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 16px 32px rgba(0,0,0,0.2);
            border-color: var(--primary);
        }

        .iframe-container {
            height: 170px;
            overflow: hidden;
            position: relative;
            background-color: var(--form-bg);
        }

        .scanner-item iframe {
            width: 1920px;
            height: 1080px;
            transform: scale(0.1573);
            transform-origin: 0 0;
            border: none;
            pointer-events: none;
            position: absolute;
            top: 0;
            left: 0;
        }

        .iframe-date-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0.75rem 1rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: #fff;
            font-weight: 400;
            z-index: 1;
            pointer-events: none;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }
        
        .scanner-item-info {
            padding: 1rem;
        }
        
        .spinner {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: conic-gradient(#0000 10%, var(--primary));
            -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 9px), #000 0);
            animation: spinner-spin 1s infinite linear;
            margin: 2rem auto;
        }

        @keyframes spinner-spin {
            to { transform: rotate(1turn) }
        }

        @media (max-width: 767px) {
            #scanner-results {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .iframe-container {
                height: 103px; 
            }

            .scanner-item iframe {
                transform: scale(0.095);
            }
        }
