/* ═══════════════════════════════════════════════════════════
   AYUSH CHHOKER — Professional Portfolio
   Clean · Minimal · Dark · Modern
   ═══════════════════════════════════════════════════════════ */

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0a0a0f;
  --bg2:      #111118;
  --card:     #16161e;
  --card2:    #1c1c26;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);
  --text:     #f1f5f9;
  --text2:    #cbd5e1;
  --muted:    #64748b;
  --accent:   #6366f1;
  --accent2:  #818cf8;
  --cyan:     #06b6d4;
  --green:    #10b981;
  --orange:   #f59e0b;
  --font:     'Outfit', sans-serif;
  --mono:     'JetBrains Mono', monospace;
  --radius:   14px;
  --shadow:   0 4px 24px rgba(0,0,0,0.4);
  --shadow2:  0 8px 48px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

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

/* ── Three.js Canvas ──────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

.scanlines { display: none; }

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(10,10,15,0.97); }

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.logo-bracket { color: var(--accent2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text); }

.nav-link.nav-cta {
  padding: 7px 18px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 500;
  font-size: 13px;
  border-radius: 8px;
}
.nav-link.nav-cta:hover { background: #4f46e5; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--text2); display: block; transition: 0.3s; }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 12px 8px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--text); }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent2);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.text-cyan   { color: var(--cyan); }
.text-purple { color: var(--accent2); }
.text-green  { color: var(--green); }

.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 600px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, opacity 0.15s;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(99,102,241,0.35);
}
.btn-primary:hover { background: #4f46e5; box-shadow: 0 4px 20px rgba(99,102,241,0.45); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text2);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.2); color: var(--text); background: rgba(255,255,255,0.04); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text2); }

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

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 40px 80px;
  position: relative;
  z-index: 10;
  max-width: 1160px;
  margin: 0 auto;
}

.hero-content { max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-green 2.5s ease-in-out infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

.hero-name {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.0;
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
  display: inline-block;
}

/* Subtle glitch — refined, not aggressive */
.hero-name.glitch::before {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  color: var(--accent2);
  animation: glitch-subtle 6s infinite;
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
  opacity: 0;
}
@keyframes glitch-subtle {
  0%,92%,100% { opacity: 0; transform: none; }
  94% { opacity: 0.6; transform: translate(-2px, 0); }
  96% { opacity: 0; }
  97% { opacity: 0.5; transform: translate(2px, 0); }
  99% { opacity: 0; }
}

.hero-role {
  font-family: var(--mono);
  font-size: clamp(13px, 1.8vw, 16px);
  color: var(--accent2);
  margin-bottom: 20px;
  min-height: 24px;
  letter-spacing: 0.3px;
}
.role-prefix { color: var(--muted); margin-right: 6px; }
.cursor {
  display: inline-block;
  color: var(--accent2);
  animation: blink 1s step-start infinite;
  font-weight: 300;
}
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

.hero-desc {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 300;
}
.highlight-cyan   { color: var(--cyan); font-weight: 500; }
.highlight-purple { color: var(--accent2); font-weight: 500; }
.highlight-green  { color: var(--green); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
  width: fit-content;
}
.stat-divider { display: none; }
.stat-item {
  padding: 20px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-suffix {
  font-size: 18px;
  color: var(--accent2);
  font-weight: 600;
}
.stat-number-text {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--muted), transparent); }
@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }

/* ── About ────────────────────────────────────────────────── */
#about { background: linear-gradient(180deg, transparent, rgba(99,102,241,0.02) 50%, transparent); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: start;
  margin-bottom: 72px;
}

.about-text p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 16px;
  font-weight: 300;
}
strong { color: var(--text); font-weight: 600; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag {
  padding: 5px 13px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 6px;
  font-size: 12px;
  color: var(--accent2);
  font-family: var(--mono);
  font-weight: 400;
}

/* Image */
.image-frame {
  position: relative;
  border-radius: 20px;
  width: 100%;
}
.image-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  border: 1px solid var(--border2);
}
.image-fallback {
  display: none;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(99,102,241,0.15);
}
.image-ring { display: none; }
.image-corner { display: none; }

/* What I Do */
.what-i-do { }
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.what-card {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  animation-delay: var(--delay, 0s);
}
.what-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.what-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent2);
  margin-bottom: 16px;
}
.what-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.what-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── Skills ───────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.skills-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 24px;
}

.skill-bar-list { display: flex; flex-direction: column; gap: 18px; }
.skill-bar-item { }
.skill-bar-header { display: flex; justify-content: space-between; margin-bottom: 8px; align-items: center; }
.skill-name { font-size: 14px; font-weight: 400; color: var(--text2); }
.skill-pct { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.skill-track {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--bar-color, var(--accent)), var(--accent2));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

