/* ---- LIGHT THEME ---- */
:root[data-theme="light"]{--neon:#00727f;--neon-pink:#c1175a;--neon-yellow:#8a6400;--neon-purple:#6f2bc9;--bg:#eef3f8;--bg-alt:#e4ebf3;--surface:#ffffff;--surface-2:#f1f5f9;--border:rgba(0,114,127,.2);--border-hover:rgba(0,114,127,.5);--text:#0f1b2d;--text-muted:#42526a;--text-dim:#5b6b80;--glow:0 0 0 transparent;--glow-pink:0 0 0 transparent;--surf-rgb:255,255,255;--bg-rgb:238,243,248;--alt-rgb:228,235,243;color-scheme:light;}
:root[data-theme="light"] #particle-canvas{opacity:.15}
:root[data-theme="light"] .trail-dot{display:none}
:root[data-theme="light"] .code-block{--neon:#00f5ff;--neon-pink:#ff2d78;--neon-yellow:#ffe000;--text:#e2e8f0;--text-muted:#94a3b8}
:root[data-theme="light"] #navbar.scrolled{box-shadow:0 4px 24px rgba(15,27,45,.12)}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]){--neon:#00727f;--neon-pink:#c1175a;--neon-yellow:#8a6400;--neon-purple:#6f2bc9;--bg:#eef3f8;--bg-alt:#e4ebf3;--surface:#ffffff;--surface-2:#f1f5f9;--border:rgba(0,114,127,.2);--border-hover:rgba(0,114,127,.5);--text:#0f1b2d;--text-muted:#42526a;--text-dim:#5b6b80;--glow:0 0 0 transparent;--glow-pink:0 0 0 transparent;--surf-rgb:255,255,255;--bg-rgb:238,243,248;--alt-rgb:228,235,243;color-scheme:light;}
:root:not([data-theme="dark"]) #particle-canvas{opacity:.15}
:root:not([data-theme="dark"]) .trail-dot{display:none}
:root:not([data-theme="dark"]) .code-block{--neon:#00f5ff;--neon-pink:#ff2d78;--neon-yellow:#ffe000;--text:#e2e8f0;--text-muted:#94a3b8}
:root:not([data-theme="dark"]) #navbar.scrolled{box-shadow:0 4px 24px rgba(15,27,45,.12)}
}
/* =============================================
   PORTFOLIO — DARK CYBERPUNK NEON THEME
   Akhil Raj R C | Technical Lead
   ============================================= */

/* ---- RESET & ROOT ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --neon: #00f5ff;
  --neon-pink: #ff2d78;
  --neon-yellow: #ffe000;
  --neon-purple: #b54bff;
  --bg: #050810;
  --bg-alt: #080d16;
  --surface: #0d1420;
  --surface-2: #111827;
  --border: rgba(0, 245, 255, 0.12);
  --border-hover: rgba(0, 245, 255, 0.4);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-heading: 'Orbitron', sans-serif;
  --font-sub: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s ease;
  --glow: 0 0 20px rgba(0, 245, 255, 0.3), 0 0 60px rgba(0, 245, 255, 0.1);
  --surf-rgb:13,20,32;--bg-rgb:5,8,16;--alt-rgb:8,13,22;--code-bg:#0a0e1a;color-scheme:dark;
  --glow-pink: 0 0 20px rgba(255, 45, 120, 0.3), 0 0 60px rgba(255, 45, 120, 0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--neon); border-radius: 3px; }

/* ---- CANVAS BACKGROUND ---- */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ---- NEON COLORS ---- */
.neon { color: var(--neon); }
.neon-pink { color: var(--neon-pink); }
.neon-yellow { color: var(--neon-yellow); }

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 70px;
  background: rgba(var(--bg-rgb), 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
#navbar.scrolled {
  border-bottom-color: rgba(0, 245, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
}
.logo-bracket { color: var(--neon); }
.logo-name { color: var(--text); margin: 0 2px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.2rem;
}
.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--neon);
  transition: all var(--transition);
  box-shadow: var(--glow);
}
.nav-link:hover, .nav-link.active { color: var(--neon); }
.nav-link:hover::after, .nav-link.active::after { left: 0.8rem; right: 0.8rem; }

.nav-cta {
  text-decoration: none;
  color: var(--neon);
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--neon);
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  transition: all var(--transition);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}
.nav-cta:hover {
  background: var(--neon);
  color: var(--bg);
  box-shadow: var(--glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(var(--alt-rgb), 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 1rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mob-link {
  display: block;
  padding: 0.8rem 2.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.mob-link:hover { color: var(--neon); border-left-color: var(--neon); background: rgba(0,245,255,0.05); }

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 8% 60px;
  gap: 4rem;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.3);
  color: var(--neon);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff88;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-greeting {
  font-family: var(--font-sub);
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  text-shadow: 0 0 40px rgba(0, 245, 255, 0.15);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-typewriter {
  font-family: var(--font-sub);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--neon);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  min-height: 2em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tw-prefix { color: var(--neon-pink); opacity: 0.7; }
.cursor {
  display: inline-block;
  animation: blink 0.8s step-end infinite;
  color: var(--neon);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-bio {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
  background: rgba(var(--surf-rgb), 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 0;
  width: fit-content;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.2rem 1.8rem;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--neon), rgba(0, 200, 230, 0.8));
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.6), 0 8px 25px rgba(0, 0, 0, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--neon);
  border: 1.5px solid var(--neon);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.15);
}
.btn-secondary:hover {
  background: rgba(0, 245, 255, 0.08);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ---- Hero Visual ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hex-frame {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hex-inner {
  width: 220px;
  height: 220px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(0, 245, 255, 0.3);
  overflow: hidden;
}
.avatar-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(0, 245, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.avatar-placeholder { width: 160px; height: 160px; }
.avatar-placeholder svg { width: 100%; height: 100%; }

.hex-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 255, 0.15);
  animation: ring-spin linear infinite;
}
.hex-ring-1 { width: 260px; height: 260px; animation-duration: 20s; border-style: dashed; }
.hex-ring-2 { width: 300px; height: 300px; animation-duration: 30s; animation-direction: reverse; }
.hex-ring-3 { width: 340px; height: 340px; animation-duration: 40s; opacity: 0.5; border-style: dotted; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.floating-badge {
  position: absolute;
  background: rgba(var(--surf-rgb), 0.9);
  border: 1px solid var(--neon);
  color: var(--neon);
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
  animation: float ease-in-out infinite;
}
.fb-1 { top: 10%; left: -20px; animation-duration: 4s; animation-delay: 0s; }
.fb-2 { top: 40%; right: -20px; animation-duration: 5s; animation-delay: 1s; }
.fb-3 { bottom: 25%; left: -10px; animation-duration: 4.5s; animation-delay: 0.5s; }
.fb-4 { bottom: 10%; right: -10px; animation-duration: 3.8s; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- Scroll Hint ---- */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(0, 245, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 6px;
  background: var(--neon);
  border-radius: 3px;
  animation: scroll-down 1.8s ease infinite;
}
@keyframes scroll-down {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}
.alt-bg { background: rgba(var(--alt-rgb), 0.5); }
.alt-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,245,255,0.02) 0%, transparent 50%, rgba(181,75,255,0.02) 100%);
  pointer-events: none;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.about-text strong { color: var(--text); }

.about-highlights {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(var(--surf-rgb), 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: all var(--transition);
}
.highlight-item:hover {
  border-color: var(--border-hover);
  background: rgba(0, 245, 255, 0.04);
  transform: translateX(5px);
}
.hi-icon { font-size: 1.5rem; flex-shrink: 0; }
.highlight-item strong { display: block; color: var(--text); margin-bottom: 0.2rem; }
.highlight-item p { font-size: 0.9rem; color: var(--text-dim); margin: 0; }

/* ---- Code Block ---- */
.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow);
}
.code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.code-filename { margin-left: 0.5rem; font-size: 0.8rem; color: var(--text-dim); font-family: monospace; }
.code-body { padding: 1.5rem; overflow-x: auto; }
code { font-family: 'Courier New', monospace; font-size: 0.9rem; line-height: 1.9; }
.c-brace { color: #89ddff; }
.c-key { color: #bb86fc; }
.c-str { color: #c3e88d; }
.c-num { color: #f78c6c; }
.c-arr { color: #89ddff; }

/* =============================================
   SKILLS SECTION
   ============================================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.skill-category {
  background: rgba(var(--surf-rgb), 0.7);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all var(--transition);
}
.skill-category:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.08);
  transform: translateY(-3px);
}
.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.skill-cat-icon { font-size: 1.5rem; }
.skill-cat-header h3 {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
  transition: all var(--transition);
}
.tier-1 {
  background: rgba(0, 245, 255, 0.12);
  border: 1px solid rgba(0, 245, 255, 0.4);
  color: var(--neon);
}
.tier-1:hover { background: rgba(0, 245, 255, 0.2); box-shadow: var(--glow); }
.tier-2 {
  background: rgba(181, 75, 255, 0.1);
  border: 1px solid rgba(181, 75, 255, 0.3);
  color: var(--neon-purple);
}
.tier-2:hover { background: rgba(181, 75, 255, 0.2); }
.tier-3 {
  background: rgba(255, 45, 120, 0.08);
  border: 1px solid rgba(255, 45, 120, 0.25);
  color: var(--neon-pink);
}
.tier-3:hover { background: rgba(255, 45, 120, 0.18); }

/* =============================================
   EXPERIENCE / TIMELINE
   ============================================= */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon), var(--neon-purple), var(--neon-pink), transparent);
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-dot {
  position: absolute;
  left: -2.4rem;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon), 0 0 24px rgba(0,245,255,0.3);
  z-index: 2;
}
.timeline-card {
  background: rgba(var(--surf-rgb), 0.7);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  transition: all var(--transition);
}
.timeline-card:hover {
  border-color: rgba(0, 245, 255, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 245, 255, 0.06);
  transform: translateX(5px);
}
.tc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.tc-role {
  font-family: var(--font-sub);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.tc-company {
  display: block;
  font-size: 0.95rem;
  color: var(--neon);
  font-family: var(--font-sub);
  margin-top: 0.2rem;
}
.tc-meta { text-align: right; }
.tc-date {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.tc-badge {
  display: inline-block;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
  font-size: 0.7rem;
  font-family: var(--font-sub);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  margin-top: 0.3rem;
}
.tc-bullets {
  list-style: none;
  margin-bottom: 1.2rem;
}
.tc-bullets li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}
.tc-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--neon);
  font-size: 0.8rem;
}
.tc-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tc-tech span {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--neon-purple);
  background: rgba(181, 75, 255, 0.08);
  border: 1px solid rgba(181, 75, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* =============================================
   PROJECTS SECTION
   ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.project-card {
  position: relative;
  background: rgba(var(--surf-rgb), 0.8);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--neon-purple), var(--neon-pink));
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 245, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 245, 255, 0.08);
}
.project-card:hover::before { opacity: 1; }
.project-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
}
.project-glow {
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}
.proj-icon { font-size: 2rem; }
.proj-links { display: flex; gap: 0.75rem; }
.proj-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
}
.proj-link svg { width: 18px; height: 18px; }
.proj-link:hover { color: var(--neon); border-color: var(--neon); box-shadow: var(--glow); }

