/* --- VARIABLES --- */
:root {
    --bg-dark: #0f172a; /* Deep Blue Slate */
    --panel-bg: #1e293b;
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    --pink: #ec4899;
    --purple: #8b5cf6;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- MESH BACKGROUND --- */
.mesh-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    z-index: -2;
}
.vignette {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 50%, var(--bg-dark) 100%);
    z-index: -1;
}

/* --- TYPOGRAPHY & UTILS --- */
.text-cyan { color: var(--cyan); text-shadow: 0 0 10px var(--cyan-glow); }
.text-pink { color: var(--pink); }
.text-gray { color: var(--text-muted); }

.bg-glass { background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); }
.bg-darker-panel { background: #0b1120; }
.border-y-cyan { border-top: 1px solid rgba(6, 182, 212, 0.2); border-bottom: 1px solid rgba(6, 182, 212, 0.2); }
.border-end-cyan { border-right: 1px solid rgba(6, 182, 212, 0.2); }
.border-cyan { border: 1px solid var(--cyan); }

@media (max-width: 768px) { .border-end-cyan { border-right: none; border-bottom: 1px solid rgba(6,182,212,0.2); padding-bottom: 20px; } }

/* --- HERO --- */
.web-hero { margin-top: 50px;padding: 100px 0; min-height: 85vh; display: flex; align-items: center; }
.badge-web { border: 1px solid var(--cyan); color: var(--cyan); display: inline-block; padding: 5px 15px; border-radius: 50px; margin-bottom: 20px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

.btn-cyan {
    background: var(--cyan); color: #fff; padding: 15px 35px; font-weight: 700; text-decoration: none; border-radius: 50px; transition: 0.3s;
}
.btn-cyan:hover { background: #0891b2; box-shadow: 0 0 20px var(--cyan-glow); transform: translateY(-2px); color: #fff; }

/* --- BROWSER VISUAL --- */
.browser-stack { position: relative; height: 300px; }
.browser-window {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: absolute;
    width: 100%;
}
.main-window { z-index: 2; top: 0; left: 0; transition: transform 0.3s; }
.back-window { z-index: 1; top: 20px; left: 20px; opacity: 0.5; height: 100%; transform: scale(0.95); }
.main-window:hover { transform: translateY(-5px); }

.window-bar { background: #0f172a; padding: 10px; border-radius: 12px 12px 0 0; display: flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; } .yellow { background: #f59e0b; } .green { background: #22c55e; }
.url-bar { background: #1e293b; color: #64748b; font-size: 0.8rem; padding: 2px 10px; border-radius: 4px; margin-left: 10px; font-family: 'Space Grotesk', monospace; width: 60%; }
.window-content { padding: 20px; font-family: 'Space Grotesk', monospace; }

/* Code Highlight Colors */
.c-keyword { color: #c678dd; } .c-type { color: #e5c07b; }

/* --- INTERACTIVE DEMO --- */
.btn-toggle { background: transparent; border: 1px solid #333; color: #666; padding: 8px 20px; border-radius: 20px; transition: 0.3s; }
.btn-toggle.active { background: var(--cyan); color: white; border-color: var(--cyan); }

.bg-code { background: #0f172a; border-right: 1px solid #333; font-family: 'Space Grotesk', monospace; height: 300px; }
.bg-preview { background: #f1f5f9; height: 300px; position: relative; }
.browser-preview { background: white; width: 80%; padding: 20px; border-radius: 8px; color: #333; }

/* --- MVC DIAGRAM --- */
.mvc-diagram { align-items: center; }
.mvc-box { background: #0f172a; border: 1px solid #333; padding: 15px; border-radius: 8px; width: 80px; }
.arrow { color: var(--text-muted); }

/* --- CARDS & OUTCOMES --- */
.tech-card { background: var(--panel-bg); padding: 30px; border-radius: 12px; transition: 0.3s; height: 100%; border: 1px solid transparent; }
.tech-card:hover { border-color: var(--cyan); transform: translateY(-5px); }
.problem-card { background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; border-left: 4px solid var(--cyan); }
.outcome-item { background: rgba(255,255,255,0.03); padding: 12px 20px; border-radius: 50px; font-size: 0.9rem; }
.cert-box { border-radius: 12px; }