/* ════════════════════════════════════════════════════════════
   PERSONAL RESUME WEBSITE — style.css
   Design: Dark Techno-Minimal · JetBrains Mono + Sora
   Color: Near-black + Cyan-Green accent (#00d4aa)
   ════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --clr-bg: #080b10;
  --clr-bg-2: #0d1117;
  --clr-bg-3: #111720;
  --clr-surface: #141a24;
  --clr-surface-2: #1a2233;
  --clr-border: rgba(0, 212, 170, 0.12);
  --clr-border-2: rgba(255, 255, 255, 0.06);

  --clr-accent: #00d4aa;
  --clr-accent-2: #00b8ff;
  --clr-accent-3: #7c3aff;

  --clr-text: #e8edf5;
  --clr-text-2: #8b99b4;
  --clr-text-3: #4a5568;
  --clr-text-4: #2d3748;

  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'Sora', sans-serif;

  --nav-width: 80px;
  --nav-width-hv: 220px;

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --section-pad: clamp(80px, 12vw, 140px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  scroll-snap-type: y proximity;
  /* Proximity is much smoother for desktop/mouse interaction than mandatory */
  overflow-y: scroll;
}

/* Mobile settings remain proximity */
@media (max-width: 900px) {
  html {
    scroll-snap-type: y proximity;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Hardware acceleration for smoother scrolling */
  will-change: scroll-position;
}

/* ─── BG CANVAS ─── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ════════════════════════════════════════════════════════════
   SIDE NAV
   ════════════════════════════════════════════════════════════ */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--nav-width);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0 28px;
  gap: 0;
  background: rgba(8, 11, 16, 0.85);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--clr-border);
  transition: width 0.35s var(--ease-smooth);
  overflow: hidden;
}

.side-nav:hover {
  width: var(--nav-width-hv);
}

.nav-brand {
  margin-bottom: 32px;
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-2));
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--clr-bg);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  width: 100%;
  padding: 0 12px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--clr-text-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-accent);
  background: rgba(0, 212, 170, 0.08);
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
  transition: all 0.25s;
}

.nav-link.active .nav-dot,
.nav-link:hover .nav-dot {
  opacity: 1;
  box-shadow: 0 0 8px currentColor;
}

.nav-label {
  opacity: 0;
  transition: opacity 0.2s var(--ease-smooth) 0.05s;
  letter-spacing: 0.03em;
}

.side-nav:hover .nav-label {
  opacity: 1;
}

.nav-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
  width: 100%;
  margin-top: 16px;
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-3);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s;
}

.nav-social-link:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(0, 212, 170, 0.08);
}

/* ════════════════════════════════════════════════════════════
   MAIN CONTENT
   ════════════════════════════════════════════════════════════ */
.main-content {
  margin-left: var(--nav-width);
  position: relative;
  z-index: 1;
}

/* ─── SECTION BASE ─── */
.section {
  min-height: 100vh;
  padding: var(--section-pad) 0;
  position: relative;
  /* Proximity snapping works better with just 'start' to avoid sticky edges on mouse scroll */
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-accent);
  letter-spacing: 0.15em;
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--clr-border), transparent);
}

/* ════════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════════ */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 0 clamp(40px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

/* decorative grid */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.03;
}

.grid-lines {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--clr-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--clr-accent) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--clr-text-2);
  margin-bottom: 32px;
  background: rgba(0, 212, 170, 0.04);
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(0, 212, 170, 0);
  }
}

/* Name */
.hero-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.hero-name-cn {
  font-family: var(--font-mono);
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, var(--clr-accent) 60%, var(--clr-accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-name-en {
  font-family: var(--font-mono);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: var(--clr-text-3);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Tagline / Typewriter */
.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.5vw, 20px);
  font-weight: 400;
  color: var(--clr-accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 1.6em;
}

.tagline-prefix {
  color: var(--clr-text-3);
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--clr-accent);
  font-size: 0.85em;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Bio */
.hero-bio {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--clr-text-2);
  max-width: 640px;
  margin-bottom: 44px;
  line-height: 1.8;
}

/* Contact chips */
.hero-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--clr-text-2);
  font-size: 13px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.25s var(--ease-smooth);
}

.contact-chip:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(0, 212, 170, 0.06);
  transform: translateY(-2px);
}

.chip-icon {
  font-size: 14px;
  opacity: 0.8;
}

/* Scroll hint */
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-4);
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: var(--clr-text-4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  bottom: 0;
  width: 100%;
  background: var(--clr-accent);
  animation: scroll-slide 2s ease-in-out infinite;
}

@keyframes scroll-slide {
  0% {
    left: -100%;
  }

  50% {
    left: 0;
  }

  100% {
    left: 100%;
  }
}

