/* main.css — extracted from Landing_bw.html */

/* --- CONFIGURATION --- */
:root {
    --bg: #ffffff;
    --ink: #111111;
    --border: 1.5px solid #111;
    --shadow: 4px 4px 0px #111;
}

/* HIDE DEFAULT CURSOR GLOBALLY */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none !important; user-select: none; -webkit-user-select: none; -ms-user-select: none; }

body {
    background-color: var(--bg);
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   --- RGB LIQUID CURSOR STYLES ---
   ========================================= */

.cursor-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 9999;
    /* The SVG Gooey Filter */
    filter: url('#goo-effect'); 
    /* UPDATED: Reduced Opacity (was 0.95) */
    opacity: 0.6;
}

.cursor-blob {
    position: absolute; top: 0; left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    
    /* UPDATED: RGB CYCLE SETTINGS */
    /* Start with a base bright red */
    background: #ff0000;
    /* Add glow based on the background color */
    box-shadow: 0 0 40px 20px rgba(255, 0, 0, 0.8);
    
    /* Animate hue rotation to cycle through all colors */
    animation: rgbCycle 8s linear infinite;
}

/* New RGB Animation Keyframes */
@keyframes rgbCycle {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}


/* Sizing trail elements */
.c-0 { width: 100px; height: 100px; z-index: 10; } 
.c-1 { width: 95px; height: 95px; }
.c-2 { width: 90px; height: 90px; }
.c-3 { width: 85px; height: 85px; }
.c-4 { width: 80px; height: 80px; }
.c-5 { width: 75px; height: 75px; }
.c-6 { width: 70px; height: 70px; }
.c-7 { width: 65px; height: 65px; }


/* Ensure SVG filter definition is hidden */
#svg-filters-hidden { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =========================================
   --- CLEAN STARTUP LOADER ---
   ========================================= */
#site-loader {
    position: fixed;
    inset: 0;
    background: #000;
    color: #fff;
    z-index: 100000; /* Top priority */
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.loader-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 10px;
}

.loader-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(2.8rem, 10vw, 7rem);
    margin-top: 0px;
    letter-spacing: 0.05em;
    line-height: 1;
}

.loader-bar {
    width: min(360px, 60vw);
    height: 6px;
    background: #333;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 25px;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: #fff;
    border-radius: 999px;
    will-change: width;
    transition: width 120ms linear;
}

/* Accessible helper to hide content visually but keep it available to screen readers */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes fillTo100 {
    to { width: 100%; }
}

#site-loader.fade-out {
    animation: loaderFade 0.8s ease forwards;
}

@keyframes loaderFade {
    to {
        opacity: 0;
        visibility: hidden;
        transform: scale(0.98);
    }
}

