/* ============================================
   NikhilOS — Enhanced Stylesheet v2
   Dark · Glassmorphism · Neon · OS Dashboard
   ============================================ */

/* ---- RESET ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ---- ROOT TOKENS ---- */
:root {
  --c:       #050714;
  --c2:      #080b18;
  --cyan:    #00f0ff;
  --cyan2:   #00c8d4;
  --purple:  #8b5cf6;
  --purple2: #6d28d9;
  --green:   #10ffb0;
  --green2:  #00cc8a;
  --orange:  #ff8c00;
  --blue:    #38bdf8;
  --pink:    #f472b6;
  --surf:    rgba(255,255,255,0.04);
  --surf2:   rgba(255,255,255,0.07);
  --bdr:     rgba(255,255,255,0.08);
  --bdr-c:   rgba(0,240,255,0.18);
  --text:    #dde6f7;
  --tdim:    #6b7fa8;
  --tmuted:  #3d4d6b;
  --fmono:   'JetBrains Mono', monospace;
  --fhead:   'Orbitron', sans-serif;
  --fbody:   'Inter', sans-serif;
  --r:       14px;
  --rl:      20px;
  --tr:      0.3s cubic-bezier(0.4,0,0.2,1);
  --glow-c:  0 0 20px rgba(0,240,255,0.35), 0 0 60px rgba(0,240,255,0.12);
  --glow-p:  0 0 20px rgba(139,92,246,0.4), 0 0 60px rgba(139,92,246,0.15);
  --glow-g:  0 0 20px rgba(16,255,176,0.3);
}

body {
  font-family: var(--fbody);
  background: var(--c);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
#cx-dot {
  position: fixed; z-index: 99999;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(0,240,255,0.4);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
#cx-ring {
  position: fixed; z-index: 99998;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,240,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: transform 0.12s ease, width 0.25s, height 0.25s, border-color 0.25s;
}
body:has(button:hover) #cx-dot, body:has(a:hover) #cx-dot { width:12px; height:12px; }
body:has(button:hover) #cx-ring, body:has(a:hover) #cx-ring { width:52px; height:52px; border-color: rgba(0,240,255,0.8); }
@media (max-width: 768px) { #cx-dot, #cx-ring { display: none; } body { cursor: auto; } }

/* ============================================
   BOOT SCREEN
   ============================================ */
#boot {
  position: fixed; inset: 0; z-index: 9999;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s;
  overflow: hidden;
}
#boot.boot-exit { opacity: 0; visibility: hidden; pointer-events: none; }

.boot-bg-anim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,240,255,0.04) 0%, transparent 70%);
  animation: bootPulse 2s ease-in-out infinite alternate;
}
@keyframes bootPulse { from { opacity: 0.5; } to { opacity: 1; } }

.boot-center {
  text-align: center;
  width: min(640px, 92vw);
  position: relative; z-index: 1;
}
.boot-hex-icon { margin-bottom: 1.2rem; animation: spinSlow 8s linear infinite; display: inline-block; }
.boot-title {
  font-family: var(--fhead);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 900;
  color: var(--cyan);
  text-shadow: var(--glow-c);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  animation: bootTitleIn 0.6s ease forwards;
}
@keyframes bootTitleIn { from { opacity:0; transform: scale(0.9); } to { opacity:1; transform:none; } }
.boot-build { font-family: var(--fmono); font-size: 0.65rem; color: var(--tmuted); letter-spacing: 0.2em; margin-bottom: 1.5rem; }

.boot-log-box {
  background: rgba(0,240,255,0.02);
  border: 1px solid rgba(0,240,255,0.1);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  min-height: 8rem;
  max-height: 8rem;
  overflow: hidden;
  margin-bottom: 1.4rem;
  text-align: left;
}
.boot-log { font-family: var(--fmono); font-size: 0.72rem; color: var(--green); line-height: 1.7; }
.bl-line { animation: fadeUp 0.3s ease forwards; margin-bottom: 0.2rem; }
@keyframes fadeUp { from { opacity:0; transform: translateY(4px); } to { opacity:1; transform:none; } }

.boot-bar-wrap { display: flex; align-items: center; gap: 0.8rem; }
.boot-bar-track { flex: 1; height: 3px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.boot-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--cyan), var(--purple)); border-radius: 99px; box-shadow: 0 0 10px var(--cyan); transition: width 0.25s ease; }
.boot-pct { font-family: var(--fmono); font-size: 0.65rem; color: var(--tdim); min-width: 2.5rem; text-align: right; }

/* ============================================
   OS SHELL
   ============================================ */
