        /* ========== PREMIUM DESIGN SYSTEM ========== */
        
        * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar { width: 5px; }
        ::-webkit-scrollbar-track { background: #0A0316; }
        ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #6366f1, #8b5cf6); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #818cf8, #a78bfa); }
        
        html { scroll-behavior: smooth; }
        
        ::selection { background: rgba(99,102,241,0.3); color: #fff; }
        
        /* ========== REVEAL ANIMATIONS ========== */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-left {
            opacity: 0;
            transform: translateX(-80px);
            transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal-left.active {
            opacity: 1;
            transform: translateX(0);
        }
        .reveal-right {
            opacity: 0;
            transform: translateX(80px);
            transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal-right.active {
            opacity: 1;
            transform: translateX(0);
        }
        .reveal-scale {
            opacity: 0;
            transform: scale(0.8);
            transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal-scale.active {
            opacity: 1;
            transform: scale(1);
        }
        .reveal-rotate {
            opacity: 0;
            transform: rotate(-5deg) translateY(40px);
            transition: all 1.1s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal-rotate.active {
            opacity: 1;
            transform: rotate(0) translateY(0);
        }
        .reveal-blur {
            opacity: 0;
            filter: blur(15px);
            transform: translateY(30px);
            transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal-blur.active {
            opacity: 1;
            filter: blur(0);
            transform: translateY(0);
        }
        
        /* Stagger delays */
        .delay-100 { transition-delay: 0.1s !important; }
        .delay-200 { transition-delay: 0.2s !important; }
        .delay-300 { transition-delay: 0.3s !important; }
        .delay-400 { transition-delay: 0.4s !important; }
        .delay-500 { transition-delay: 0.5s !important; }
        .delay-600 { transition-delay: 0.6s !important; }
        .delay-700 { transition-delay: 0.7s !important; }
        .delay-800 { transition-delay: 0.8s !important; }
        
        /* ========== GRADIENT TEXT ========== */
        .gradient-text {
            background: linear-gradient(135deg, #818cf8 0%, #6366f1 30%, #8b5cf6 70%, #818cf8 100%);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradient-x 6s ease infinite;
        }
        .gradient-text-shimmer {
            background: linear-gradient(90deg, #818cf8, #6366f1, #8b5cf6, #a855f7, #818cf8);
            background-size: 400% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: text-shimmer 4s linear infinite;
        }
        .gradient-text-static {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* ========== GLASS MORPHISM PRO ========== */
        .glass {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(24px) saturate(150%);
            -webkit-backdrop-filter: blur(24px) saturate(150%);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }
        .glass-light {
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(40px) saturate(180%);
            -webkit-backdrop-filter: blur(40px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .glass-premium {
            background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
            backdrop-filter: blur(30px) saturate(200%);
            -webkit-backdrop-filter: blur(30px) saturate(200%);
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
        }
        
        /* ========== MAGNETIC BUTTON PRO ========== */
        .magnetic-btn {
            position: relative;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .magnetic-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.7s ease, height 0.7s ease;
        }
        .magnetic-btn:hover::before {
            width: 400px;
            height: 400px;
        }
        .magnetic-btn:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 20px 60px rgba(99,102,241,0.3), 0 0 40px rgba(99,102,241,0.1);
        }
        .magnetic-btn:active {
            transform: translateY(-1px) scale(0.98);
        }
        
        /* ========== 3D TILT CARD ========== */
        .tilt-card {
            position: relative;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.06);
            transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
            transform-style: preserve-3d;
            perspective: 1000px;
        }
        .tilt-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            padding: 1px;
            background: conic-gradient(from var(--angle, 0deg), transparent 40%, rgba(99,102,241,0.4), rgba(139,92,246,0.4), transparent 60%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.5s;
        }
        .tilt-card:hover {
            transform: translateY(-8px);
            background: rgba(255,255,255,0.04);
            border-color: rgba(99,102,241,0.15);
            box-shadow: 0 24px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.08);
        }
        .tilt-card:hover::before {
            opacity: 1;
            animation: border-spin 4s linear infinite;
        }
        
        /* ========== GLOW CARD ========== */
        .glow-card {
            position: relative;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.06);
            transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .glow-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(135deg, transparent, rgba(99,102,241,0.3), rgba(139,92,246,0.3), transparent);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.5s;
        }
        .glow-card:hover {
            transform: translateY(-6px);
            background: rgba(255,255,255,0.04);
            border-color: rgba(99,102,241,0.15);
            box-shadow: 0 24px 48px rgba(0,0,0,0.25), 0 0 0 1px rgba(99,102,241,0.08);
        }
        .glow-card:hover::before {
            opacity: 1;
        }
        
        /* ========== AURORA BACKGROUND ========== */
        .aurora-bg {
            position: relative;
            overflow: hidden;
        }
        .aurora-bg::before, .aurora-bg::after {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            filter: blur(120px);
            opacity: 0.3;
            animation: aurora 12s ease-in-out infinite;
        }
        .aurora-bg::before {
            background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 70%);
            top: -200px;
            left: -200px;
        }
        .aurora-bg::after {
            background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
            bottom: -200px;
            right: -200px;
            animation-delay: -6s;
        }
        
        /* ========== CURSOR GLOW PRO ========== */
        .cursor-glow {
            position: fixed;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(99,102,241,0.04) 0%, rgba(139,92,246,0.02) 40%, transparent 70%);
            pointer-events: none;
            z-index: 9999;
            transform: translate(-50%, -50%);
            transition: opacity 0.3s;
            mix-blend-mode: screen;
        }
        
        /* ========== CURSOR DOT ========== */
        .cursor-dot {
            position: fixed;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: #6366f1;
            pointer-events: none;
            z-index: 10001;
            transform: translate(-50%, -50%);
            transition: transform 0.15s ease;
        }
        .cursor-dot.hovering {
            transform: translate(-50%, -50%) scale(2);
        }
        
        /* ========== NOISE OVERLAY ========== */
        .noise-overlay::after {
            content: '';
            position: fixed;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 10000;
            opacity: 0.3;
        }
        
        /* ========== PARALLAX ========== */
        .parallax-bg {
            will-change: transform;
            transition: transform 0.1s linear;
        }
        
        /* ========== NAVBAR PRO ========== */
        .nav-glass {
            background: rgba(10, 3, 22, 0.75);
            backdrop-filter: blur(30px) saturate(180%);
            -webkit-backdrop-filter: blur(30px) saturate(180%);
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }
        .nav-scrolled {
            background: rgba(10, 3, 22, 0.97) !important;
            box-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03);
        }
        
        /* ========== LINE ANIMATION PRO ========== */
        .line-anim {
            position: relative;
        }
        .line-anim::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #6366f1, #8b5cf6);
            transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            border-radius: 2px;
        }
        .line-anim:hover::after {
            width: 100%;
            left: 0;
        }
        
        /* ========== COUNTER ANIMATION ========== */
        .counter-number {
            font-variant-numeric: tabular-nums;
        }
        
        /* ========== MARQUEE ========== */
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        .animate-marquee {
            animation: marquee 30s linear infinite;
        }
        .animate-marquee:hover {
            animation-play-state: paused;
        }
        
        /* ========== HAMBURGER PRO ========== */
        .hamburger-line {
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .hamburger-active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger-active .hamburger-line:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .hamburger-active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }
        
        /* ========== BLOB SHAPES ========== */
        .blob {
            border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
            animation: morph 8s ease-in-out infinite;
        }
        
        /* ========== TEXT SPLIT ANIMATION ========== */
        .split-text .char {
            display: inline-block;
            opacity: 0;
            transform: translateY(40px) rotate(5deg);
            transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .split-text.active .char {
            opacity: 1;
            transform: translateY(0) rotate(0);
        }
        
        /* ========== HOVER SPOTLIGHT ========== */
        .hover-spotlight {
            position: relative;
            overflow: hidden;
        }
        .hover-spotlight::after {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .hover-spotlight:hover::after {
            opacity: 1;
        }
        
        /* ========== FLOATING PARTICLES ========== */
        .particle {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            animation: float var(--duration, 6s) ease-in-out infinite;
            animation-delay: var(--delay, 0s);
        }
        
        /* ========== GRADIENT BORDER ========== */
        .gradient-border {
            position: relative;
            background: rgba(255,255,255,0.02);
            border-radius: 1.5rem;
        }
        .gradient-border::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(135deg, rgba(99,102,241,0.3), transparent 40%, transparent 60%, rgba(139,92,246,0.3));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
        }
        
        /* ========== WAVE DIVIDER ========== */
        .wave-divider {
            position: relative;
        }
        .wave-divider svg {
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
        }
        
        /* ========== SMOOTH UNDERLINE ========== */
        .smooth-underline {
            text-decoration: none;
            background-image: linear-gradient(90deg, #6366f1, #8b5cf6);
            background-size: 0% 2px;
            background-repeat: no-repeat;
            background-position: left bottom;
            transition: background-size 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .smooth-underline:hover {
            background-size: 100% 2px;
        }
        
        /* ========== STAGGER GRID ========== */
        .stagger-grid > * {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .stagger-grid.active > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
        .stagger-grid.active > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
        .stagger-grid.active > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
        .stagger-grid.active > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
        .stagger-grid.active > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
        .stagger-grid.active > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
        .stagger-grid.active > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
        .stagger-grid.active > *:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }
        .stagger-grid.active > *:nth-child(n+9) { transition-delay: 0.64s; opacity: 1; transform: translateY(0); }
        
        /* ========== MAGNETIC LINK ========== */
        .mag-link {
            display: inline-block;
            transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .mag-link:hover {
            transform: scale(1.05);
        }
        
        /* Page transitions */
        .page-enter {
            animation: blur-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }
        
        /* ========== PROSE OVERRIDE ========== */
        .prose { color: #a1a1aa; line-height: 1.8; }
        .prose h2 { color: #fff; font-family: 'Syne', sans-serif; font-weight: 700; margin-top: 2em; margin-bottom: 1em; }
        .prose h3 { color: #fff; font-family: 'Syne', sans-serif; font-weight: 600; }
        .prose a { color: #6366f1; text-decoration: none; border-bottom: 1px solid rgba(99,102,241,0.3); }
        .prose a:hover { color: #8b5cf6; border-color: rgba(139,92,246,0.3); }
        .prose strong { color: #fff; }
        .prose ul li::marker { color: #6366f1; }
        .prose ol li::marker { color: #6366f1; }
        .prose blockquote { border-left-color: #6366f1; background: rgba(99,102,241,0.05); padding: 1em 1.5em; border-radius: 0 1rem 1rem 0; }
        .prose code { color: #8b5cf6; background: rgba(139,92,246,0.1); padding: 0.2em 0.4em; border-radius: 0.25rem; }
        .prose img { border-radius: 1.5rem; }
        
        /* ========== SMOOTH SECTION SEPARATOR ========== */
        .section-separator {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(99,102,241,0.2), rgba(139,92,246,0.2), transparent);
            margin: 0 auto;
            max-width: 600px;
        }

        /* ========== LIGHT MODE ========== */
        html.light-mode body {
            background: #f8f9fc !important;
            color: #1e293b !important;
        }

        /* ---- Scrollbar ---- */
        html.light-mode ::-webkit-scrollbar-track { background: #f1f5f9 !important; }
        html.light-mode ::-webkit-scrollbar-thumb { background: #cbd5e1 !important; }
        html.light-mode ::-webkit-scrollbar-thumb:hover { background: #94a3b8 !important; }

        /* ---- Navigation ---- */
        html.light-mode .nav-glass {
            background: rgba(255,255,255,0.88) !important;
            border-bottom: 1px solid rgba(0,0,0,0.06) !important;
            backdrop-filter: blur(20px) !important;
        }
        html.light-mode .nav-scrolled {
            background: rgba(255,255,255,0.97) !important;
            box-shadow: 0 1px 12px rgba(0,0,0,0.06) !important;
        }
        html.light-mode .nav-glass a,
        html.light-mode .nav-glass .text-dark-400,
        html.light-mode .nav-glass .text-dark-300 {
            color: #475569 !important;
        }
        html.light-mode .nav-glass a:hover {
            color: #1e293b !important;
        }
        html.light-mode .nav-glass .font-display.font-bold {
            color: #1e293b !important;
        }
        html.light-mode .nav-glass .text-dark-500 {
            color: #94a3b8 !important;
        }

        /* ---- Global Text Color Overrides ---- */
        html.light-mode .text-white { color: #1e293b !important; }
        html.light-mode .text-dark-300 { color: #475569 !important; }
        html.light-mode .text-dark-400 { color: #64748b !important; }
        html.light-mode .text-dark-500 { color: #94a3b8 !important; }
        html.light-mode .text-dark-600 { color: #94a3b8 !important; }
        html.light-mode .text-dark-700 { color: #cbd5e1 !important; }

        /* ---- Global Background Overrides ---- */
        html.light-mode .bg-dark-950 { background-color: #f8f9fc !important; }
        html.light-mode .bg-dark-900 { background-color: #ffffff !important; }
        html.light-mode .bg-dark-800 { background-color: #f1f5f9 !important; }

        /* ---- All card/container bg-white/[0.0x] → solid light ---- */
        html.light-mode [class*="bg-white\\/\\[0\\.0"] {
            background: rgba(255,255,255,0.7) !important;
        }
        html.light-mode .bg-white\/5 { background: rgba(0,0,0,0.02) !important; }
        html.light-mode .bg-white\/10 { background: rgba(0,0,0,0.03) !important; }
        html.light-mode .bg-white\/20 { background: rgba(0,0,0,0.05) !important; }

        /* ---- All border-white/x → visible light borders ---- */
        html.light-mode .border-white\/5,
        html.light-mode .border-white\/10,
        html.light-mode .border-white\/15,
        html.light-mode .border-white\/20 {
            border-color: rgba(0,0,0,0.08) !important;
        }
        html.light-mode .border-y.border-white\/5 {
            border-color: rgba(0,0,0,0.06) !important;
        }
        html.light-mode .hover\:border-white\/20:hover {
            border-color: rgba(0,0,0,0.12) !important;
        }
        html.light-mode .hover\:border-primary-500\/20:hover,
        html.light-mode .hover\:border-primary-500\/15:hover,
        html.light-mode .hover\:border-primary-500\/30:hover {
            border-color: rgba(99,102,241,0.25) !important;
        }

        /* ---- Glass & Premium Glass ---- */
        html.light-mode .glass,
        html.light-mode .glass-premium {
            background: rgba(255,255,255,0.75) !important;
            border-color: rgba(0,0,0,0.06) !important;
            box-shadow: 0 2px 16px rgba(0,0,0,0.04) !important;
        }
        html.light-mode .glow-card {
            background: rgba(255,255,255,0.85) !important;
            border-color: rgba(0,0,0,0.06) !important;
            box-shadow: 0 2px 16px rgba(0,0,0,0.03) !important;
        }
        html.light-mode .glow-card:hover {
            background: #ffffff !important;
            border-color: rgba(99,102,241,0.2) !important;
            box-shadow: 0 8px 32px rgba(99,102,241,0.08) !important;
        }
        html.light-mode .tilt-card {
            background: rgba(255,255,255,0.85) !important;
            border-color: rgba(0,0,0,0.06) !important;
            box-shadow: 0 2px 16px rgba(0,0,0,0.03) !important;
        }
        html.light-mode .tilt-card:hover {
            background: #ffffff !important;
            border-color: rgba(99,102,241,0.2) !important;
            box-shadow: 0 12px 40px rgba(99,102,241,0.08) !important;
        }

        /* ---- Hero Section ---- */
        /* Hide dark blur blobs in hero */
        html.light-mode section .bg-primary-500\/10[class*="blur"],
        html.light-mode section .bg-accent-500\/8[class*="blur"],
        html.light-mode section [class*="blur-\\[1"] {
            opacity: 0.3 !important;
        }
        /* Hero dot pattern */
        html.light-mode [style*="radial-gradient(rgba(255,255,255"] {
            opacity: 0 !important;
        }
        /* Bento grid cards */
        html.light-mode [class*="from-primary-500\\/20"][class*="to-primary-600\\/5"] {
            background-image: linear-gradient(to bottom right, rgba(99,102,241,0.08), rgba(99,102,241,0.02)) !important;
        }
        html.light-mode [class*="from-accent-500\\/20"][class*="to-accent-600\\/5"] {
            background-image: linear-gradient(to bottom right, rgba(139,92,246,0.08), rgba(139,92,246,0.02)) !important;
        }
        html.light-mode [class*="from-neon-emerald\\/20"][class*="to-neon-emerald\\/5"] {
            background-image: linear-gradient(to bottom right, rgba(16,185,129,0.08), rgba(16,185,129,0.02)) !important;
        }
        html.light-mode [class*="from-neon-violet\\/20"][class*="to-neon-violet\\/5"] {
            background-image: linear-gradient(to bottom right, rgba(139,92,246,0.08), rgba(139,92,246,0.02)) !important;
        }
        /* Scroll indicator */
        html.light-mode .border-dark-700 {
            border-color: rgba(0,0,0,0.12) !important;
        }

        /* ---- Service Cards (index.ejs) ---- */
        html.light-mode .group.rounded-2xl[class*="border"][class*="bg-white"] {
            background: #ffffff !important;
            border-color: rgba(0,0,0,0.06) !important;
            box-shadow: 0 1px 8px rgba(0,0,0,0.03) !important;
        }
        html.light-mode .group.rounded-2xl:hover {
            box-shadow: 0 4px 20px rgba(99,102,241,0.06) !important;
        }

        /* ---- About Section Cards ---- */
        html.light-mode .rounded-2xl.border.border-white\/5[class*="bg-white"] {
            background: #ffffff !important;
            box-shadow: 0 1px 8px rgba(0,0,0,0.03) !important;
        }

        /* ---- Stats/Counter Section ---- */
        html.light-mode .counter-number { color: #1e293b !important; }
        html.light-mode .bg-primary-500\/40 { background: rgba(99,102,241,0.25) !important; }

        /* ---- Portfolio Section ---- */
        html.light-mode .bg-dark-900.border {
            background-color: #ffffff !important;
            border-color: rgba(0,0,0,0.06) !important;
        }
        html.light-mode .bg-dark-900.border:hover {
            border-color: rgba(99,102,241,0.2) !important;
            box-shadow: 0 4px 20px rgba(99,102,241,0.06) !important;
        }
        /* Portfolio card overlay - keep dark for text readability over images */
        html.light-mode .group > .absolute.bg-gradient-to-t[class*="from-dark-950"] {
            background-image: linear-gradient(to top, rgba(15,23,42,0.9), rgba(15,23,42,0.4), transparent) !important;
        }
        /* Keep portfolio text white on dark overlay */
        html.light-mode .group > .absolute.bottom-0 .text-white,
        html.light-mode .group > .absolute.bottom-0 h3 {
            color: #ffffff !important;
        }
        html.light-mode .group > .absolute.bottom-0 .text-primary-300 {
            color: #a5b4fc !important;
        }
        html.light-mode .bg-primary-500\/20 {
            background: rgba(99,102,241,0.1) !important;
        }

        /* ---- CTA Section ---- */
        html.light-mode .bg-gradient-to-br[class*="from-primary-950"][class*="via-dark-950"][class*="to-accent-950"] {
            background-image: linear-gradient(to bottom right, rgba(99,102,241,0.04), rgba(248,250,252,0.95), rgba(139,92,246,0.04)) !important;
        }
        html.light-mode section > .absolute.bg-gradient-to-br[class*="from-primary-950"] {
            background-image: linear-gradient(to bottom right, rgba(99,102,241,0.04), rgba(248,250,252,0.95), rgba(139,92,246,0.04)) !important;
        }
        /* CTA decorative lines */
        html.light-mode .bg-gradient-to-r[class*="via-primary-500\\/20"] {
            background-image: linear-gradient(to right, transparent, rgba(99,102,241,0.12), transparent) !important;
        }
        html.light-mode .bg-gradient-to-r[class*="via-accent-500\\/20"] {
            background-image: linear-gradient(to right, transparent, rgba(139,92,246,0.12), transparent) !important;
        }

        /* ---- Blog Cards ---- */
        html.light-mode article.group.rounded-2xl {
            background: #ffffff !important;
            border-color: rgba(0,0,0,0.06) !important;
            box-shadow: 0 1px 8px rgba(0,0,0,0.03) !important;
        }
        html.light-mode article.group.rounded-2xl:hover {
            border-color: rgba(99,102,241,0.15) !important;
            box-shadow: 0 4px 20px rgba(99,102,241,0.06) !important;
        }

        /* ---- SEO Section ---- */
        html.light-mode strong.text-dark-300 { color: #334155 !important; }

        /* ---- FAQ Details ---- */
        html.light-mode details {
            background: #ffffff !important;
            border-color: rgba(0,0,0,0.06) !important;
        }
        html.light-mode details summary {
            color: #1e293b !important;
        }
        html.light-mode details summary:hover {
            background: rgba(0,0,0,0.02) !important;
        }
        html.light-mode details > div {
            color: #64748b !important;
        }

        /* ---- Footer ---- */
        html.light-mode footer {
            background: #f1f5f9 !important;
        }
        html.light-mode footer .border-white\/5,
        html.light-mode footer .border-white\/10 {
            border-color: rgba(0,0,0,0.06) !important;
        }

        /* ---- Mobile Menu ---- */
        html.light-mode #mobileMenu {
            background: #ffffff !important;
        }
        html.light-mode #mobileMenu a {
            color: #1e293b !important;
        }
        html.light-mode #mobileMenu a:hover {
            color: #6366f1 !important;
        }
        html.light-mode #mobileMenu .border-white\/10 {
            border-color: rgba(0,0,0,0.06) !important;
        }
        html.light-mode #mobileMenu a.bg-primary-500,
        html.light-mode #mobileMenu a[class*="from-primary"] {
            color: #fff !important;
        }
        html.light-mode #mobileMenu button {
            border-color: rgba(0,0,0,0.08) !important;
            color: #1e293b !important;
        }

        /* ---- Dropdown in Navigation ---- */
        html.light-mode nav .absolute[style*="background:#000"] {
            background: rgba(255,255,255,0.98) !important;
            border-color: rgba(0,0,0,0.08) !important;
            box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
        }
        html.light-mode .bg-dark-900\/98,
        html.light-mode [class*="bg-dark-900\\/98"] {
            background: rgba(255,255,255,0.98) !important;
            border-color: rgba(0,0,0,0.08) !important;
            box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
        }
        html.light-mode .bg-black\/95 {
            background: rgba(255,255,255,0.98) !important;
            border-color: rgba(0,0,0,0.08) !important;
            box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
        }
        html.light-mode .hover\:bg-white\/5:hover {
            background: rgba(0,0,0,0.03) !important;
        }

        /* ---- Hamburger ---- */
        html.light-mode .hamburger-line {
            background: #1e293b !important;
        }

        /* ---- Gradient Buttons - Keep white text ---- */
        html.light-mode [class*="bg-gradient-to-r"][class*="from-primary-500"],
        html.light-mode [class*="bg-gradient-to-r"][class*="from-primary-600"],
        html.light-mode a.bg-primary-500,
        html.light-mode .bg-primary-500 {
            color: #fff !important;
        }
        html.light-mode [class*="bg-gradient-to-r"][class*="from-primary-500"] span,
        html.light-mode [class*="bg-gradient-to-r"][class*="from-primary-600"] span,
        html.light-mode [class*="bg-gradient-to-r"][class*="from-primary-500"] svg,
        html.light-mode [class*="bg-gradient-to-r"][class*="from-primary-600"] svg,
        html.light-mode [class*="bg-gradient-to-r"][class*="from-primary-500"] .relative.z-10,
        html.light-mode [class*="bg-gradient-to-r"][class*="from-primary-600"] .relative.z-10,
        html.light-mode a.bg-primary-500 span,
        html.light-mode a.bg-primary-500 svg,
        html.light-mode .bg-primary-500 .relative.z-10 {
            color: #fff !important;
        }
        /* Glass buttons in light mode → dark text */
        html.light-mode .glass-premium.magnetic-btn,
        html.light-mode .glass-premium.magnetic-btn span,
        html.light-mode .glass-premium.magnetic-btn .relative.z-10,
        html.light-mode a.glass-premium span,
        html.light-mode a.glass-premium svg {
            color: #1e293b !important;
        }

        /* ---- Gradient backgrounds in sub-pages ---- */
        html.light-mode .aurora-bg {
            background: rgba(248,250,252,0.7) !important;
        }
        html.light-mode .aurora-bg::before { opacity: 0.05 !important; }
        html.light-mode .aurora-bg::after { opacity: 0.04 !important; }
        html.light-mode .aurora-bg .glass-premium {
            background: rgba(255,255,255,0.9) !important;
            border-color: rgba(99,102,241,0.12) !important;
        }
        html.light-mode .aurora-bg .bg-gradient-to-r.from-transparent {
            background-image: linear-gradient(to right, transparent, rgba(99,102,241,0.1), transparent) !important;
        }
        html.light-mode section > [class*="bg-gradient"][class*="from-primary-950"] {
            background-image: linear-gradient(to bottom right, rgba(99,102,241,0.04), rgba(248,250,252,0.95), rgba(139,92,246,0.04)) !important;
        }
        html.light-mode [class*="from-primary-950"][class*="via-dark-950"][class*="to-accent-950"] {
            background-image: linear-gradient(to right, rgba(99,102,241,0.04), rgba(248,250,252,0.95), rgba(139,92,246,0.04)) !important;
        }
        html.light-mode [class*="via-dark-900"] {
            background-image: linear-gradient(to bottom right, rgba(99,102,241,0.05), #ffffff, rgba(139,92,246,0.05)) !important;
        }
        html.light-mode .from-dark-950 {
            --tw-gradient-from: #f8f9fc var(--tw-gradient-from-position) !important;
        }
        html.light-mode .via-dark-950\/50,
        html.light-mode .via-dark-950\/60 {
            --tw-gradient-stops: var(--tw-gradient-from), rgba(248,250,252,0.5) var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
        }
        /* via-primary-950/10, via-primary-950/5 in sub-pages */
        html.light-mode .bg-gradient-to-b[class*="via-primary-950"] {
            background-image: linear-gradient(to bottom, transparent, rgba(99,102,241,0.03), transparent) !important;
        }

        /* ---- Inputs & Forms (iletisim, contact) ---- */
        html.light-mode input,
        html.light-mode textarea,
        html.light-mode select {
            background: #ffffff !important;
            border-color: rgba(0,0,0,0.1) !important;
            color: #1e293b !important;
        }
        html.light-mode input:focus,
        html.light-mode textarea:focus,
        html.light-mode select:focus {
            background: #ffffff !important;
            border-color: rgba(99,102,241,0.4) !important;
            box-shadow: 0 0 0 3px rgba(99,102,241,0.08) !important;
        }
        html.light-mode input::placeholder,
        html.light-mode textarea::placeholder {
            color: #94a3b8 !important;
        }
        /* Select option bg */
        html.light-mode option.bg-dark-900 {
            background: #ffffff !important;
            color: #1e293b !important;
        }

        /* ---- Badge backgrounds ---- */
        html.light-mode .bg-primary-500\/10 { background: rgba(99,102,241,0.06) !important; }
        html.light-mode .bg-primary-500\/15 { background: rgba(99,102,241,0.08) !important; }
        html.light-mode .bg-accent-500\/10 { background: rgba(139,92,246,0.06) !important; }
        html.light-mode .bg-neon-emerald\/15 { background: rgba(16,185,129,0.08) !important; }

        /* ---- Decorative borders ---- */
        html.light-mode .border-primary-500\/5 { border-color: rgba(99,102,241,0.08) !important; }
        html.light-mode .border-primary-500\/20 { border-color: rgba(99,102,241,0.15) !important; }
        html.light-mode .border-accent-500\/5 { border-color: rgba(139,92,246,0.08) !important; }

        /* ---- Prose / Blog Content ---- */
        html.light-mode .prose { color: #475569 !important; }
        html.light-mode .prose h2,
        html.light-mode .prose h3,
        html.light-mode .prose strong { color: #1e293b !important; }
        html.light-mode .prose blockquote { background: rgba(99,102,241,0.04) !important; }
        html.light-mode .prose a { color: #6366f1 !important; }

        /* ---- Blog post page ---- */
        html.light-mode .blog-main,
        html.light-mode .sidebar-widget {
            background: #ffffff !important;
            border-color: rgba(0,0,0,0.06) !important;
        }
        html.light-mode .blog-title,
        html.light-mode .sidebar-title {
            color: #1e293b !important;
        }
        html.light-mode .blog-body {
            color: #475569 !important;
        }
        html.light-mode .blog-meta .meta-item {
            color: #64748b !important;
        }
        html.light-mode .recent-post-title {
            color: #1e293b !important;
        }
        html.light-mode .recent-post-date {
            color: #94a3b8 !important;
        }
        html.light-mode .share-btn {
            background: rgba(0,0,0,0.03) !important;
            border-color: rgba(0,0,0,0.08) !important;
            color: #64748b !important;
        }
        html.light-mode .recent-post-item {
            border-color: rgba(0,0,0,0.06) !important;
        }

        /* ---- Cursor ---- */
        html.light-mode .cursor-glow {
            background: radial-gradient(circle, rgba(99,102,241,0.03) 0%, transparent 70%) !important;
        }
        html.light-mode .cursor-dot {
            background: #6366f1 !important;
        }

        /* ---- Noise overlay ---- */
        html.light-mode.noise-overlay::after,
        html.light-mode .noise-overlay::after {
            opacity: 0.03 !important;
        }

        /* ---- Section separators ---- */
        html.light-mode .section-separator {
            background: linear-gradient(90deg, transparent, rgba(99,102,241,0.12), rgba(139,92,246,0.12), transparent) !important;
        }

        /* ---- Filter buttons (neler-yaptik) ---- */
        html.light-mode .filter-btn {
            color: #64748b !important;
        }
        html.light-mode .filter-btn.active {
            color: #1e293b !important;
            background: rgba(99,102,241,0.08) !important;
            border-color: rgba(99,102,241,0.2) !important;
        }

        /* ---- Gradient text - keep colored ---- */
        html.light-mode .gradient-text-static {
            color: transparent !important;
            -webkit-text-fill-color: transparent;
        }

        /* ---- Shadow glow on primary buttons ---- */
        html.light-mode .shadow-primary-500\/20 {
            box-shadow: 0 4px 20px rgba(99,102,241,0.12) !important;
        }
        html.light-mode .shadow-primary-500\/25 {
            box-shadow: 0 4px 20px rgba(99,102,241,0.15) !important;
        }
        html.light-mode .shadow-accent-500\/20 {
            box-shadow: 0 4px 20px rgba(139,92,246,0.12) !important;
        }

        /* ---- Marquee reference logos ---- */
        html.light-mode .animate-marquee img {
            opacity: 0.35 !important;
        }
        html.light-mode .animate-marquee img:hover {
            opacity: 0.7 !important;
        }
        /* Marquee fade edges */
        html.light-mode .bg-gradient-to-r[class*="from-dark-950"] {
            background-image: linear-gradient(to right, #f8f9fc, transparent, #f8f9fc) !important;
        }

        /* ---- Sertifikalar, Referanslar pages ---- */
        html.light-mode .grayscale {
            filter: grayscale(0.5) !important;
        }

        /* ---- Contact page info cards ---- */
        html.light-mode .rounded-2xl[class*="bg-white\\/\\["],
        html.light-mode .rounded-xl[class*="bg-white\\/\\["] {
            background: #ffffff !important;
            box-shadow: 0 1px 8px rgba(0,0,0,0.03) !important;
        }

        /* ---- Keep primary/accent colors readable ---- */
        html.light-mode .text-primary-400 { color: #6366f1 !important; }
        html.light-mode .text-primary-300 { color: #818cf8 !important; }
        html.light-mode .text-accent-400 { color: #8b5cf6 !important; }
        html.light-mode .text-neon-cyan { color: #0891b2 !important; }
        html.light-mode .text-neon-emerald { color: #059669 !important; }
        html.light-mode .text-neon-violet { color: #7c3aed !important; }

        /* Theme toggle button */
        .theme-toggle {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.05);
            color: #a1a1aa;
            font-size: 16px;
        }
        .theme-toggle:hover {
            background: rgba(255,255,255,0.1);
            color: #fff;
            transform: scale(1.05);
        }
        html.light-mode .theme-toggle {
            border: 1px solid rgba(0,0,0,0.1);
            background: rgba(0,0,0,0.04);
            color: #6a6a8a;
        }
        html.light-mode .theme-toggle:hover {
            background: rgba(0,0,0,0.08);
            color: #1a1a2e;
        }

/* ===================================================================
   TRANSLATE WIDGET STYLES
   =================================================================== */
.translate-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}
.translate-fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2B2338 0%, #18023A 100%);
    border: 1px solid rgba(180, 124, 253, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: all 0.3s;
}
.translate-fab-btn:hover {
    transform: scale(1.1);
    border-color: rgba(180, 124, 253, 0.6);
    box-shadow: 0 4px 25px rgba(180, 124, 253, 0.25);
}
.translate-fab-btn svg {
    width: 24px;
    height: 24px;
}
.translate-menu {
    position: absolute;
    bottom: 62px;
    right: 0;
    background: linear-gradient(180deg, #2B2338 0%, #0A0316 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.25s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.translate-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.translate-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(155, 150, 176, 1);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.translate-lang:hover {
    background: rgba(180, 124, 253, 0.1);
    color: #fff;
}
.translate-lang.active {
    color: #B47CFD;
}
.translate-lang .flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}
.translate-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 4px 0;
}

/* Hide Google Translate top bar & branding */
.goog-te-banner-frame { display: none !important; }
#google_translate_element .skiptranslate { position: absolute; top: -9999px; left: -9999px; }
body { top: 0 !important; }
.goog-te-gadget { font-size: 0 !important; }
.VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
.goog-te-spinner-pos { display: none !important; }
iframe.goog-te-banner-frame { display: none !important; }
body > .skiptranslate { display: none !important; }
body > .skiptranslate + iframe { display: none !important; }

/* Google Translate aktifken referans logolarını düzelt */
html.translated-ltr .ref-logo,
html.translated-rtl .ref-logo {
    filter: none !important;
    opacity: 1 !important;
}
html.translated-ltr .ref-card,
html.translated-rtl .ref-card {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
html.translated-ltr section .bg-gradient-to-b,
html.translated-rtl section .bg-gradient-to-b {
    background: transparent !important;
}
html.translated-ltr .marquee-logo,
html.translated-rtl .marquee-logo {
    filter: none !important;
    opacity: 0.7 !important;
}

/* Popup spin animation */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
