/* ==========================================================================
   JAGA TECH - Cyber-Tech Master Stylesheet (Optimized for Desktop & Fluidity)
   ========================================================================== */
:root {
    --bg-primary: #070b1e;       /* Deep space navy */
    --bg-secondary: #040714;     /* Core pitch dark */
    --bg-card: rgba(10, 16, 42, 0.75);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.45);
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff00ea;
    --neon-green: #00ff66;
    --neon-amber: #ffb703;
    --glass-bg: rgba(9, 15, 38, 0.75);
    --glass-border: rgba(0, 240, 255, 0.22);
    --glass-border-hover: rgba(0, 240, 255, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(255, 0, 234, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(7, 11, 30, 0.88), rgba(4, 7, 20, 0.96)),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20zM20 0h20v20H20V0z' fill='%2300f0ff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, .nav-links a { font-family: 'Space Grotesk', sans-serif; }
.terminal-title, .tv-channel, .tv-label, .tech-tags, .ep-title, .project-category, .project-meta-tags { font-family: 'JetBrains Mono', monospace; }

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.container { width: 92%; max-width: 1400px; margin: 0 auto; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-center.col { flex-direction: column; }

.section-header { margin-bottom: 2.8rem; }
.section-header.center { text-align: center; }
.section-title { font-size: 2.6rem; margin-bottom: 0.7rem; letter-spacing: -0.5px; text-shadow: 0 0 25px rgba(255,255,255,0.08); font-weight: 700; }
.section-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 850px; margin: 0 auto; line-height: 1.65; }

.highlight-cyan { color: var(--neon-cyan); text-shadow: 0 0 15px rgba(0,240,255,0.45); }
.highlight-magenta { color: var(--neon-magenta); text-shadow: 0 0 15px rgba(255,0,234,0.45); }
.highlight-green { color: var(--neon-green); text-shadow: 0 0 15px rgba(0,255,102,0.45); }

/* Logo Styling - TRANSPARENT WITH SUBTLE GLOWING AURA */
.logo img {
    height: 40px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 1px #ffffff) drop-shadow(0 0 8px rgba(0, 240, 255, 0.65));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover img {
    transform: scale(1.06);
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 14px rgba(0, 240, 255, 0.95));
}

.splash-logo {
    height: 70px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 18px rgba(0, 240, 255, 0.75));
}

.about-visual .hologram-logo {
    height: 95px;
    width: auto;
    max-width: 105px;
    object-fit: contain;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 24px rgba(0, 240, 255, 0.8));
    position: relative;
    z-index: 10;
}

.footer-logo, .footer-brand img, .footer-brand .nav-logo {
    height: 44px;
    width: auto;
    max-width: 52px;
    object-fit: contain;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 1px #ffffff) drop-shadow(0 0 8px rgba(0, 240, 255, 0.65));
}

/* Base Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), #00a2ff);
    color: #03081a;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
    border: none;
    cursor: pointer;
    will-change: transform, box-shadow;
}
.btn-primary:hover { 
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.7); 
    transform: translateY(-2px); 
    color: #000;
}

.btn-ghost {
    background: rgba(0, 240, 255, 0.05);
    color: var(--text-primary);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    will-change: transform, border-color;
}
.btn-ghost:hover { 
    border-color: var(--neon-cyan); 
    box-shadow: 0 0 20px rgba(0,240,255,0.25), inset 0 0 15px rgba(0,240,255,0.1); 
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

/* Social Nav Icon */
.social-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff00ea;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 234, 0.4);
    background: rgba(255, 0, 234, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-nav-icon:hover {
    color: #ffffff;
    background: #ff00ea;
    box-shadow: 0 0 18px rgba(255, 0, 234, 0.8);
    transform: translateY(-2px);
}
.social-nav-icon i {
    width: 18px;
    height: 18px;
}

/* Canvas Backgrounds */
#canvas-container-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    transform: translateZ(0);
}

#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    opacity: 0.45;
    pointer-events: none;
    transform: translateZ(0);
}

