:root {
    --primary: #c084fc; 
    --secondary: #67e8f9;
    --accent: #00ff88;
    --purple: #a78bfa;
    --cyan: #22d3ee;
    
    --bg-base: #050810;
    --bg-card: rgba(15, 23, 42, 0.85);
    --bg-header: rgba(5, 8, 16, 0.9);
    --border-color: rgba(192, 132, 252, 0.25);
    
    --bg-grid: rgba(255, 255, 255, 0.03);
    --bg-glow1: rgba(192, 132, 252, 0.08);
    --bg-glow2: rgba(103, 232, 249, 0.08);
    
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    
    --gradient-1: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow-glow: 0 0 20px rgba(192, 132, 252, 0.25);
    
    --font-primary: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;
    --font-tech: 'Space Grotesk', sans-serif;
}


body { transition: background-color 0.4s ease, color 0.4s ease; }





body.theme-2 {
    --bg-base: #020a05;
    --bg-card: #04140a;
    --primary: #00ff88;
    --secondary: #00d4ff;
    --accent: #a3ff00;
    --border-color: rgba(0, 255, 136, 0.3);
    --shadow-glow: 0 0 25px rgba(0, 255, 136, 0.3);
    --bg-glow1: rgba(0, 255, 136, 0.08);
    --bg-glow2: rgba(0, 212, 255, 0.08);
}
body.theme-3 {
    --bg-base: #050510;
    --bg-card: #0a0a20;
    --primary: #00e5ff;
    --secondary: #ff0055;
    --accent: #f0f;
    --border-color: rgba(0, 229, 255, 0.3);
    --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.3);
    --bg-glow1: rgba(0, 229, 255, 0.08);
    --bg-glow2: rgba(255, 0, 85, 0.08);
}
body.theme-4 {
    --bg-base: #120800;
    --bg-card: #1f0f00;
    --primary: #ff9900;
    --secondary: #ff0033;
    --accent: #ffcc00;
    --border-color: rgba(255, 153, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(255, 153, 0, 0.3);
    --bg-glow1: rgba(255, 153, 0, 0.08);
    --bg-glow2: rgba(255, 0, 51, 0.08);
}
body.theme-5 {
    --bg-base: #120506;
    --bg-card: #2a1014;
    --primary: #ff98a9;
    --secondary: #ffe0d4;
    --accent: #91f7ff;
    --border-color: rgba(255, 152, 169, 0.3);
    --shadow-glow: 0 0 25px rgba(255, 152, 169, 0.3);
    --bg-glow1: rgba(255, 152, 169, 0.08);
    --bg-glow2: rgba(145, 247, 255, 0.08);
}
body.theme-6 {
    --bg-base: #020713;
    --bg-card: #07152d;
    --primary: #63b3ff;
    --secondary: #dbefff;
    --accent: #d9b76f;
    --border-color: rgba(99, 179, 255, 0.3);
    --shadow-glow: 0 0 25px rgba(99, 179, 255, 0.3);
    --bg-glow1: rgba(99, 179, 255, 0.08);
    --bg-glow2: rgba(217, 183, 111, 0.08);
}
body.theme-7 {
    --bg-base: #09040c;
    --bg-card: #180a1d;
    --primary: #f08cff;
    --secondary: #ffe0fb;
    --accent: #7ffff0;
    --border-color: rgba(240, 140, 255, 0.3);
    --shadow-glow: 0 0 25px rgba(240, 140, 255, 0.3);
    --bg-glow1: rgba(240, 140, 255, 0.08);
    --bg-glow2: rgba(127, 255, 240, 0.08);
}
body.theme-8 {
    --bg-base: #08030f;
    --bg-card: #130623;
    --primary: #bfff00;
    --secondary: #8a2be2;
    --accent: #ff00ff;
    --border-color: rgba(191, 255, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(191, 255, 0, 0.3);
    --bg-glow1: rgba(191, 255, 0, 0.08);
    --bg-glow2: rgba(138, 43, 226, 0.08);
}
body.theme-9 {
    --bg-base: #0d0101;
    --bg-card: #1f0202;
    --primary: #ff0022;
    --secondary: #ff5555;
    --accent: #ffaa00;
    --border-color: rgba(255, 0, 34, 0.3);
    --shadow-glow: 0 0 25px rgba(255, 0, 34, 0.3);
    --bg-glow1: rgba(255, 0, 34, 0.08);
    --bg-glow2: rgba(255, 85, 85, 0.08);
}
body.theme-10 {
    --bg-base: #040506;
    --bg-card: #0f1216;
    --primary: #e2e8f0;
    --secondary: #94a3b8;
    --accent: #38bdf8;
    --border-color: rgba(226, 232, 240, 0.3);
    --shadow-glow: 0 0 25px rgba(226, 232, 240, 0.3);
    --bg-glow1: rgba(226, 232, 240, 0.08);
    --bg-glow2: rgba(148, 163, 184, 0.08);
}

body.light-mode {
    --bg-base: #f8fafc;
    --bg-card: rgba(248, 250, 252, 0.9);
    --bg-header: rgba(255, 255, 255, 0.95);
    --border-color: rgba(192, 132, 252, 0.3);
    
    --bg-grid: rgba(0, 0, 0, 0.04);
    --bg-glow1: rgba(192, 132, 252, 0.12);
    --bg-glow2: rgba(103, 232, 249, 0.12);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --shadow-glow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.theme-flash {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--primary);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: overlay;
    animation: flashOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes flashOut {
    0% { opacity: 0.6; }
    100% { opacity: 0; }
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-primary); background-color: var(--bg-base); color: var(--text-main);
    overflow-x: hidden; line-height: 1.7; transition: background-color 0.4s ease;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 15% 30%, var(--bg-glow1), transparent 45%),
        radial-gradient(circle at 85% 70%, var(--bg-glow2), transparent 45%),
        linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    background-position: 0 0, 0 0, center center, center center;
    transition: background-image 0.5s ease;
}

#canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.6; outline: none; }

.loader-screen { position: fixed; inset: 0; background: #050810; display: flex; justify-content: center; align-items: center; z-index: 10000; transition: opacity 0.3s; }
.loader-container { width: 100%; max-width: 600px; padding: 2rem; }
.hack-terminal { background: rgba(15, 23, 42, 0.9); border: 1px solid var(--primary); border-radius: 12px; box-shadow: var(--shadow-glow); overflow: hidden; }
.terminal-header { background: rgba(192, 132, 252, 0.1); padding: 1rem; border-bottom: 1px solid var(--primary); display: flex; gap: 1rem; align-items: center; }
.terminal-dots span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; }
.terminal-dots span:nth-child(1) { background: #ff4757; }
.terminal-dots span:nth-child(2) { background: #ffd43b; }
.terminal-dots span:nth-child(3) { background: #00ff88; }
.terminal-title { font-family: var(--font-tech); font-size: 0.9rem; letter-spacing: 1px; color: #f8fafc; }
.terminal-body { padding: 1.5rem; font-family: var(--font-code); font-size: 0.9rem; min-height: 200px; }
.terminal-line { opacity: 0; margin-bottom: 0.5rem; }
.prompt { color: var(--primary); margin-right: 0.5rem; }
.output { color: #cbd5e1; display: block; margin-left: 1.5rem; }
.output.success { color: var(--accent); }
.loader-progress { width: 100%; height: 4px; background: #334155; margin-top: 2rem; border-radius: 2px; }
.loader-bar { height: 100%; background: var(--gradient-1); width: 0%; box-shadow: var(--shadow-glow); transition: 0.1s; }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 0; transition: all 0.3s; }
.header.scrolled { background: var(--bg-header); backdrop-filter: blur(10px); padding: 0.8rem 0; border-bottom: 1px solid var(--border-color); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; }
.brand { 
    font-family: var(--font-tech); 
    font-size: 1.5rem; 
    font-weight: 700; 
    text-transform: uppercase;
    text-decoration: none; 
    display: inline-block; 
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: aitf 3s linear infinite;
    animation: aitf 3s linear infinite;
    cursor: pointer;
    user-select: none;
    transition: filter 0.3s ease;
}

.brand:hover {
    filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.5));
}

.brand.color-2 { background: linear-gradient(90deg, #ff007a, #7a00ff, #ff007a); background-size: 200% auto; }
.brand.color-3 { background: linear-gradient(90deg, #00ffcc, #0055ff, #00ffcc); background-size: 200% auto; }
.brand.color-4 { background: linear-gradient(90deg, #ff9900, #ff0033, #ff9900); background-size: 200% auto; }

@-webkit-keyframes aitf {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}
@keyframes aitf {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}
.nav-menu { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-link { color: var(--text-main); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.3s; font-family: var(--font-code); }
.nav-link:hover { color: var(--secondary); }

.toggle-wrapper { transform: scale(0.6); margin-left: 1rem; }
.outerBorder { width: 120px; height: 60px; border-radius: 50px; display: flex; align-items: center; justify-content: center; border: 4px solid var(--text-main); transition: 0.4s; }
.toggle-outer { width: 100px; height: 40px; border-radius: 50px; background: #262626; border: 1px solid #1a1a1a; cursor: pointer; display: flex; align-items: center; position: relative; overflow: hidden; transition: 0.4s; }
#center { width: 34px; height: 34px; border-radius: 50%; background: #ffffff; position: absolute; left: 3px; z-index: 10; transition: 0.4s; box-shadow: 0 0 10px rgba(255,255,255,0.8); }
.toggle-inner { width: 100%; height: 100%; border-radius: 50%; background: #ffffff; overflow: hidden; position: relative; }
.toggle-inner-overlay { position: absolute; width: 100%; height: 100%; background: #e0e0e0; top: 0; left: 0; opacity: 0; transition: 0.4s; }
.spot1, .spot2, .spot3 { position: absolute; border-radius: 50%; background: #bfbfbf; }
.spot1 { width: 10px; height: 10px; top: 5px; left: 5px; }
.spot2 { width: 6px; height: 6px; bottom: 8px; right: 6px; }
.spot3 { width: 4px; height: 4px; top: 12px; right: 8px; }
.halo1, .halo2, .halo3 { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.1); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.halo1 { width: 50px; height: 50px; }
.halo2 { width: 70px; height: 70px; }
.halo3 { width: 90px; height: 90px; }
.clouds, .stars { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; transition: 0.4s; }
.clouds { opacity: 0; transform: translateX(20px); }
.stars { opacity: 1; transform: translateX(0); }
.clouds svg, .stars svg { width: 100%; height: 100%; object-fit: cover; }

body.light-mode .outerBorder { border-color: #0f172a; }
.outer-active { background: #73C0F4 !important; border-color: #5aa1d4 !important; }
.toggle-active { transform: translateX(60px) !important; background: #FFD43B !important; box-shadow: 0 0 15px rgba(255, 212, 59, 0.8) !important; }
.toggle-active .toggle-inner-overlay { opacity: 0 !important; }
.clouds-active { opacity: 1 !important; transform: translateX(0) !important; }
.outer-active ~ .stars { opacity: 0 !important; transform: translateX(-20px) !important; }

.hero-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding: 8rem 0 4rem 0; z-index: 1; overflow: hidden; }
.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.25; filter: contrast(1.1) saturate(1.2); }
.hero-video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(5, 8, 16, 0.4), var(--bg-base)); z-index: -1; }
.hero-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; width: 100%; }

.typewriter-text { overflow: hidden; white-space: nowrap; border-right: 3px solid var(--primary); display: inline-block; }
.type-cursor { display: inline-block; animation: blink 1s step-end infinite; color: var(--primary); font-weight: bold;}

.hero-greeting { font-family: var(--font-code); font-size: 1.1rem; color: var(--primary); margin-bottom: 1rem; min-height: 25px;}
.hero-name { font-family: var(--font-code); font-size: 4rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; display: flex; align-items: center; flex-wrap: wrap; text-shadow: 0 0 20px rgba(192, 132, 252, 0.4), 0 0 60px rgba(192, 132, 252, 0.15); transition: text-shadow 0.4s ease; }
.hero-name:hover { text-shadow: 0 0 30px rgba(192, 132, 252, 0.7), 0 0 80px rgba(192, 132, 252, 0.3), 0 2px 4px rgba(0,0,0,0.5); }
.name-prefix { color: var(--primary); filter: brightness(0.8); font-size: 2.5rem; margin-right: 0.5rem; text-shadow: 0 0 15px currentColor; }
.name-value { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 12px rgba(192, 132, 252, 0.4)); }
.hero-title { font-family: var(--font-code); font-size: 1.4rem; color: var(--secondary); margin-bottom: 2rem; min-height: 35px; text-shadow: 0 0 10px rgba(192, 132, 252, 0.2); }

.hero-description { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.8; max-width: 600px; opacity: 0; }

.competency-display { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; padding: 1.2rem 1.8rem; background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border-color); border-radius: 16px; max-width: fit-content; box-shadow: var(--shadow-glow); transition: all 0.3s ease; opacity: 0; transform: translateY(20px); }
.competency-display:hover { border-color: var(--primary); }
.score-section { display: flex; flex-direction: column; gap: 0.25rem; }
.score-value { display: flex; align-items: baseline; gap: 0.15rem; line-height: 1; }
.score-number { font-family: var(--font-code); font-size: 2.8rem; font-weight: 800; color: var(--primary); }
.score-sep { font-family: var(--font-code); font-size: 1.4rem; color: var(--text-muted); margin: 0 0.2rem; }
.score-max { font-family: var(--font-code); font-size: 1.1rem; color: var(--text-muted); }
.score-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.score-divider { width: 1px; height: 3rem; background: linear-gradient(to bottom, transparent, var(--border-color), transparent); }
.standard-info { display: flex; flex-direction: column; gap: 0.4rem; }
.standard-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.8rem; background: rgba(0, 255, 136, 0.1); border: 1px solid rgba(0, 255, 136, 0.3); border-radius: 100px; font-size: 0.75rem; font-weight: 600; color: #00ff88; }
.standard-note { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; max-width: 180px; }

.hero-buttons { display: flex; gap: 1.5rem; margin-bottom: 3rem; opacity: 0; }
.btn { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1rem 2rem; border-radius: 12px; font-weight: 700; text-decoration: none; font-family: var(--font-primary); font-size: 1rem; transition: all 0.3s; cursor: pointer; }
.btn-primary { background: var(--gradient-1); color: #050810; border: none; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); filter: brightness(1.1); }
.btn-secondary { background: transparent; border: 1px solid var(--primary); color: var(--text-main); }
.btn-secondary:hover { background: var(--primary); color: #050810; transform: translateY(-3px); }

.hero-social { display: flex; gap: 1.5rem; opacity: 0; }
.social-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-muted); font-size: 1.2rem; transition: all 0.3s; }
.social-icon:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-glow); }

.hero-image-wrapper { position: relative; display: flex; justify-content: center; align-items: center; height: 500px;}
.hero-image-container { position: relative; width: 400px; height: 400px; }
.profile-image-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120%; height: 120%; background: radial-gradient(circle, var(--primary) 0%, transparent 70%); border-radius: 50%; animation: pulseGlow 4s ease-in-out infinite; opacity: 0.2; }
@keyframes pulseGlow { 0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.2; } 50% { transform: translate(-50%,-50%) scale(1.05); opacity: 0.4; } }

.profile-image-frame { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--primary); box-shadow: var(--shadow-glow); overflow: hidden; background: var(--bg-card); display: flex; align-items: center; justify-content: center; z-index: 2; opacity: 0; }
.profile-placeholder { font-size: 7rem; color: var(--primary); text-shadow: var(--shadow-glow); }

.floating-badge { position: absolute; background: var(--bg-card); backdrop-filter: blur(8px); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.2rem; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-glow); min-width: 250px; z-index: 3; transition: all 0.3s ease; animation: floatBadge 4s ease-in-out infinite; opacity: 0; }
.floating-badge:hover { transform: translateY(-5px) scale(1.02); border-color: var(--primary); }
.floating-badge i { font-size: 2rem; color: var(--primary); }
.badge-title { display: block; font-size: 1rem; font-weight: 700; color: var(--text-main); font-family: var(--font-primary); }
.badge-libs { display: block; font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-code); margin-top: 0.2rem;}
.badge-1 { top: -5%; right: -35%; animation-delay: 0s; }
.badge-2 { bottom: 5%; right: -30%; animation-delay: 1.5s; }
.badge-3 { top: 60%; left: -35%; animation-delay: 3s; }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.section { padding: 4rem 0; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-subtitle { color: var(--secondary); font-family: var(--font-code); font-size: 0.9rem; margin-bottom: 0.5rem; letter-spacing: 1px; }
.section-title { font-family: var(--font-tech); font-size: 2.5rem; font-weight: 800; color: var(--text-main); }

.dashboard-container { max-width: 1200px; margin: 0 auto; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; box-shadow: var(--shadow-glow); backdrop-filter: blur(10px); }
.dash-header { display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 2rem; }
@media (min-width: 768px) { .dash-header { flex-direction: row; align-items: center; } }
.dash-title { font-size: 1.8rem; font-weight: 700; color: var(--text-main); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.dash-card { background: rgba(0,0,0,0.2); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; transition: 0.3s; }
.dash-card:hover { border-color: var(--primary); }
.dash-card-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem; }
.dash-card-title { font-size: 1.1rem; font-weight: 600; color: var(--text-main); }

.circular-chart { position: relative; height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;}
.circular-bg { fill: none; stroke: var(--border-color); stroke-width: 10; }
.circular-progress { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 283; transition: stroke-dashoffset 1s ease; }
.chart-text { position: absolute; text-align: center; }
.chart-val { font-size: 2rem; font-weight: 800; font-family: var(--font-code); color: var(--text-main); }
.chart-label { font-size: 0.8rem; color: var(--text-muted); }
.dash-footer-text { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); }

.bar-bg { height: 8px; background: var(--border-color); border-radius: 4px; overflow: hidden; margin-top: 0.5rem; }
.bar-fill { height: 100%; border-radius: 4px; transition: width 1s ease; }

@property --border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn;
}

.slider-container { 
    max-width: 1000px; 
    margin: 0 auto; 
    overflow: hidden; 
    position: relative; 
    border-radius: 20px; 
    
    --border-angle: 0turn;
    --main-bg: conic-gradient(
        from var(--border-angle),
        var(--bg-card),
        var(--bg-base) 5%,
        var(--bg-base) 60%,
        var(--bg-card) 95%
    );
    border: solid 3px transparent;
    --gradient-border: conic-gradient(from var(--border-angle), transparent 25%, var(--primary), var(--secondary) 99%, transparent);
    
    background: 
        var(--main-bg) padding-box,
        var(--gradient-border) border-box, 
        var(--main-bg) border-box;
    
    animation: bg-spin 4s linear infinite;
}

.slider-container:hover {
    animation-play-state: paused;
}

@keyframes bg-spin {
    to {
        --border-angle: 1turn;
    }
}
.slider-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.slide { min-width: 100%; padding: 4rem; text-align: center; }
.slide-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 1.5rem; text-shadow: var(--shadow-glow); }
.slide h3 { font-family: var(--font-tech); font-size: 2rem; margin-bottom: 1rem; }
.slide p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.slider-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-btn { width: 45px; height: 45px; border-radius: 50%; background: transparent; border: 1px solid var(--primary); color: var(--primary); cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background: var(--primary); color: var(--bg-base); }

.services-grid { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 2rem; transition: 0.3s; backdrop-filter: blur(5px); }
.service-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.service-card i { font-size: 2rem; color: var(--secondary); margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--font-tech); font-size: 1.4rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

.cloud-rain-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    animation: cloudHueRotate 8s linear infinite;
}

@keyframes cloudHueRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.teknikx-cloud {
    position: relative;
    width: 280px;
    margin: 0 auto;
    z-index: 2;
    filter: drop-shadow(0 0 25px var(--primary));
}

.cloud-label {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--bg-base);
    font-family: var(--font-tech);
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 3px;
    z-index: 10;
    padding: 0.3em 1em;
    border-radius: 10px;
    text-transform: uppercase;
    background: var(--primary);
}

