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

:root {
  --bg: #0f1b2d;
  --bg-alt: #0d1926;
  --surface: #162032;
  --surface2: #1c2a3f;
  --border: #1f3250;
  --border-strong: #2a4166;
  --accent: #3b82f6;
  --accent-light: rgba(59,130,246,0.12);
  --accent-mid: rgba(59,130,246,0.3);
  --accent2: #10b981;
  --accent2-light: rgba(16,185,129,0.12);
  --accent3: #a78bfa;
  --accent3-light: rgba(167,139,250,0.12);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #4f6a8a;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-hover: 0 8px 28px rgba(59,130,246,0.18), 0 2px 8px rgba(0,0,0,0.3);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
  color: #93c5fd;
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,27,45,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
#navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.4); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); background: var(--surface2); }
.nav-links a.active { color: var(--accent); background: var(--accent-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
}

.nav-visitor {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-visitor .vis-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

/* Skill card install row */
.skill-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 10px;
  flex-wrap: wrap;
}
.skill-dl-count {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}
.skill-dl-count .dl-num {
  color: var(--accent);
  font-weight: 700;
}
.skill-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.35);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.skill-install-btn:hover {
  background: rgba(59,130,246,0.22);
  border-color: var(--accent);
}
.skill-install-btn.downloading {
  color: #10b981;
  border-color: rgba(16,185,129,0.4);
  background: rgba(16,185,129,0.1);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(59,130,246,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(16,185,129,0.06) 0%, transparent 60%),
    var(--bg);
  position: relative;
}

.hero-avatar {
  width: 155px; height: 155px;
  border-radius: 50%;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 5px rgba(59,130,246,0.25), 0 10px 36px rgba(59,130,246,0.3);
  overflow: hidden;
  flex-shrink: 0;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-name {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  background: linear-gradient(135deg, #f1f5f9 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 28px;
}

.hero-quote {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
  text-align: left;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-attr { color: var(--text-dim); font-size: 13px; display: block; margin-top: 4px; font-style: normal; }

.hero-bio {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 auto 32px;
}

.hero-links {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 48px;
}

.btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(59,130,246,0.35);
}
.btn-primary:hover { background: #2563eb; text-decoration: none; box-shadow: 0 4px 18px rgba(59,130,246,0.45); }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-accent {
  background: linear-gradient(135deg, #3b82f6, #10b981);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(59,130,246,0.3);
}
.btn-accent:hover { opacity: 0.9; text-decoration: none; }

.btn-resume {
  background: linear-gradient(135deg, #0a3161, #1e6ab4);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(10,49,97,0.35);
}
.btn-resume:hover { opacity: 0.9; text-decoration: none; box-shadow: 0 4px 20px rgba(10,49,97,0.5); }

.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap; justify-content: center;
}
.hero-stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-dim); margin-top: 4px; font-weight: 500; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.hero-scroll-indicator a { font-size: 22px; color: var(--text-dim); text-decoration: none; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(6px); }
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sub-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-text p strong { color: var(--text); font-weight: 600; }
.about-text p:last-child { margin-bottom: 0; }

.about-cards { display: flex; flex-direction: column; gap: 10px; }
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.about-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.about-card-icon { font-size: 20px; flex-shrink: 0; }
.about-card-title { font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.8px; }
.about-card-desc { font-size: 14px; color: var(--text); font-weight: 500; margin-top: 2px; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -29px; top: 12px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-alt);
  box-shadow: 0 0 0 3px var(--accent-mid);
}
.section:not(.section-alt) .timeline-dot { border-color: var(--bg); }

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.timeline-content:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }

.timeline-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 16px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.timeline-role { font-size: 17px; font-weight: 700; color: var(--text); }
.timeline-company { font-size: 14px; color: var(--accent); font-weight: 600; margin-top: 2px; }
.timeline-date {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
}
.timeline-desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.timeline-bullets {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: flex; flex-direction: column; gap: 7px;
}
.timeline-bullets li {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
  padding-left: 18px; position: relative;
}
.timeline-bullets li::before {
  content: '▸';
  position: absolute; left: 0; color: var(--accent);
  font-size: 11px; top: 4px;
}
.timeline-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ===== EXPERIENCE LOGO STRIP ===== */
.exp-logo-strip {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.exp-logo-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.exp-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.exp-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 48px;
}
.exp-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.exp-logo-img:hover {
  opacity: 1;
  transform: scale(1.08);
}
.exp-logo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.exp-logo-years {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.exp-logo-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== TAGS ===== */
.tag {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 16px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.project-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.project-icon { font-size: 28px; margin-bottom: 14px; }
.project-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.project-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 20px;
}
.skill-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}
.skill-cat-title {
  font-size: 11px; font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pill { padding: 5px 13px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.skill-ai   { background: var(--accent-light);  color: #93c5fd; border: 1px solid var(--accent-mid); }
.skill-tool { background: var(--accent2-light); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.skill-pm   { background: var(--accent3-light); color: #c4b5fd; border: 1px solid rgba(167,139,250,0.3); }

/* ===== CLAUDE SKILLS SECTION ===== */
.claude-section {
  background: linear-gradient(160deg, #0d1e3d 0%, #0f2a1e 100%);
  border-top: 1px solid #1a3160;
  border-bottom: 1px solid #1a3160;
}
.claude-section .section-title { color: #4f6a8a; border-color: #1a3160; }

.claude-header { text-align: center; margin-bottom: 40px; }
.claude-badge {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px; font-weight: 700;
  margin-bottom: 16px; letter-spacing: 0.3px;
}
.claude-section h2.section-title { color: var(--text-dim) !important; }

.claude-subtitle {
  max-width: 680px; margin: 0 auto;
  color: var(--text-muted);
  font-size: 14px; line-height: 1.75;
}

.claude-stats {
  display: flex; gap: 16px; margin-bottom: 40px;
  flex-wrap: wrap; justify-content: center;
}
.claude-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 12px;
  padding: 16px 28px;
  text-align: center;
  flex: 1; min-width: 120px; max-width: 180px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.cstat-num { display: block; font-size: 32px; font-weight: 800; color: #93c5fd; line-height: 1; }
.cstat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

.claude-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px; margin-bottom: 40px;
}
.claude-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.claude-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(59,130,246,0.2);
}
.claude-card-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.claude-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.claude-card-top > div:nth-child(2) { flex: 1; }
.claude-card h3 { font-size: 15px; font-weight: 700; color: var(--text); }
.claude-card code { display: block; margin-top: 3px; }
.claude-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.claude-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.status-badge {
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 12px;
  white-space: nowrap; flex-shrink: 0;
}
.status-live { background: var(--accent2-light); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.status-beta { background: var(--accent-light); color: #93c5fd; border: 1px solid var(--accent-mid); }

/* ===== SKILLS MARKETPLACE CTA ===== */
.skills-marketplace-cta {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 780px; margin: 0 auto 28px; padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(139,92,246,.08));
  border: 1px solid rgba(59,130,246,.28);
  text-decoration: none; color: var(--text);
  transition: border-color .2s, background .2s, transform .2s;
}
.skills-marketplace-cta:hover {
  border-color: rgba(59,130,246,.55);
  background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(139,92,246,.12));
  transform: translateY(-1px);
  color: var(--text);
}
.skills-mkt-left { display: flex; align-items: center; gap: 14px; }
.skills-mkt-icon { font-size: 26px; }
.skills-mkt-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.skills-mkt-sub { font-size: 12px; color: var(--text-muted); }
.skills-mkt-arrow { font-size: 20px; color: var(--accent); font-weight: 600; }

.claude-explainer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 780px; margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.claude-explainer h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.claude-explainer p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===== REPOS ===== */
.repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.repo-loading { color: var(--text-muted); font-size: 14px; padding: 24px 0; }
.repo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex; flex-direction: column;
}
.repo-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.repo-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.repo-name { font-size: 14px; font-weight: 700; color: #93c5fd; }
.repo-visibility {
  font-size: 10px; font-weight: 700;
  padding: 2px 9px; border-radius: 10px;
  background: var(--accent2-light); color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.3);
}
.repo-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; flex: 1; }
.repo-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.repo-lang { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; font-weight: 500; }
.lang-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ===== EDUCATION & CERTS ===== */
.edu-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.edu-list { display: flex; flex-direction: column; gap: 12px; }
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.edu-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.edu-degree { font-size: 14px; font-weight: 700; color: var(--text); }
.edu-school { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.edu-meta { font-size: 12px; color: var(--text-dim); margin-top: 4px; font-weight: 500; }

.cert-list { display: flex; flex-direction: column; gap: 10px; }
.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cert-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.cert-badge {
  background: var(--accent-light);
  color: #93c5fd;
  border: 1px solid var(--accent-mid);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px; font-weight: 800;
  white-space: nowrap; flex-shrink: 0;
  min-width: 48px; text-align: center;
}
.cert-name { font-size: 14px; font-weight: 600; color: var(--text); }
.cert-meta { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* ===== PERSONAL ===== */
.personal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 20px;
}

.personal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.personal-card-title {
  font-size: 17px; font-weight: 700; color: var(--text);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.achievement-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.achievement-item:last-child { margin-bottom: 0; }
.achieve-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.achieve-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.achievement-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.transformation-photo-wrap { margin: 14px 0 20px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); }
.transformation-photo { width: 100%; display: block; max-height: 340px; object-fit: cover; object-position: top; transition: transform .35s ease; }
.transformation-photo:hover { transform: scale(1.02); }

.bucket-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bucket-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; padding: 10px 14px;
  border-radius: 8px; border: 1px solid var(--border);
}
.bucket-done { color: var(--text-dim); text-decoration: line-through; background: var(--bg-alt); }
.bucket-todo { color: var(--text); background: var(--surface2); font-weight: 500; }
.bucket-todo::before { content: '○'; color: var(--text-dim); font-size: 12px; }
.bucket-done::before { content: '✓'; color: var(--accent2); font-size: 13px; font-weight: 800; }
.done-badge {
  margin-left: auto; font-size: 11px; font-weight: 700;
  background: var(--accent2-light); color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.3);
  padding: 2px 9px; border-radius: 10px; white-space: nowrap;
}

.hobbies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hobby-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted); text-align: center;
}

.influencer-list { display: flex; flex-direction: column; gap: 8px; }
.influencer {
  font-size: 13px; color: var(--text-muted);
  padding: 10px 14px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  line-height: 1.55;
}
.inf-name { font-weight: 700; color: var(--text); }

.podcast-list { display: flex; flex-direction: column; gap: 8px; }
.podcast-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--surface2); border: 1px solid var(--border);
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.podcast-item:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); text-decoration: none; }
.pod-icon { font-size: 22px; flex-shrink: 0; }
.pod-name { font-size: 14px; font-weight: 700; color: var(--text); }
.pod-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.book-list { display: flex; flex-direction: column; gap: 8px; }
.book-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
}
.book-cover { font-size: 22px; flex-shrink: 0; }
.book-title { font-size: 14px; font-weight: 600; color: var(--text); }
.book-author { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== COMPANY LOGOS IN TIMELINE ===== */
.timeline-company {
  display: flex; align-items: center; gap: 7px;
}
.co-logo {
  width: 18px; height: 18px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--surface2);
}