.shell-hidden { display: none; }
#shell { min-height: 100vh; position: relative; padding-top: 60px; }

/* ---- AMBIENT BACKGROUND ---- */
.ambient-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.aurora { position: absolute; inset: 0; overflow: hidden; }
.ab {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: auroraDrift linear infinite;
}
.ab1 { width: 700px; height: 500px; background: var(--cyan); top: -10%; left: -10%; animation-duration: 18s; }
.ab2 { width: 600px; height: 600px; background: var(--purple); top: 30%; right: -15%; animation-duration: 22s; animation-direction: reverse; }
.ab3 { width: 500px; height: 400px; background: var(--green); bottom: -10%; left: 30%; animation-duration: 26s; }
@keyframes auroraDrift {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(40px,-30px) scale(1.05); }
  66%  { transform: translate(-20px,40px) scale(0.97); }
  100% { transform: translate(0,0) scale(1); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,240,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,240,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.crt-lines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 4px);
  pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 1.5rem;
  background: rgba(5,7,20,0.8);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--bdr);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.5rem;
  cursor: pointer; flex-shrink: 0;
  font-family: var(--fhead);
  user-select: none;
}
.nb-name { font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: 0.06em; }
.nb-ver  { font-family: var(--fmono); font-size: 0.6rem; color: var(--tdim); margin-left: 0.3rem; }

.nav-list {
  display: flex; align-items: center; gap: 0.15rem;
  list-style: none; flex: 1;
}
.ni {
  font-family: var(--fmono); font-size: 0.68rem;
  letter-spacing: 0.08em; color: var(--tdim);
  padding: 0.4rem 0.8rem; border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer; transition: var(--tr); white-space: nowrap;
  user-select: none;
}
.ni:hover { color: var(--cyan); background: rgba(0,240,255,0.06); border-color: var(--bdr-c); }
.ni.active {
  color: var(--cyan); background: rgba(0,240,255,0.09); border-color: rgba(0,240,255,0.3);
  text-shadow: 0 0 12px rgba(0,240,255,0.5);
}

.nav-right { display: flex; align-items: center; gap: 1rem; margin-left: auto; flex-shrink: 0; }
.nr-clock { font-family: var(--fmono); font-size: 0.75rem; color: var(--cyan); letter-spacing: 0.1em; text-shadow: 0 0 8px rgba(0,240,255,0.4); }
.nr-status { display: flex; align-items: center; gap: 0.4rem; font-family: var(--fmono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--green); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--cyan); border-radius: 2px; transition: var(--tr); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* DRAWER */
.drawer {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: rgba(5,7,20,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--bdr);
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 1rem;
}
.drawer.open { transform: translateY(0); }
.drawer ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.drawer li { font-family: var(--fmono); font-size: 0.8rem; color: var(--tdim); padding: 0.8rem 1rem; border-radius: 8px; cursor: pointer; transition: var(--tr); letter-spacing: 0.08em; }
.drawer li:hover { color: var(--cyan); background: rgba(0,240,255,0.06); }
.drawer-backdrop { position: fixed; inset: 0; z-index: 98; display: none; }
.drawer-backdrop.show { display: block; }

/* ============================================
   SECTIONS
   ============================================ */
#main { position: relative; z-index: 2; }
.section { display: none; min-height: calc(100vh - 60px); padding: 3rem 0 2.5rem; }
.section.s-active { display: block; animation: secIn 0.5s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes secIn { from { opacity: 0; transform: translateY(24px) scale(0.99); } to { opacity: 1; transform: none; } }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

.sec-hdr { margin-bottom: 2.5rem; }
.sec-tag { font-family: var(--fmono); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--cyan); display: block; margin-bottom: 0.5rem; opacity: 0.8; }
.sec-title { font-family: var(--fhead); font-size: clamp(1.7rem,4vw,2.5rem); font-weight: 700; color: #fff; letter-spacing: 0.04em; }
.sec-line { margin-top: 0.8rem; height: 2px; width: 72px; background: linear-gradient(90deg, var(--cyan), transparent); border-radius: 99px; }

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
  background: var(--surf);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--bdr);
  border-radius: var(--rl);
  position: relative; overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.glass-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.25), transparent);
}
.glass-card:hover { border-color: rgba(0,240,255,0.22); box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 0 30px rgba(0,240,255,0.06); }

/* TILT CARD (JS enhanced) */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* ============================================
   PULSE DOT
   ============================================ */
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2s ease infinite; flex-shrink: 0; }
.blue-dot   { background: var(--blue);   box-shadow: 0 0 8px var(--blue); }
.purple-dot { background: var(--purple); box-shadow: 0 0 8px var(--purple); }
.orange-dot { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
@keyframes pulse { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.5); opacity:0.6; } }

