/* ===========================
   CSS RESET & VARIABLES
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #030d1a;
  --bg-secondary: #061525;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 200, 180, 0.5);

  --accent-teal: #00c8b4;
  --accent-cyan: #06b6d4;
  --accent-violet: #7c3aed;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;

  /* Legacy aliases kept so existing classes still work */
  --accent-blue: #06b6d4;
  --accent-purple: #7c3aed;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;
  --accent-pink: #f43f5e;

  --text-primary: #e8f4f8;
  --text-secondary: #8eb4c8;
  --text-muted: #4a7a94;

  --gradient-main: linear-gradient(135deg, #00c8b4, #06b6d4, #7c3aed);
  --gradient-blue: linear-gradient(135deg, #00c8b4, #06b6d4);
  --gradient-purple: linear-gradient(135deg, #7c3aed, #f43f5e);
  --gradient-green: linear-gradient(135deg, #10b981, #06b6d4);

  --font-sans: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 60px rgba(0, 200, 180, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 16px 48px rgba(0, 200, 180, 0.2);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   BASE
=========================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(ellipse at 20% 10%, rgba(0, 200, 180, 0.06) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(124, 58, 237, 0.07) 0%, transparent 50%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Neural canvas background */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   GLASS CARD
=========================== */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 200, 180, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ===========================
   TYPOGRAPHY
=========================== */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   NAVIGATION
=========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
}

.dot {
  color: var(--accent-blue);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.btn-resume {
  text-decoration: none;
  background: var(--gradient-main);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 200, 180, 0.3);
}

.btn-resume:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 200, 180, 0.5);
}

/* ===========================
   HERO SECTION
=========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 24px 48px;
  position: relative;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-green 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

.hero-name {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  height: 44px;
}

.hero-title-typed {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.cursor-blink {
  color: var(--accent-teal);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 200, 180, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 200, 180, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--accent-teal);
  background: rgba(0, 200, 180, 0.1);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===========================
   HERO VISUAL / PHOTO FRAME
=========================== */
.hero-visual {
  flex-shrink: 0;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.photo-frame {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated rings around the photo */
.photo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  pointer-events: none;
}

.photo-ring.ring-outer {
  inset: -32px;
  border-color: rgba(0, 200, 180, 0.2);
  animation: ring-spin 14s linear infinite;
}

.photo-ring.ring-mid {
  inset: -16px;
  border-color: rgba(6, 182, 212, 0.3);
  border-style: dashed;
  animation: ring-spin 10s linear infinite reverse;
}

.photo-ring.ring-inner {
  inset: 0;
  border-color: rgba(0, 200, 180, 0.5);
  animation: ring-pulse-border 3s ease-in-out infinite;
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes ring-pulse-border {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.03);
  }
}

/* The actual photo circle */
.photo-circle {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0, 200, 180, 0.5);
  box-shadow:
    0 0 0 6px rgba(0, 200, 180, 0.1),
    0 0 60px rgba(0, 200, 180, 0.2),
    0 24px 64px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, rgba(0, 200, 180, 0.15), rgba(124, 58, 237, 0.1));
  z-index: 2;
}

#profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 200, 180, 0.12), rgba(124, 58, 237, 0.1));
}

/* Show placeholder only when img fails to load */
#profile-photo:not([src="photo.jpg"]),
#profile-photo[src="photo.jpg"]:not(.loaded)+#photo-placeholder,
.photo-placeholder.show {
  display: flex;
}

/* Badge below the circle */
.photo-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 24px rgba(0, 200, 180, 0.4);
  z-index: 3;
  letter-spacing: 0.05em;
}

/* Floating accent dots */
.photo-dot {
  position: absolute;
  border-radius: 50%;
  animation: dot-float 4s ease-in-out infinite;
}

.dot-1 {
  width: 10px;
  height: 10px;
  background: var(--accent-teal);
  top: 10px;
  right: 20px;
  animation-delay: 0s;
  opacity: 0.8;
}

.dot-2 {
  width: 7px;
  height: 7px;
  background: var(--accent-violet);
  bottom: 30px;
  left: 10px;
  animation-delay: -1s;
  opacity: 0.7;
}

.dot-3 {
  width: 12px;
  height: 12px;
  background: var(--accent-cyan);
  bottom: 10px;
  right: 30px;
  animation-delay: -2s;
  opacity: 0.6;
}

.dot-4 {
  width: 6px;
  height: 6px;
  background: var(--accent-rose);
  top: 40px;
  left: 20px;
  animation-delay: -0.5s;
  opacity: 0.75;
}

@keyframes dot-float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.15);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 100px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(6px);
    opacity: 0.3;
  }
}

/* ===========================
   SECTION COMMON
=========================== */
section {
  padding: 64px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(0, 200, 180, 0.08);
  border: 1px solid rgba(0, 200, 180, 0.25);
  border-radius: 100px;
}

.section-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ===========================
   ABOUT SECTION
=========================== */
#about {
  background: linear-gradient(180deg, transparent, rgba(5, 5, 16, 0.5), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.about-card {
  padding: 24px;
  text-align: center;
}

.about-icon {
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 200, 180, 0.1);
  border: 1px solid rgba(0, 200, 180, 0.2);
  color: var(--accent-teal);
}