/* --- REST OF LAYOUT --- */
#canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fff; border-left: 1px solid #ddd; }
::-webkit-scrollbar-thumb { background: #111; border-radius: 4px; }
h1, h2, h3, .nav-link { font-family: 'Space Grotesk', sans-serif; }
.tag { font-family: 'Space Grotesk', monospace; }
h1 { font-size: 7vw; line-height: 0.9; font-weight: 650; margin-bottom: 2rem; letter-spacing: -2px; }
.hero-desc { max-width: 550px; font-size: 1.1rem; line-height: 1.7; color: #444; background: rgba(255,255,255,0.95); border: var(--border); padding: 1.5rem; box-shadow: var(--shadow); backdrop-filter: blur(5px); }
nav { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 95%; max-width: 1400px; padding: 0.8rem 2rem; display: flex; justify-content: space-between; align-items: center; z-index: 100; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border: var(--border); border-radius: 50px; }
.logo { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -1px; }
.logo-subt { font-family: "Space Grotesk", sans-serif; font-weight: 400; font-size: 1rem; letter-spacing: -1px; }
.nav-center { display: flex; gap: 2.5rem; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: #555; text-decoration: none; transition: 0.2s; }
.nav-link:hover { color: #000; text-decoration: underline; }
.cta-btn { padding: 0.6rem 1.8rem; background: #111; color: #fff; border-radius: 50px; font-family: 'Space Grotesk'; font-weight: 500; font-size: 0.9rem; text-decoration: none; transition: 0.3s; }
.cta-btn:hover { background: #fff; color: #111; box-shadow: 0 0 0 1px #111; }
header { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; padding: 0 10%; position: relative; }
.marquee { position: absolute; bottom: 0; left: 0; width: 100%; background: #fff; border-top: var(--border); border-bottom: var(--border); padding: 12px 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: scroll 25s linear infinite; }
.marquee span { font-family: 'Space Grotesk'; font-weight: 500; font-size: 1rem; margin: 0 30px; text-transform: uppercase; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.terminal-section { padding: 6rem 10%; background: rgba(255,255,255,0.8); border-bottom: 1px solid #ddd; display: flex; justify-content: center; }
.terminal-window { width: 100%; max-width: 800px; background: #fff; border: var(--border); box-shadow: var(--shadow); border-radius: 6px; overflow: hidden; font-family: 'Courier New', monospace; }
.term-header { background: #f0f0f0; padding: 8px 15px; display: flex; gap: 6px; border-bottom: var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #111; }
.term-body { padding: 20px; height: 300px; overflow-y: auto; font-size: 0.9rem; color: #333; }
.input-line { display: flex; margin-top: 10px; }
.prompt { color: #111; font-weight: bold; margin-right: 10px; }
#py-input { border: none; outline: none; font-family: inherit; font-size: inherit; width: 100%; background: transparent; }
.lab-notes, .armory, .projects { padding: 8rem 10%; border-bottom: 1px solid #ddd; background: rgba(255,255,255,0.8); }
.section-title { font-size: 3.5rem; font-weight: 500; margin-bottom: 3rem; letter-spacing: -2px; }
.timeline { border-left: 1px solid #ccc; padding-left: 40px; position: relative; }
.log-entry { margin-bottom: 3rem; position: relative; }
.log-entry::before { content: ''; position: absolute; left: -45px; top: 6px; width: 9px; height: 9px; background: #fff; border: 2px solid #111; border-radius: 50%; }
.log-date { font-size: 0.85rem; font-weight: 600; color: #666; margin-bottom: 0.5rem; display: block; font-family: 'Space Grotesk'; }
.log-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; }
.log-desc { color: #555; line-height: 1.6; max-width: 600px; }
.armory-container { display: flex; flex-wrap: wrap; gap: 4rem; align-items: center; }
.left-col { flex: 1; min-width: 300px; height: 400px; position: relative; }
#icon-cloud-stage { width: 100%; height: 100%; position: relative; }
.cloud-icon { position: absolute; top: 50%; left: 50%; font-size: 2.2rem; color: #111; transition: 0.2s; }
.right-col { flex: 1; min-width: 300px; }
.stack-header { font-weight: 600; margin-bottom: 1rem; display: block; font-family: 'Space Grotesk'; }
.stack-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: #fff; border: 1px solid #ccc; border-radius: 4px; font-size: 0.8rem; font-weight: 600; color: #333; transition: 0.2s; }
.badge:hover { border-color: #111; background: #111; color: #fff; transform: translateY(-2px); }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.proj-card { background: #fff; border: var(--border); border-radius: 8px; transition: 0.2s; cursor: none; position: relative; }
.proj-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow); }
.card-content { padding: 2rem; }
.proj-tags { margin-bottom: 1rem; display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; padding: 4px 10px; border: 1px solid #000000; background: #f9f9f9; color: #666; }
.proj-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; font-weight: 600; }
.proj-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }
footer { padding: 4rem 10%; border-top: 1px solid #ddd; text-align: center; background: #fff; }
.socials { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; }
.s-icon { color: #111; font-size: 1.5rem; transition: 0.2s; cursor: none; }
.s-icon:hover { transform: scale(1.1); }
@media (max-width: 768px) {
    h1 { font-size: 14vw; }
    nav { width: 95%; padding: 0.8rem 1rem; top: 10px; }
    .nav-center { display: none; }
    .armory-container { flex-direction: column; }
    .left-col { height: 380px; width: 100%; order: -1; overflow: visible; }
    header { padding-top: 120px; }
    .section-title { font-size: 2.5rem; }
}
