/* =====================================================
   MITESH RESUME — IRON MAN THEME
   Full Iron Man suit color palette + Robotic animations
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --bg-primary:    #050810;
  --bg-secondary:  #08101e;
  --bg-card:       #0d1828;
  --bg-glass:      rgba(13, 24, 40, 0.85);

  --iron-red:        #cc1122;
  --iron-red-bright: #ff2244;
  --iron-red-dark:   #7a0011;
  --iron-gold:       #e8a020;
  --iron-gold-bright:#ffcc44;
  --iron-gold-dark:  #7a4500;
  --arc-blue:        #00d4ff;
  --arc-blue-dim:    #007799;

  --text-primary:  #e8f0ff;
  --text-secondary:#a0b4cc;
  --text-muted:    #4a5a78;

  --glow-red:  0 0 8px #cc1122cc, 0 0 24px #cc112266, 0 0 50px #cc112222;
  --glow-gold: 0 0 8px #e8a020cc, 0 0 24px #e8a02066, 0 0 50px #e8a02022;
  --glow-blue: 0 0 8px #00d4ffcc, 0 0 24px #00d4ff66, 0 0 50px #00d4ff22;

  --border-red:  rgba(204, 17, 34, 0.45);
  --border-gold: rgba(232, 160, 32, 0.45);
  --border-blue: rgba(0, 212, 255, 0.45);

  --font-h: 'Orbitron', monospace;
  --font-b: 'Rajdhani', sans-serif;
  --font-m: 'Share Tech Mono', monospace;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 8px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--iron-red) var(--bg-card);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--iron-red), var(--iron-gold));
  border-radius: 3px;
}

::selection { background: var(--iron-red); color: #fff; }

body {
  font-family: var(--font-b);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── CANVAS BACKGROUND ── */
#circuit-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── LAYOUT HELPERS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-wrap { position: relative; z-index: 1; padding: 100px 0; }

/* ── SECTION HEADERS ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-family: var(--font-m);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--iron-red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: var(--glow-red);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 60%;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--iron-gold), transparent);
  box-shadow: var(--glow-gold);
}

.section-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  justify-content: center;
}

.section-line span { width: 60px; height: 1px; background: var(--border-gold); }
.section-line i { color: var(--iron-gold); font-size: 0.8rem; }

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: all 0.4s var(--ease);
}

#navbar.scrolled {
  background: rgba(5, 8, 16, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-red);
  box-shadow: 0 4px 30px rgba(204, 17, 34, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--iron-red);
  text-shadow: var(--glow-red);
  letter-spacing: 3px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .arc {
  width: 28px; height: 28px;
  border: 2px solid var(--arc-blue);
  border-radius: 50%;
  position: relative;
  box-shadow: var(--glow-blue);
  animation: arc-pulse 2s ease-in-out infinite;
}

.nav-logo .arc::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: radial-gradient(circle, var(--arc-blue) 0%, transparent 70%);
  border-radius: 50%;
  animation: arc-core 2s ease-in-out infinite;
}

.nav-links { display: flex; gap: 8px; list-style: none; }

.nav-links a {
  font-family: var(--font-m);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--iron-gold);
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  background: rgba(232, 160, 32, 0.08);
}

.nav-admin-btn {
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--arc-blue);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: rgba(0, 212, 255, 0.06);
  transition: all 0.3s var(--ease);
  text-transform: uppercase;
}

.nav-admin-btn:hover {
  background: rgba(0, 212, 255, 0.15);
  box-shadow: var(--glow-blue);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--iron-red);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO SECTION ── */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* HUD corner brackets */
.hud-corner {
  position: absolute;
  width: 60px; height: 60px;
  opacity: 0;
  animation: hud-appear 1s forwards;
}
.hud-corner.tl { top: 20px; left: 20px; border-top: 2px solid var(--iron-red); border-left: 2px solid var(--iron-red); animation-delay: 0.5s; }
.hud-corner.tr { top: 20px; right: 20px; border-top: 2px solid var(--iron-red); border-right: 2px solid var(--iron-red); animation-delay: 0.7s; }
.hud-corner.bl { bottom: 20px; left: 20px; border-bottom: 2px solid var(--iron-red); border-left: 2px solid var(--iron-red); animation-delay: 0.9s; }
.hud-corner.br { bottom: 20px; right: 20px; border-bottom: 2px solid var(--iron-red); border-right: 2px solid var(--iron-red); animation-delay: 1.1s; }