.cloud-label::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 100px;
    width: 120%;
    height: 70px;
    background: var(--primary);
}

.cloud-label::after {
    content: '';
    position: absolute;
    top: -110px;
    left: 20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 95px -25px 0 8px var(--primary);
}

.cloud-drop {
    position: absolute;
    top: 50px;
    height: 20px;
    line-height: 20px;
    color: var(--primary);
    font-family: var(--font-code);
    font-weight: 700;
    transform-origin: bottom;
    animation: cloudDropFall 2s linear infinite;
    opacity: 0.7;
    text-shadow: 0 0 8px var(--primary);
}

@keyframes cloudDropFall {
    0% { transform: translateY(0) scaleY(0); transform-origin: top; opacity: 0; }
    10% { transform: translateY(0) scaleY(0.3); transform-origin: top; opacity: 0.7; }
    20% { transform: translateY(0) scaleY(1); opacity: 0.7; }
    70% { transform: translateY(350px) scaleY(1); transform-origin: bottom; opacity: 0.5; }
    85% { transform: translateY(350px) scaleY(0.5); transform-origin: bottom; opacity: 0.2; }
    100% { transform: translateY(380px) scaleY(0); transform-origin: bottom; opacity: 0; }
}


.dash-card, .service-card { position: relative; overflow: hidden; z-index: 1; }
.dash-card::after, .service-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 720px;
    height: 1px;
    border: 10px solid rgba(255, 255, 255, 0.5);
    filter: blur(49px);
    transform: rotate(-52deg) translate(-300px, -500px);
    pointer-events: none;
}
@keyframes move-gradient {
    0% { transform: rotate(-52deg) translate(-300px, -500px); }
    100% { transform: rotate(-52deg) translate(-300px, 500px); }
}
@media (hover: hover) and (pointer: fine) {
    .dash-card:hover::after, .service-card:hover::after {
        animation: move-gradient 0.6s linear;
    }
}

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.card { perspective: 1000px; cursor: pointer; position: relative; transform-style: preserve-3d; }
@property --card-rotate {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.card::before {
  content: "";
  width: 104%;
  height: 102%;
  border-radius: 22px;
  background-image: linear-gradient(var(--card-rotate), var(--primary), var(--secondary) 43%, transparent);
  position: absolute;
  z-index: -1;
  top: -1%;
  left: -2%;
  animation: spin-card 2.5s linear infinite;
}

.card::after {
  position: absolute;
  content: "";
  top: 10%;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.9);
  filter: blur(30px);
  background-image: linear-gradient(var(--card-rotate), var(--primary), var(--secondary) 43%, transparent);
  opacity: 0.7;
  transition: opacity .5s;
  animation: spin-card 2.5s linear infinite;
}