.badge-category { margin-bottom: 20px; }
.badge-cat-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 10px;
}
.badge-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.badge {
  padding: 5px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
  font-weight: 400;
}
.badge:hover {
  border-color: rgba(99,102,241,0.4);
  color: var(--accent2);
  background: rgba(99,102,241,0.06);
}
.badge-purple:hover {
  border-color: rgba(99,102,241,0.4) !important;
  color: var(--accent2) !important;
  background: rgba(99,102,241,0.06) !important;
}
.badge-green:hover {
  border-color: rgba(16,185,129,0.35) !important;
  color: var(--green) !important;
  background: rgba(16,185,129,0.06) !important;
}
.badge-orange:hover {
  border-color: rgba(245,158,11,0.35) !important;
  color: var(--orange) !important;
  background: rgba(245,158,11,0.06) !important;
}

/* ── Experience ───────────────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 1px;
  background: var(--border2);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
  animation-delay: var(--delay, 0s);
}
.timeline-dot {
  position: absolute;
  left: -35px; top: 26px;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-dot-edu {
  background: var(--muted);
  box-shadow: 0 0 0 2px var(--muted);
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  transition: border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.timeline-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow);
}
.timeline-card-edu { opacity: 0.85; }
.timeline-card-edu:hover { opacity: 1; }

.card-glow { display: none; }

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.job-title { font-size: 17px; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.company-name { font-size: 13px; color: var(--accent2); font-weight: 500; }
.timeline-card-edu .company-name { color: var(--muted); }

.timeline-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  font-family: var(--mono);
}
.meta-active {
  background: rgba(16,185,129,0.07);
  border-color: rgba(16,185,129,0.2);
  color: var(--green);
}
.meta-active i { font-size: 7px; }

.job-desc { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }

.job-responsibilities { list-style: none; margin-bottom: 16px; }
.job-responsibilities li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 6px;
  font-weight: 300;
}
.job-responsibilities li::before { content: '—'; color: var(--accent); flex-shrink: 0; font-weight: 300; }

.job-techs { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tag {
  padding: 3px 10px;
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(129,140,248,0.8);
  font-weight: 400;
}
.timeline-card-edu .tech-tag {
  background: rgba(255,255,255,0.03);
  border-color: var(--border);
  color: var(--muted);
}

/* ── Projects ─────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  animation-delay: var(--delay, 0s);
}
.project-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow2);
  transform: translateY(-4px);
}
.card-glow { display: none; }

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.project-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--icon-color, var(--accent2));
}
.project-links { display: flex; gap: 6px; }
.icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--border2); color: var(--text); background: rgba(255,255,255,0.07); }
.icon-btn-live:hover { border-color: rgba(6,182,212,0.4); color: var(--cyan); }

.project-title { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.3; }
.project-desc { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; font-weight: 300; }

.project-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.project-tags span {
  padding: 3px 9px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.project-category,
.project-accuracy {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}
.project-category i { color: var(--accent2); }
.project-accuracy i { color: var(--green); }

.projects-more { display: flex; justify-content: center; }

/* ── Certifications ───────────────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
  animation-delay: var(--delay, 0s);
  position: relative;
  overflow: hidden;
}
.cert-card:hover { border-color: var(--border2); box-shadow: var(--shadow); }
.cert-shine { display: none; }

.cert-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--cert-color, var(--accent2));
  flex-shrink: 0;
}
.cert-body { flex: 1; min-width: 0; }
.cert-body h3 { font-size: 13px; font-weight: 600; margin-bottom: 3px; line-height: 1.4; color: var(--text); }
.cert-issuer { font-size: 12px; color: var(--muted); }
.cert-year { font-family: var(--mono); font-size: 12px; color: var(--muted); flex-shrink: 0; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label { display: block; font-size: 10px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 3px; }
.contact-value {
  display: block;
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}
.contact-value:hover { color: var(--accent2); }

.social-links { display: flex; gap: 8px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-btn:hover { border-color: var(--border2); color: var(--text); background: rgba(255,255,255,0.06); }

.contact-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0.5px; }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  font-weight: 300;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(99,102,241,0.5);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(100,116,139,0.5); font-size: 13px; }
.form-group textarea { min-height: 110px; }

.form-status { margin-top: 10px; font-size: 13px; color: var(--green); min-height: 20px; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--text2); letter-spacing: 1px; }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text2); }

/* ── Reveal animations ────────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; }
.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.tilt-card { transform-style: preserve-3d; }

/* ── Divider / section bg alternation ────────────────────── */
#skills    { background: linear-gradient(180deg, transparent, rgba(99,102,241,0.02) 50%, transparent); }
#projects  { background: linear-gradient(180deg, transparent, rgba(6,182,212,0.015) 50%, transparent); }
#contact   { background: linear-gradient(180deg, transparent, rgba(99,102,241,0.02) 50%, transparent); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr 320px; gap: 48px; }
}

@media (max-width: 900px) {
  .skills-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: -1; max-width: 300px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  #hero { padding: 90px 20px 60px; }
  .hero-scroll { display: none; }
  .nav-container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { padding: 8px 20px 16px; }

  .what-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { width: 100%; }
  .stat-item { flex: 1; padding: 16px 20px; }

  .section { padding: 72px 0; }

  .timeline { padding-left: 20px; }
  .timeline-dot { left: -27px; }
  .timeline-header { flex-direction: column; gap: 10px; }

  .footer-inner { flex-direction: column; text-align: center; gap: 10px; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .what-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 20px; }
  .hero-name { font-size: 38px; letter-spacing: -1px; }
}
