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

:root {
  --bg: #050810;
  --bg2: #080d1a;
  --bg3: #0d1525;
  --surface: #0f1a2e;
  --surface2: #132038;
  --border: rgba(0,200,255,0.1);
  --border2: rgba(0,200,255,0.2);
  --accent: #00c8ff;
  --accent2: #7b5fff;
  --accent3: #00ff9d;
  --text: #e8eef8;
  --text2: #8899bb;
  --text3: #556688;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --glow: 0 0 40px rgba(0,200,255,0.15);
  --glow-strong: 0 0 60px rgba(0,200,255,0.3);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── CUSTOM CURSOR ────────────────────────────────── */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  box-shadow: 0 0 12px var(--accent);
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(0,200,255,0.5);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-ring.hovered { width: 56px; height: 56px; border-color: var(--accent); }

/* ─── MONO ─────────────────────────────────────────── */
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }

/* ─── SCROLLBAR ────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 99px; }

/* ─── NAV ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(5,8,16,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
.nav.scrolled { padding: 0.9rem 3rem; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-bracket { color: var(--accent); }
.nav-links {
  display: flex; gap: 2rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text2);
  letter-spacing: 0.05em;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(0,200,255,0.4);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 800;
  color: var(--text2); transition: var(--transition);
}
.mobile-menu a:hover { color: var(--accent); }

/* ─── HERO ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 6rem 3rem 3rem;
  position: relative; overflow: hidden;
  gap: 4rem;
}
#matrixCanvas {
  position: absolute; inset: 0;
  opacity: 0.07; z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  flex: 1; max-width: 620px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border2);
  border-radius: 99px;
  font-size: 0.75rem; color: var(--text2);
  margin-bottom: 1.5rem;
  background: rgba(0,200,255,0.05);
}
.blink-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent3);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.name-line {
  display: block;
  background: linear-gradient(135deg, #e8eef8 0%, #8899bb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent-line {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typewriter {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent3);
  margin-bottom: 1.4rem;
  min-height: 1.5rem;
}
.cursor-blink { animation: blink 0.7s steps(1) infinite; }

.hero-desc {
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}
.hero-desc strong { color: var(--text); }

.hero-stats {
  display: flex; gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.stat-pill {
  display: flex; flex-direction: column;
  padding: 0.8rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  gap: 0.2rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-pill span:nth-child(2) {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text2);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: none;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0; transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,200,255,0.5), 0 8px 24px rgba(0,200,255,0.2);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid var(--border2);
  cursor: none;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,200,255,0.05);
}

/* Hero visual */
.hero-visual {
  position: relative; z-index: 1;
  flex: 1; max-width: 520px;
}
.code-window {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glow), 0 32px 64px rgba(0,0,0,0.6);
}
.window-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 1rem 1.2rem;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
.window-title {
  margin-left: auto; font-size: 0.75rem; color: var(--text3);
}
.code-block {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text2);
  white-space: pre;
  overflow-x: auto;
  min-height: 280px;
}

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 3rem;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text3);
  writing-mode: horizontal-tb;
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ─── SECTIONS ──────────────────────────────────────── */
.section { padding: 7rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
.section-eyebrow {
  font-size: 0.75rem; color: var(--accent);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── ABOUT ──────────────────────────────────────────── */
.about { background: var(--bg2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.about-text p {
  color: var(--text2); margin-bottom: 1.2rem; font-size: 1.05rem;
}
.about-text strong { color: var(--text); }
.about-text .accent { color: var(--accent3); }
.about-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}
.badge {
  padding: 0.35rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text2);
  transition: var(--transition);
}
.badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,200,255,0.05);
}

.about-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
}
.profile-glow {
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.about-info-list { display: flex; flex-direction: column; gap: 0.1rem; }
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-key { font-size: 0.75rem; color: var(--text3); letter-spacing: 0.05em; }
.info-val { font-size: 0.9rem; color: var(--text); text-align: right; }
.green-dot::before {
  content: '●'; color: var(--accent3); margin-right: 0.5rem; font-size: 0.6rem;
  animation: blink 1.5s ease-in-out infinite;
}

/* ─── SKILLS ─────────────────────────────────────────── */
.skills { background: var(--bg); }
.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}
.skill-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.skill-card:hover {
  border-color: var(--border2);
  transform: translateX(4px);
  box-shadow: 0 0 20px rgba(0,200,255,0.08);
}
.skill-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  transform: scaleY(0);
  transition: transform 0.4s ease;
}
.skill-card:hover::before { transform: scaleY(1); }
.skill-icon { font-size: 1.5rem; flex-shrink: 0; }
.skill-info { flex: 1; }
.skill-name { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.15rem; }
.skill-sub { font-size: 0.72rem; color: var(--text3); }
.skill-bar-wrap {
  width: 80px; height: 4px;
  background: var(--bg3); border-radius: 99px;
  overflow: hidden; flex-shrink: 0;
}
.skill-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 99px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.skill-pct {
  font-size: 0.72rem; color: var(--accent); width: 32px; text-align: right;
}