/* Scan line */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--iron-red), transparent);
  box-shadow: var(--glow-red);
  animation: scan 6s linear infinite;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-system-tag {
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--arc-blue);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInDown 0.8s 0.3s forwards;
}

.hero-name {
  font-family: var(--font-h);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  color: var(--iron-red);
  text-shadow: var(--glow-red);
  letter-spacing: 8px;
  opacity: 0;
  animation: heroNameReveal 1.2s 0.5s forwards;
  position: relative;
}

.hero-name::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px var(--iron-gold);
  animation: goldShimmer 4s 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(0.85rem, 2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--iron-gold);
  text-transform: uppercase;
  text-shadow: var(--glow-gold);
  margin: 16px 0 8px;
  opacity: 0;
  animation: fadeInUp 0.8s 1s forwards;
}

.hero-subtitle {
  font-family: var(--font-m);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeInUp 0.8s 1.2s forwards;
}

/* Arc Reactor */
.arc-reactor {
  width: 120px; height: 120px;
  margin: 0 auto 40px;
  position: relative;
  opacity: 0;
  animation: fadeInScale 1s 0.8s forwards;
}

.arc-reactor .ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.arc-reactor .ring-1 {
  inset: 0;
  border-color: var(--arc-blue);
  box-shadow: 0 0 12px var(--arc-blue);
  animation: rotate-cw 4s linear infinite;
}

.arc-reactor .ring-2 {
  inset: 12px;
  border-color: var(--iron-gold);
  border-style: dashed;
  box-shadow: 0 0 8px var(--iron-gold);
  animation: rotate-ccw 3s linear infinite;
}

.arc-reactor .ring-3 {
  inset: 24px;
  border-color: var(--iron-red);
  box-shadow: 0 0 8px var(--iron-red);
  animation: rotate-cw 2s linear infinite;
}

.arc-reactor .core {
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, var(--arc-blue) 40%, #00406699 100%);
  box-shadow: 0 0 20px var(--arc-blue), 0 0 40px var(--arc-blue), 0 0 80px rgba(0,212,255,0.4);
  animation: arc-pulse 2s ease-in-out infinite;
}

.arc-reactor .bolt {
  position: absolute;
  width: 2px;
  background: var(--arc-blue);
  box-shadow: 0 0 6px var(--arc-blue);
  border-radius: 2px;
  transform-origin: bottom center;
}

.arc-reactor .bolt-1 { height: 10px; bottom: 50%; left: 50%; transform: translateX(-50%) rotate(0deg) translateY(-44px); animation: bolt-glow 1s 0.0s ease-in-out infinite; }
.arc-reactor .bolt-2 { height: 10px; bottom: 50%; left: 50%; transform: translateX(-50%) rotate(60deg) translateY(-44px); animation: bolt-glow 1s 0.16s ease-in-out infinite; }
.arc-reactor .bolt-3 { height: 10px; bottom: 50%; left: 50%; transform: translateX(-50%) rotate(120deg) translateY(-44px); animation: bolt-glow 1s 0.32s ease-in-out infinite; }
.arc-reactor .bolt-4 { height: 10px; bottom: 50%; left: 50%; transform: translateX(-50%) rotate(180deg) translateY(-44px); animation: bolt-glow 1s 0.48s ease-in-out infinite; }
.arc-reactor .bolt-5 { height: 10px; bottom: 50%; left: 50%; transform: translateX(-50%) rotate(240deg) translateY(-44px); animation: bolt-glow 1s 0.64s ease-in-out infinite; }
.arc-reactor .bolt-6 { height: 10px; bottom: 50%; left: 50%; transform: translateX(-50%) rotate(300deg) translateY(-44px); animation: bolt-glow 1s 0.80s ease-in-out infinite; }

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s 1.5s forwards;
}