.about-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.about-degree {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-school {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.about-year {
  font-size: 13px;
  color: var(--accent-teal);
  font-family: var(--font-mono);
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
}

.lang-flag svg {
  width: 18px;
  height: 18px;
}

.lang-name {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  flex: 1;
}

.lang-level {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.lang-level.native {
  background: rgba(0, 200, 180, 0.12);
  color: var(--accent-teal);
}

.lang-level.professional {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
}

.lang-level.intermediate {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.interest-tag {
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 100px;
  color: var(--accent-violet);
  font-weight: 500;
}

.about-summary {
  padding: 20px 32px;
  text-align: center;
}

.about-summary p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* ===========================
   SKILLS SECTION
=========================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-category {
  padding: 28px;
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.skill-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 200, 180, 0.1);
  color: var(--accent-teal);
  flex-shrink: 0;
}

.skill-cat-icon svg {
  width: 18px;
  height: 18px;
}

.skill-cat-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-name {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--font-mono);
}

.skill-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-cyan));
  border-radius: 100px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(0, 200, 180, 0.08);
  border: 1px solid rgba(0, 200, 180, 0.2);
  color: var(--accent-teal);
  transition: var(--transition);
}

.skill-tag:hover {
  background: rgba(0, 200, 180, 0.2);
  border-color: var(--accent-teal);
  transform: scale(1.05);
}

.skill-tag.accent {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
}

.skill-tag.accent:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-cyan);
}

.skill-tag.green {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
}

.skill-tag.green:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-emerald);
}

.skill-tag.purple {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.25);
  color: var(--accent-violet);
}

.skill-tag.purple:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--accent-violet);
}

.skill-tag.orange {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
}

.skill-tag.orange:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-amber);
}

/* ===========================
   EXPERIENCE SECTION
=========================== */
#experience {
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 200, 180, 0.05) 0%, transparent 70%);
}

/* ── Terminal-style card for experience ── */
.timeline-content {
  padding: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}

.timeline-content::before {
  display: none;
}

.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-teal), var(--accent-violet), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-dot {
  position: absolute;
  left: -46px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-teal);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 16px var(--accent-teal);
}

.timeline-content {
  padding: 22px 28px 22px 36px;
  border-left: 3px solid var(--accent-teal);
  background: rgba(0, 200, 180, 0.03) !important;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important;
  position: relative;
}

.timeline-content::after {
  content: '{  }';
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(0, 200, 180, 0.25);
  letter-spacing: 0.1em;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.timeline-role {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

.timeline-company {
  font-size: 14px;
  color: var(--text-secondary);
}

.timeline-date {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--accent-teal);
  background: rgba(0, 200, 180, 0.08);
  border: 1px solid rgba(0, 200, 180, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.timeline-bullets li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}

.timeline-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-size: 12px;
}

.timeline-bullets strong {
  color: var(--text-primary);
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tech span {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(0, 200, 180, 0.08);
  border: 1px solid rgba(0, 200, 180, 0.2);
  border-radius: 100px;
  color: var(--accent-teal);
  font-family: var(--font-mono);
}

/* ===========================
   PROJECTS SECTION — Horizontal numbered cards
=========================== */
#projects {
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent);
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.project-card {
  display: flex;
  align-items: stretch;
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: default;
  background: rgba(255, 255, 255, 0.03) !important;
  position: relative;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateX(6px);
  box-shadow: -4px 0 32px rgba(0, 200, 180, 0.1);
}

/* Numbered left strip */
.project-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  font-size: 38px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  letter-spacing: -0.04em;
  padding: 28px 0;
  user-select: none;
}

.project-inner {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.project-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 200, 180, 0.1);
  border: 1px solid rgba(0, 200, 180, 0.2);
  color: var(--accent-teal);
  flex-shrink: 0;
}

.project-icon svg {
  width: 20px;
  height: 20px;
}

.project-title-group {
  flex: 1;
}

.project-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.project-subtitle {
  font-size: 11px;
  color: var(--accent-teal);
  font-family: var(--font-mono);
  margin-bottom: 0;
}

.project-links {
  flex-shrink: 0;
}

.project-tag-main {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0, 200, 180, 0.08);
  border: 1px solid rgba(0, 200, 180, 0.25);
  color: var(--accent-teal);
}

.project-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.project-desc strong {
  color: var(--text-primary);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}

.project-tech span {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.project-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0;
  border-top: none;
}

.metric-value {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;

}

/* ===========================
   CONTACT SECTION
=========================== */
#contact {
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.04), transparent);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  padding: 48px;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-info>p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  cursor: default;
}

a.contact-item {
  cursor: pointer;
}

a.contact-item:hover {
  border-color: var(--accent-teal);
  background: rgba(0, 200, 180, 0.06);
  transform: translateX(4px);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 200, 180, 0.1);
  border: 1px solid rgba(0, 200, 180, 0.2);
  color: var(--accent-teal);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ===========================
   FOOTER
=========================== */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-role {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-sep {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===========================
   REVEAL ANIMATIONS
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  #hero {
    flex-direction: column-reverse;
    padding-top: 100px;
    text-align: center;
    gap: 32px;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: flex;
    width: 220px;
    height: 220px;
  }

  .photo-frame {
    width: 180px;
    height: 180px;
  }

  .photo-circle {
    width: 150px;
    height: 150px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-header {
    flex-direction: column;
  }

  .contact-info {
    padding: 32px 24px;
  }
}