/* ========================
   DESIGN TOKENS
======================== */
:root {
  --cyan: #00f5ff;
  --cyan-dim: #00c8d4;
  --purple: #b44fff;
  --purple-dim: #8b30d9;
  --gold: #ffd700;
  --green: #00ff88;
  --bg: #030712;
  --bg2: #0a0f1e;
  --bg3: #0d1526;
  --glass: rgba(255,255,255,0.03);
  --glass-border: rgba(0,245,255,0.12);
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-h: 70px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========================
   PARTICLE CANVAS
======================== */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ========================
   CUSTOM CURSOR
======================== */
.cursor {
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}
.cursor-trail {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,245,255,0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease, width 0.3s, height 0.3s;
}
body:hover .cursor { opacity: 1; }

/* ========================
   NAV
======================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}
#navbar.scrolled {
  background: rgba(3,7,18,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
}
.logo-bracket { color: var(--cyan); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active {
  color: var(--cyan);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

/* ========================
   SECTION COMMONS
======================== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 5%;
}
.section-dark { background: var(--bg2); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.accent { color: var(--cyan); }
.section-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  margin: 0 auto;
  border-radius: 2px;
}

/* ========================
   GLASS CARD
======================== */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.glass-card:hover {
  border-color: rgba(0,245,255,0.35);
  box-shadow: 0 0 30px rgba(0,245,255,0.08), 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}

/* ========================
   REVEAL ANIMATIONS
======================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease calc(var(--delay, 0s)), transform 0.7s ease calc(var(--delay, 0s));
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   HERO
======================== */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-text { flex: 1; max-width: 580px; }

.hero-greeting {
  margin-bottom: 1rem;
}
.glitch {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  animation: glitch-anim 4s infinite;
}
@keyframes glitch-anim {
  0%, 90%, 100% { text-shadow: none; clip-path: none; }
  92% { text-shadow: 2px 0 var(--purple), -2px 0 var(--cyan); }
  94% { text-shadow: -2px 0 var(--purple), 2px 0 var(--cyan); clip-path: inset(10% 0 85% 0); }
  96% { clip-path: inset(60% 0 10% 0); }
  98% { clip-path: none; text-shadow: none; }
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.name-first {
  display: block;
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: #fff;
}
.name-last {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  min-height: 2rem;
}
.title-prefix { color: var(--cyan); }
.typewriter { color: var(--purple); font-weight: 500; }
.cursor-blink {
  color: var(--cyan);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

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

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}
.btn svg { width: 16px; height: 16px; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0099dd 100%);
  color: #000;
  box-shadow: 0 0 20px rgba(0,245,255,0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0,245,255,0.5);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-secondary:hover {
  background: rgba(0,245,255,0.08);
  box-shadow: 0 0 20px rgba(0,245,255,0.15);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--purple);
}
.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--glass-border);
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: rotate-ring linear infinite;
}
.ring-1 {
  width: 380px; height: 380px;
  border-color: rgba(0,245,255,0.2);
  animation-duration: 20s;
}
.ring-2 {
  width: 330px; height: 330px;
  border-color: rgba(180,79,255,0.15);
  border-style: dashed;
  animation-duration: 15s;
  animation-direction: reverse;
}
.ring-3 {
  width: 420px; height: 420px;
  border-color: rgba(0,245,255,0.06);
  animation-duration: 30s;
}
@keyframes rotate-ring { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-image-container {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 3px solid var(--cyan);
  box-shadow:
    0 0 40px rgba(0,245,255,0.3),
    0 0 80px rgba(0,245,255,0.1),
    inset 0 0 30px rgba(0,245,255,0.05);
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(1.05) contrast(1.05);
}
.hero-avatar {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--cyan);
}