.stat-box {
  text-align: center;
  padding: 18px 24px;
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  background: rgba(204, 17, 34, 0.06);
  min-width: 110px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--iron-gold), transparent);
  animation: shimmer-line 3s linear infinite;
}

.stat-box:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-4px);
}

.stat-value {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--iron-red);
  text-shadow: var(--glow-red);
  display: block;
}

.stat-label {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 1.8s forwards;
}

.btn-primary, .btn-secondary {
  font-family: var(--font-m);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--iron-red-dark), var(--iron-red));
  border-color: var(--iron-red);
  color: #fff;
  box-shadow: var(--glow-red);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.4s;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(204, 17, 34, 0.5); }

.btn-secondary {
  background: transparent;
  border-color: var(--border-gold);
  color: var(--iron-gold);
}
.btn-secondary:hover {
  background: rgba(232, 160, 32, 0.1);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeInUp 0.8s 2.2s forwards;
}

.scroll-indicator span {
  font-family: var(--font-m);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid var(--border-red);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-mouse::after {
  content: '';
  width: 3px; height: 8px;
  background: var(--iron-red);
  border-radius: 3px;
  animation: scroll-dot 2s ease-in-out infinite;
}

/* ── ABOUT SECTION ── */
#about { background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary)); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.robot-svg-wrap {
  position: relative;
  width: 240px; height: 240px;
}

/* Animated robot gear/icon */
.robot-gear-outer {
  width: 240px; height: 240px;
  border: 2px solid var(--border-red);
  border-radius: 50%;
  position: relative;
  animation: rotate-cw 20s linear infinite;
  box-shadow: var(--glow-red);
}

.robot-gear-inner {
  position: absolute;
  inset: 24px;
  border: 2px dashed var(--border-gold);
  border-radius: 50%;
  animation: rotate-ccw 12s linear infinite;
}

.robot-gear-core {
  position: absolute;
  inset: 60px;
  background: var(--bg-card);
  border: 2px solid var(--border-blue);
  border-radius: 50%;
  box-shadow: var(--glow-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.robot-gear-core i {
  font-size: 2.8rem;
  color: var(--arc-blue);
  text-shadow: var(--glow-blue);
  animation: arc-pulse 2.5s ease-in-out infinite;
}

.robot-gear-outer::before, .robot-gear-outer::after {
  content: '';
  position: absolute;
  background: var(--iron-red);
  box-shadow: var(--glow-red);
}

/* Notches on gear */
.robot-gear-outer::before { width: 12px; height: 20px; top: -10px; left: 50%; transform: translateX(-50%); border-radius: 3px; }
.robot-gear-outer::after  { width: 12px; height: 20px; bottom: -10px; left: 50%; transform: translateX(-50%); border-radius: 3px; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.about-tag {
  font-family: var(--font-m);
  font-size: 0.65rem;
  letter-spacing: 1px;
  padding: 5px 12px;
  border: 1px solid var(--border-red);
  border-radius: 4px;
  color: var(--iron-red);
  background: rgba(204, 17, 34, 0.05);
  transition: all 0.3s;
}

.about-tag:hover {
  border-color: var(--border-gold);
  color: var(--iron-gold);
  box-shadow: var(--glow-gold);
}

.about-text h3 {
  font-family: var(--font-h);
  font-size: 1.6rem;
  color: var(--iron-gold);
  text-shadow: var(--glow-gold);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.info-item i {
  color: var(--iron-red);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.info-item a { color: var(--arc-blue); text-decoration: none; }
.info-item a:hover { text-shadow: var(--glow-blue); }

/* ── EXPERIENCE SECTION ── */
#experience { background: var(--bg-secondary); }

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--iron-red), var(--iron-gold), var(--arc-blue));
  box-shadow: var(--glow-red);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s var(--ease);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-node {
  position: absolute;
  left: -38px;
  top: 20px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--iron-red);
  border: 2px solid var(--bg-primary);
  box-shadow: var(--glow-red);
  transition: all 0.3s;
}

.timeline-item:hover .timeline-node {
  transform: scale(1.6);
  background: var(--iron-gold);
  box-shadow: var(--glow-gold);
}

.exp-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-red);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--iron-red), var(--iron-gold));
  box-shadow: var(--glow-gold);
}