/* ============================================
   HOME / HERO
   ============================================ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  min-height: calc(100vh - 120px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--fmono); font-size: 0.65rem; letter-spacing: 0.1em;
  color: var(--green); border: 1px solid rgba(16,255,176,0.25);
  background: rgba(16,255,176,0.05);
  padding: 0.4rem 0.9rem; border-radius: 99px;
  margin-bottom: 1.5rem;
}
.hb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2s ease infinite; }

.hero-name {
  font-family: var(--fhead); font-weight: 900;
  line-height: 1; margin-bottom: 0.8rem;
}
.hn-line1 { display: block; font-size: clamp(2.5rem, 7vw, 5rem); color: #fff; letter-spacing: 0.04em; }
.hn-line2 { display: block; font-size: clamp(2.5rem, 7vw, 5rem); color: var(--cyan); text-shadow: var(--glow-c); letter-spacing: 0.04em; }

.hero-role { display: flex; align-items: center; gap: 0.5rem; font-family: var(--fmono); font-size: 0.9rem; color: var(--tdim); margin-bottom: 1rem; }
.hr-bracket { color: var(--cyan); opacity: 0.5; }
.hr-text { color: var(--text); }

.hero-typed { display: flex; align-items: center; gap: 0.5rem; font-family: var(--fmono); font-size: 0.85rem; margin-bottom: 1.5rem; min-height: 1.5rem; }
.hty-arrow { color: var(--cyan); }
.hty-text  { color: var(--green); }
.hty-cur   { color: var(--cyan); animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero-desc { font-size: 0.9rem; color: var(--tdim); line-height: 1.75; margin-bottom: 2rem; max-width: 460px; }

/* BUTTONS */
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--fmono); font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--c); background: var(--cyan);
  padding: 0.75rem 1.5rem; border-radius: 10px; border: none;
  cursor: pointer; font-weight: 600;
  box-shadow: 0 0 20px rgba(0,240,255,0.3);
  transition: var(--tr); position: relative; overflow: hidden;
}
.btn-primary:hover { background: #26f5ff; box-shadow: 0 0 35px rgba(0,240,255,0.5); transform: translateY(-2px); }
.btn-primary.sm { font-size: 0.72rem; padding: 0.6rem 1.1rem; }

.btn-ghost, .btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--fmono); font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--cyan); background: transparent;
  padding: 0.75rem 1.5rem; border-radius: 10px;
  border: 1px solid rgba(0,240,255,0.35);
  cursor: pointer;
  transition: var(--tr); position: relative; overflow: hidden;
}
.btn-ghost:hover, .btn-outline:hover { background: rgba(0,240,255,0.08); box-shadow: var(--glow-c); transform: translateY(-2px); }

/* RIPPLE */
.ripple-el { position: relative; overflow: hidden; }
.ripple-el .ripple-wave {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: scale(0); animation: rippleAnim 0.6s ease;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* HERO METRICS */
.hero-metrics { display: flex; align-items: center; gap: 1.5rem; }
.hm-item { text-align: center; }
.hm-val { font-family: var(--fhead); font-size: 2rem; font-weight: 900; color: var(--cyan); text-shadow: var(--glow-c); line-height: 1; }
.hm-label { font-family: var(--fmono); font-size: 0.6rem; color: var(--tmuted); letter-spacing: 0.1em; margin-top: 0.3rem; }
.hm-div { width: 1px; height: 40px; background: var(--bdr); }

/* HERO ORB */
.hero-right { display: flex; align-items: center; justify-content: center; }
.orb-scene {
  position: relative;
  width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.orb-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,240,255,0.15);
  display: flex; align-items: flex-start; justify-content: center;
  animation: orbitSpin linear infinite;
}
.o1 { width: 200px; height: 200px; animation-duration: 8s; border-color: rgba(0,240,255,0.2); }
.o2 { width: 290px; height: 290px; animation-duration: 14s; animation-direction: reverse; border-style: dashed; }
.o3 { width: 370px; height: 370px; animation-duration: 20s; border-color: rgba(139,92,246,0.15); }
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.orb-sat {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  font-size: 1.3rem;
  animation: counterSpin linear infinite;
  filter: drop-shadow(0 0 8px rgba(0,240,255,0.6));
}
.o1 .orb-sat { animation-duration: 8s; }
.o2 .orb-sat { animation-duration: 14s; animation-direction: normal; }
.o3 .orb-sat { animation-duration: 20s; animation-direction: reverse; }
@keyframes counterSpin { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(-360deg); } }