/* ==========================================================================
   Splash Screen
   ========================================================================== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #030510;
    z-index: 9999;
    overflow: hidden;
}

.splash-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    text-align: center;
    width: 100%;
    z-index: 10;
}

.splash-bg {
    position: absolute; width: 200%; height: 200%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: drift 100s linear infinite; opacity: 0.25;
}
@keyframes drift { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

.splash-logo-wrap { position: relative; margin-bottom: 1.6rem; }
.pulse-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%; border-radius: 50%;
    border: 1px solid var(--neon-cyan);
    animation: pulse 3s ease-out infinite; opacity: 0;
}
.pulse-ring.delay-1 { animation-delay: 1s; }
.pulse-ring.delay-2 { animation-delay: 2s; }
@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; border: 1px solid rgba(0,240,255,0); } }

.splash-title { font-size: 3rem; letter-spacing: 0.2em; text-transform: uppercase; text-shadow: 0 0 20px rgba(0,240,255,0.4); margin-bottom: 0.4rem; }
.splash-subtitle { font-family: 'JetBrains Mono', monospace; color: var(--neon-cyan); letter-spacing: 0.25em; font-size: 0.82rem; margin-bottom: 3rem; }

.tech-switch-container { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.5rem; position: relative; z-index: 10; }
.switch-label { font-family: 'JetBrains Mono', monospace; font-size: 1.1rem; font-weight: bold; color: rgba(255,255,255,0.3); transition: color 0.3s; }
.switch-label.off-label { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0,240,255,0.5); }
.tech-switch {
    width: 120px; height: 50px; background: rgba(0,0,0,0.5);
    border: 2px solid var(--glass-border); border-radius: 25px;
    cursor: pointer; padding: 5px; position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    transition: all 0.3s;
}
.tech-switch:hover { border-color: var(--neon-cyan); }
.switch-track { position: relative; width: 100%; height: 100%; }
.switch-thumb {
    width: 36px; height: 36px; background: #222;
    border-radius: 50%; box-shadow: 0 0 10px rgba(0,0,0,0.5);
    display: flex; justify-content: center; align-items: center;
    position: absolute; top: 0; left: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #444; color: #555;
}
.switch-thumb .power-icon { width: 18px; height: 18px; pointer-events: none;}

#splash-screen.booting .tech-switch { border-color: var(--neon-green); box-shadow: 0 0 20px rgba(0,255,102,0.3); }
#splash-screen.booting .switch-thumb { left: calc(100% - 36px); background: var(--neon-green); border-color: #fff; color: #000; box-shadow: 0 0 15px var(--neon-green); transform: rotate(180deg); }
#splash-screen.booting .switch-label.off-label { color: rgba(255,255,255,0.3); text-shadow: none; }
#splash-screen.booting .switch-label.on-label { color: var(--neon-green); text-shadow: 0 0 10px rgba(0,255,102,0.5); }

.skip-splash-btn {
    margin-top: 1.2rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: var(--neon-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    z-index: 20;
}
.skip-splash-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transform: translateY(-1px);
}
.skip-splash-btn i {
    width: 14px;
    height: 14px;
}
#splash-screen.booting .skip-splash-btn {
    opacity: 0;
    pointer-events: none;
}

.boot-terminal { width: 100%; max-width: 580px; height: 0; opacity: 0; background: rgba(0, 0, 0, 0.85); border: 1px solid var(--neon-green); border-radius: 8px; margin-top: 2rem; overflow: hidden; display: flex; flex-direction: column; transition: all 0.5s ease; box-shadow: 0 0 30px rgba(0,255,102,0.1); }
#splash-screen.booting .boot-terminal { height: 200px; opacity: 1; }
.terminal-header { background: #111; padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; }
.terminal-dots { display: flex; gap: 8px; }
.tdot { width: 12px; height: 12px; border-radius: 50%; }
.tdot.red { background: #ff5f56; } .tdot.yellow { background: #ffbd2e; } .tdot.green { background: #27c93f; }
.terminal-title { color: var(--neon-green); font-size: 0.8rem; }
.terminal-body { padding: 15px; color: var(--neon-green); font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; line-height: 1.5; overflow-y: auto; flex-grow: 1; text-align: left; }
.term-line { opacity: 0; width: fit-content; overflow: hidden; white-space: nowrap; margin-bottom: 5px; }

.boot-flash { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #fff; z-index: 10000; opacity: 0; pointer-events: none; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar { position: fixed; top: 0; width: 100%; padding: 1.1rem 0; z-index: 1000; transition: all 0.3s ease; background: rgba(7, 11, 30, 0.0); backdrop-filter: blur(0px); }
.navbar.scrolled { background: rgba(7, 11, 30, 0.94); backdrop-filter: blur(14px); padding: 0.8rem 0; border-bottom: 1px solid var(--glass-border); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 92%; max-width: 1400px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: 2px; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: var(--text-primary); text-decoration: none; font-weight: 500; font-size: 0.92rem; transition: color 0.3s; }
.nav-link:hover { color: var(--neon-cyan); }
.nav-cta { padding: 0.6rem 1.5rem; font-size: 0.88rem; }
.hamburger { display: none; background: none; border: none; color: white; cursor: pointer; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100vw; height: 100vh; background: rgba(7, 11, 30, 0.98); backdrop-filter: blur(16px); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.8rem; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); }
.mobile-menu.active { right: 0; }
.close-mobile { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }
.mobile-link { font-size: 1.6rem; color: white; text-decoration: none; font-family: 'Space Grotesk', sans-serif; transition: color 0.3s; }
.mobile-link:hover { color: var(--neon-cyan); }
.mobile-link.cta { color: var(--neon-cyan); margin-top: 1rem; border: 1px solid var(--neon-cyan); padding: 10px 30px; border-radius: 30px; }

/* ==========================================================================
   Sections Layout (Optimized Heights)
   ========================================================================== */
