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

:root {
  /* Colors */
  --bg-primary: #08090a;
  --bg-secondary: #0d0f12;
  --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(255,255,255,0.18);

  /* Text */
  --text-primary: #f0f0f0;
  --text-secondary: #8a8f98;
  --text-muted: #555a65;

  /* Accents */
  --accent-green: #3ecf8e;
  --accent-green-dim: rgba(62,207,142,0.12);
  --accent-blue: #4f8ef7;
  --accent-blue-dim: rgba(79,142,247,0.12);
  --accent-amber: #f5a623;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #3ecf8e 0%, #4f8ef7 100%);
  --grad-text: linear-gradient(135deg, #3ecf8e 0%, #7dd3fc 50%, #4f8ef7 100%);
  --grad-glow: radial-gradient(circle, rgba(62,207,142,0.15) 0%, transparent 70%);

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --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);
}

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

body {
  font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border: 1px solid rgba(62,207,142,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.text-center { text-align: center; }

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-py) 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(8,9,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
}

.logo-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  color: #08090a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-link.nav-cta {
  background: var(--grad-primary);
  color: #08090a;
  font-weight: 700;
  padding: 8px 18px;
}

.nav-link.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(62,207,142,0.3);
}

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

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

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

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(62,207,142,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,142,247,0.1) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 80vh;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px; height: 8px;
  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 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.hero-roles {
  margin-bottom: 28px;
  height: 36px;
  overflow: hidden;
}

.roles-wrapper {
  display: flex;
  flex-direction: column;
}

.role-item {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-green);
  height: 36px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.role-item.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}

.btn:hover::before {
  background: rgba(255,255,255,0.08);
}

.btn-primary {
  background: var(--grad-primary);
  color: #08090a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(62,207,142,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: translateY(-2px);
}

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

/* ===== HERO STATS ===== */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 24px 0 0;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 24px 0 0;
}

/* ===== PORTRAIT ===== */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-wrapper {
  position: relative;
  width: 380px;
  height: 460px;
}

.portrait-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: rotate 20s linear infinite;
}

.ring-1 {
  inset: -20px;
  border-color: rgba(62,207,142,0.15);
}

.ring-2 {
  inset: -40px;
  border-color: rgba(79,142,247,0.1);
  animation-duration: 30s;
  animation-direction: reverse;
}

.ring-3 {
  inset: -60px;
  border-color: rgba(62,207,142,0.06);
  animation-duration: 40s;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f2e, #0d1117);
  border: 1px solid var(--border);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.portrait-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8,9,10,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.portrait-badge svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.badge-tl { top: 20px; left: -30px; }
.badge-br { bottom: 30px; right: -20px; }

/* ===== SCROLL HINT ===== */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-intro {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-intro strong {
  color: var(--accent-green);
}

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

.about-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.focus-tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  transition: var(--transition);
}

.focus-tag:hover {
  border-color: var(--accent-green);
  background: var(--accent-green-dim);
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  cursor: default;
}

.role-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.role-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
}

.role-icon {
  font-size: 1.8rem;
}

.role-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ===== NUMBERS ===== */
.numbers-section {
  padding: 80px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.number-card {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}

.number-card:last-child {
  border-right: none;
}

.number-val {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  line-height: 1;
}

.number-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-green);
  display: inline;
}

.number-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ===== TIMELINE ===== */
.timeline-section {
  background: var(--bg-secondary);
}

.timeline {
  position: relative;
  margin-top: 60px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-green) 20%, var(--accent-green) 80%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:not(.right) .timeline-card {
  grid-column: 1;
  text-align: right;
}

.timeline-item:not(.right) .timeline-year {
  order: 3;
  text-align: left;
}

.timeline-item.right .timeline-card {
  grid-column: 3;
  order: 3;
}

.timeline-item.right .timeline-dot {
  order: 1;
  grid-column: 2;
}

.timeline-item.right .timeline-year {
  order: -1;
  text-align: right;
}

.timeline-item.current {
  grid-template-columns: 1fr;
  text-align: center;
}

.timeline-item.current .timeline-card {
  margin: 0 auto;
  max-width: 400px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--accent-green);
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
  box-shadow: 0 0 0 4px rgba(62,207,142,0.2);
  flex-shrink: 0;
  margin-top: 4px;
  align-self: start;
  grid-column: 2;
}