/* ─── EXPERIENCE ─────────────────────────────────────── */
.experience { background: var(--bg2); }
.timeline { position: relative; margin-bottom: 4rem; }
.timeline::before {
  content: '';
  position: absolute; left: 12px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
}
.timeline-item {
  display: flex; gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border2);
  flex-shrink: 0; margin-top: 4px;
  position: relative; z-index: 1;
  transition: var(--transition);
}
.timeline-item.active .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0,200,255,0.6);
}
.timeline-content {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: var(--transition);
}
.timeline-content:hover {
  border-color: var(--border2);
  box-shadow: var(--glow);
}
.tl-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.tl-role {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.2rem;
}
.tl-company { font-size: 0.85rem; color: var(--accent); font-weight: 500; }
.tl-date { font-size: 0.75rem; color: var(--text3); }
.tl-project { font-size: 0.8rem; color: var(--text3); margin-bottom: 1rem; font-style: italic; }
.tl-bullets {
  list-style: none;
  margin-bottom: 1.2rem;
}
.tl-bullets li {
  font-size: 0.88rem; color: var(--text2);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.tl-bullets li::before {
  content: '▹'; color: var(--accent); position: absolute; left: 0;
}
.tl-stack {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.tl-stack span {
  padding: 0.2rem 0.7rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text3);
}

/* Certs */
.certs-section { margin-top: 2rem; }
.certs-title { font-size: 0.85rem; color: var(--text3); margin-bottom: 1.5rem; }
.certs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.cert-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.cert-card:hover {
  border-color: rgba(123,95,255,0.4);
  box-shadow: 0 0 30px rgba(123,95,255,0.12);
}
.cert-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.cert-card:hover .cert-shine { transform: translateX(100%); }
.cert-badge { font-size: 2rem; }
.cert-name { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.cert-issuer { font-size: 0.72rem; color: var(--accent2); }

/* ─── PROJECTS ────────────────────────────────────────── */
.projects { background: var(--bg); }
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
}
.project-card.featured { grid-column: span 2; }
.project-glow {
  position: absolute; top: -80px; right: -80px;
  width: 250px; height: 250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.06) 0%, transparent 70%);
  pointer-events: none;
  transition: var(--transition);
}
.project-card:hover .project-glow {
  background: radial-gradient(circle, rgba(0,200,255,0.12) 0%, transparent 70%);
}
.project-number {
  font-size: 4rem; font-weight: 700;
  color: var(--border);
  position: absolute; top: 1rem; right: 1.5rem;
  line-height: 1;
  transition: var(--transition);
}
.project-card:hover .project-number { color: rgba(0,200,255,0.15); }
.project-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.project-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem; color: var(--accent);
}
.project-links { display: flex; gap: 0.5rem; }
.proj-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text2);
  transition: var(--transition);
}
.proj-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,200,255,0.05);
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.project-desc {
  color: var(--text2);
  font-size: 0.9rem; line-height: 1.65;
  margin-bottom: 1.2rem;
}
.project-stack {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.project-stack span {
  padding: 0.2rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text3);
}

/* ─── PROFILES ────────────────────────────────────────── */
.profiles { background: var(--bg2); }
.profiles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.profile-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0; transition: var(--transition);
}
.profile-card.linkedin::before { background: rgba(0,119,181,0.06); }
.profile-card.github::before { background: rgba(255,255,255,0.03); }
.profile-card.leetcode::before { background: rgba(255,160,50,0.06); }
.profile-card.codeforces::before { background: rgba(30,120,255,0.06); }
.profile-card.email::before { background: rgba(234,67,53,0.06); }
.profile-card.portfolio::before { background: rgba(0,255,157,0.04); }
.profile-card:hover { transform: translateY(-3px); }
.profile-card:hover::before { opacity: 1; }
.profile-card.linkedin:hover { border-color: rgba(0,119,181,0.5); box-shadow: 0 8px 32px rgba(0,119,181,0.15); }
.profile-card.github:hover { border-color: rgba(255,255,255,0.2); box-shadow: 0 8px 32px rgba(255,255,255,0.05); }
.profile-card.leetcode:hover { border-color: rgba(255,160,50,0.5); box-shadow: 0 8px 32px rgba(255,160,50,0.15); }
.profile-card.codeforces:hover { border-color: rgba(30,120,255,0.5); box-shadow: 0 8px 32px rgba(30,120,255,0.15); }
.profile-card.email:hover { border-color: rgba(234,67,53,0.5); box-shadow: 0 8px 32px rgba(234,67,53,0.15); }
.profile-card.portfolio:hover { border-color: rgba(0,255,157,0.4); box-shadow: 0 8px 32px rgba(0,255,157,0.1); }
.profile-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border-radius: 12px;
  font-size: 1.3rem; flex-shrink: 0;
  position: relative; z-index: 1;
}
.profile-info { flex: 1; position: relative; z-index: 1; }
.profile-name { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.profile-handle { font-size: 0.72rem; color: var(--text3); }
.profile-arrow {
  font-size: 1.2rem; color: var(--text3);
  position: relative; z-index: 1;
  transition: var(--transition);
}
.profile-card:hover .profile-arrow { color: var(--accent); transform: translate(2px,-2px); }

/* ─── CONTACT ─────────────────────────────────────────── */
.contact { background: var(--bg); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-left p {
  color: var(--text2); margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.7;
}
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--text2); font-size: 0.9rem;
  transition: var(--transition);
}
.contact-link:hover { color: var(--accent); }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-message {
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}
.form-message.success {
  background: rgba(0,255,157,0.08);
  border: 1px solid rgba(0,255,157,0.3);
  color: var(--accent3);
}
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: 0.72rem; color: var(--text3);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.1);
}
.form-input::placeholder { color: var(--text3); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ─── FOOTER ──────────────────────────────────────────── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: var(--text3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--text3); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 6rem 2rem 4rem; gap: 3rem; }
  .hero-visual { max-width: 100%; width: 100%; }
  .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .nav { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 1.5rem; }
  .section { padding: 5rem 0; }
  .hero-name { font-size: clamp(2.8rem, 10vw, 4rem); }
}

@media (max-width: 600px) {
  .hero-stats { gap: 0.75rem; }
  .stat-pill { padding: 0.6rem 0.9rem; }
  .stat-num { font-size: 1.4rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .profiles-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