.card:hover::before, .card:hover::after {
  animation-play-state: paused;
}

@keyframes spin-card {
  0% { --card-rotate: 0deg; }
  100% { --card-rotate: 360deg; }
}
.card-inner { position: relative; width: 100%; min-height: 360px; transform-style: preserve-3d; border-radius: 20px; transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1); }
.card.flipped .card-inner { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; border-radius: 20px; background: var(--bg-card); box-shadow: var(--shadow-glow); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; backface-visibility: hidden; transform-style: preserve-3d; transition: box-shadow 0.3s, filter 0.3s; border: 1px solid var(--border-color); backdrop-filter: blur(10px); }
.card-face::before { content: ""; position: absolute; inset: 0; border-radius: 20px; box-shadow: 0 0 12px rgba(192, 132, 252, 0.25), 0 0 25px rgba(192, 132, 252, 0.15) inset; opacity: 0; transition: opacity 0.4s; pointer-events: none;}
.card:hover .card-face::before, .card.flipped .card-face::before { opacity: 1; animation: pulse 2s infinite alternate; }
@keyframes pulse { 0% { box-shadow: 0 0 12px rgba(192, 132, 252, 0.25), 0 0 25px rgba(192, 132, 252, 0.15) inset; } 50% { box-shadow: 0 0 22px rgba(192, 132, 252, 0.4), 0 0 35px rgba(192, 132, 252, 0.25) inset; } 100% { box-shadow: 0 0 12px rgba(192, 132, 252, 0.25), 0 0 25px rgba(192, 132, 252, 0.15) inset; } }
.card-front h2 { font-family: var(--font-tech); font-size: 1.6rem; color: var(--primary); margin-bottom: 0.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.card-front p { font-size: 1rem; color: var(--text-main); line-height: 1.5; font-weight: 500; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.click-to-flip { font-size: 0.8rem !important; color: var(--accent) !important; font-family: var(--font-code); }
.one { background: linear-gradient(to bottom, rgba(15,23,42,0.6), rgba(15,23,42,0.9)), url("../../img/x6.webp"); background-position: center; background-repeat: no-repeat; background-size: cover; }
.two { background: linear-gradient(to bottom, rgba(15,23,42,0.6), rgba(15,23,42,0.9)), url("../../img/x7.webp"); background-position: center; background-repeat: no-repeat; background-size: cover; }
.three { background: linear-gradient(to bottom, rgba(15,23,42,0.6), rgba(15,23,42,0.9)), url("../../img/x8.webp"); background-position: center; background-repeat: no-repeat; background-size: cover; }
.four { background: linear-gradient(to bottom, rgba(15,23,42,0.6), rgba(15,23,42,0.9)), url("../../img/x9.webp"); background-position: center; background-repeat: no-repeat; background-size: cover; }
.card-back { transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: flex-start; }
.card-back h3 { font-family: var(--font-tech); font-size: 1.4rem; color: var(--secondary); margin-bottom: 1.5rem; }
ul.features { list-style: none; padding: 0; margin: 0; }
ul.features li { margin-bottom: 0.8rem; padding-left: 1.5rem; position: relative; color: var(--text-muted); font-size: 1rem; font-weight: 500; }
ul.features li::before { content: "⚡"; position: absolute; left: 0; color: var(--accent); }

.card { transition: transform 0.5s ease-in-out; }
.card:hover { transform: rotate3d(0.5, 1, 0, 15deg); z-index: 10; }

.card-front h2, .card-front p, .card-back h3, ul.features, .click-to-flip {
    transition: all 0.5s ease-in-out;
    transform: translateZ(20px);
}

.card:hover .card-front h2, .card:hover .card-back h3 {
    transform: translateZ(60px);
}
.card:hover .card-front p, .card:hover ul.features, .card:hover .click-to-flip {
    transform: translateZ(40px);
}

@media (max-width: 768px) { .card-grid { padding: 0 1rem; } .card-inner { min-height: 300px; } .card-face { padding: 18px; } .card-front h2 { font-size: 1.3rem; } .card-back h3 { font-size: 1.2rem; } ul.features li { font-size: 0.9rem; } }

.options-container { display: flex; justify-content: center; align-items: center; width: 100%; margin-top: 2rem; }
.options { display: flex; flex-direction: row; align-items: stretch; overflow: hidden; min-width: 100%; max-width: 1200px; width: calc(100% - 40px); height: 400px; padding: 0 2rem; }
.option { position: relative; overflow: hidden; min-width: 60px; margin: 10px; background: var(--optionBackground, #1e293b); background-size: cover; background-position: center; cursor: pointer; transition: .5s cubic-bezier(0.05, 0.61, 0.41, 0.95); border-radius: 30px; flex-grow: 1; }
.option.active { flex-grow: 10000; transform: scale(1); max-width: 100%; margin: 0px; border-radius: 40px; background-size: cover; }
.option.active .shadow { box-shadow: inset 0 -120px 120px -120px rgba(0,0,0,0.8), inset 0 -120px 120px -100px rgba(0,0,0,0.8); }
.option.active .label { bottom: 20px; left: 20px; }
.option.active .label .info > div { left: 0px; opacity: 1; }
.option:not(.active) .shadow { bottom: -40px; box-shadow: inset 0 -120px 0px -120px rgba(0,0,0,0.8), inset 0 -120px 0px -100px rgba(0,0,0,0.8); }
.option:not(.active) .label { bottom: 10px; left: 10px; }
.option:not(.active) .label .info > div { left: 20px; opacity: 0; }
.option .shadow { position: absolute; bottom: 0px; left: 0px; right: 0px; height: 120px; transition: .5s cubic-bezier(0.05, 0.61, 0.41, 0.95); }
.option .label { display: flex; position: absolute; right: 0px; height: 40px; transition: .5s cubic-bezier(0.05, 0.61, 0.41, 0.95); }
.option .label .icon { display: flex; flex-direction: row; justify-content: center; align-items: center; min-width: 40px; max-width: 40px; height: 40px; border-radius: 100%; background-color: var(--bg-card); color: var(--primary); border: 1px solid var(--primary); box-shadow: var(--shadow-glow); }
.option .label .info { display: flex; flex-direction: column; justify-content: center; margin-left: 10px; color: #fff; white-space: pre; }
.option .label .info > div { position: relative; transition: .5s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity .5s ease-out; }
.option .label .info .main { font-weight: bold; font-size: 1.2rem; font-family: var(--font-tech); text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.option .label .info .sub { transition-delay: .1s; font-size: 0.85rem; font-family: var(--font-primary); text-shadow: 0 2px 4px rgba(0,0,0,0.8); color: #e2e8f0; }

@media screen and (max-width: 900px) { .options { padding: 0 1rem; } }
@media screen and (max-width: 768px) {
    .options { flex-direction: column; height: 600px; padding: 0 1rem; }
    .option { min-height: 60px; min-width: 100%; margin: 5px 0; border-radius: 20px;}
    .option.active { max-height: 400px; border-radius: 30px;}
}

body { padding-bottom: 100px; }

@property --gradient-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin-border { 0% { --gradient-angle: 0deg; } 100% { --gradient-angle: 360deg; } }

.mac-dock { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; padding: 0.6rem 1.2rem; background: #373b4d; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 15px 35px rgba(0,0,0,0.4); border-radius: 2.5rem; z-index: 9999; align-items: center; justify-content: center; transition: all 0.3s; }
.dock-close { position: absolute; right: 8px; top: 8px; width: 20px; height: 20px; background: #ef4444; border: none; border-radius: 50%; color: white; font-size: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0.5; transition: 0.3s; z-index: 10000; }
.mac-dock:hover .dock-close { opacity: 1; }
.mac-dock ul { display: flex; margin: 0; padding: 0; list-style: none; align-items: center; gap: 0.8rem; }
.mac-dock-item { width: 48px; height: 48px; border-radius: 14px; cursor: pointer; transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform-origin: bottom center; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); color: var(--primary); font-size: 1.3rem; position: relative; box-shadow: inset 0 1px 2px rgba(255,255,255,0.15), 0 4px 12px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); }
.mac-dock-item::after { content: ""; position: absolute; inset: -2px; padding: 2px; background: conic-gradient(from var(--gradient-angle), rgba(192, 132, 252, 0.1) 0deg, rgba(192, 132, 252, 0.1) 60deg, rgba(192, 132, 252, 1) 120deg, rgba(192, 132, 252, 0.1) 180deg, rgba(192, 132, 252, 0.1) 240deg, rgba(192, 132, 252, 1) 300deg, rgba(192, 132, 252, 0.1) 360deg); border-radius: 14px; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; pointer-events: none; animation: spin-border 4s linear infinite; z-index: -1; }
.dock-link { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; }
.mac-dock-item::before { content: attr(data-tooltip); position: absolute; top: -40px; background: var(--bg-base); color: var(--text-main); padding: 4px 10px; border-radius: 6px; font-size: 12px; font-family: var(--font-code); border: 1px solid var(--border-color); pointer-events: none; opacity: 0; transform: translateY(10px); transition: 0.2s; white-space: nowrap; font-weight: bold; letter-spacing: 1px; }
.mac-dock-item:hover::before { opacity: 1; transform: translateY(0); }
.mac-dock-item:hover { transform: scale(1.5) translateY(-8px); z-index: 5; background: var(--primary); color: var(--bg-base); box-shadow: 0 0 20px rgba(192, 132, 252, 0.5), 0 8px 25px rgba(0,0,0,0.3); }
.mac-dock-item:has(+ .mac-dock-item:hover), .mac-dock-item:hover + .mac-dock-item { width: 48px; height: 48px; border-radius: 14px; cursor: pointer; transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform-origin: bottom center; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); color: var(--primary); font-size: 1.3rem; position: relative; box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), 0 4px 12px rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.15); }
.mac-dock-item:has(+ .mac-dock-item + .mac-dock-item:hover), .mac-dock-item:hover + .mac-dock-item + .mac-dock-item { width: 48px; height: 48px; border-radius: 14px; cursor: pointer; transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform-origin: bottom center; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); color: var(--primary); font-size: 1.3rem; position: relative; box-shadow: inset 0 1px 2px rgba(255,255,255,0.15), 0 4px 12px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 768px) { .mac-dock { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; padding: 0.6rem 1.2rem; background: #373b4d; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 15px 35px rgba(0,0,0,0.4); border-radius: 2.5rem; z-index: 9999; align-items: center; justify-content: center; transition: all 0.3s; } .mac-dock ul { gap: 0.4rem; } .mac-dock-item { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); box-shadow: inset 0 1px 2px rgba(255,255,255,0.1), 0 4px 8px rgba(0,0,0,0.15); font-size: 1.1rem; } .mac-dock-item:hover { transform: scale(1.3) translateY(-5px); } .dock-close { top: -5px; right: -5px; opacity: 1;} }

.dock-divider { width: 2px; height: 32px; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent); margin: 0 0.3rem; border-radius: 2px; list-style: none; flex-shrink: 0; }
.dock-login-item { background: rgba(192, 132, 252, 0.15) !important; border: 1px solid rgba(192, 132, 252, 0.3) !important; }
.dock-login-item:hover { background: var(--primary) !important; box-shadow: 0 0 25px rgba(192, 132, 252, 0.6), 0 0 50px rgba(192, 132, 252, 0.3), 0 8px 25px rgba(0,0,0,0.3) !important; }
.dock-pulse { position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; background: #22c55e; border-radius: 50%; border: 2px solid #373b4d; animation: dockPulse 2s ease-in-out infinite; z-index: 10; }
@keyframes dockPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } }
@media (max-width: 1200px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .hero-description, .competency-display { margin-left: auto; margin-right: auto; }
    .hero-buttons, .hero-social { justify-content: center; }
    .hero-name { justify-content: center; }
    .badge-1 { right: 0; top: -10%; } .badge-2 { right: 0; bottom: -10%; } .badge-3 { left: 0; top: 40%; }
}
@media (max-width: 768px) {
    .hero-name { font-size: 2.5rem; }
    .hero-image-container { width: 280px; height: 280px; }
    .floating-badge, .nav-menu { display: none; }
    .outerBorder { width: 80px; height: 40px; border-width: 2px;}
    .toggle-outer { width: 70px; height: 30px; }
    #center { width: 24px; height: 24px; }
    .toggle-active { transform: translateX(40px) !important; }
}

.nav-btn-login {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary) !important;
    font-family: var(--font-tech);
    transition: all 0.3s ease;
}
.nav-btn-login:hover {
    background: var(--primary);
    color: var(--bg-base) !important;
    box-shadow: var(--shadow-glow);
}

.login-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(5, 8, 16, 0.95); backdrop-filter: blur(10px);
    z-index: 20000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.login-modal-overlay.active { opacity: 1; visibility: visible; }
.login-modal-close {
    position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.5rem; color: #fff;
    cursor: pointer; transition: all 0.3s; z-index: 10001;
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}
.login-modal-close:hover { color: #ef4444; background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); box-shadow: 0 0 20px rgba(239,68,68,0.3); transform: rotate(90deg); }

.ring-container {
    position: relative; width: 400px; height: 400px;
    display: flex; justify-content: center; align-items: center;
}
@media (max-width: 500px) {
    .ring-container { width: 300px; height: 300px; }
}
.ring-circle {
    position: absolute; inset: 0; border: 2px solid transparent; transition: 0.5s;
    border-top-color: var(--clr);
    border-bottom-color: var(--clr);
}
.ring-circle:nth-child(1) {
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: animateRing 6s linear infinite;
}
.ring-circle:nth-child(2) {
    border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
    animation: animateRing 4s linear infinite reverse;
}
.ring-circle:nth-child(3) {
    border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
    animation: animateRing2 10s linear infinite;
}
.ring-container:hover .ring-circle {
    border: 3px solid var(--clr);
    filter: drop-shadow(0 0 15px var(--clr));
}

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

.login-form {
    position: absolute; width: 250px; height: 100%;
    display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 1.5rem;
    z-index: 10;
}
.login-form h2 { font-family: var(--font-tech); font-size: 1.5rem; color: var(--text-main); text-shadow: 0 0 10px var(--primary); margin-bottom: 0.5rem;}
.inputBx { position: relative; width: 100%; }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.inputBx input {
    width: 100%; padding: 12px 20px 12px 40px; background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-color); border-radius: 40px; font-size: 1rem; color: var(--text-main);
    outline: none; transition: box-shadow 0.3s, border-color 0.3s;
}
.inputBx input:focus { box-shadow: 0 0 15px rgba(192, 132, 252, 0.4); border-color: var(--primary); }
.login-btn {
    width: 100%; background: var(--gradient-1);
    border: none; padding: 12px; border-radius: 40px; cursor: pointer;
    font-family: var(--font-tech); font-weight: bold; font-size: 1rem; color: #050810;
    transition: transform 0.2s, box-shadow 0.3s;
}
.login-btn:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--primary); }
.login-form .links { width: 100%; display: flex; justify-content: space-between; padding: 0 10px; }
.login-form .links a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; transition: color 0.3s; }
.login-form .links a:hover { color: var(--primary); }

