@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Fira+Code:wght@300;400;500;600&display=swap');

/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */
:root {
    --bg:      #0a0a0f;
    --bg2:     #111118;
    --bg3:     #1a1a24;
    --cyan:    #00f5d4;
    --indigo:  #818cf8;
    --purple:  #a78bfa;
    --pink:    #f472b6;
    --green:   #34d399;
    --amber:   #fbbf24;
    --text:    #e2e8f0;
    --text2:   #94a3b8;
    --text3:   #64748b;
    --border:  rgba(255,255,255,0.08);
    --border2: rgba(0, 245, 212, 0.2);
    --mono: 'Fira Code', monospace;
    --sans: 'Inter', sans-serif;
    --glw: 0 0 24px rgba(0, 245, 212, 0.35);
}

/* ══ RESET ══ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:auto; }
body {
    font-family: var(--sans);
    background: #0a0a0f;
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    min-height: 100vh;
}
::selection { background: rgba(99,102,241,0.25); color:#fff; }
::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background: #08080d; }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius:4px; }

/* ══ CANVAS BACKGROUND ══ */
#canvas {
    position: fixed; inset: 0;
    width: 100vw; height: 100vh;
    z-index: 0; pointer-events: none;
    opacity: 0.8;
}

/* ══ GLOBAL BUTTONS ══ */
.btn-solid, .btn-ghost {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .875rem; font-weight: 600;
    padding: .7rem 1.5rem; border-radius: 7px;
    text-decoration: none; transition: all .25s;
    cursor: pointer;
}
.btn-solid { background: var(--cyan); color: #000; border: 1px solid var(--cyan); }
.btn-solid:hover { background: #fff; border-color: #fff; box-shadow: 0 0 15px rgba(0,245,212,.4); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* Digital Snap / Shake Effect */
.snap-active {
    animation: snap-jitter 0.18s steps(2) forwards;
}
@keyframes snap-jitter {
    0% { transform: translate(0, 0); filter: hue-rotate(0deg); }
    15% { transform: translate(-3px, 1px); filter: hue-rotate(90deg); text-shadow: 2px 0 var(--cyan), -2px 0 var(--indigo); }
    30% { transform: translate(3px, -2px); }
    45% { transform: translate(-2px, -3px); text-shadow: -2px 0 var(--cyan), 2px 0 var(--indigo); }
    60% { transform: translate(2px, 2px); }
    75% { transform: translate(-1px, -1px); }
    100% { transform: translate(0, 0); filter: hue-rotate(0deg); }
}

/* ══ LOADER ══ */
#loader {
    position: fixed; inset:0;
    background: #08080d;
    z-index: 9999;
    display: flex;
    align-items: center; justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
    overflow: hidden;
}
#loader.hidden { opacity:0; visibility:hidden; pointer-events:none; }

/* Subtle dot grid background */
.ld-grid {
    position: absolute; inset:0;
    background-image:
        radial-gradient(circle, rgba(99,102,241,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Corner bracket decorations */
.ld-corner {
    position: absolute;
    width: 28px; height: 28px;
}
.lc-tl { top:24px; left:24px; border-top:2px solid rgba(99,102,241,.4); border-left:2px solid rgba(99,102,241,.4); }
.lc-tr { top:24px; right:24px; border-top:2px solid rgba(99,102,241,.4); border-right:2px solid rgba(99,102,241,.4); }
.lc-bl { bottom:24px; left:24px; border-bottom:2px solid rgba(99,102,241,.4); border-left:2px solid rgba(99,102,241,.4); }
.lc-br { bottom:24px; right:24px; border-bottom:2px solid rgba(99,102,241,.4); border-right:2px solid rgba(99,102,241,.4); }

/* Center wrapper */
.ld-center {
    display: flex; flex-direction:column;
    align-items: center;
    gap: 1.2rem;
    position: relative; z-index:2;
}

/* Spinning shield ring */
.ld-ring {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: conic-gradient(var(--cyan) 0%, rgba(99,102,241,.15) 40%, transparent 70%);
    animation: ld-spin 2s linear infinite;
    display: flex; align-items:center; justify-content:center;
    position: relative;
}
.ld-ring-inner {
    position: absolute; inset:6px;
    border-radius:50%;
    background: var(--bg);
}
.ld-shield {
    position: relative; z-index:3;
    font-size: 1.8rem;
    color: var(--cyan);
    animation: ld-pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(99,102,241,.5));
}
@keyframes ld-spin  { 100% { transform:rotate(360deg); } }
@keyframes ld-pulse { 0%,100% { opacity:.8; } 50% { opacity:1; filter:drop-shadow(0 0 18px rgba(99,102,241,.9)); } }

/* Logo */
.ld-logo {
    font-family: var(--mono);
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}
.ld-logo span { color: var(--cyan); }

.ld-tagline {
    font-family: var(--mono);
    font-size: .6rem;
    color: var(--text3);
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Boot log lines */
.ld-log {
    display: flex; flex-direction:column; gap:.3rem;
    font-family: var(--mono); font-size:.72rem;
    margin-top: .3rem;
    text-align: left;
    min-width: 300px;
}
.ld-line {
    color: var(--text2);
    opacity: 0;
    animation: ld-fadein .3s ease forwards;
}
.ld-line:nth-child(1) { animation-delay:.3s; }
.ld-line:nth-child(2) { animation-delay:.75s; }
.ld-line:nth-child(3) { animation-delay:1.1s; }
.ll-ok { color: var(--green); margin-right:.4rem; }
@keyframes ld-fadein { to { opacity:1; } }

/* Progress bar */
.ld-bar-wrap {
    display: flex; align-items:center; gap:.8rem;
    margin-top:.4rem; width:300px;
}
.ld-bar {
    flex:1; height:2px;
    background: rgba(255,255,255,.06); border-radius:2px; overflow:hidden;
}
.ld-fill {
    height: 100%; width:0;
    background: linear-gradient(90deg, var(--cyan-d), var(--cyan));
    border-radius: 2px;
    animation: fill 1.4s cubic-bezier(.4,0,.2,1) forwards;
    box-shadow: 0 0 10px rgba(99,102,241,.5);
}
.ld-pct {
    font-family: var(--mono); font-size:.68rem;
    color: var(--cyan); width:28px; text-align:right;
}
@keyframes fill { to { width:100%; } }

/* ══════════════════════════════════════════
   NAV  
══════════════════════════════════════════ */
nav {
    position: fixed; top:0; width:100%;
    z-index: 500;
    display: flex; align-items:center; justify-content:space-between;
    padding: 1rem 6%;
    background: rgba(10,10,15,0.9);
    backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.logo .c { color: var(--cyan); }

.nav-links { display:flex; gap:2.2rem; list-style:none; }
.nav-links a {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text2);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color .25s;
    position: relative;
}
.nav-num { color: var(--cyan); font-size:0.7rem; margin-right:0.2rem; opacity:.7; }
.nav-links a::after {
    content:''; position:absolute; bottom:-3px; left:0;
    width:0; height:1px; background:var(--cyan);
    transition: width .25s;
}
.nav-links a:hover { color:#fff; }
.nav-links a:hover::after { width:100%; }
.nav-links a.active { color:#fff; }
.nav-links a.active::after { width:100%; }

.nav-cta {
    position: relative;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid var(--cyan);
    padding: .5rem 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    overflow: hidden;
    transition: all .3s ease;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.nav-cta::before {
    content:''; position:absolute; top:0; left:-100%;
    width:35%; height:100%;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.6), transparent);
    transform: skewX(-25deg);
    transition: all .5s ease;
}
.nav-cta:hover { 
    background: rgba(99,102,241,0.1); 
    box-shadow: 0 0 15px rgba(99,102,241,0.3);
    color: #fff;
}
.nav-cta:hover::before {
    left: 150%;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#home {
    min-height: 100vh;
    padding: 100px 6% 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}
/* inner wrapper aligns hero with all other sections */
.hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* macOS-style terminal bar */
.terminal-bar {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    border-radius: 8px 8px 0 0;
    padding: .55rem 1rem;
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--text2);
    margin-bottom: 0;
    width: fit-content;
    max-width: 460px;
}
.tb-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.tb-dot.r { background:#ff5f57; }
.tb-dot.y { background:#febc2e; }
.tb-dot.g { background:#28c840; }
.tb-title { flex:1; text-align:center; }
.tb-time { color:var(--cyan); margin-left:auto; font-size:.68rem; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1150px;
}
.hero-left {
    padding-top: 1rem;
}
.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-avail {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--green);
    background: rgba(61,220,132,.07);
    border: 1px solid rgba(61,220,132,.2);
    padding: .3rem .9rem;
    border-radius: 20px;
    margin-bottom: 1.6rem;
}
.pulse-dot {
    width:7px; height:7px; border-radius:50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }

.hero-name {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: .5rem;
}

/* Glitch effect */
.glitch {
    position: relative;
    display: inline-block;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    font-size: inherit; font-weight:inherit; letter-spacing:inherit;
}
.glitch::before { color:var(--cyan); clip-path:polygon(0 20%,100% 20%,100% 40%,0 40%); animation:g1 5s infinite; }
.glitch::after  { color:var(--indigo); clip-path:polygon(0 60%,100% 60%,100% 80%,0 80%); animation:g2 5s infinite; }
@keyframes g1 { 0%,89%,100%{transform:translate(0);opacity:0} 91%{transform:translate(-3px,1px);opacity:.7} 93%{transform:translate(3px,-1px);opacity:.7} 95%{transform:translate(0);opacity:0} }
@keyframes g2 { 0%,89%,100%{transform:translate(0);opacity:0} 92%{transform:translate(4px,-2px);opacity:.7} 94%{transform:translate(-3px,2px);opacity:.7} 96%{transform:translate(0);opacity:0} }

.cyan-accent { color: var(--cyan); }

.hero-role {
    display: flex;
    align-items: center;
    font-family: var(--mono);
    font-size: 1rem;
    color: var(--text2);
    margin-bottom: 1.4rem;
    min-height: 1.6rem;
}
.role-prompt { color:var(--cyan); margin-right:.4rem; }
.cursor { display:inline-block; background:var(--cyan); width:2px; height:1.1em; vertical-align:text-bottom; margin-left:1px; animation:blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
    font-size: .975rem;
    color: var(--text2);
    max-width: 520px;
    line-height: 1.85;
    margin-bottom: 2rem;
}
.hero-desc strong { color: var(--text); font-weight:600; }

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 2rem;
}
.hbadge {
    font-family: var(--mono);
    font-size: .72rem;
    padding: .3rem .85rem;
    border: 1px solid;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.hbadge.r { color:var(--indigo); border-color:rgba(129, 140, 248, 0.25); background:rgba(129, 140, 248, 0.07); }
.hbadge.c { color:var(--cyan); border-color:rgba(0, 245, 212, 0.25); background:rgba(0, 245, 212, 0.07); }
.hbadge.g { color:var(--green); border-color:rgba(52, 211, 153, 0.25); background:rgba(52, 211, 153, 0.07); }
.hbadge.a { color:var(--amber); border-color:rgba(251, 191, 36, 0.3); background:rgba(251, 191, 36, 0.09); }

.hero-btns { display:flex; gap:.9rem; flex-wrap:wrap; margin-bottom:2rem; }
.btn-solid {
    position: relative;
    display: inline-flex; align-items:center; gap:.55rem;
    background: var(--cyan); color: var(--bg);
    font-family: var(--mono); font-weight:700; font-size:.8rem; text-transform:uppercase; letter-spacing:1px;
    padding: .85rem 1.8rem;
    text-decoration:none; transition:all .3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    overflow: hidden;
}
.btn-solid::before {
    content:''; position:absolute; top:0; left:-100%; width:40%; height:100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg); transition: all .4s ease;
}
.btn-solid:hover { background:#fff; color:#0a0a0f; box-shadow: 0 0 25px rgba(99,102,241,0.5); transform: translateY(-2px); }
.btn-solid:hover::before { left:150%; }

.btn-ghost {
    position: relative;
    display: inline-flex; align-items:center; gap:.55rem;
    background: rgba(255,255,255,0.02); color: var(--text);
    font-family: var(--mono); font-size:.8rem; text-transform:uppercase; letter-spacing:1px;
    padding: .85rem 1.6rem;
    border: 1px solid var(--border);
    text-decoration:none; transition:all .3s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    overflow: hidden;
}
.btn-ghost::before {
    content:''; position:absolute; top:0; left:-100%; width:40%; height:100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg); transition: all .4s ease;
}
.btn-ghost:hover { border-color:var(--cyan); color:var(--cyan); background:rgba(0, 245, 212, 0.05); transform: translateY(-2px); box-shadow: 0 0 20px rgba(0, 245, 212, 0.15);}
.btn-ghost:hover::before { left:150%; }

.hero-socials { display:flex; gap:1.4rem; align-items:center; }
.hero-socials a { color:var(--text3); font-size:1.1rem; text-decoration:none; transition:all .25s; }
.hero-socials a:hover { color:var(--cyan); transform:translateY(-3px); }

/* ── RIGHT ── */
.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

/* ── HUD FRAME (Professional corner-bracket photo) ── */
.hud-frame {
    position: relative;
    width: 260px;
    height: 300px;
    flex-shrink: 0;
}

.hud-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: contrast(1.05) brightness(0.95);
}

/* Corner brackets */
.hud-corner {
    position: absolute;
    width: 18px; height: 18px;
    z-index: 3;
}
.hud-corner.tl { top: -2px; left: -2px; border-top: 2px solid rgba(129,140,248,0.6); border-left: 2px solid rgba(129,140,248,0.6); }
.hud-corner.tr { top: -2px; right: -2px; border-top: 2px solid rgba(129,140,248,0.6); border-right: 2px solid rgba(129,140,248,0.6); }
.hud-corner.bl { bottom: -2px; left: -2px; border-bottom: 2px solid rgba(129,140,248,0.6); border-left: 2px solid rgba(129,140,248,0.6); }
.hud-corner.br { bottom: -2px; right: -2px; border-bottom: 2px solid rgba(129,140,248,0.6); border-right: 2px solid rgba(129,140,248,0.6); }

/* Subtle scan line — one pass every 4s */
.scan-line {
    position: absolute;
    left: 0; top: -4%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(129,140,248,0.4), transparent);
    animation: scan 4s ease-in-out infinite;
    z-index: 4;
    pointer-events: none;
}
@keyframes scan {
    0%   { top: 0%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Bottom overlay strip */
.hud-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: .5rem .8rem;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    z-index: 3;
}
.hud-id {
    font-family: var(--mono);
    font-size: .65rem;
    color: var(--cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .85;
}

/* ID Panel */
.id-panel {
    width: 240px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.id-panel-head {
    background: rgba(0,0,0,0.3);
    padding:.6rem 1rem;
    font-family:var(--mono); font-size:.63rem;
    color:var(--text2); letter-spacing:1.5px;
    text-transform:uppercase;
    display:flex; justify-content:space-between; align-items:center;
    border-bottom:1px solid var(--border);
}
.id-panel-head .dot { width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 6px var(--green); animation:pulse 2s infinite; }
.id-rows { padding:.7rem 1rem; }
.id-row {
    display:flex; justify-content:space-between; align-items:center;
    padding:.4rem 0; border-bottom:1px solid rgba(255,255,255,.04);
}
.id-row:last-child { border-bottom:none; }
.id-k { font-family:var(--mono); font-size:.58rem; color:var(--text3); text-transform:uppercase; letter-spacing:1px; }
.id-v { font-family:var(--mono); font-size:.72rem; color:var(--text); }
.id-v.g { color:var(--green); }
.id-v.c { color:var(--cyan); }

/* scroll hint */
.scroll-hint {
    text-align:center;
    font-family:var(--mono); font-size:.7rem; color:var(--text3);
    display:flex; flex-direction:column; align-items:center; gap:.4rem;
    padding-top:2rem; position:relative; z-index:2;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ══════════════════════════════════════════
   SECTIONS (shared)
══════════════════════════════════════════ */
.section {
    padding: 5rem 6% 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; z-index:2;
}

.sec-label {
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .6rem;
}
.sec-label::before {
    content:''; display:inline-block;
    width:28px; height:1px;
    background:var(--cyan);
}

.sec-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 1.8rem;
}
.sec-title .c { color:var(--cyan); }

.section-divider {
    height:1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    position:relative; z-index:2;
}

/* ══ ABOUT ══ */
.about-wrap { max-width:780px; }
.teaser { font-size:1rem; color:var(--text2); line-height:1.85; margin-bottom:1.2rem; }
.teaser strong { color:var(--text); font-weight:600; }

/* About stats row */
.about-stats {
    display:flex; gap:2rem; flex-wrap:wrap;
    margin:1.5rem 0 1.2rem;
    padding:1.4rem;
    background: linear-gradient(145deg, rgba(17,17,24,0.9) 0%, rgba(10,10,15,0.95) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(99,102,241,0.3);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}
.about-stats:hover {
    border-top-color: var(--cyan);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 -3px 20px rgba(99,102,241,0.1);
    transform: translateY(-2px);
}
.as-item { text-align:center; flex:1; min-width:80px; }
.as-num { 
    font-family:var(--mono); font-size:1.6rem; font-weight:800; 
    color:var(--cyan); display:block;
    text-shadow: 0 0 15px rgba(99,102,241,0.4);
}
.as-lbl { 
    font-family:var(--mono); font-size:.65rem; color:var(--text2); 
    text-transform: uppercase; letter-spacing: 1px; margin-top:.4rem; 
}

.expand-block {
    max-height:0; overflow:hidden;
    transition:max-height .5s ease, opacity .4s ease;
    opacity:0;
}
.expand-block.open { max-height:600px; opacity:1; }
.expand-block p { font-size:.95rem; color:var(--text2); line-height:1.85; margin-bottom:1rem; }
.expand-block p strong { color:var(--cyan); font-weight:500; }

.facts {
    display:flex; flex-wrap:wrap; gap:.7rem;
    margin:1rem 0 1.4rem;
}
.fact {
    display:inline-flex; align-items:center; gap:.45rem;
    font-family:var(--mono); font-size:.75rem;
    color:var(--text2);
}
.fact i { color:var(--cyan); }

.rm-btn {
    display:inline-flex; align-items:center; gap:.5rem;
    font-family:var(--mono); font-size:.78rem;
    color:var(--cyan); background:transparent;
    border:1px solid rgba(0,245,212,.25);
    padding:.45rem 1.1rem; border-radius:4px;
    cursor:pointer; transition:all .25s;
}
.rm-btn i { transition:transform .3s; }
.rm-btn.on i { transform:rotate(180deg); }
.rm-btn:hover { background:var(--cyan-t); border-color:var(--cyan); }

/* ══ SKILLS ══ */
.tag-cloud { 
    display:flex; flex-wrap:wrap; gap:.8rem; margin-bottom:1.5rem; 
}
.tc-tag {
    display:inline-flex; align-items:center; gap:.5rem;
    font-family:var(--mono); font-size:.78rem; font-weight:500;
    padding:.45rem 1.1rem; border-radius:6px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(0,0,0,.3); color:var(--text2);
    transition:all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    cursor:default; position:relative; overflow:hidden;
}
.tc-tag::before {
    content:''; position:absolute; top:0; left:0; right:0; bottom:0;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,.1), transparent);
    transform: translateX(-100%);
    transition: transform .5s;
}
.tc-tag i { color:var(--cyan); opacity:.8; transition:transform .3s; }
.tc-tag:hover {
    border-color:var(--cyan);
    color:#fff;
    background:rgba(99,102,241,.08);
    box-shadow: 0 0 15px rgba(99,102,241,.2);
    transform:translateY(-2px);
}
.tc-tag:hover::before { transform: translateX(100%); }
.tc-tag:hover i { opacity:1; transform:scale(1.1); filter:drop-shadow(0 0 6px var(--cyan)); }

.skills-detail { max-height:0; overflow:hidden; opacity:0; transition:max-height .5s ease, opacity .4s ease; }
.skills-detail.open { max-height:1200px; opacity:1; }

.skills-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1.2rem; margin-top:1.4rem; }
.sk-card {
    background: linear-gradient(145deg, rgba(17,17,24,0.9) 0%, rgba(10,10,15,0.95) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(99,102,241,0.25);
    border-radius:10px; padding:1.5rem;
    transition:all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.sk-card:hover { 
    border-top-color: var(--cyan); 
    transform:translateY(-4px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 -2px 15px rgba(99,102,241,0.1);
}
.sk-head { display:flex; align-items:center; gap:.8rem; margin-bottom:1.3rem; }
.sk-ico { width:38px; height:38px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:1rem; }
.ico-c { background:rgba(99,102,241,.1); color:var(--cyan); }
.ico-p { background:rgba(167,139,250,.1); color:#a78bfa; }
.ico-g { background:rgba(52,211,153,.1); color:var(--green); }
.ico-r { background:rgba(244,114,182,.1); color:#f472b6; }
.sk-name { font-size:.9rem; font-weight:700; color:#fff; }
.sk-sub { font-family:var(--mono); font-size:.68rem; color:var(--text2); }

.bar-item { margin-bottom:.85rem; }
.bar-row { display:flex; justify-content:space-between; font-size:.78rem; margin-bottom:.3rem; }
.bar-row span:first-child { color:var(--text2); }
.bar-row span:last-child { font-family:var(--mono); font-size:.68rem; color:var(--text3); }
.bar-track { height:3px; background:rgba(255,255,255,.05); border-radius:3px; overflow:hidden; }
.bar-fill { height:100%; border-radius:3px; width:0; transition:width 1.4s cubic-bezier(.4,0,.2,1); }
.bc { background:linear-gradient(90deg,var(--cyan-d),var(--cyan)); }
.bp { background:linear-gradient(90deg,#5b21b6,#a78bfa); }
.bg { background:linear-gradient(90deg,#065f46,var(--green)); }
.br { background:linear-gradient(90deg,#9d174d,#ff6b9d); }

/* ══ PROJECTS ══ */
.proj-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:1.2rem; }
.proj-card {
    background: linear-gradient(145deg, rgba(17,17,24,0.9) 0%, rgba(10,10,15,0.95) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(99,102,241,0.25);
    border-radius: 12px; display: flex; flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.proj-card:hover { 
    border-color: rgba(99,102,241,0.25); 
    border-top: 1px solid var(--cyan);
    transform: translateY(-8px); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 -5px 30px rgba(99,102,241,0.12); 
}

.card-glow {
    position:absolute; inset:0; border-radius:12px; pointer-events:none;
    background:radial-gradient(500px circle at var(--mx,50%) var(--my,50%), rgba(99,102,241,.05) 0%, transparent 70%);
    opacity:0; transition:opacity .3s;
}
.proj-card:hover .card-glow { opacity:1; }

.p-head { padding:1.3rem 1.5rem 1rem; display:flex; align-items:center; justify-content:space-between; }
.p-ico { width:42px; height:42px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; }
.p-badge { font-family:var(--mono); font-size:.63rem; padding:.22rem .65rem; border-radius:20px; border:1px solid; }
.pb-live  { color:var(--green); border-color:rgba(61,220,132,.25); background:rgba(61,220,132,.07); }
.pb-live::before { content:'● '; animation:pulse 2s infinite; }
.pb-wip   { color:var(--amber); border-color:rgba(251,191,36,.25); background:rgba(251,191,36,.07); }
.pb-open  { color:var(--cyan); border-color:rgba(99,102,241,.25); background:var(--cyan-t); }

.p-body { padding:0 1.5rem 1.3rem; flex:1; }
.p-title {
    font-size:1.1rem; font-weight:700; color:#fff;
    text-decoration:none; display:inline-flex; align-items:center; gap:.45rem;
    margin-bottom:.55rem; transition:color .2s;
}
.p-title i { font-size:.6rem; color:var(--text3); }
.p-title:hover { color:var(--cyan); }

.p-short { font-size:.875rem; color:var(--text2); line-height:1.7; margin-bottom:.8rem; }

.p-more {
    display:none; font-size:.82rem; color:var(--text2); line-height:1.75;
    padding:.75rem; margin-bottom:1rem;
    background:rgba(0,0,0,.2); border-left:2px solid var(--cyan);
    border-radius:0 4px 4px 0;
}
.p-more.open { display:block; animation:fadedown .3s ease; }
@keyframes fadedown { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }

.p-tags { display:flex; flex-wrap:wrap; gap:.4rem; }
.ptag { 
    font-family:var(--mono); font-size:.65rem; font-weight: 500;
    padding:.3rem .7rem; border-radius:4px; 
    background: rgba(99,102,241,0.06); 
    color: var(--cyan); 
    border: 1px solid rgba(99,102,241,0.18); 
    box-shadow: inset 0 0 10px rgba(99,102,241,0.02);
}

.p-foot { padding:.9rem 1.5rem; border-top:1px solid var(--border); display:flex; align-items:center; gap:.8rem; flex-wrap:wrap; }
.p-link { font-family:var(--mono); font-size:.78rem; color:var(--cyan); text-decoration:none; display:inline-flex; align-items:center; gap:.4rem; transition:gap .2s; }
.p-link:hover { gap:.65rem; }
.p-link.dim { color:var(--text2); }
.p-link.dim:hover { color:var(--cyan); }
.p-more-btn { font-family:var(--mono); font-size:.68rem; color:var(--text2); background:transparent; border:1px solid var(--border); padding:.2rem .65rem; border-radius:4px; cursor:pointer; transition:all .2s; margin-left:auto; }
.p-more-btn:hover { border-color:var(--border2); color:var(--cyan); }

/* "View Full Details" link — styled like a button */
.p-more-btn-link {
    display:inline-flex; align-items:center; gap:.4rem;
    font-family:var(--mono); font-size:.78rem; text-transform: uppercase; letter-spacing: 1px;
    color:var(--cyan); text-decoration:none;
    border:1px solid rgba(99,102,241,.25);
    background: rgba(99,102,241,0.03);
    padding:.45rem 1rem;
    margin-left:auto; transition:all .3s cubic-bezier(0.4,0,0.2,1);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.p-more-btn-link:hover {
    background:rgba(99,102,241,.15);
    color: #fff;
    border-color:var(--cyan);
    box-shadow: 0 0 15px rgba(99,102,241,0.3);
    gap:.65rem;
}

/* ══ CONTACT ══ */
#contact { padding:6rem 6%; position:relative; z-index:2; }
.contact-box {
    max-width:640px; margin:0 auto;
    background: linear-gradient(145deg, rgba(17,17,24,0.9) 0%, rgba(10,10,15,0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-bottom: 2px solid var(--cyan);
    border-radius:16px; padding:3.5rem;
    text-align:center; position:relative; overflow:hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
.contact-box::before {
    content:''; position:absolute; top:-80px; left:-80px;
    width:250px; height:250px; border-radius:50%;
    background:radial-gradient(circle,rgba(99,102,241,.06) 0%,transparent 70%);
    pointer-events:none;
}
.contact-box::after {
    content:''; position:absolute; bottom:-80px; right:-80px;
    width:250px; height:250px; border-radius:50%;
    background:radial-gradient(circle,rgba(167,139,250,.06) 0%,transparent 70%);
    pointer-events:none;
}
.ct-tag { font-family:var(--mono); font-size:.73rem; color:var(--cyan); letter-spacing:3px; text-transform:uppercase; margin-bottom:1rem; position:relative; z-index:1; }
.ct-h { font-size:2.4rem; font-weight:800; color:#fff; letter-spacing:-.8px; margin-bottom:.8rem; position:relative; z-index:1; }
.ct-h .c { color:var(--cyan); }
.ct-p { color:var(--text2); font-size:.95rem; margin-bottom:2rem; position:relative; z-index:1; }
.ct-btns { display:flex; gap:.7rem; justify-content:center; flex-wrap:wrap; margin-bottom:1.8rem; position:relative; z-index:1; }
.ctb { display:inline-flex; align-items:center; gap:.5rem; font-size:.875rem; font-weight:600; padding:.7rem 1.5rem; border-radius:7px; text-decoration:none; transition:all .25s; }
.ctb.solid { background:var(--cyan); color:var(--bg); border:1px solid var(--cyan); }
.ctb.solid:hover { background:#fff; box-shadow:var(--glw); }
.ctb.out { background:transparent; color:var(--text); border:1px solid var(--border); }
.ctb.out:hover { border-color:var(--border2); color:var(--cyan); }
.thm-wrap { display:flex; justify-content:center; position:relative; z-index:1; }
.thm-wrap img { height:44px; border-radius:6px; opacity:.85; transition:opacity .2s; }
.thm-wrap img:hover { opacity:1; }

/* ══ FOOTER ══ */
footer {
    padding:1.5rem 6%;
    border-top:1px solid var(--border);
    display:flex; justify-content:space-between; align-items:center;
    font-family:var(--mono); font-size:.7rem; color:var(--text3);
    position:relative; z-index:2;
}

/* ══ ANIMATIONS ══ */
.fade-up { opacity:0; transform:translateY(22px); transition:opacity .65s ease, transform .65s ease; }
.fade-up.in { opacity:1; transform:translateY(0); }
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ══ CYBER CURSOR + CLICK SHAKE ══ */
/* Native OS pointer — JS injects all animation CSS dynamically */
a, button, .btn-solid, .btn-ghost, .ctb, .rm-btn, input, [onclick], label { cursor: pointer; }


/* Glow burst on hovered links */
a:hover, button:hover, .ctb:hover {
    position: relative;
}

/* ══ RESPONSIVE ══ */%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%229%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%2210%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%222%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%227%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%228%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%229%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2210%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2211%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%2212%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%222%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%227%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%228%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%229%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2210%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2212%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%222%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%227%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%229%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2210%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2212%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%222%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%227%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%228%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%229%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2210%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2212%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%220%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%222%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%227%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%228%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%229%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%220%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%222%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%225%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%227%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%228%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%229%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2211%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%220%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%222%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%225%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%227%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%228%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%229%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2211%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2212%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%221%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%222%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%223%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%225%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%227%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%228%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%229%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2211%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%222%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%224%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%225%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%226%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%227%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%228%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%229%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%2211%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%223%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%224%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%225%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%226%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%227%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%228%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%229%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%223%22%20y%3D%222%22%20width%3D%226%22%20height%3D%220.6%22%20fill%3D%22%23f472b6%22/%3E%3Crect%20x%3D%220%22%20y%3D%228%22%20width%3D%225%22%20height%3D%220.6%22%20fill%3D%22%2300f5d4%22/%3E%3Crect%20x%3D%226%22%20y%3D%229%22%20width%3D%228%22%20height%3D%220.6%22%20fill%3D%22black%22/%3E%3Crect%20x%3D%227%22%20y%3D%229%22%20width%3D%223%22%20height%3D%220.6%22%20fill%3D%22white%22/%3E%3Crect%20x%3D%227%22%20y%3D%2212%22%20width%3D%226%22%20height%3D%220.6%22%20fill%3D%22%23f472b6%22/%3E%3Crect%20x%3D%222%22%20y%3D%2214%22%20width%3D%225%22%20height%3D%220.6%22%20fill%3D%22%2300f5d4%22/%3E%3C/svg%3E");
        filter: brightness(1.2); z-index: 3; 
    }
    .g-ptr-layer.cyan { display: none; }
    .g-ptr-layer.indigo { display: none; }

    /* Animation States */
    .g-ptr-layer { animation: g-idle 4s steps(2) infinite; }
    .cyan { animation-delay: 0.1s; }
    .indigo { animation-delay: 0.2s; }

    @keyframes g-idle {
        0%, 100% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
        5% { transform: translate(-1px, 1px); clip-path: inset(10% 0 40% 0); }
        10% { transform: translate(1px, -1px); clip-path: inset(60% 0 10% 0); }
        15% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
    }

    #g-ptr-container.hover .g-ptr-layer {
        animation-duration: 0.15s;
        filter: brightness(1.5) contrast(1.2);
    }
    #g-ptr-container.hover .cyan { transform: translate(-3px, 2px); }
    #g-ptr-container.hover .indigo { transform: translate(3px, -2px); }
}

/* ══ RESPONSIVE ══ */
@media (768px <= width <= 992px) {
    #nav { gap:1.2rem; padding: 0 4%; }
    .nav-links { gap:1rem; }
    .logo { font-size: 0.9rem; }
}
@media (max-width:960px) { 
    .hero-grid { grid-template-columns:1fr; } 
    .hero-left { order: 2; }
    .hero-right { order: 1; display:flex; flex-direction:column; align-items:center; margin-bottom: 2rem; }
    .hud-frame { width:240px; height:240px; margin: 0 auto; } 
    .id-panel { margin-top: 1.5rem; width: 240px; display: block; }
    .hud-id { font-size: 0.55rem; letter-spacing: 1px; white-space: nowrap; }
}
@media (max-width:640px) { .nav-links { display:none; } .sec-title { font-size:1.8rem; } .proj-grid { grid-template-columns:1fr; } .ct-h { font-size:1.9rem; } .contact-box { padding:2rem 1.5rem; } footer { flex-direction:column; gap:.5rem; text-align:center; } }
/* -- CASE STUDY & ABOUT GRIDS -- */
.cs-grid, .ap-grid, .pf-inner { display: grid; gap: 2.5rem; align-items: start; }

@media (min-width: 992px) {
    .cs-grid, .ap-grid, .pf-inner { grid-template-columns: 1fr 320px; }
}
@media (max-width: 991px) {
    .cs-grid, .ap-grid, .pf-inner { grid-template-columns: 1fr; }
}
/* -- LOADER COMPARTMENT -- */
#loader { background: #040912; z-index: 99999; }
.ld-bg-dots { position:absolute; inset:0; background-image:radial-gradient(rgba(0,245,212,0.10) 1px, transparent 1px); background-size:36px 36px; pointer-events:none; z-index:0; }
.ld-bg-glow { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:700px; height:400px; background:radial-gradient(ellipse, rgba(0,245,212,0.06) 0%, transparent 70%); pointer-events:none; z-index:0; }
.ld-scanlines { position:absolute; inset:0; background:repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.12) 2px, rgba(0,0,0,0.12) 4px); pointer-events:none; z-index:1; }

.ld-hud-corner { position:absolute; z-index:5; }
.ld-hud-corner.l-tl { top:20px; left:20px; }
.ld-hud-corner.l-tr { top:20px; right:20px; text-align:right; }
.ld-hud-corner.l-bl { bottom:20px; left:20px; }
.ld-hud-corner.l-br { bottom:20px; right:20px; text-align:right; }

.ld-hud-box { width:50px; height:50px; }
.ld-hud-corner.l-tl .ld-hud-box { border-top:2px solid var(--cyan); border-left:2px solid var(--cyan); }
.ld-hud-corner.l-tr .ld-hud-box { border-top:2px solid var(--cyan); border-right:2px solid var(--cyan); margin-left:auto; }
.ld-hud-corner.l-bl .ld-hud-box { border-bottom:2px solid var(--cyan); border-left:2px solid var(--cyan); }
.ld-hud-corner.l-br .ld-hud-box { border-bottom:2px solid var(--cyan); border-right:2px solid var(--cyan); margin-left:auto; }

.ld-hud-text { font-family:var(--mono); font-size:0.6rem; color:rgba(0,245,212,0.5); letter-spacing:1px; margin-top:4px; }
.ld-hud-corner.l-bl .ld-hud-text, .ld-hud-corner.l-br .ld-hud-text { margin-top:0; margin-bottom:4px; }

.ld-h-rule { position:absolute; left:80px; right:80px; height:1px; background:linear-gradient(90deg, transparent, rgba(0,245,212,0.15), transparent); z-index:2; }
.ld-h-rule.top { top:76px; }
.ld-h-rule.bot { bottom:76px; }

#ld-terminal { position:relative; z-index:10; width:min(580px, 92vw); font-family:var(--mono); }
.ld-term-top { background:rgba(12,18,32,0.9); border:1px solid rgba(0,245,212,0.12); border-bottom:1px solid rgba(0,245,212,0.06); border-radius:10px 10px 0 0; padding:0.75rem 1.2rem; display:flex; align-items:center; gap:0.55rem; }
.ld-mac-btn { width:12px; height:12px; border-radius:50%; display:inline-block; }
.ld-mac-btn.r { background:#ff5f57; box-shadow:0 0 6px #ff5f57; }
.ld-mac-btn.y { background:#febc2e; }
.ld-mac-btn.g { background:#28c840; box-shadow:0 0 6px #28c840; }
.ld-term-title { margin-left:auto; font-size:0.62rem; color:rgba(0,245,212,0.35); letter-spacing:2px; font-family:var(--mono); }

.ld-term-body { background:rgba(4,9,18,0.92); border:1px solid rgba(0,245,212,0.12); border-top:none; border-radius:0 0 10px 10px; padding:2rem 2.2rem; backdrop-filter:blur(20px); box-shadow:0 0 60px rgba(0,245,212,0.06), 0 40px 100px rgba(0,0,0,0.9); }
#ld-boot-lines { font-size:0.8rem; line-height:2; color:var(--text2); }
.ld-divider { height:1px; background:linear-gradient(90deg, transparent, rgba(0,245,212,0.2), transparent); margin:1.4rem 0; }

#ld-input-wrap { opacity:0; transition:opacity 0.6s ease; }
.ld-sys-msg { font-size:0.65rem; color:rgba(0,245,212,0.6); letter-spacing:3px; text-transform:uppercase; margin-bottom:0.8rem; font-family:var(--mono); }
.ld-input-row { display:flex; align-items:center; gap:0.7rem; border-bottom:1.5px solid rgba(0,245,212,0.35); padding-bottom:0.5rem; }
#ld-name-input { flex:1; background:transparent; border:none; outline:none; color:#fff; font-family:var(--mono); font-size:1rem; caret-color:var(--cyan); letter-spacing:1px; }

#ld-scan-phase { display:none; margin-top:0.5rem; }
#ld-scan-lines { font-family:var(--mono); font-size:0.78rem; line-height:2.1; color:var(--text2); }
.ld-scan-bar-bg { margin-top:1.2rem; height:2px; background:rgba(255,255,255,0.05); border-radius:4px; overflow:hidden; position:relative; }
#ld-scan-bar { position:absolute; top:0; left:0; height:100%; width:0%; background:linear-gradient(90deg, var(--cyan), #a78bfa); border-radius:4px; transition: width 0.3s ease; }
#ld-scan-pct { font-family:var(--mono); font-size:0.6rem; color:rgba(0,245,212,0.5); text-align:right; margin-top:0.3rem; }

#ld-granted { display:none; margin-top:0.4rem; animation: ld-fadein 0.4s ease forwards; }
.ld-granted-box { position:relative; overflow:hidden; background: linear-gradient(135deg, rgba(0,245,212,0.06) 0%, rgba(0,0,0,0.3) 100%); border: 1px solid rgba(0,245,212,0.3); border-radius: 8px; padding: 1.6rem 1.8rem; box-shadow: 0 0 40px rgba(0,245,212,0.08), inset 0 0 40px rgba(0,245,212,0.02); }
.ld-granted-blob { position:absolute; right:-40px; top:-40px; width:180px; height:180px; background:radial-gradient(circle, rgba(0,245,212,0.08), transparent 70%); pointer-events:none; }
.hud-photo, .ap-photo {
    filter: contrast(1.05) brightness(1.0) saturate(1.1);
    mix-blend-mode: normal;
    opacity: 1;
    transition: filter 0.4s ease, transform 0.4s ease;
}
.hud-photo:hover {
    filter: contrast(1.1) brightness(1.05) saturate(1.2);
    transform: scale(1.02);
}