/* ════════════════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════════════════ */
.about-section {
  background: var(--clr-bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.hover-glow {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.5s;
  opacity: 0;
  z-index: 0;
}

.about-card .hover-glow {
  z-index: 1;
}

.about-card>*:not(.hover-glow) {
  position: relative;
  z-index: 2;
}

.about-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 212, 170, 0.08);
}

.about-card:hover::before,
.about-card:hover .hover-glow {
  opacity: 1;
}

.about-card--wide {
  grid-column: 1 / -1;
}

.card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 24px;
}

/* Education timeline */
.edu-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edu-item {
  display: flex;
  gap: 20px;
}

.edu-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--clr-text-3);
  white-space: nowrap;
  padding-top: 3px;
  min-width: 90px;
}

.edu-degree {
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 4px;
}

.edu-school {
  font-size: 13px;
  color: var(--clr-text-2);
  margin-bottom: 10px;
}

.edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.edu-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--clr-accent);
}

.edu-divider {
  width: 1px;
  min-height: 28px;
  margin: 12px 0 12px 180px;
  background: var(--clr-border);
}

/* Interests */
.interest-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.interest-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.interest-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.interest-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 3px;
}

.interest-desc {
  font-size: 12px;
  color: var(--clr-text-2);
  line-height: 1.5;
}

/* Strengths */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.strength-item {
  padding: 20px;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border-2);
  border-radius: 12px;
  transition: all 0.25s;
}

.strength-item:hover {
  border-color: var(--clr-border);
  background: var(--clr-surface-2);
}

.strength-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: rgba(0, 212, 170, 0.15);
  margin-bottom: 8px;
  line-height: 1;
}

.strength-text {
  font-size: 13px;
  color: var(--clr-text-2);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   SKILLS SECTION
   ════════════════════════════════════════════════════════════ */
.skills-section {
  background: var(--clr-bg);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.skill-group {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: 16px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
}

.skill-group>*:not(.hover-glow) {
  position: relative;
  z-index: 2;
}

.skill-group:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 212, 170, 0.08);
}

.skill-group:hover .hover-glow {
  opacity: 1;
}

.skill-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.skill-group-icon {
  font-size: 16px;
  color: var(--clr-accent);
}

.skill-group-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-2);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-border-2);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clr-text-2);
  transition: all 0.2s;
  cursor: default;
}

.skill-tag:hover {
  border-color: var(--clr-border);
  color: var(--clr-text);
}

.skill-tag--primary {
  background: rgba(0, 212, 170, 0.06);
  border-color: rgba(0, 212, 170, 0.2);
  color: rgba(0, 212, 170, 0.85);
}

.skill-tag--primary:hover {
  background: rgba(0, 212, 170, 0.12);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.skill-tag--accent {
  background: rgba(0, 184, 255, 0.06);
  border-color: rgba(0, 184, 255, 0.2);
  color: rgba(0, 184, 255, 0.85);
}

.skill-tag--accent:hover {
  background: rgba(0, 184, 255, 0.12);
  border-color: var(--clr-accent-2);
  color: var(--clr-accent-2);
}

/* ════════════════════════════════════════════════════════════
   PROJECTS SECTION
   ════════════════════════════════════════════════════════════ */
.projects-section {
  background: var(--clr-bg-2);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
}

.project-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--clr-accent), var(--clr-accent-2));
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover {
  border-color: var(--clr-border);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 212, 170, 0.08);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card-inner {
  padding: 36px 40px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.project-type {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

.project-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--clr-text-3);
}

.project-name {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.project-desc {
  font-size: 14px;
  color: var(--clr-text-2);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 820px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tech-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(124, 58, 255, 0.08);
  border: 1px solid rgba(124, 58, 255, 0.2);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(180, 140, 255, 0.85);
}

.project-responsibilities {
  margin-bottom: 20px;
}

.resp-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-3);
  margin-bottom: 12px;
}

.resp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resp-list li {
  font-size: 13px;
  color: var(--clr-text-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.resp-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--clr-accent);
  font-size: 11px;
  top: 2px;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: var(--clr-bg-3);
  border-radius: 10px;
  border-left: 2px solid var(--clr-accent);
  margin-bottom: 20px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--clr-text-2);
}

.highlight-icon {
  flex-shrink: 0;
}

.project-footer {
  padding-top: 20px;
  border-top: 1px solid var(--clr-border-2);
}

.project-github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-accent);
  text-decoration: none;
  transition: all 0.2s;
}

.project-github-link:hover {
  color: var(--clr-accent);
}

.link-arrow {
  transition: transform 0.2s;
}