.nav-menu {
    position: relative;
}
.nav-active-line {
    position: absolute;
    bottom: -10px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transition: all 0.15s ease-out;
    pointer-events: none;
    border-radius: 2px;
    opacity: 0;
}


.spotlight-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2rem 1rem;
  border-radius: 20px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

body.light-mode .spotlight-wrapper {
  background: rgba(255,255,255,0.6);
}

.spotlight-base {
  position: relative;
  z-index: 10;
}

.dim-badge {
  background: rgba(192, 132, 252, 0.05) !important;
  border-color: rgba(192, 132, 252, 0.1) !important;
  color: var(--text-muted) !important;
  opacity: 0.85;
}
.dim-title {
  color: var(--text-muted) !important;
  text-shadow: none !important;
  opacity: 0.85;
}
.dim-subtitle {
  color: var(--text-muted) !important;
  opacity: 0.85;
}

.spotlight-overlay {
  --x: 50%;
  --y: 50%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  padding: 2rem 1rem;
  background: var(--bg-card);
  mask-image: radial-gradient(circle 150px at var(--x) var(--y), white 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle 150px at var(--x) var(--y), white 0%, transparent 100%);
  pointer-events: none;
}

.lit-badge {
  background: rgba(192, 132, 252, 0.2) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.4);
}