#horizontal-scroll-container { width: 100%; }
.horizontal-panels-wrap { display: flex; flex-direction: column; }
.panel {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 5.5rem 0 4rem;
}

/* ==========================================================================
   Hero Section (Panel 1)
   ========================================================================== */
.hero-content { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; z-index: 10; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(0,255,102,0.08); border: 1px solid rgba(0,255,102,0.3); padding: 0.45rem 1rem; border-radius: 20px; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--neon-green); margin-bottom: 1.5rem; }
.badge-dot { width: 8px; height: 8px; background: var(--neon-green); border-radius: 50%; box-shadow: 0 0 10px var(--neon-green); animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { font-size: 3.6rem; line-height: 1.15; margin-bottom: 1.3rem; font-weight: 800; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2.2rem; max-width: 580px; line-height: 1.65; }
.hero-cta-group { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Mini-TV CRT Monitor */
.mini-tv { position: relative; width: 100%; max-width: 420px; margin: 0 auto; perspective: 1000px; }
.tv-toggle-btn {
    position: absolute; top: -30px; right: 0;
    background: rgba(0,240,255,0.1); border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan); font-size: 0.65rem; font-family: 'JetBrains Mono', monospace;
    padding: 3px 8px; border-radius: 6px 6px 0 0; cursor: pointer; letter-spacing: 1px;
    transition: all 0.2s; white-space: nowrap;
}
.tv-toggle-btn:hover { background: rgba(0,240,255,0.25); }
.tv-antenna { position: absolute; top: -38px; left: 50%; transform: translateX(-50%); width: 100px; height: 38px; display: flex; justify-content: center; z-index: -1; }
.antenna-rod { width: 4px; height: 55px; background: linear-gradient(to top, #333, #666); transform-origin: bottom; position: absolute; bottom: 0; }
.antenna-rod::after { content: ''; position: absolute; top: -5px; left: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); }
.antenna-rod.left { transform: rotate(-30deg); left: 30px; }
.antenna-rod.right { transform: rotate(30deg); right: 30px; }
.tv-frame { background: #0b0e1c; border: 2px solid #1a2542; border-radius: 16px; padding: 14px; box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 10px 40px rgba(0,240,255,0.12); position: relative; }
.tv-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid #1a2542; margin-bottom: 10px; }
.tv-led { width: 8px; height: 8px; border-radius: 50%; background: var(--neon-green); box-shadow: 0 0 8px var(--neon-green); animation: blink 2s infinite; }
.tv-label { color: var(--neon-green); font-size: 0.75rem; letter-spacing: 2px; }
.tv-signal { display: flex; gap: 3px; align-items: flex-end; height: 12px; }
.tv-signal span { width: 3px; background: var(--neon-cyan); border-radius: 1px; }
.tv-signal span:nth-child(1) { height: 4px; } .tv-signal span:nth-child(2) { height: 8px; } .tv-signal span:nth-child(3) { height: 12px; }
.tv-screen { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 20px rgba(0,0,0,1); }
.tv-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; filter: contrast(1.1) brightness(1.15); }
.scanlines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); background-size: 100% 4px, 3px 100%; pointer-events: none; z-index: 2; }
.tv-vignette { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%); z-index: 3; pointer-events: none; }
.tv-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #1a2542; margin-top: 10px; }
.tv-knob { width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #444, #111); border: 1px solid #000; box-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* ==========================================================================
   About & Stats (Panel 2)
   ========================================================================== */
.section-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; width: 100%; align-items: center;}
.hologram-container { position: relative; width: 260px; height: 260px; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.neon-ring { position: absolute; border-radius: 50%; border: 1px solid var(--neon-cyan); opacity: 0.45; top: 50%; left: 50%; transform: translate(-50%, -50%) rotateX(60deg); }
.ring-1 { width: 100%; height: 100%; animation: spin 10s linear infinite; }
.ring-2 { width: 140%; height: 140%; border-color: var(--neon-magenta); animation: spin 15s linear infinite reverse; }
.ring-3 { width: 180%; height: 180%; border-color: rgba(255,255,255,0.15); border-style: dashed; animation: spin 20s linear infinite; }
@keyframes spin { 100% { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); } }