.proj-title {
  font-family: var(--font-sub);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.proj-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.proj-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.proj-achievements span {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.proj-tags span {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* =============================================
   EDUCATION SECTION
   ============================================= */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.edu-card {
  background: rgba(var(--surf-rgb), 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  transition: all var(--transition);
}
.edu-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.edu-icon { font-size: 2.5rem; flex-shrink: 0; }
.edu-content h3 {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.edu-inst {
  display: block;
  font-size: 0.9rem;
  color: var(--neon);
  font-family: var(--font-sub);
  margin-bottom: 0.2rem;
}
.edu-year {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  font-family: var(--font-sub);
  letter-spacing: 0.05em;
}
.edu-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.75rem; }
.edu-gpa {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--neon-yellow);
  background: rgba(255, 224, 0, 0.08);
  border: 1px solid rgba(255, 224, 0, 0.2);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
}

.cert-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.cert-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.cert-dot {
  width: 8px; height: 8px;
  background: var(--neon);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.4rem;
  box-shadow: 0 0 8px var(--neon);
}
.cert-item strong { display: block; color: var(--text); font-size: 0.9rem; margin-bottom: 0.1rem; }
.cert-item span { font-size: 0.8rem; color: var(--text-dim); }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(var(--surf-rgb), 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  transition: all var(--transition);
}
.contact-item:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}
.ci-icon { font-size: 1.5rem; }
.ci-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.ci-value { color: var(--text); font-size: 0.95rem; text-decoration: none; }
a.ci-value:hover { color: var(--neon); }
.ci-value.available { color: #00ff88; }

.social-links { display: flex; gap: 0.75rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(var(--surf-rgb), 0.6);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-btn:hover { color: var(--neon); border-color: var(--neon); box-shadow: var(--glow); }

/* ---- Contact Form ---- */
.contact-form {
  background: rgba(var(--surf-rgb), 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-group input, .form-group textarea {
  background: rgba(var(--bg-rgb), 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.08);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: rgba(var(--bg-rgb), 0.9);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.footer-copy { color: var(--text-dim); font-size: 0.88rem; }
.footer-tagline { color: var(--text-dim); font-size: 0.82rem; font-style: italic; opacity: 0.6; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 2.5rem; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 5% 60px;
  }
  .hero-visual { order: -1; }
  .hero-bio { margin: 0 auto 2rem; }
  .hero-stats { justify-content: center; margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: 1; }
  .edu-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; padding: 1rem; }
  .stat-divider { width: 80%; height: 1px; }
  .hex-frame { width: 240px; height: 240px; }
  .hex-inner { width: 160px; height: 160px; }
  .hex-ring-1 { width: 200px; height: 200px; }
  .hex-ring-2 { width: 230px; height: 230px; }
  .hex-ring-3 { width: 260px; height: 260px; }
  .timeline { padding-left: 1.5rem; }
  .tc-header { flex-direction: column; }
  .tc-meta { text-align: left; }
}

.avatar-img{width:100%;height:100%;object-fit:cover;object-position:center 15%;position:relative;z-index:1;display:block}
#navbar{padding-top:env(safe-area-inset-top,0px);height:calc(70px + env(safe-area-inset-top,0px))}
.mobile-menu{top:calc(70px + env(safe-area-inset-top,0px))}
#theme-toggle{display:flex;align-items:center;gap:.45rem;background:rgba(var(--surf-rgb),.6);border:1px solid var(--border-hover);color:var(--neon);font:600 .85rem var(--font-sub);letter-spacing:.06em;padding:.4rem .9rem;border-radius:999px;cursor:pointer;margin-left:.8rem;transition:all var(--transition)}
#theme-toggle svg{width:16px;height:16px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--neon);outline-offset:3px}
.form-note{font-size:.8rem;color:var(--text-dim);margin-top:.8rem;text-align:center}
.tc-summary{color:var(--text-muted);font-size:.95rem;margin:0 0 1rem}
@media(max-width:900px){#theme-toggle{margin-left:auto;margin-right:.8rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1!important;transform:none!important}}