/* Floating badges */
.floating-badge {
  position: absolute;
  z-index: 3;
  background: rgba(10,15,30,0.9);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: float-badge 3s ease-in-out infinite;
}
.badge-icon { font-size: 1rem; }
.badge-1 { top: 20px; right: -30px; animation-delay: 0s; }
.badge-2 { bottom: 60px; right: -20px; animation-delay: 1s; }
.badge-3 { top: 50%; left: -40px; transform: translateY(-50%); animation-delay: 2s; }

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.badge-3 { animation-name: float-badge-mid; }
@keyframes float-badge-mid {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
.mouse {
  width: 22px; height: 36px;
  border: 1px solid var(--text-dim);
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.wheel {
  width: 3px; height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ========================
   ABOUT
======================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.about-card {
  text-align: center;
}
.about-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.about-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; }

.contact-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
  padding: 1.5rem;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0,245,255,0.05);
  border: 1px solid rgba(0,245,255,0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  transition: all 0.3s;
}
.contact-chip svg { width: 14px; height: 14px; color: var(--cyan); flex-shrink: 0; }
.contact-chip:hover {
  background: rgba(0,245,255,0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ========================
   SKILLS
======================== */
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.skills-categories { display: flex; flex-direction: column; gap: 1rem; }

.skill-category { padding: 1.5rem; }
.skill-cat-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cat-icon { font-size: 1rem; }

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Tags */
.tag {
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  transition: all 0.25s;
  cursor: default;
}
.tag:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

.tag-blue { background: rgba(0,120,255,0.1); border-color: rgba(0,120,255,0.25); color: #60a5fa; }
.tag-blue:hover { background: rgba(0,120,255,0.2); border-color: #60a5fa; }

.tag-purple { background: rgba(180,79,255,0.1); border-color: rgba(180,79,255,0.25); color: var(--purple); }
.tag-purple:hover { background: rgba(180,79,255,0.2); border-color: var(--purple); }

.tag-gold { background: rgba(255,215,0,0.08); border-color: rgba(255,215,0,0.2); color: var(--gold); }
.tag-gold:hover { background: rgba(255,215,0,0.15); border-color: var(--gold); }

.tag-green { background: rgba(0,255,136,0.08); border-color: rgba(0,255,136,0.2); color: var(--green); }
.tag-green:hover { background: rgba(0,255,136,0.15); border-color: var(--green); }

/* Skill bars */
.skill-bars-wrap { padding: 2rem; }
.skill-bars-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.skill-bar-item { margin-bottom: 1.25rem; }
.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.skill-pct { color: var(--cyan); }
.skill-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(0,245,255,0.4);
}

.soft-skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.soft-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(180,79,255,0.08);
  border: 1px solid rgba(180,79,255,0.2);
  color: var(--purple);
  transition: all 0.25s;
}
.soft-chip:hover {
  background: rgba(180,79,255,0.15);
  transform: translateY(-2px);
}

/* ========================
   EDUCATION TIMELINE
======================== */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 4rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--purple), transparent);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}
.timeline-dot {
  position: absolute;
  left: -2.45rem;
  top: 1.5rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px var(--cyan);
  transition: transform 0.3s;
}
.timeline-item:hover .timeline-dot { transform: scale(1.4); }
.timeline-card { padding: 1.5rem; }
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}
.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
}
.timeline-org {
  font-size: 0.85rem;
  color: var(--purple);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.timeline-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

/* Certs */
.cert-section { margin-top: 3rem; }
.cert-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.cert-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.cert-icon { font-size: 1.25rem; flex-shrink: 0; }

/* Sub-section headings inside cert-section */
.cert-section .cert-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}
.cert-section .cert-title:first-child { margin-top: 0; }

/* ========================
   EXPERIENCE
======================== */
.exp-card { margin-bottom: 3rem; }
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.exp-role {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.exp-company {
  font-size: 0.9rem;
  color: var(--cyan);
}
.exp-company a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.exp-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--purple);
  background: rgba(180,79,255,0.1);
  border: 1px solid rgba(180,79,255,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
}
.exp-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.exp-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.exp-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.exp-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Achievements */
.achievements-section { margin-top: 3rem; }
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.achievement-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
}
.ach-icon { font-size: 1.75rem; flex-shrink: 0; }
.achievement-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }

/* ========================
   PROJECTS
======================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.project-card { display: flex; flex-direction: column; gap: 1rem; }
.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-icon { font-size: 2rem; }
.proj-link {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-dim);
  transition: all 0.3s;
}
.proj-link svg { width: 16px; height: 16px; }
.proj-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,245,255,0.2);
}
.project-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.project-desc { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ========================
   CONTACT
======================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-intro {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-details { margin-bottom: 2rem; }
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.contact-detail-item svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }
.contact-detail-item a { color: var(--text-dim); transition: color 0.3s; }
.contact-detail-item a:hover { color: var(--cyan); }

.social-links { display: flex; gap: 0.75rem; }
.social-btn {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-dim);
  transition: all 0.3s;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,245,255,0.07);
  box-shadow: 0 0 16px rgba(0,245,255,0.15);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,245,255,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(148,163,184,0.4); }

.submit-btn { align-self: flex-start; cursor: pointer; }
.form-success {
  display: none;
  font-size: 0.85rem;
  color: var(--green);
  font-family: var(--font-mono);
}
.form-success.show { display: block; }

/* ========================
   FOOTER
======================== */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 5%;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer p { font-size: 0.88rem; color: var(--text-dim); }
.footer-sub { font-size: 0.78rem; color: rgba(148,163,184,0.5); font-family: var(--font-mono); }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .skills-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-image-wrap { width: 340px; height: 340px; }
  .ring-1 { width: 300px; height: 300px; }
  .ring-2 { width: 260px; height: 260px; }
  .ring-3 { width: 340px; height: 340px; }
  .hero-image-container { width: 220px; height: 220px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(3,7,18,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 2rem;
  }
  .hero-text { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-wrap { width: 280px; height: 280px; }
  .ring-1 { width: 240px; height: 240px; }
  .ring-2 { width: 200px; height: 200px; }
  .ring-3 { width: 280px; height: 280px; }
  .hero-image-container { width: 180px; height: 180px; }
  .badge-1, .badge-2, .badge-3 { display: none; }

  .section { padding: 70px 5%; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }

  body { cursor: auto; }
  .cursor, .cursor-trail { display: none; }
}

@media (max-width: 480px) {
  .about-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }
}