.orb-core {
  position: relative; z-index: 2;
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px solid rgba(0,240,255,0.5);
  background: radial-gradient(circle, rgba(0,240,255,0.12), rgba(139,92,246,0.07));
  box-shadow: var(--glow-c);
}
.oc-pulse {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(0,240,255,0.2);
  animation: orbPulse 2.5s ease infinite;
}
@keyframes orbPulse { 0%,100% { transform:scale(1); opacity:0.5; } 50% { transform:scale(1.1); opacity:0.15; } }
.oc-glow { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(0,240,255,0.15), transparent); }
.oc-label { font-family: var(--fhead); font-size: 1.4rem; font-weight: 900; color: var(--cyan); text-shadow: var(--glow-c); line-height: 1; position: relative; z-index: 1; }
.oc-sub { font-family: var(--fmono); font-size: 0.55rem; color: var(--tdim); letter-spacing: 0.15em; position: relative; z-index: 1; }

/* FLOATING CHIPS */
.chip {
  position: absolute; font-family: var(--fmono); font-size: 0.65rem;
  color: var(--cyan); border: 1px solid rgba(0,240,255,0.25);
  background: rgba(0,240,255,0.06);
  padding: 0.3rem 0.6rem; border-radius: 6px;
  animation: chipFloat ease-in-out infinite alternate;
}
.c1 { top: 12%; left: 5%;  animation-duration: 3.2s; }
.c2 { top: 12%; right: 5%; animation-duration: 4.1s; color: var(--purple); border-color: rgba(139,92,246,0.3); background: rgba(139,92,246,0.06); }
.c3 { bottom: 12%; left: 5%;  animation-duration: 3.7s; color: var(--green); border-color: rgba(16,255,176,0.3); background: rgba(16,255,176,0.06); }
.c4 { bottom: 12%; right: 5%; animation-duration: 4.5s; }
@keyframes chipFloat { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.about-id {
  grid-row: 1 / 3;
  padding: 2rem 1.4rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  text-align: center;
}
.aid-avatar { position: relative; width: 100px; height: 100px; }
.ava-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(0,240,255,0.4);
}
.r-out { inset: 0; animation: spinSlow 8s linear infinite; }
.r-out::after { content:''; position:absolute; top:0; left:50%; width:8px; height:8px; background:var(--cyan); border-radius:50%; transform:translateX(-50%) translateY(-50%); box-shadow:0 0 8px var(--cyan); }
.r-in { inset: 12px; border-style: dashed; animation: spinSlow 5s linear infinite reverse; opacity: 0.5; }
.ava-core {
  position: absolute; inset: 20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,240,255,0.15), rgba(139,92,246,0.1));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fhead); font-size: 1.4rem; font-weight: 900;
  color: var(--cyan); text-shadow: var(--glow-c);
}
.aid-online { font-family: var(--fmono); font-size: 0.6rem; color: var(--green); letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.4rem; }
.aid-name { font-family: var(--fhead); font-size: 1.1rem; color: #fff; }
.aid-role { font-size: 0.78rem; color: var(--cyan); }
.aid-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.atag {
  font-family: var(--fmono); font-size: 0.58rem; letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem; border-radius: 4px;
  background: rgba(0,240,255,0.06); border: 1px solid rgba(0,240,255,0.18); color: var(--cyan);
}
.atag.t-green  { color: var(--green);  border-color: rgba(16,255,176,0.25); background: rgba(16,255,176,0.05); }
.atag.t-purple { color: var(--purple); border-color: rgba(139,92,246,0.25); background: rgba(139,92,246,0.05); }
.aid-socials { display: flex; gap: 0.8rem; margin-top: 0.5rem; }
.solink { color: var(--tdim); transition: var(--tr); border: 1px solid var(--bdr); padding: 0.4rem; border-radius: 8px; display: flex; }
.solink:hover { color: var(--cyan); border-color: var(--bdr-c); transform: translateY(-2px); }

/* ABOUT SPECS */
.about-specs { padding: 1.5rem; }
.panel-hdr { font-family: var(--fmono); font-size: 0.75rem; color: var(--cyan); letter-spacing: 0.15em; margin-bottom: 1.2rem; }
.ph-b { opacity: 0.5; }
.spec-rows { display: flex; flex-direction: column; }
.sr { display: flex; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--bdr); font-family: var(--fmono); font-size: 0.75rem; }
.sr:last-child { border-bottom: none; }
.sk { color: var(--tmuted); font-size: 0.65rem; letter-spacing: 0.09em; min-width: 130px; flex-shrink: 0; }
.sv { color: var(--text); }
.sv-cyan   { color: var(--cyan); }
.sv-purple { color: var(--purple); }
.sv-green  { color: var(--green); }
.sv-mission { color: var(--cyan); text-shadow: 0 0 10px rgba(0,240,255,0.4); }