/* ===== BOOK GRID ===== */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.book-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  background: var(--surface2);
}
.book-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-2px); text-decoration: none; }
.book-cover-wrap {
  width: 100%; aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  max-height: 160px;
}
.book-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.book-cover-fallback {
  font-size: 40px;
  opacity: 0.4;
}
.book-card-info {
  padding: 10px 12px;
}
.book-card .book-title { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.3; }
.book-card .book-author { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* ===== PODCAST ARTWORK ===== */
.podcast-art-wrap {
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.podcast-art-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
}
.podcast-art-img.loaded { display: block; }
.podcast-art-fallback {
  font-size: 26px;
  line-height: 1;
}
.pod-platform {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  font-weight: 500;
}

/* ===== INFLUENCER AVATAR CARDS ===== */
.inf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.inf-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.inf-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.inf-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
}
.inf-card-name { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; }
.inf-card-desc { font-size: 11px; color: var(--text-muted); line-height: 1.45; }

/* ===== HOBBY TILES ===== */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hobby-tile {
  background: var(--hc);
  border: 1px solid var(--hborder);
  border-radius: 10px;
  padding: 16px 8px 12px;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  transition: transform 0.1s, box-shadow 0.15s;
}
.hobby-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hobby-emoji { font-size: 28px; line-height: 1; }
.hobby-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }

/* ===== EDUCATION LOGOS ===== */
.edu-logo-wrap {
  width: 40px; height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
}
.edu-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* ===== CERT LOGOS ===== */
.cert-logo-wrap {
  width: 40px; height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
}
.cert-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* ===== BLOG SECTION ===== */
.blog-header { margin-bottom: 28px; }
.blog-subtitle { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.blog-subtitle a { color: var(--accent); }

.blog-loading {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 14px; padding: 32px 0;
}
.blog-loading-spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  text-decoration: none;
}

.blog-card-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--surface2);
  position: relative;
  flex-shrink: 0;
}
.blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.06); }

.blog-thumb-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  background: linear-gradient(135deg, var(--surface2) 0%, rgba(59,130,246,0.12) 100%);
}

.blog-card-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.blog-card-tag {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--accent);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  padding: 2px 8px;
  border-radius: 20px;
}
.blog-card-readtime {
  font-size: 11px;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 16px; font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}
.blog-card-read::after {
  content: '→';
  transition: transform 0.2s;
}
.blog-card:hover .blog-card-read::after {
  transform: translateX(3px);
}

/* Blog "View all" link */
.blog-view-all {
  text-align: center;
  margin-top: 28px;
}
.blog-view-all a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 8px 24px;
  border-radius: 20px;
  transition: color 0.15s, border-color 0.15s;
}
.blog-view-all a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-thumb { height: 180px; }
}

