/* ═══════════════════════════════════════════════════════════════
   LAMBODARA LABS — PORTFOLIO
   Deep Indigo / Silver Moon Aesthetic  |  GSAP-powered
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  /* Deep Indigo palette — visibly indigo, NOT black */
  --bg:          #0f0d35;   /* clear deep indigo — visible on all monitors */
  --bg-surface:  #16143f;
  --bg-card:     #1a1848;
  --bg-glass:    rgba(180, 160, 255, 0.06);
  --bg-glass-hv: rgba(180, 160, 255, 0.10);

  --silver:      #d0d8ee;
  --silver-dim:  #9098b8;
  --silver-pale: #edf0fa;
  --accent:      #b0b8e8;   /* silver-indigo */
  --accent-glow: rgba(176, 184, 232, 0.28);
  --accent-2:    #c8b8f0;   /* soft violet — Ganesha purple */
  --accent-3:    #8ecce8;   /* sky blue accent */

  --text-primary:   #eceefa;
  --text-secondary: #8890b8;
  --text-muted:     #5a5880;

  --border:     rgba(176, 184, 232, 0.18);
  --border-hv:  rgba(176, 184, 232, 0.35);

  --font-body:  'Inter', sans-serif;
  --font-head:  'Space Grotesk', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  --radius:     14px;
  --radius-lg:  22px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.18s ease;

  --glow-silver: 0 0 40px rgba(168, 184, 216, 0.15);
  --glow-card:   0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 15% 8%,  rgba(120, 80, 255, 0.30) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 92%, rgba(80,  50, 200, 0.25) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(60,  40, 160, 0.15) 0%, transparent 70%);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Disable text selection site-wide */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
/* Allow selection only inside form inputs */
input, textarea { user-select: text; -webkit-user-select: text; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; }
ul { list-style: none; }

/* ── SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(176, 184, 232, 0.35); border-radius: 99px; }

/* ── CANVAS STARFIELD ───────────────────────────────────────────── */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ── CURSOR ─────────────────────────────────────────────────────── */
.cursor {
  width: 10px; height: 10px;
  background: var(--silver);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid rgba(168, 184, 216, 0.45);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, border-color 0.2s;
}
body:hover .cursor { opacity: 1; }
a:hover ~ .cursor,
button:hover ~ .cursor { width: 18px; height: 18px; background: var(--accent-2); }

/* ── CONTAINER ──────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: background var(--transition), backdrop-filter var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(15, 13, 53, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin-right: auto;
  transition: opacity var(--transition-fast);
}
.nav-logo:hover { opacity: 0.85; }
.logo-wordmark { display: flex; align-items: baseline; gap: 0.35rem; }
.logo-wordmark .logo-bold {
  font-weight: 700;
  background: linear-gradient(135deg, var(--silver-pale) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-wordmark .logo-light {
  font-weight: 400;
  color: var(--silver-dim);
  font-size: 0.96rem;
}
/* Footer logo — kept small */
.footer-logo .logo-wordmark .logo-bold { font-size: 0.95rem; }
.footer-logo .logo-wordmark .logo-light { font-size: 0.88rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.2rem 0;
  transition: color var(--transition-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--silver-pale); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(168, 184, 216, 0.35);
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--silver-pale);
  transition: background var(--transition), border-color var(--transition);
}
.nav-cta:hover {
  background: rgba(168, 184, 216, 0.1);
  border-color: rgba(168, 184, 216, 0.6);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--silver);
  border-radius: 99px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 53, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-nav ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.mobile-nav a:hover { color: var(--silver-pale); }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

/* Orbital rings */
.orbitals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.orbital {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168, 184, 216, 0.08);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbital-1 { width: 520px; height: 520px; animation: spin-slow 60s linear infinite; }
.orbital-2 { width: 780px; height: 780px; animation: spin-slow 90s linear infinite reverse; border-color: rgba(168, 184, 216, 0.05); }
.orbital-3 { width: 1080px; height: 1080px; animation: spin-slow 120s linear infinite; border-color: rgba(168, 184, 216, 0.03); }

