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

:root {
  --bg: #080b12;
  --bg-2: #0d1120;
  --bg-3: #111827;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --text-primary: #f0f4ff;
  --text-secondary: rgba(240,244,255,0.55);
  --text-muted: rgba(240,244,255,0.35);
  --accent-blue: #6ee7f7;
  --accent-purple: #a78bfa;
  --accent-pink: #f472b6;
  --accent-amber: #fbbf24;
  --accent-green: #34d399;
  --gradient-hero: linear-gradient(135deg, #0d1120 0%, #080b12 60%, #0f0a1e 100%);
  --font: 'Inter', 'Noto Sans SC', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(110,231,247,0.25); border-radius: 3px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(8,11,18,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8,11,18,0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.dot { color: var(--accent-blue); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--surface);
}

.nav-cta {
  display: flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  background: var(--accent-blue);
  color: #080b12;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 100px;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 999;
  background: rgba(8,11,18,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; }

.mobile-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-link:hover { color: var(--accent-blue); padding-left: 0.5rem; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6ee7f7, transparent);
  top: -20%; left: -10%;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #a78bfa, transparent);
  bottom: -10%; right: -5%;
  animation: orbFloat 16s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f472b6, transparent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 10s ease-in-out infinite 2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110,231,247,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,231,247,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(110,231,247,0.08);
  border: 1px solid rgba(110,231,247,0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-blue);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.25rem;
}

.name-cn {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #f0f4ff 0%, #6ee7f7 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.name-en {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.hero-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.sep { color: var(--accent-blue); margin: 0 0.5rem; }

.hero-summary {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #080b12;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(110,231,247,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(110,231,247,0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  border: 1px solid var(--border-hover);
  transition: var(--transition);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.hero-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-icon svg { width: 18px; height: 18px; }

.social-icon:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--accent-blue);
  transform: translateY(-3px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0.3); transform-origin: top; }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section { padding: 6rem 0; }

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

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 3rem;
}

/* =============================================
   GLASS CARD
   ============================================= */
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(110,231,247,0.06);
}

/* =============================================
   BENTO GRID
   ============================================= */
.bento-section { background: var(--bg-2); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.bento-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.bento-card:hover .bento-glow { opacity: 1; }

.bento-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(110,231,247,0.08), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.bento-large { grid-column: span 5; grid-row: span 2; }
.bento-medium { grid-column: span 3; }
.bento-wide { grid-column: span 7; display: flex; gap: 2rem; align-items: center; }
.bento-small { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

.bento-icon {
  width: 52px; height: 52px;
  margin-bottom: 1.25rem;
}

.bento-icon svg { width: 100%; height: 100%; }

.bento-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.bento-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bento-left { flex: 1; }
.bento-wide .bento-icon { width: 44px; height: 44px; margin-bottom: 1rem; }
.bento-wide h3 { font-size: 1.2rem; }

.bento-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus { font-size: 1.1rem; }

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  display: block;
}

.bento-dark { background: rgba(110,231,247,0.05); border-color: rgba(110,231,247,0.15); }
.bento-accent { background: rgba(167,139,250,0.06); border-color: rgba(167,139,250,0.15); }

.award-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.award-title { font-size: 0.8rem; font-weight: 700; line-height: 1.4; }
.award-sub { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.25rem; }

.cert-stack { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.5rem; }

.cert-badge {
  padding: 0.3rem 0.75rem;
  background: rgba(167,139,250,0.15);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-purple);
  white-space: nowrap;
}

.cert-label { font-size: 0.65rem; color: var(--text-muted); }

/* =============================================
   ABOUT
   ============================================= */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.edu-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.edu-card {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.edu-card:hover {
  border-color: rgba(110,231,247,0.25);
  background: var(--surface-hover);
}

.edu-school {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.3rem;
}

.edu-degree {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.edu-rank {
  font-size: 0.75rem;
  color: var(--accent-amber);
  font-weight: 600;
}

/* VISUAL */
.about-right { display: flex; justify-content: center; }

.about-card-visual {
  position: relative;
  width: 320px;
  height: 320px;
}

.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringRotate 20s linear infinite;
}

.ring-1 {
  width: 300px; height: 300px;
  border-color: rgba(110,231,247,0.15);
}

.ring-2 {
  width: 230px; height: 230px;
  border-color: rgba(167,139,250,0.2);
  animation-duration: 15s;
  animation-direction: reverse;
}

.ring-3 {
  width: 160px; height: 160px;
  border-color: rgba(244,114,182,0.15);
  animation-duration: 25s;
}

@keyframes ringRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.visual-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: radial-gradient(circle, rgba(110,231,247,0.12), transparent 70%);
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(110,231,247,0.2);
}