.current-dot {
  width: 20px;
  height: 20px;
  box-shadow: 0 0 0 6px rgba(62,207,142,0.3), 0 0 20px rgba(62,207,142,0.4);
  animation: glow 2s ease-in-out infinite;
  margin: 0 auto 20px;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(62,207,142,0.3), 0 0 20px rgba(62,207,142,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(62,207,142,0.5), 0 0 30px rgba(62,207,142,0.5); }
}

.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: 1px;
  padding-top: 4px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.timeline-card-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.timeline-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.current-card {
  position: relative;
  border-color: rgba(62,207,142,0.3);
  background: linear-gradient(135deg, rgba(62,207,142,0.06), rgba(79,142,247,0.06));
}

.current-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 8px;
}

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

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

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition);
}

.skill-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card--featured {
  border-color: rgba(62,207,142,0.2);
  background: var(--accent-green-dim);
}

.skill-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.skill-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.skill-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.skill-tag-new {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.skill-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 2px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== PROJECTS ===== */
.projects-section {
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.project-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(62,207,142,0.08), rgba(79,142,247,0.08));
  border-color: rgba(62,207,142,0.2);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green);
  margin-bottom: 16px;
}

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

.project-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.project-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.project-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.ptag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ===== PHILOSOPHY ===== */
.philosophy-section {
  background: var(--bg-primary);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.phil-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.phil-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.phil-card--featured {
  border-color: rgba(62,207,142,0.3);
  background: var(--accent-green-dim);
}

.phil-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.phil-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.phil-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.phil-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CONTENT ===== */
.content-section {
  background: var(--bg-secondary);
}

.content-topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.topic-card:hover {
  border-color: var(--accent-green);
  background: var(--accent-green-dim);
  transform: translateY(-4px);
}

.topic-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.topic-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.topic-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.content-cta {
  text-align: center;
}

.content-cta p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: var(--accent-green-dim);
  transform: translateY(-2px);
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--bg-primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  flex-shrink: 0;
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-value {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.contact-value:hover {
  color: var(--accent-green);
}

/* ===== FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  resize: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--accent-green);
  background: rgba(62,207,142,0.04);
  box-shadow: 0 0 0 3px rgba(62,207,142,0.1);
}

.form-textarea {
  min-height: 130px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--accent-green-dim);
  border: 1px solid rgba(62,207,142,0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-green);
  font-size: 14px;
  font-weight: 500;
}

.form-success.show {
  display: flex;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand p {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  text-align: right;
}

.footer-copy p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--grad-primary);
  border: none;
  border-radius: var(--radius-sm);
  color: #08090a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  z-index: 100;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(62,207,142,0.4);
}

/* ===== ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
[data-delay="600"] { transition-delay: 600ms; }

[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .hero-container { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-right { justify-content: center; }
  .portrait-wrapper { width: 300px; height: 360px; }
  .badge-tl { left: -10px; }
  .badge-br { right: -10px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-card { border-right: none; border-bottom: 1px solid var(--border); }
  .number-card:nth-child(odd) { border-right: 1px solid var(--border); }

  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: repeat(3, 1fr); }
  .content-topics { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; gap: 50px; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; }

  .nav-links { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: rgba(8,9,10,0.98); backdrop-filter: blur(20px); padding: 20px; gap: 4px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .hero-name { font-size: 2.5rem; }
  .portrait-wrapper { width: 260px; height: 300px; }
  .ring-1, .ring-2, .ring-3 { display: none; }

  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0; text-align: center; }

  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .timeline-item .timeline-dot { margin: 0; }
  .timeline-item:not(.right) .timeline-card { text-align: left; grid-column: 1; }
  .timeline-item:not(.right) .timeline-year { order: -1; }
  .timeline-item.right .timeline-card { grid-column: 1; order: unset; }
  .timeline-item.right .timeline-dot { order: unset; grid-column: 1; }
  .timeline-item.right .timeline-year { text-align: left; order: -1; }
  .timeline-line { left: 8px; }
  .timeline-dot { margin-left: 0; }

  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-featured { grid-column: 1; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
  .content-topics { grid-template-columns: 1fr 1fr; }

  .portrait-badge { display: none; }
}

@media (max-width: 480px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .content-topics { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { justify-content: center; }
}