.about-purpose {
    margin: 1.5rem 0;
    padding: 1.1rem 1.4rem;
    border-left: 3px solid var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    border-radius: 0 10px 10px 0;
}
.about-purpose-text {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0;
}
.about-purpose-text strong {
    color: var(--neon-cyan);
}

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; border-top: 1px solid var(--glass-border); padding-top: 1.8rem; }
.stat-item { text-align: left; }
.stat-number { font-size: 2.6rem; color: var(--neon-cyan); font-weight: 800; line-height: 1; display: inline-block; }
.stat-suffix { font-size: 1.8rem; color: var(--neon-cyan); font-weight: 700; }
.stat-label { font-size: 0.82rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }

/* ==========================================================================
   Services Grid (Panel 3)
   ========================================================================== */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.6rem; 
    width: 100%; 
}
.service-card { 
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border); 
    border-radius: 14px; 
    padding: 1.8rem; 
    position: relative; 
    overflow: hidden; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    backdrop-filter: blur(12px); 
    display: flex;
    flex-direction: column;
    will-change: transform, border-color;
}
.service-card:hover { 
    transform: translateY(-6px); 
    border-color: var(--neon-cyan); 
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15); 
    background: rgba(12, 20, 50, 0.88);
}
.card-glow { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.12), transparent 60%); 
    pointer-events: none; 
}
.service-icon { 
    color: var(--neon-cyan); 
    width: 38px; 
    height: 38px; 
    margin-bottom: 1.2rem; 
}
.service-title { 
    font-size: 1.25rem; 
    margin-bottom: 0.7rem; 
    font-weight: 700;
}
.service-desc { 
    color: var(--text-secondary); 
    margin-bottom: 1.4rem; 
    font-size: 0.9rem; 
    line-height: 1.6;
    flex-grow: 1;
}
.tech-tags { 
    list-style: none; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
}
.tech-tags li { 
    font-size: 0.72rem; 
    padding: 0.22rem 0.65rem; 
    background: rgba(0, 240, 255, 0.08); 
    border-radius: 20px; 
    color: var(--neon-cyan); 
    border: 1px solid rgba(0, 240, 255, 0.22); 
}

/* ==========================================================================
   Extended Portfolio Capabilities (Panel 4)
   ========================================================================== */
.extended-portfolio-section {
    background: radial-gradient(circle at center, rgba(16, 25, 65, 0.45) 0%, transparent 70%);
}
.ep-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3rem;
    max-width: 1350px;
}
.ep-card {
    background: rgba(14, 22, 54, 0.65);
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: 12px;
    padding: 1.6rem 1.3rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform, border-color;
}
.ep-card:hover { 
    border-color: var(--neon-magenta); 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(255,0,234,0.15); 
    background: rgba(18, 28, 68, 0.85);
}
.ep-icon { color: var(--neon-magenta); width: 30px; height: 30px; margin-bottom: 0.8rem; }
.ep-title { font-size: 1rem; margin-bottom: 0.5rem; font-weight: 700; }
.ep-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }

/* ==========================================================================
   Success Cases & Production Projects (Panel 5)
   ========================================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    width: 100%;
}

.portfolio-item { 
    border-radius: 14px; 
    overflow: hidden; 
    background: var(--bg-card); 
    border: 1px solid var(--glass-border); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    display: flex; 
    flex-direction: column;
    backdrop-filter: blur(10px);
    will-change: transform, border-color;
}
.portfolio-item:hover { 
    border-color: var(--neon-cyan); 
    transform: translateY(-6px); 
    box-shadow: 0 16px 35px rgba(0, 240, 255, 0.15); 
}

.portfolio-image-wrapper { 
    position: relative; 
    width: 100%; 
    height: 190px; 
    overflow: hidden; 
    background: #020617;
}
.portfolio-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-item:hover .portfolio-img { 
    transform: scale(1.05); 
}

.project-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(3, 6, 18, 0.85);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    backdrop-filter: blur(6px);
    letter-spacing: 0.5px;
}

.portfolio-content { 
    padding: 1.5rem; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column;
}
.project-category { 
    color: var(--neon-cyan); 
    font-size: 0.72rem; 
    text-transform: uppercase; 
    letter-spacing: 1.2px; 
    margin-bottom: 0.4rem; 
    display: block; 
    font-weight: 600;
}
.project-title { 
    font-size: 1.25rem; 
    margin-bottom: 0.6rem; 
    font-weight: 700;
}
.project-desc { 
    color: var(--text-secondary); 
    font-size: 0.88rem; 
    margin-bottom: 1.2rem; 
    flex-grow: 1;
    line-height: 1.6;
}

.project-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}
.project-meta-tags span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.06);
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.project-action {
    margin-top: auto;
}
.btn-live-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.7rem 1.1rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 8px;
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}
.btn-live-link i {
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease;
}
.btn-live-link:hover {
    background: var(--neon-cyan);
    color: #03081a;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}
.btn-live-link:hover i {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   Contact & Footer (Panel 6)
   ========================================================================== */
.contact-wrapper { display: flex; flex-direction: column; }
.cta-section { padding: 4.5rem 0 2.5rem 0; text-align: center; }
.cta-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 650px; margin: 0 auto; line-height: 1.65; }

.footer { background: #030612; padding: 3.5rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.06); margin-top: auto;}
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem; margin-bottom: 2.5rem; }
.cyber-form .input-group { margin-bottom: 1.1rem; }
.cyber-form input, .cyber-form textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 0.85rem 1.1rem; color: white; font-family: 'Inter', sans-serif; transition: all 0.25s; }
.cyber-form input:focus, .cyber-form textarea:focus { outline: none; border-color: var(--neon-cyan); background: rgba(0,240,255,0.06); box-shadow: 0 0 15px rgba(0,240,255,0.2); }
.submit-btn { width: 100%; background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(0,162,255,0.2)); border: 1px solid var(--neon-cyan); color: var(--neon-cyan); padding: 0.9rem; border-radius: 8px; font-weight: 700; cursor: pointer; transition: all 0.25s; font-family: 'Space Grotesk', sans-serif; letter-spacing: 1px;}
.submit-btn:hover { background: var(--neon-cyan); color: #03081a; box-shadow: 0 0 25px rgba(0,240,255,0.5); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.85rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.cursor-dot { width: 8px; height: 8px; background-color: var(--neon-cyan); border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); pointer-events: none; z-index: 9999; }
.cursor-outline { width: 36px; height: 36px; border: 1px solid rgba(0, 240, 255, 0.45); border-radius: 50%; position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); pointer-events: none; z-index: 9998; transition: transform 0.15s ease-out; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title { font-size: 3rem; }
    .ep-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-left { display: flex; flex-direction: column; align-items: center; }
    .hero-right { display: none; }
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); text-align: center; border-top: none; }
    .ep-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .about-purpose { text-align: left; }
    .panel { padding: 4.5rem 0 3rem; min-height: auto; }
    #canvas-container-3d { opacity: 0.45; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.1rem; }
    .hero-subtitle { font-size: 0.92rem; }
    .hero-cta-group { flex-direction: column; align-items: center; gap: 0.75rem; width: 100%; }
    .hero-cta-group a { width: 100%; text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    .ep-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .splash-title { font-size: 1.9rem; }
    .splash-subtitle { font-size: 0.7rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
    .section-title { font-size: 1.9rem; }
    .container { width: 92%; }
    #canvas-container-3d { opacity: 0.3; }
    #neural-canvas { opacity: 0.3; }
    .cursor-dot, .cursor-outline { display: none !important; }
}