.visual-initials {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.visual-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.visual-tag {
  position: absolute;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.tag-ai { top: 10%; left: 55%; background: rgba(110,231,247,0.1); border-color: rgba(110,231,247,0.3); color: var(--accent-blue); }
.tag-city { top: 75%; left: 50%; background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.3); color: var(--accent-purple); }
.tag-arch { top: 45%; left: -5%; background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.3); color: var(--accent-green); }

/* =============================================
   EXPERIENCE TIMELINE
   ============================================= */
.experience-section { background: var(--bg-2); }

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple), transparent);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2.65rem;
  top: 1.5rem;
  width: 12px; height: 12px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(110,231,247,0.15), 0 0 16px rgba(110,231,247,0.4);
  z-index: 1;
}

.timeline-card {
  padding: 2rem;
}

.tl-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.tl-company {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.tl-role {
  font-size: 0.875rem;
  color: var(--accent-blue);
  font-weight: 500;
}

.tl-meta { text-align: right; }

.tl-date {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.tl-location {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tl-list {
  margin-bottom: 1.25rem;
}

.tl-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tl-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 5px;
  background: var(--accent-blue);
  border-radius: 50%;
  opacity: 0.6;
}

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

.tl-tags span {
  padding: 0.25rem 0.7rem;
  background: rgba(110,231,247,0.07);
  border: 1px solid rgba(110,231,247,0.15);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: 0.03em;
}

/* =============================================
   PROJECTS
   ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  position: relative;
  padding: 2rem;
  overflow: hidden;
  cursor: pointer;
}

.project-hover-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(110,231,247,0.07), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.project-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  opacity: 0.6;
}

.project-role {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.project-tags span {
  padding: 0.25rem 0.65rem;
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-purple);
}

.project-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-block;
}

.project-card:hover .project-arrow {
  color: var(--accent-blue);
  transform: translate(4px, -4px);
}

/* =============================================
   SKILLS
   ============================================= */
.skills-section { background: var(--bg-2); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.pill {
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid;
  transition: var(--transition);
  cursor: default;
}

.pill:hover { transform: translateY(-2px); }

.pill-ai {
  background: rgba(110,231,247,0.07);
  border-color: rgba(110,231,247,0.2);
  color: var(--accent-blue);
}

.pill-ai:hover {
  background: rgba(110,231,247,0.14);
  border-color: rgba(110,231,247,0.4);
}

.pill-arch {
  background: rgba(52,211,153,0.07);
  border-color: rgba(52,211,153,0.2);
  color: var(--accent-green);
}

.pill-arch:hover {
  background: rgba(52,211,153,0.14);
  border-color: rgba(52,211,153,0.4);
}

.pill-mgmt {
  background: rgba(251,191,36,0.07);
  border-color: rgba(251,191,36,0.2);
  color: var(--accent-amber);
}

.pill-mgmt:hover {
  background: rgba(251,191,36,0.14);
  border-color: rgba(251,191,36,0.4);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
  margin-top: -1.5rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.cc-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(110,231,247,0.08);
  border: 1px solid rgba(110,231,247,0.15);
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--accent-blue);
  transition: var(--transition);
}

.cc-icon svg { width: 20px; height: 20px; }

.contact-card:hover .cc-icon {
  background: rgba(110,231,247,0.15);
  box-shadow: 0 0 20px rgba(110,231,247,0.2);
}

.cc-content { flex: 1; min-width: 0; }

.cc-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.cc-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-card:hover .cc-arrow {
  color: var(--accent-blue);
  transform: translate(3px, -3px);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent-blue); }

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .bento-large { grid-column: span 6; }
  .bento-medium { grid-column: span 6; }
  .bento-wide { grid-column: span 12; }
  .bento-small { grid-column: span 3; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-right { order: -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .bento-large { grid-column: span 12; }
  .bento-medium { grid-column: span 12; }
  .bento-wide { grid-column: span 12; flex-direction: column; }
  .bento-small { grid-column: span 6; }
  .bento-stats { flex-direction: row; justify-content: space-around; width: 100%; }

  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .timeline { padding-left: 2rem; }
  .section { padding: 4rem 0; }
  .section-title { margin-bottom: 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .about-card-visual { width: 240px; height: 240px; }
  .visual-ring:nth-child(1) { width: 220px; height: 220px; }
  .visual-ring:nth-child(2) { width: 170px; height: 170px; }
  .visual-ring:nth-child(3) { width: 120px; height: 120px; }
}

@media (max-width: 480px) {
  .bento-small { grid-column: span 12; }
  .contact-card { flex-direction: column; text-align: center; }
  .tl-header { flex-direction: column; }
  .tl-meta { text-align: left; }
  .hero-actions { flex-direction: column; align-items: center; }
}