.orbital-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(168, 184, 216, 0.8);
}
.dot-1 {
  width: 6px; height: 6px;
  top: calc(50% - 260px); left: 50%;
  transform-origin: 0 260px;
  animation: orbit-1 60s linear infinite;
}
.dot-2 {
  width: 5px; height: 5px;
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(196, 181, 232, 0.8);
  top: calc(50% - 390px); left: 50%;
  transform-origin: 0 390px;
  animation: orbit-1 90s linear infinite reverse;
}
.dot-3 {
  width: 4px; height: 4px;
  background: var(--accent-3);
  box-shadow: 0 0 8px rgba(158, 207, 218, 0.8);
  top: calc(50% - 540px); left: 50%;
  transform-origin: 0 540px;
  animation: orbit-1 120s linear infinite;
}
@keyframes orbit-1 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-slow { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.moon-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(140, 110, 255, 0.07) 0%,
    rgba(176, 184, 232, 0.04) 40%,
    transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 2rem;
  opacity: 0;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5ecc7e;
  box-shadow: 0 0 8px rgba(94, 204, 126, 0.8);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(94, 204, 126, 0.8); }
  50% { box-shadow: 0 0 16px rgba(94, 204, 126, 1); }
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
}
.name-line { display: block; }
/* Inline .accent span inside the name */
.hero-name .accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-roles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  margin-bottom: 1.8rem;
  opacity: 0;
  height: 2rem;
  overflow: hidden;
}
.role-prefix { color: var(--text-secondary); }
.role-ticker {
  position: relative;
  height: 100%;
  overflow: hidden;
  min-width: 200px;
  text-align: left;
}
.role-item {
  display: block;
  color: var(--accent);
  position: absolute;
  top: 0; left: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s;
  opacity: 0;
  transform: translateY(100%);
}
.role-item.active { opacity: 1; transform: translateY(0); }
.role-item.leaving { opacity: 0; transform: translateY(-100%); }

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  opacity: 0;
}
.hero-tagline em { color: var(--silver-pale); font-style: normal; }

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  opacity: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--silver-pale);
  line-height: 1;
}
.stat-plus { font-size: 1.6rem; color: var(--accent); vertical-align: super; line-height: 0; }
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  z-index: 1;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, rgba(168,184,216,0.15) 0%, rgba(168,184,216,0.25) 100%);
  border: 1px solid rgba(168, 184, 216, 0.4);
  color: var(--silver-pale);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,184,216,0.2), rgba(196,181,232,0.15));
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover { border-color: rgba(168,184,216,0.7); box-shadow: 0 0 30px rgba(168,184,216,0.2); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-ghost:hover { border-color: var(--border-hv); color: var(--silver-pale); }

.btn-full { width: 100%; justify-content: center; }

/* ── SECTION COMMON ─────────────────────────────────────────────── */
.section { padding: 7rem 0; position: relative; z-index: 1; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.section-heading.centered { text-align: center; margin-bottom: 0.8rem; }
.section-heading .accent {
  background: linear-gradient(135deg, var(--silver-pale), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 4rem;
}

/* ── REVEAL ANIMATIONS ──────────────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  will-change: transform, opacity;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

/* ── ABOUT ──────────────────────────────────────────────────────── */
.about {
  background: linear-gradient(180deg, transparent 0%, rgba(100,80,220,0.10) 50%, transparent 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
  margin-top: 2.5rem;
}
.about-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
/* ── MOON ILLUSTRATION ──────────────────────────────────────────── */
.moon-scene {
  position: relative;
  width: 260px; height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Ambient glow behind moon */
.moon-outer-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(140, 120, 255, 0.18) 0%,
    rgba(176, 184, 232, 0.08) 45%,
    transparent 70%);
  pointer-events: none;
  animation: moon-pulse 4s ease-in-out infinite;
}
@keyframes moon-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%       { transform: scale(1.1); opacity: 1;   }
}

/* Orbital paths */
.moon-orbit-path {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(176, 184, 232, 0.10);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.path-a { width: 200px; height: 200px; animation: moon-orbit-spin 14s linear infinite; }
.path-b { width: 240px; height: 130px; animation: moon-orbit-spin 22s linear infinite reverse; border-color: rgba(200,184,240,0.08); transform: translate(-50%, -50%) rotateX(65deg); }
.path-c { width: 260px; height: 260px; animation: moon-orbit-spin 32s linear infinite; border-color: rgba(142, 204, 232, 0.06); }
@keyframes moon-orbit-spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Orbital dots */
.moon-orb {
  position: absolute;
  border-radius: 50%;
  top: 0; left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.orb-a {
  width: 7px; height: 7px;
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(200,184,240,0.9), 0 0 20px rgba(200,184,240,0.4);
}
.orb-b {
  width: 5px; height: 5px;
  background: var(--silver-pale);
  box-shadow: 0 0 8px rgba(237,240,250,0.9), 0 0 16px rgba(237,240,250,0.4);
}
.orb-c {
  width: 4px; height: 4px;
  background: var(--accent-3);
  box-shadow: 0 0 8px rgba(142,204,232,0.9);
}

/* Moon body */
.moon-body-wrap {
  position: relative;
  width: 160px; height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.moon-svg {
  width: 160px; height: 160px;
  filter: drop-shadow(0 0 20px rgba(140,120,255,0.4))
          drop-shadow(0 0 50px rgba(100,90,200,0.2));
  animation: moon-float 6s ease-in-out infinite;
}
@keyframes moon-float {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-8px); }
}

/* Floating micro-stars near the moon */
.moon-star {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  animation: star-twinkle 2s ease-in-out infinite;
}
.s1 { width:3px;height:3px; top:15%;  left:12%;  animation-delay:0s;    box-shadow:0 0 4px #fff; }
.s2 { width:2px;height:2px; top:8%;   left:70%;  animation-delay:0.5s;  box-shadow:0 0 3px #fff; }
.s3 { width:3px;height:3px; top:75%;  left:88%;  animation-delay:1s;    box-shadow:0 0 4px var(--accent-2); background:var(--accent-2); }
.s4 { width:2px;height:2px; top:85%;  left:10%;  animation-delay:1.5s;  box-shadow:0 0 3px #fff; }
.s5 { width:2px;height:2px; top:45%;  left:5%;   animation-delay:0.8s;  box-shadow:0 0 3px var(--accent-3); background:var(--accent-3); }
@keyframes star-twinkle {
  0%,100% { opacity:0.2; transform:scale(0.8); }
  50%     { opacity:1;   transform:scale(1.4); }
}
.about-status-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5ecc7e;
  box-shadow: 0 0 8px rgba(94,204,126,0.8);
  animation: pulse 2s infinite;
}

.about-bio {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.about-bio:last-of-type { margin-bottom: 2rem; }

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  transition: border-color var(--transition), background var(--transition);
}
.pillar:hover { border-color: var(--border-hv); background: var(--bg-glass-hv); }
.pillar-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.pillar strong { display: block; font-size: 0.88rem; color: var(--text-primary); margin-bottom: 0.2rem; }
.pillar span { font-size: 0.78rem; color: var(--text-muted); }

/* ── SKILLS ─────────────────────────────────────────────────────── */
.skills {
  position: relative;
}
.skills::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(110, 80, 240, 0.16) 0%, transparent 60%);
  pointer-events: none;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.skill-category {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.skill-category:hover {
  border-color: var(--border-hv);
  background: var(--bg-glass-hv);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.skill-cat-icon { font-size: 1.3rem; }
.skill-cat-header h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: rgba(168,184,216,0.06);
  border: 1px solid rgba(168,184,216,0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  transition: all var(--transition-fast);
  cursor: default;
}
.tag:hover {
  color: var(--silver-pale);
  background: rgba(168,184,216,0.12);
  border-color: rgba(168,184,216,0.28);
}

/* ── PROJECTS ───────────────────────────────────────────────────── */
.projects {
  position: relative;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,184,216,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover {
  border-color: rgba(168,184,216,0.28);
  transform: translateY(-4px);
  box-shadow: var(--glow-card), 0 0 0 1px rgba(168,184,216,0.08);
}
.project-card:hover::before { opacity: 1; }

.project-card-inner { padding: 1.8rem; height: 100%; display: flex; flex-direction: column; }

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.project-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(168,184,216,0.07);
  border: 1px solid rgba(168,184,216,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.project-tags-inline {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.proj-tag {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: rgba(168,184,216,0.07);
  border: 1px solid rgba(168,184,216,0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
}

.project-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}
.project-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}
.project-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
.project-features li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.22rem 0;
  padding-left: 1.1rem;
  position: relative;
}
.project-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.6rem;
  top: 0.35rem;
}
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.project-stack span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

/* ── PROJECT FILTERS ────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}
.filter-btn {
  padding: 0.5rem 1.4rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover {
  border-color: var(--border-hv);
  color: var(--silver-pale);
}
.filter-btn.active {
  background: rgba(176, 184, 232, 0.12);
  border-color: rgba(176, 184, 232, 0.4);
  color: var(--silver-pale);
}
.project-card.hidden {
  display: none;
}

/* ── EXPERIENCE TIMELINE ────────────────────────────────────────── */
.experience {
  background: linear-gradient(180deg, transparent 0%, rgba(100, 80, 220, 0.12) 50%, transparent 100%);
}
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-hv), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -2.45rem;
  top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 14px rgba(176, 184, 232, 0.6);
  z-index: 1;
}
.tl-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  transition: border-color var(--transition), background var(--transition);
}
.tl-card:hover {
  border-color: var(--border-hv);
  background: var(--bg-glass-hv);
}
.tl-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.tl-role {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.tl-company {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.tl-badge {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  padding: 0.22rem 0.7rem;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tl-badge.active {
  background: rgba(94, 204, 126, 0.1);
  border: 1px solid rgba(94, 204, 126, 0.25);
  color: #5ecc7e;
}
.tl-badge.research {
  background: rgba(176, 184, 232, 0.1);
  border: 1px solid rgba(176, 184, 232, 0.25);
  color: var(--accent);
}
.tl-badge.trainer {
  background: rgba(200, 184, 240, 0.1);
  border: 1px solid rgba(200, 184, 240, 0.25);
  color: var(--accent-2);
}
.tl-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tl-tags span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(176, 184, 232, 0.05);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

/* ── AI HIGHLIGHT ───────────────────────────────────────────────── */
.ai-highlight {
  background: linear-gradient(135deg, rgba(90, 60, 200, 0.18) 0%, rgba(140, 100, 240, 0.12) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ai-highlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 1rem 0;
}
.ai-hl-left .section-label { margin-bottom: 0.5rem; }
.ai-hl-left .section-heading { margin-bottom: 1.2rem; }
.ai-hl-left p { color: var(--text-secondary); line-height: 1.8; }

.ai-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.ai-feature:last-child { border-bottom: none; }
.ai-feat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.55rem;
  box-shadow: 0 0 10px rgba(168,184,216,0.5);
}
.ai-feature strong { display: block; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.ai-feature span { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* ── CONTACT ────────────────────────────────────────────────────── */
.contact {
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 1rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; justify-content: center; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ci-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ci-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.ci-value { font-size: 0.9rem; color: var(--text-primary); }
a.ci-value:hover { color: var(--accent); }

.contact-availability {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(94,204,126,0.05);
  border: 1px solid rgba(94,204,126,0.15);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  color: #5ecc7e;
}
.avail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5ecc7e;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(168,184,216,0.4);
  box-shadow: 0 0 0 3px rgba(168,184,216,0.07);
}
.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(94,204,126,0.08);
  border: 1px solid rgba(94,204,126,0.2);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: #5ecc7e;
  margin-top: 1rem;
}
.form-success.visible { display: flex; }

.form-error {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 100, 100, 0.08);
  border: 1px solid rgba(232, 100, 100, 0.22);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: #e88080;
  margin-top: 1rem;
}
.form-error.visible { display: flex; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-primary);
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--silver-pale); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: flex; justify-content: center; }
  .ai-highlight-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .stat-number { font-size: 1.8rem; }
  .about-pillars { grid-template-columns: 1fr; }
  .orbital-1 { width: 320px; height: 320px; }
  .orbital-2 { width: 500px; height: 500px; }
  .orbital-3 { width: 700px; height: 700px; }
  .dot-1 { top: calc(50% - 160px); transform-origin: 0 160px; }
  .dot-2 { top: calc(50% - 250px); transform-origin: 0 250px; }
  .dot-3 { top: calc(50% - 350px); transform-origin: 0 350px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.8rem; }
  .hero-tagline { font-size: 0.95rem; }
  .container { padding: 0 1.2rem; }
  .section { padding: 4rem 0; }
  .contact-form { padding: 1.5rem; }
}