.exp-card:hover {
  border-color: var(--border-gold);
  transform: translateX(6px);
  box-shadow: -4px 0 20px rgba(204, 17, 34, 0.2), 0 8px 32px rgba(0,0,0,0.3);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.exp-company {
  font-family: var(--font-h);
  font-size: 1.1rem;
  color: var(--iron-gold);
  text-shadow: var(--glow-gold);
}

.exp-period {
  font-family: var(--font-m);
  font-size: 0.75rem;
  color: var(--arc-blue);
  letter-spacing: 1px;
  padding: 4px 12px;
  border: 1px solid var(--border-blue);
  border-radius: 20px;
  white-space: nowrap;
}

.exp-role {
  font-size: 0.95rem;
  color: var(--iron-red);
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.exp-badge-current {
  font-family: var(--font-m);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: #0f0;
  border: 1px solid #0f06;
  border-radius: 20px;
  padding: 2px 10px;
  background: rgba(0,255,0,0.05);
  animation: led-blink 2s ease-in-out infinite;
  margin-left: 10px;
}

.exp-points { list-style: none; }

.exp-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}

.exp-points li:last-child { border-bottom: none; }
.exp-points li:hover { color: var(--text-primary); }

.exp-points li::before {
  content: '▶';
  color: var(--iron-red);
  font-size: 0.55rem;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── SKILLS SECTION ── */
#skills { background: var(--bg-primary); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.skill-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-red);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
  opacity: 0;
  transform: translateY(30px);
}

.skill-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(232, 160, 32, 0.1);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.skill-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.skill-icon.red  { background: rgba(204, 17, 34, 0.12); color: var(--iron-red);  border: 1px solid var(--border-red);  }
.skill-icon.gold { background: rgba(232, 160, 32, 0.12); color: var(--iron-gold); border: 1px solid var(--border-gold); }
.skill-icon.blue { background: rgba(0, 212, 255, 0.12);  color: var(--arc-blue);  border: 1px solid var(--border-blue); }

.skill-name {
  font-family: var(--font-h);
  font-size: 0.85rem;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.skill-bar-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  height: 5px;
  margin-bottom: 18px;
  overflow: hidden;
}

.skill-bar {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-bar.red  { background: linear-gradient(90deg, var(--iron-red-dark), var(--iron-red-bright)); box-shadow: 0 0 8px var(--iron-red); }
.skill-bar.gold { background: linear-gradient(90deg, var(--iron-gold-dark), var(--iron-gold-bright)); box-shadow: 0 0 8px var(--iron-gold); }
.skill-bar.blue { background: linear-gradient(90deg, var(--arc-blue-dim), var(--arc-blue)); box-shadow: 0 0 8px var(--arc-blue); }

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  font-family: var(--font-m);
  font-size: 0.62rem;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  border: 1px solid;
}

.skill-tag.red  { color: var(--iron-red);  border-color: rgba(204,17,34,0.3);  background: rgba(204,17,34,0.05);  }
.skill-tag.gold { color: var(--iron-gold); border-color: rgba(232,160,32,0.3); background: rgba(232,160,32,0.05); }
.skill-tag.blue { color: var(--arc-blue);  border-color: rgba(0,212,255,0.3);  background: rgba(0,212,255,0.05);  }

/* ── EDUCATION SECTION ── */
#education { background: var(--bg-secondary); }

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.edu-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.edu-card.visible { opacity: 1; transform: translateY(0); }

.edu-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(232,160,32,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.edu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(232, 160, 32, 0.12);
  border-color: var(--iron-gold);
}

.edu-icon {
  width: 54px; height: 54px;
  background: rgba(232,160,32,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--iron-gold);
  margin-bottom: 18px;
  box-shadow: var(--glow-gold);
}

.edu-institution {
  font-family: var(--font-h);
  font-size: 1.05rem;
  color: var(--iron-gold);
  margin-bottom: 6px;
}

.edu-location {
  font-family: var(--font-m);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.edu-degree {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.edu-period {
  font-family: var(--font-m);
  font-size: 0.75rem;
  color: var(--arc-blue);
  border: 1px solid var(--border-blue);
  border-radius: 20px;
  padding: 4px 14px;
  display: inline-block;
}

/* ── CERTIFICATIONS ── */
#certifications { background: var(--bg-primary); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-red);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
}

.cert-card.visible { opacity: 1; transform: scale(1); }

.cert-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: scale(1.03) translateY(-4px);
}

.cert-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(204,17,34,0.06), transparent 70%);
}