.glowing-text {
  text-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary), 0 0 15px var(--primary);
  color: var(--text-main) !important;
}

.text-shimmer {
  background: linear-gradient(90deg, var(--primary) 0%, var(--text-main) 20%, var(--secondary) 40%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}


@media (max-width: 1024px) {
    .section { padding: 4rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .dash-grid { grid-template-columns: 1fr 1fr; }
    .tabs-grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 3rem 1rem; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.85rem; }
    
    .nav-menu { display: none; }
    .nav-container { padding: 0 1rem; }
    
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding: 0 1rem; }
    .hero-content { align-items: center; }
    .hero-name { font-size: 2.2rem; justify-content: center; flex-wrap: wrap; }
    .hero-greeting { font-size: 0.8rem; }
    .hero-title { font-size: 0.9rem; }
    .hero-description { font-size: 0.95rem; text-align: center; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .hero-image-container { width: 250px; height: 250px; }
    .floating-badge { display: none; }
    .competency-display { justify-content: center; }
    .score-section { text-align: center; }
    
    .dash-grid { grid-template-columns: 1fr; }
    .dash-header { flex-direction: column; gap: 0.5rem; text-align: center; }
    
    .card-grid { grid-template-columns: 1fr; padding: 0 1rem; }
    .card-inner { min-height: 280px; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .slider-container { margin: 0; }
    .slide { padding: 2rem 1.5rem; }
    .slide h3 { font-size: 1.2rem; }
    
    .tabs-nav { flex-wrap: wrap; gap: 0.25rem; }
    .tab-btn { font-size: 0.75rem; padding: 0.5rem 0.75rem; }
    .tabs-grid-4 { grid-template-columns: 1fr 1fr; }
    .tabs-grid-auto { grid-template-columns: 1fr; }
    
    .spotlight-wrapper { padding: 1.5rem 1rem; }
    
    .toggle { scale: 0.5; }
    
    .options { flex-direction: column; height: auto; }
    .option { min-height: 60px; min-width: 100%; }
    .option.active { min-height: 300px; }
}

@media (max-width: 480px) {
    .hero-name { font-size: 1.8rem; }
    .hero-section { min-height: 90vh; }
    .competency-display { flex-direction: column; gap: 1rem; }
    .score-divider { display: none; }
    .btn { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
    .dash-card { padding: 1rem; }
    .tabs-grid-4 { grid-template-columns: 1fr; }
    .ring-container { width: 280px; height: 280px; }
    .login-form { width: 220px; }
    .login-form h2 { font-size: 1.2rem; }
}