/* ===== CATEGORIZED BOOKS ===== */
.books-categories {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.book-cat-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.book-cat-header {
  font-size: 15px;
  font-weight: 700;
  padding: 16px 22px;
  background: rgba(var(--cc-raw, 59,130,246), 0.08);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  border-left: 4px solid var(--cc);
  letter-spacing: 0.2px;
}

.book-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
}

.book-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.15s;
}
.book-row:hover { background: var(--surface2); text-decoration: none; }
.book-row:last-child { border-bottom: none; }

.book-row-img {
  width: 38px;
  height: 54px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  background: var(--surface2);
}

.book-row-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.book-row-author {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== SEE ALL LINK ===== */
.see-all-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.see-all-link:hover { text-decoration: underline; }

/* ===== FULL BOOKS SECTION ===== */
.books-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.book-card-lg {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  align-items: flex-start;
}
.book-card-lg:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-2px); text-decoration: none; }
.book-cover-wrap-lg {
  width: 72px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface2);
  aspect-ratio: 2/3;
  display: flex; align-items: center; justify-content: center;
}
.book-cover-wrap-lg .book-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-card-body { flex: 1; min-width: 0; }
.book-title-lg { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 3px; }
.book-author-lg { font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.book-note { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-name { font-size: 16px; font-weight: 800; color: var(--text); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-muted); font-weight: 500; transition: color 0.15s; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .edu-cert-grid { grid-template-columns: 1fr; gap: 32px; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .personal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: rgba(15,27,45,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 16px 16px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-inner { position: relative; }

  .hero { padding: 90px 20px 60px; }
  .hero-stats { gap: 28px; }

  .timeline { padding-left: 24px; }
  .timeline-dot { left: -21px; }
  .timeline-header { flex-direction: column; gap: 6px; }

  .claude-cards { grid-template-columns: 1fr; }
  .repos-grid { grid-template-columns: 1fr; }
  .hobbies-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
