/* ===== Variables — White Tech Theme ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f8ff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --border: #e2e8f0;
  --border-hover: rgba(37, 99, 235, 0.35);
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --accent: #0891b2;
  --gradient: linear-gradient(135deg, #2563eb 0%, #0891b2 55%, #6366f1 100%);
  --gold: #d97706;
  --silver: #64748b;
  --bronze: #b45309;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(37, 99, 235, 0.06);
  --font: 'Noto Sans SC', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --header-h: 64px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* ===== Background Effects ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.bg-glow::after {
  content: '';
  position: absolute;
  bottom: -280px;
  left: -400px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.05) 0%, transparent 70%);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary);
}
.logo-bracket { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); background: rgba(37, 99, 235, 0.06); }
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.nav-cta:hover { background: var(--primary-light) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.32); }
.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}
.btn-outline:hover { background: rgba(37, 99, 235, 0.04); border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: rgba(15, 23, 42, 0.04); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
  padding-top: var(--header-h);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-role {
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 20px;
  min-height: 1.6em;
}
.cursor-blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--text-dim); }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.avatar-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-lg) + 3px);
  background: var(--gradient);
  z-index: -1;
  opacity: 0.85;
}
.avatar-img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid #fff;
}
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  font-size: 0.85rem;
  animation: float 4s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 0.9rem; color: var(--text); }
.floating-card small { color: var(--text-dim); }
.fc-icon { font-size: 1.4rem; }
.card-1 { top: 10%; right: -10%; animation-delay: 0s; }
.card-2 { bottom: 15%; left: -15%; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Sections ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(37, 99, 235, 0.06);
  border-bottom: 1px solid rgba(37, 99, 235, 0.06);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 12px 0 8px;
  color: var(--text);
}
.section-header p { color: var(--text-muted); }

/* ===== Resume ===== */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.resume-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.resume-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.resume-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.timeline-item { display: flex; gap: 16px; }
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.timeline-content h4 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline-meta { color: var(--text-muted); font-size: 0.9rem; }
.timeline-date {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin: 6px 0 12px;
}
.timeline-honors li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.timeline-honors li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
}
.timeline-honors strong { color: var(--gold); }

.advantage-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.advantage-item:last-child { margin-bottom: 0; }
.advantage-num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.35;
  flex-shrink: 0;
}
.advantage-item h4 { font-size: 1rem; margin-bottom: 4px; }
.advantage-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== Skills ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.skill-group-wide {
  grid-column: 1 / -1;
}
.skill-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 4px;
}
.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.skill-group:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.skill-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.skill-group h3 svg { color: var(--accent); }
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.skill-tags span {
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.skill-bar { margin-bottom: 12px; }
.skill-bar label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.bar-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.bar-fill.animated { width: var(--w); }

/* ===== Projects ===== */
.projects-list { display: flex; flex-direction: column; gap: 48px; }
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.project-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.project-card.reverse { direction: rtl; }
.project-card.reverse > * { direction: ltr; }
.project-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f8fafc;
}
.project-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.project-image.portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  padding: 20px;
}
.project-image.portrait img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border);
}
.project-card:hover .project-image:not(.portrait) img { transform: scale(1.03); }
.project-card:hover .project-image.portrait img { transform: scale(1.01); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.project-tag {
  padding: 4px 10px;
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--accent);
}
.project-link {
  font-size: 0.85rem;
  color: var(--primary);
  transition: var(--transition);
}
.project-link:hover { color: var(--accent); }
.project-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.project-body > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }
.project-highlights { margin-bottom: 16px; }
.project-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.project-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}
.project-highlights strong { color: var(--primary); }
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-stack span {
  padding: 4px 10px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== Awards ===== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.award-card:not(.award-pdf):hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.award-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}
.award-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.award-card:hover .award-img-wrap img { transform: scale(1.05); }
.award-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: var(--transition);
}
.award-card:hover .award-zoom { opacity: 1; }
.pdf-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdf-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}
.pdf-icon span {
  font-family: var(--mono);
  font-size: 0.85rem;
}
.award-info { padding: 20px; }
.award-level {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.award-level.gold { background: rgba(217, 119, 6, 0.1); color: var(--gold); }
.award-level.silver { background: rgba(100, 116, 139, 0.1); color: var(--silver); }
.award-level.bronze { background: rgba(180, 83, 9, 0.1); color: var(--bronze); }
.award-info h3 { font-size: 1.05rem; margin-bottom: 6px; }
.award-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.award-info time {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.award-pdf { cursor: default; }

/* ===== Contact ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 12px 0 16px;
}
.contact-info > p { color: var(--text-muted); margin-bottom: 28px; }
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow);
}
a.contact-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.cc-icon { font-size: 1.3rem; }
.contact-card small { display: block; font-size: 0.75rem; color: var(--text-dim); }
.contact-card strong { font-size: 0.9rem; }

.contact-terminal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }
.terminal-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.terminal-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.8;
  background: #fafbfc;
}
.t-prompt { color: var(--primary); }
.t-output { color: var(--text-muted); padding-left: 16px; }
.t-highlight { color: #16a34a; font-weight: 500; }

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: #fff;
  text-align: center;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-footer p { font-size: 0.85rem; color: var(--text-dim); }
.back-top {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.back-top:hover { color: var(--primary); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: calc(var(--header-h) + 40px); min-height: auto; padding-bottom: 60px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .floating-card { display: none; }
  .resume-grid, .contact-wrapper { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-group-wide { grid-column: auto; }
  .project-card, .project-card.reverse { grid-template-columns: 1fr; direction: ltr; }
  .project-image.portrait img { max-height: min(80vh, 720px); }
  .awards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero-stats { gap: 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .site-footer .container { flex-direction: column; gap: 12px; }
  .section { padding: 70px 0; }
}