/* ABOUT BIO */
.about-bio { display: flex; flex-direction: column; }
.term-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--bdr); background: rgba(0,0,0,0.2); }
.tbd { width: 11px; height: 11px; border-radius: 50%; }
.tbd.r { background: #ff5f57; } .tbd.y { background: #ffbd2e; } .tbd.g { background: #28ca41; }
.tb-title { font-family: var(--fmono); font-size: 0.67rem; color: var(--tmuted); margin-left: 0.3rem; }
.bio-body { padding: 1.4rem; font-family: var(--fmono); font-size: 0.78rem; line-height: 1.85; color: var(--tdim); }
.bio-cmt { color: var(--tmuted); }
.hl { font-weight: 500; }
.hl.cyan   { color: var(--cyan); }
.hl.purple { color: var(--purple); }
.hl.green  { color: var(--green); }

/* ============================================
   PROJECTS / MODULES
   ============================================ */
.modules-layout { display: flex; flex-direction: column; gap: 1.5rem; }

/* FLAGSHIP */
.flagship {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; padding: 2rem;
  border-color: rgba(0,240,255,0.2);
  background: linear-gradient(135deg, rgba(0,240,255,0.03), rgba(139,92,246,0.03));
  box-shadow: 0 0 40px rgba(0,240,255,0.05);
}
.fs-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--fmono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--cyan); border: 1px solid rgba(0,240,255,0.3); background: rgba(0,240,255,0.06); padding: 0.25rem 0.7rem; border-radius: 99px; margin-bottom: 0.5rem; }
.fs-id { font-family: var(--fmono); font-size: 0.6rem; color: var(--tmuted); letter-spacing: 0.12em; margin-bottom: 0.8rem; }
.fs-icon { font-size: 2.4rem; margin-bottom: 0.8rem; }
.fs-name { font-family: var(--fhead); font-size: 1.4rem; color: #fff; margin-bottom: 0.7rem; }
.fs-desc { font-size: 0.83rem; color: var(--tdim); line-height: 1.7; margin-bottom: 1rem; }
.fs-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.fs-tags span { font-family: var(--fmono); font-size: 0.6rem; padding: 0.2rem 0.55rem; border-radius: 4px; color: var(--cyan); border: 1px solid rgba(0,240,255,0.2); background: rgba(0,240,255,0.05); }
.fs-footer { display: flex; align-items: center; gap: 1rem; }
.fs-meta { display: flex; gap: 0.8rem; font-family: var(--fmono); font-size: 0.65rem; color: var(--tdim); }

/* FLAGSHIP SCREEN */
.fs-right { display: flex; flex-direction: column; gap: 1rem; }
.fs-screen {
  flex: 1; border-radius: 10px;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(0,240,255,0.15);
  overflow: hidden;
}
.fss-bar { display: flex; gap: 0.4rem; align-items: center; padding: 0.5rem 0.8rem; border-bottom: 1px solid rgba(0,240,255,0.1); }
.fss-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(0,240,255,0.15); }
.fss-body { padding: 0.8rem 1rem; font-family: var(--fmono); font-size: 0.7rem; line-height: 2; }
.l-green { color: var(--green); } .l-cyan { color: var(--cyan); } .l-purple { color: var(--purple); }
.fss-seq-line { opacity: 0; animation: fadeUp 0.4s ease forwards; }
.fss-seq-line.dl1 { animation-delay: 0.3s; }
.fss-seq-line.dl2 { animation-delay: 0.8s; }
.fss-seq-line.dl3 { animation-delay: 1.3s; }
.fss-seq-line.dl4 { animation-delay: 1.8s; }
.fss-seq-line.dl5 { animation-delay: 2.3s; }