.project-github-link:hover .link-arrow {
  transform: translateX(4px);
}

/* ─── PROJECT CAROUSEL ─── */
.project-carousel-wrapper {
  margin-top: 1.5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.project-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 20px 0;
  align-items: center;
  /* Snap for better mobile feel */
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.project-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 calc(100% - 32px);
  transition: transform 1.2s var(--ease-smooth), opacity 1.2s var(--ease-smooth);
  opacity: 0.5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(0.9);
  cursor: pointer;
  border: 1px solid var(--clr-border-2);
}

@media (min-width: 600px) {
  .carousel-item {
    flex: 0 0 75%;
  }
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-item.active {
  transform: scale(1.05);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: var(--clr-accent);
}

/* ════════════════════════════════════════════════════════════
   EXPERIENCE SECTION
   ════════════════════════════════════════════════════════════ */
.experience-section {
  background: var(--clr-bg);
}

.experience-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 32px;
  border-left: 1px solid var(--clr-border);
}

.exp-item {
  position: relative;
  padding-bottom: 48px;
}

.exp-item:last-child {
  padding-bottom: 0;
}

.exp-timeline-dot {
  position: absolute;
  left: -39px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--clr-bg);
  border: 2px solid var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.12);
}

.exp-content {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.exp-content:hover {
  border-color: var(--clr-border);
  transform: translateX(4px);
}

.exp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--clr-border-2);
}

.exp-company {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.exp-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clr-accent);
  font-weight: 500;
}

.exp-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--clr-text-3);
  white-space: nowrap;
  padding-top: 4px;
}

.exp-body {
  padding: 24px 32px 28px;
}

.exp-responsibilities {
  margin-bottom: 20px;
}

.exp-resp-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-3);
  margin-bottom: 12px;
}

.exp-resp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-resp-list li {
  font-size: 13px;
  color: var(--clr-text-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.65;
}

.exp-resp-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--clr-accent);
  font-size: 11px;
  top: 2px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.exp-tech-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-border-2);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--clr-text-3);
}

.exp-achievements {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ach-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--clr-text-2);
  padding: 8px 14px;
  background: rgba(0, 212, 170, 0.04);
  border-radius: 8px;
}

.ach-icon {
  flex-shrink: 0;
}

/* Removed AI feature section */

/* ════════════════════════════════════════════════════════════
   CONTACT SECTION
   ════════════════════════════════════════════════════════════ */
.contact-section {
  background: var(--clr-bg);
  min-height: auto;
}

.contact-inner {
  max-width: 640px;
}

.contact-tagline {
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.65;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
}

.contact-link-card:hover {
  border-color: var(--clr-accent);
  background: rgba(0, 212, 170, 0.04);
  transform: translateX(6px);
}

.contact-link-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.18);
  border-radius: 10px;
  font-size: 16px;
  color: var(--clr-accent);
  flex-shrink: 0;
  transition: all 0.25s;
}

.contact-link-card:hover .contact-link-icon {
  background: rgba(0, 212, 170, 0.15);
  border-color: var(--clr-accent);
}

.contact-link-content {
  flex: 1;
}

.contact-link-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-3);
  margin-bottom: 4px;
}

.contact-link-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-text);
}

.contact-link-arrow {
  font-size: 18px;
  color: var(--clr-text-4);
  transition: all 0.25s;
}

.contact-link-card:hover .contact-link-arrow {
  color: var(--clr-accent);
  transform: translateX(4px);
}

.contact-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-avail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clr-text-3);
  letter-spacing: 0.03em;
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: pulse-badge 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   PAGE FOOTER
   ════════════════════════════════════════════════════════════ */
.page-footer {
  border-top: 1px solid var(--clr-border-2);
  padding: 28px clamp(40px, 8vw, 120px);
  margin-left: var(--nav-width);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clr-text-4);
}

.footer-name {
  color: var(--clr-text-3);
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ════════════════════════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root {
    --nav-width: 0px;
  }

  .side-nav {
    display: none;
  }

  .main-content,
  .page-footer {
    margin-left: 0;
  }

  .hero-section {
    padding: 120px 32px 80px;
    min-height: auto;
  }

  .about-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .about-card--wide {
    grid-column: auto;
  }

  .about-card--wide {
    grid-column: auto;
  }

  .exp-header {
    flex-direction: column;
    gap: 8px;
  }

  .project-meta {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .project-card-inner {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    max-width: 100%;
  }

  .hero-contacts {
    flex-direction: column;
  }

  .hero-tagline {
    font-size: 14px;
  }
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-accent);
}

/* ─── SELECTION ─── */
::selection {
  background: rgba(0, 212, 170, 0.25);
  color: var(--clr-text);
}