.cert-badge {
  width: 56px; height: 56px;
  background: rgba(204,17,34,0.1);
  border: 1px solid var(--border-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--iron-red);
  margin: 0 auto 16px;
  box-shadow: var(--glow-red);
}

.cert-name {
  font-family: var(--font-h);
  font-size: 0.8rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.cert-issuer {
  font-family: var(--font-m);
  font-size: 0.68rem;
  color: var(--iron-gold);
  letter-spacing: 0.5px;
}

/* ── LANGUAGES ── */
#languages { background: var(--bg-secondary); padding: 60px 0; }

.lang-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.lang-item { text-align: center; }

.lang-ring {
  width: 100px; height: 100px;
  position: relative;
  margin: 0 auto 14px;
}

.lang-ring svg { transform: rotate(-90deg); }

.lang-ring .bg { stroke: rgba(255,255,255,0.06); }
.lang-ring .fill {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1.5s var(--ease);
  stroke-linecap: round;
}

.lang-name {
  font-family: var(--font-h);
  font-size: 0.85rem;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.lang-proficiency {
  font-family: var(--font-m);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 4px;
}

.lang-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 1rem;
  color: var(--iron-gold);
}

/* ── CONTACT SECTION ── */
#contact {
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  padding: 80px 0;
}

.contact-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.contact-inner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  background: rgba(204,17,34,0.05);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-m);
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: all 0.3s var(--ease);
}

.contact-link:hover {
  border-color: var(--border-gold);
  color: var(--iron-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-3px);
}

.contact-link i { font-size: 1rem; color: var(--iron-red); }

/* ── FOOTER ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-red);
  padding: 24px;
  text-align: center;
}

footer p {
  font-family: var(--font-m);
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

footer span { color: var(--iron-red); }

/* ── SCROLL REVEAL BASE ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FLOATING GEARS (decorative) ── */
.deco-gear {
  position: absolute;
  opacity: 0.04;
  pointer-events: none;
  color: var(--iron-red);
}

/* ── KEYFRAMES ── */
@keyframes rotate-cw  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotate-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

@keyframes arc-pulse {
  0%, 100% { opacity: 1; box-shadow: var(--glow-blue); }
  50%       { opacity: 0.7; box-shadow: none; }
}

@keyframes arc-core {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(0.8); }
}

@keyframes bolt-glow {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; box-shadow: 0 0 12px var(--arc-blue); }
}

@keyframes scan {
  0%   { top: -2px; opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100vh; opacity: 0; }
}

@keyframes shimmer-line {
  0%   { left: -100%; }
  100% { left: 100%; }
}

@keyframes hud-appear {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 0.8; transform: scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes heroNameReveal {
  0%   { opacity: 0; letter-spacing: 30px; text-shadow: none; }
  60%  { opacity: 1; }
  100% { opacity: 1; letter-spacing: 8px; text-shadow: var(--glow-red); }
}

@keyframes goldShimmer {
  0%, 80%, 100% { opacity: 0; }
  40%           { opacity: 0.6; }
}

@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.3; }
}

@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-info-grid { grid-template-columns: 1fr; }
  .robot-svg-wrap, .robot-gear-outer { width: 180px; height: 180px; }
  .robot-gear-inner { inset: 18px; }
  .robot-gear-core  { inset: 44px; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: rgba(5,8,16,0.97); border-bottom: 1px solid var(--border-red); padding: 16px; }
  .nav-burger { display: flex; }
  .hero-stats { gap: 12px; }
  .stat-box { min-width: 80px; padding: 12px 14px; }
  .stat-value { font-size: 1.2rem; }
  .section-wrap { padding: 64px 0; }
}