/* RING STAT */
.fs-ring-stat { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.frs-wrap { position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.frs-svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.frs-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 6; }
.frs-fill { fill: none; stroke: url(#ringGrad); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 213.6; transition: stroke-dashoffset 1.5s ease; }
.frs-val { font-family: var(--fhead); font-size: 1rem; font-weight: 700; color: var(--cyan); position: relative; z-index: 1; }
.frs-label { font-family: var(--fmono); font-size: 0.6rem; color: var(--tmuted); letter-spacing: 0.1em; }

/* MOD GRID */
.mods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.mod { padding: 1.4rem; transition: var(--tr), transform var(--tr); }
.mod:hover { transform: translateY(-4px); box-shadow: 0 12px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,240,255,0.07); }
.mod-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mod-id { font-family: var(--fmono); font-size: 0.6rem; color: var(--tmuted); letter-spacing: 0.1em; }
.mod-st { font-family: var(--fmono); font-size: 0.58rem; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.6rem; border-radius: 99px; }
.blue-st   { color: var(--blue);   border: 1px solid rgba(56,189,248,0.3); background: rgba(56,189,248,0.06); }
.purple-st { color: var(--purple); border: 1px solid rgba(139,92,246,0.3); background: rgba(139,92,246,0.06); }
.orange-st { color: var(--orange); border: 1px solid rgba(255,140,0,0.3);  background: rgba(255,140,0,0.06); }
.mod-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.mod-name { font-family: var(--fhead); font-size: 1rem; color: #fff; margin-bottom: 0.5rem; }
.mod-desc { font-size: 0.78rem; color: var(--tdim); line-height: 1.65; margin-bottom: 0.9rem; }
.mod-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.9rem; }
.mt { font-family: var(--fmono); font-size: 0.58rem; padding: 0.18rem 0.5rem; border-radius: 4px; }
.mt.b { color: var(--blue);   border: 1px solid rgba(56,189,248,0.2); background: rgba(56,189,248,0.05); }
.mt.p { color: var(--purple); border: 1px solid rgba(139,92,246,0.2); background: rgba(139,92,246,0.05); }
.mt.o { color: var(--orange); border: 1px solid rgba(255,140,0,0.2);  background: rgba(255,140,0,0.05); }
.mod-bar-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; font-family: var(--fmono); font-size: 0.62rem; color: var(--tdim); }
.mod-track { flex: 1; height: 3px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.mod-fill { height: 100%; border-radius: 99px; width: 0; transition: width 1.4s ease; }
.mf-b { background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 8px rgba(56,189,248,0.5); }
.mf-p { background: linear-gradient(90deg, var(--purple), var(--pink)); box-shadow: 0 0 8px rgba(139,92,246,0.5); }
.mf-o { background: linear-gradient(90deg, var(--orange), #ff5722); box-shadow: 0 0 8px rgba(255,140,0,0.5); }
.mod-btn { font-family: var(--fmono); font-size: 0.68rem; letter-spacing: 0.06em; width: 100%; padding: 0.55rem; border-radius: 8px; border: 1px solid; cursor: pointer; background: transparent; transition: var(--tr); }
.mb-b { color: var(--blue);   border-color: rgba(56,189,248,0.3); }  .mb-b:hover { background: rgba(56,189,248,0.08); }
.mb-p { color: var(--purple); border-color: rgba(139,92,246,0.3); }  .mb-p:hover { background: rgba(139,92,246,0.08); }
.mb-o { color: var(--orange); border-color: rgba(255,140,0,0.3); }   .mb-o:hover { background: rgba(255,140,0,0.08); }

/* ============================================
   ACHIEVEMENTS — TIMELINE
   ============================================ */
.timeline { padding: 1rem 0; }
.tl-track { display: flex; flex-direction: column; align-items: flex-start; gap: 0; max-width: 820px; margin: 0 auto; }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; width: 100%; }
.tl-node {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,240,255,0.08); border: 2px solid rgba(0,240,255,0.35);
  box-shadow: 0 0 20px rgba(0,240,255,0.15);
  font-size: 1.3rem; flex-shrink: 0; position: relative; z-index: 1;
  margin-top: 1.5rem;
}
.tln-inner { line-height: 1; }
.locked-node { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.12); box-shadow: none; opacity: 0.5; }
.tl-card { padding: 1.5rem; }
.tlc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.tlc-tag { font-family: var(--fmono); font-size: 0.6rem; letter-spacing: 0.15em; color: var(--cyan); }
.tlc-year { font-family: var(--fmono); font-size: 0.68rem; color: var(--tdim); }
.tlc-title { font-family: var(--fhead); font-size: 1.15rem; color: #fff; margin-bottom: 0.6rem; }
.tlc-meta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 0.8rem; }
.tlcm { font-family: var(--fmono); font-size: 0.7rem; color: var(--tdim); }
.tlcm.gold  { color: #fbbf24; }
.tlcm.green { color: var(--green); }
.tlc-desc { font-size: 0.82rem; color: var(--tdim); line-height: 1.65; margin-bottom: 1rem; }
.tlc-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tlc-pills span { font-family: var(--fmono); font-size: 0.6rem; padding: 0.2rem 0.55rem; border-radius: 4px; color: var(--cyan); border: 1px solid rgba(0,240,255,0.2); background: rgba(0,240,255,0.04); }
.tl-connector { width: 2px; height: 40px; background: linear-gradient(180deg, rgba(0,240,255,0.3), rgba(0,240,255,0.1)); margin-left: 26px; }
.tl-connector.dashed { background: none; border-left: 2px dashed rgba(255,255,255,0.1); }
.locked-card { opacity: 0.55; }
.dim-tag { color: var(--tmuted); }
.dim-year { color: var(--tmuted); opacity: 0.5; }
.dim-title { color: var(--tdim); }
.dim-desc { color: var(--tmuted); }

/* ============================================
   SKILLS
   ============================================ */
.skills-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; align-items: start; }
.skills-bars { display: flex; flex-direction: column; gap: 1.2rem; }
.sk-item { }
.ski-hdr { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; font-size: 0.9rem; }
.ski-name { font-size: 0.85rem; color: var(--text); flex: 1; }
.ski-pct { font-family: var(--fmono); font-size: 0.7rem; color: var(--tdim); }
.ski-track { height: 5px; background: rgba(255,255,255,0.05); border-radius: 99px; overflow: hidden; }
.ski-fill { height: 100%; width: 0; border-radius: 99px; transition: width 1.4s cubic-bezier(0.4,0,0.2,1); }
.sf-cyan   { background: linear-gradient(90deg, var(--cyan), #00c8ff);  box-shadow: 0 0 8px rgba(0,240,255,0.5); }
.sf-blue   { background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 8px rgba(56,189,248,0.5); }
.sf-purple { background: linear-gradient(90deg, var(--purple), var(--pink)); box-shadow: 0 0 8px rgba(139,92,246,0.5); }
.sf-orange { background: linear-gradient(90deg, var(--orange), #ff5722); box-shadow: 0 0 8px rgba(255,140,0,0.5); }
.sf-green  { background: linear-gradient(90deg, var(--green), var(--cyan)); box-shadow: 0 0 8px rgba(16,255,176,0.5); }
.sf-pink   { background: linear-gradient(90deg, var(--pink), var(--purple)); box-shadow: 0 0 8px rgba(244,114,182,0.5); }

.skills-right { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 76px; }
.radar-card, .tech-card { padding: 1.3rem; }
#radar-canvas { display: block; margin: 0 auto; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.tt {
  font-family: var(--fmono); font-size: 0.62rem; letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem; border-radius: 6px; cursor: default;
  transition: var(--tr);
}
.tt:hover { transform: translateY(-2px) scale(1.05); }
.tt.py  { background: rgba(59,130,246,0.12); color: #93c5fd; border: 1px solid rgba(59,130,246,0.25); }
.tt.js  { background: rgba(234,179,8,0.10);  color: #fde047; border: 1px solid rgba(234,179,8,0.25); }
.tt.re  { background: rgba(56,189,248,0.10); color: var(--blue); border: 1px solid rgba(56,189,248,0.25); }
.tt.fl  { background: rgba(16,185,129,0.10); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.25); }
.tt.tf  { background: rgba(251,146,60,0.10); color: #fdba74; border: 1px solid rgba(251,146,60,0.25); }
.tt.no  { background: rgba(34,197,94,0.10);  color: #86efac; border: 1px solid rgba(34,197,94,0.25); }
.tt.mo  { background: rgba(16,185,129,0.10); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.25); }
.tt.ai  { background: rgba(0,240,255,0.08);  color: var(--cyan); border: 1px solid rgba(0,240,255,0.22); }
.tt.fi  { background: rgba(139,92,246,0.10); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.25); }
.tt.gi  { background: rgba(249,115,22,0.10); color: #fb923c; border: 1px solid rgba(249,115,22,0.25); }
.tt.do  { background: rgba(56,189,248,0.08); color: var(--blue); border: 1px solid rgba(56,189,248,0.2); }
.tt.li  { background: rgba(234,179,8,0.08);  color: #fde047; border: 1px solid rgba(234,179,8,0.2); }

/* ============================================
   LOGS
   ============================================ */
.logs-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.log-term { }
.log-scroll { padding: 1rem 1.2rem; font-family: var(--fmono); font-size: 0.7rem; display: flex; flex-direction: column; gap: 0.4rem; max-height: 320px; overflow-y: auto; }
.log-scroll::-webkit-scrollbar { width: 3px; }
.log-scroll::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.2); border-radius: 99px; }
.log-entry { padding: 0.35rem 0.7rem; border-radius: 4px; border-left: 2px solid; line-height: 1.5; animation: fadeUp 0.3s ease; }
.le-info    { border-color: var(--cyan); background: rgba(0,240,255,0.03); }
.le-success { border-color: var(--green); background: rgba(16,255,176,0.03); }
.le-warn    { border-color: var(--orange); background: rgba(255,140,0,0.03); }
.le-time  { color: var(--tmuted); margin-right: 0.5rem; }
.le-type-i { color: var(--cyan); }
.le-type-s { color: var(--green); }
.le-type-w { color: var(--orange); }
.live-pill { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; font-family: var(--fmono); font-size: 0.6rem; color: var(--green); letter-spacing: 0.1em; }

.content-mods { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cm { padding: 1.3rem; }
.cm-icon { font-size: 1.8rem; margin-bottom: 0.7rem; }
.cm h3 { font-family: var(--fhead); font-size: 0.9rem; color: #fff; margin-bottom: 0.4rem; }
.cm p { font-size: 0.76rem; color: var(--tdim); line-height: 1.6; margin-bottom: 0.8rem; }
.cm-st { font-family: var(--fmono); font-size: 0.6rem; letter-spacing: 0.08em; display: flex; align-items: center; gap: 0.4rem; }
.orange-st2 { color: var(--orange); }
.green-st2  { color: var(--green); }
.purple-st2 { color: var(--purple); }

/* FUTURE STRIP */
.future-strip { padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1.5rem; border-color: rgba(0,240,255,0.15); background: linear-gradient(135deg, rgba(0,240,255,0.02), rgba(139,92,246,0.02)); }
.future-strip .fs-icon { font-size: 2rem; animation: spinSlow 8s linear infinite; flex-shrink: 0; }
.future-strip .fs-text { flex: 1; }
.future-strip .fs-text h3 { font-family: var(--fhead); font-size: 0.95rem; color: var(--cyan); margin-bottom: 0.4rem; }
.future-strip .fs-text p { font-size: 0.8rem; color: var(--tdim); line-height: 1.6; }
.future-strip .fs-modules { display: flex; flex-direction: column; gap: 0.3rem; border-left: 1px solid var(--bdr); padding-left: 1.5rem; flex-shrink: 0; }
.future-strip .fs-modules span { font-family: var(--fmono); font-size: 0.6rem; color: var(--tmuted); letter-spacing: 0.08em; }

/* ============================================
   FOOTER
   ============================================ */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--bdr); background: rgba(5,7,20,0.7); backdrop-filter: blur(20px); padding: 1rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; }
.fi-brand { font-family: var(--fhead); font-size: 0.85rem; color: var(--cyan); }
.fi-ver { font-family: var(--fmono); font-size: 0.6rem; color: var(--tmuted); margin-left: 0.4rem; }
.fi-copy { font-size: 0.78rem; color: var(--tmuted); }
.fi-status { font-family: var(--fmono); font-size: 0.6rem; color: var(--green); display: flex; align-items: center; gap: 0.4rem; letter-spacing: 0.08em; }

/* ============================================
   ANIMATIONS / UTILITIES
   ============================================ */
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes counterSpin { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .skills-layout { grid-template-columns: 1fr; }
  .skills-right { position: static; flex-direction: row; }
  .radar-card, .tech-card { flex: 1; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-right { display: none; }
  .hero-desc { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-metrics { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-id { grid-row: auto; }
  .flagship { grid-template-columns: 1fr; }
  .fs-right { display: none; }
  .mods-grid { grid-template-columns: 1fr; }
  .logs-layout { grid-template-columns: 1fr; }
  .content-mods { grid-template-columns: 1fr 1fr; }
  .skills-right { flex-direction: column; }
  .nav-list { display: none; }
  .burger { display: flex; }
  .nr-status { display: none; }
}
@media (max-width: 600px) {
  .content-mods { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 44px 1fr; }
  .hero-badge { font-size: 0.58rem; }
  .hn-line1, .hn-line2 { font-size: 2.5rem; }
  .future-strip { flex-direction: column; }
  .future-strip .fs-modules { border-left: none; border-top: 1px solid var(--bdr); padding-left: 0; padding-top: 1rem; flex-direction: row; flex-wrap: wrap; }
  .container { padding: 0 1rem; }
  .skills-right { flex-direction: column; }
}
