/* ─── FONTS & VARIABLES ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #ffbf00;
  --gold-dim: #c08800;
  --gold-glow: rgba(255,191,0,0.18);
  --bg: #111111;
  --surface: #1a1a1a;
  --surface2: #222222;
  --surface3: #2d2d2d;
  --border: rgba(255,255,255,0.07);
  --border-gold: rgba(255,191,0,0.3);
  --text: #f0f0f0;
  --text2: #aaaaaa;
  --text3: #666666;
  --health: #ff7c7c;
  --health-dim: rgba(255,124,124,0.12);
  --whatsapp: #25D366;
  --whatsapp-dim: rgba(37,211,102,0.15);
  --gmail: #EA4335;
  --gmail-dim: rgba(234,67,53,0.12);
  --r: 14px;
  --r-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', 'Segoe UI', sans-serif;
}

.light-theme {
  --bg: #f4f2ee;
  --surface: #ffffff;
  --surface2: #f9f8f6;
  --surface3: #eeecea;
  --border: rgba(0,0,0,0.08);
  --border-gold: rgba(192,136,0,0.35);
  --text: #1a1a1a;
  --text2: #555555;
  --text3: #999999;
  --health-dim: rgba(200,60,60,0.08);
  --health: #c03c3c;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; padding: 0; margin: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding: 24px;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

/* ─── CURSOR GLOW ─── */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,191,0,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s;
}

/* ─── FLOATING CONTACT BUTTONS ─── */
.floating-contact {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.float-btn .float-tooltip {
  position: absolute;
  left: 60px;
  background: var(--surface);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: 1px solid var(--border);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  left: 68px;
}

.whatsapp-float {
  background: var(--whatsapp);
  color: white;
  font-size: 1.5rem;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #075e54;
}

.gmail-float {
  background: var(--gmail);
  color: white;
  font-size: 1.3rem;
}

.gmail-float:hover {
  transform: scale(1.1);
  background: #c5221f;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}

/* ─── RETURN BANNER ─── */
.return-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  color: #111;
  padding: 12px 24px;
  z-index: 1001;
  transform: translateY(-100%);
  animation: slideDown 0.5s ease forwards;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

@keyframes slideDown {
  to { transform: translateY(0); }
}

.return-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.return-icon {
  font-size: 1.3rem;
}

.return-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.return-btn {
  background: #111;
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.return-btn:hover {
  background: #222;
  transform: translateY(-2px);
}

.close-banner {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #111;
  font-weight: bold;
  padding: 0 8px;
}

/* ─── LOADING ─── */
.loading {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading.hidden { opacity: 0; visibility: hidden; }
.load-inner { text-align: center; }
.load-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease both;
}
.load-bar {
  width: 180px;
  height: 2px;
  background: rgba(255,191,0,0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.load-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: loadProgress 1.2s ease forwards;
}
.load-text {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text3);
}
@keyframes loadProgress { from { width: 0; } to { width: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ─── LAYOUT ─── */
.main-container {
  display: flex;
  gap: 28px;
  max-width: 1380px;
  margin: 40px auto 0;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ─── SIDEBAR ─── */
.sidebar {
  width: 340px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  height: fit-content;
}
.sidebar-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Profile */
.profile { text-align: center; }
.avatar-ring {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}
.avatar-ring img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  display: block;
}
.status-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  background: #4caf50;
  border-radius: 50%;
  border: 2px solid var(--surface);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(76,175,80,0); }
}
.profile-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.profile-role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  min-height: 40px;
}
.otw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(76,175,80,0.12);
  color: #4caf50;
  border: 1px solid rgba(76,175,80,0.3);
  padding: 5px 14px;
  border-radius: 20px;
}
.pulse-ring {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-green 2s infinite;
}

/* Comeback Card */
.comeback-card {
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
  border: 1px solid var(--border-gold);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 18px;
}
.comeback-icon {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.comeback-text {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 12px;
}
.comeback-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.comeback-stats span {
  font-size: 0.7rem;
  background: rgba(255,191,0,0.08);
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--gold-dim);
}

/* Contact */
.contact { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-icon {
  width: 34px;
  height: 34px;
  background: var(--surface2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.whatsapp-icon {
  color: var(--whatsapp);
}
.contact-value {
  font-size: 0.82rem;
  color: var(--text2);
  text-decoration: none;
  word-break: break-all;
  transition: color var(--transition);
  flex: 1;
}
.contact-value:hover { color: var(--gold); }
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--whatsapp);
}
.whatsapp-link:hover { color: #075e54; }
.copy-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--text3);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.copy-btn:hover {
  color: var(--gold);
  border-color: var(--border-gold);
}

/* Quick Connect Buttons */
.quick-connect {
  display: flex;
  gap: 10px;
}
.connect-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.whatsapp-connect {
  background: var(--whatsapp-dim);
  color: var(--whatsapp);
  border: 1px solid var(--whatsapp);
}
.whatsapp-connect:hover {
  background: var(--whatsapp);
  color: white;
  transform: translateY(-2px);
}
.gmail-connect {
  background: var(--gmail-dim);
  color: var(--gmail);
  border: 1px solid var(--gmail);
}
.gmail-connect:hover {
  background: var(--gmail);
  color: white;
  transform: translateY(-2px);
}

/* Resume Options */
.resume-options {
  display: flex;
  gap: 10px;
}
.resume-btn, .pdf-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
}
.resume-btn {
  background: var(--gold);
  color: #111;
}
.resume-btn:hover {
  background: #ffca2c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.pdf-btn {
  background: var(--surface2);
  color: var(--text2);
  border: 1px solid var(--border);
}
.pdf-btn:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}

/* Socials */
.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  background: var(--surface2);
}
.social-link:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--gold-glow);
}

/* Visitor Counter */
.visitor-counter {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text3);
  padding: 8px;
  background: var(--surface2);
  border-radius: 20px;
}

/* Theme Toggle */
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface2);
  color: var(--text2);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  width: 100%;
}
.theme-btn:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.theme-btn i {
  transition: transform 0.3s ease;
}
.theme-btn:hover i {
  transform: rotate(15deg);
}

/* ─── MAIN CONTENT ─── */
.main-content {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 40px;
}

/* Nav */
.top-nav {
  margin-bottom: 48px;
  position: sticky;
  top: 0px;
  z-index: 10;
  background: var(--surface);
  padding: 16px 0;
  margin-top: -40px;
  padding-top: 40px;
}
.top-nav nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-link {
  text-decoration: none;
  color: var(--text3);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--surface2); }
.nav-link.active { color: var(--gold); background: var(--gold-glow); }
.nav-line {
  height: 1px;
  background: var(--border);
  margin-top: 14px;
}

/* Sections */
.section { margin-bottom: 64px; }
.section-header { margin-bottom: 32px; }
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.title-bar {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface3) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--r);
  padding: 32px 36px;
  margin-bottom: 32px;
  overflow: hidden;
}
.banner-year {
  position: absolute;
  top: -16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.banner-content { position: relative; z-index: 1; }
.banner-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.banner-headline {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}
.banner-headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.banner-sub {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.7;
  max-width: 560px;
}
.banner-decor {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 40px solid var(--gold);
  opacity: 0.04;
  pointer-events: none;
}

/* Gap Narrative */
.gap-narrative {
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
  border-radius: var(--r);
  padding: 28px;
  margin-bottom: 32px;
  display: flex;
  gap: 20px;
  border-left: 4px solid var(--gold);
}
.narrative-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.narrative-content h4 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.narrative-content p {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.narrative-content ul {
  list-style: none;
  margin: 10px 0;
}
.narrative-content ul li {
  color: var(--text2);
  font-size: 0.85rem;
  padding: 4px 0;
}
.narrative-closing {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text) !important;
}

/* About text */
.about-text {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.85;
  margin-bottom: 32px;
  text-align: justify;
}
.about-text strong { color: var(--text); font-weight: 600; }

/* Skills Progress Section */
.skills-progress-section {
  background: var(--surface2);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 32px;
}
.skills-progress-section h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--gold);
}
.skill-progress-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.skill-progress-item span:first-child {
  width: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}
.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--surface3);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #ffca2c);
  border-radius: 4px;
  width: 0;
  animation: fillProgress 1s ease forwards;
}
@keyframes fillProgress {
  to { width: var(--width, 0); }
}
.progress-percent {
  width: 40px;
  font-size: 0.75rem;
  color: var(--gold);
}

/* Break Skills */
.break-skills {
  margin-top: 24px;
  padding: 20px;
  background: var(--surface2);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--gold);
}
.break-skills h4 {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--gold);
}
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-chips span {
  background: rgba(255,191,0,0.08);
  border: 1px solid rgba(255,191,0,0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--gold-dim);
}

/* Testimonial */
.testimonial {
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
  border-radius: var(--r);
  padding: 28px;
  margin-top: 32px;
  text-align: center;
  border: 1px solid var(--border-gold);
}
.testimonial i {
  font-size: 2rem;
  color: var(--gold-dim);
  opacity: 0.5;
  margin-bottom: 12px;
}
.testimonial p {
  font-size: 0.9rem;
  color: var(--text2);
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial span {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.stat-card.highlight { border-color: var(--gold); background: var(--gold-glow); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num.otw { font-size: 1.3rem; color: var(--gold); }
.stat-unit { font-size: 1rem; }
.stat-label { font-size: 0.75rem; color: var(--text3); font-weight: 500; letter-spacing: 0.03em; }

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.skill-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 12px 18px;
  text-align: center;
  transition: var(--transition);
  animation: fadeUp 0.5s ease both;
  animation-delay: var(--delay, 0s);
}
.skill-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 28px var(--gold-glow);
  background: var(--surface3);
}
.skill-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skill-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(75%) sepia(60%) saturate(800%) hue-rotate(5deg) brightness(105%);
  transition: var(--transition);
}
.skill-item:hover .skill-icon img { filter: brightness(0) saturate(100%) invert(80%) sepia(70%) saturate(1000%) hue-rotate(5deg) brightness(110%); }
.skill-item span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text2);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--border));
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.health-dot {
  background: var(--health);
  box-shadow: 0 0 0 3px rgba(255,124,124,0.2);
}
.timeline-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 22px 24px;
  transition: var(--transition);
}
.timeline-card:hover { transform: translateX(6px); border-color: var(--border-gold); border-left-color: var(--gold); }
.health-card {
  border-left-color: var(--health);
  background: var(--health-dim);
}
.health-card:hover { border-left-color: var(--health); border-color: rgba(255,124,124,0.3); }
.tl-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--gold);
  color: #111;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.health-card .tl-year { background: var(--health); color: white; }
.tl-degree {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}
.tl-uni { font-size: 0.85rem; color: var(--gold); font-weight: 500; margin-bottom: 6px; }
.health-card .tl-uni { color: var(--health); }
.tl-desc { font-size: 0.85rem; color: var(--text2); line-height: 1.6; }
.comeback-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-style: italic;
  color: var(--text2);
}
.comeback-icon-sm { color: var(--gold); flex-shrink: 0; }
.growth-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.growth-badges span {
  font-size: 0.7rem;
  background: rgba(255,124,124,0.15);
  padding: 3px 10px;
  border-radius: 15px;
  color: var(--health);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.5s ease both;
  animation-delay: var(--delay, 0s);
}
.project-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.project-year-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--surface3);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
}
.project-links { display: flex; gap: 8px; }
.proj-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 0.75rem;
  text-decoration: none;
  transition: var(--transition);
}
.proj-icon-btn:hover { color: var(--gold); border-color: var(--border-gold); }
.project-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.project-desc {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.project-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(255,191,0,0.08);
  color: var(--gold-dim);
  border: 1px solid rgba(255,191,0,0.2);
  padding: 3px 10px;
  border-radius: 20px;
}
.project-actions { display: flex; gap: 10px; margin-top: auto; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #111;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary:hover { background: #ffca2c; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  border: 1px solid var(--border);
  background: transparent;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--gold); border-color: var(--border-gold); }

/* Achievements */
.achievements-list { display: flex; flex-direction: column; gap: 14px; }
.ach-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 20px 22px;
  transition: var(--transition);
  animation: fadeUp 0.5s ease both;
  animation-delay: var(--delay, 0s);
}
.ach-item:hover { border-color: var(--border-gold); transform: translateX(8px); }
.ach-item.highlight-ach {
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
}
.ach-icon { font-size: 2rem; flex-shrink: 0; }
.ach-body h3 { font-size: 0.98rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.ach-body p { font-size: 0.8rem; color: var(--text3); }

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.cert-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}
.cert-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.cert-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
}
.cert-card p {
  font-size: 0.75rem;
  color: var(--text3);
  margin-bottom: 10px;
}
.cert-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--gold-glow);
  color: var(--gold);
  padding: 3px 12px;
  border-radius: 20px;
}

/* Commitment Section */
.commitment {
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
  border-radius: var(--r);
  padding: 28px;
  margin: 40px 0;
  text-align: center;
  border: 1px solid var(--border-gold);
}
.commitment h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--gold);
}
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.commitment-grid div {
  padding: 10px;
  background: rgba(255,191,0,0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text2);
}

/* Footer */
footer {
  text-align: center;
  padding: 24px 0 8px;
  border-top: 1px solid var(--border);
  color: var(--text3);
  font-size: 0.8rem;
  margin-top: 40px;
}
.footer-tag {
  color: var(--gold);
  font-weight: 600;
}
.footer-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.footer-contact a {
  color: var(--text3);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition);
}
.footer-contact a:hover {
  color: var(--gold);
}
.last-updated {
  margin-top: 12px;
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gold);
  color: #111;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Scroll Top */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: #111;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: 0 4px 16px var(--gold-glow);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); background: #ffca2c; }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-item { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: var(--delay, 0s); }
.reveal-item.visible { opacity: 1; transform: translateY(0); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* Print Styles */
@media print {
  .floating-contact, .scroll-top, .return-banner, .theme-btn, .quick-connect, .socials, .visitor-counter {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    padding: 0;
  }
  .sidebar, .main-content {
    background: white;
    border: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .main-container { flex-direction: column; margin-top: 60px; }
  .sidebar { width: 100%; position: relative; top: 0; }
  .sidebar-inner { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .profile { min-width: 200px; }
  .floating-contact { left: 20px; bottom: 20px; }
  .float-btn { width: 45px; height: 45px; font-size: 1.2rem; }
  .return-banner { position: relative; margin-bottom: 20px; }
  .return-content { padding: 8px; }
}

@media (max-width: 768px) {
  body { padding: 14px; }
  .main-content { padding: 24px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-banner { padding: 24px 20px; }
  .banner-headline { font-size: 1.4rem; }
  .top-nav nav { gap: 2px; }
  .nav-link { font-size: 0.75rem; padding: 6px 10px; }
  .sidebar-inner { flex-direction: column; }
  .gap-narrative { flex-direction: column; }
  .floating-contact { flex-direction: row; bottom: 20px; left: 20px; gap: 10px; }
  .float-btn .float-tooltip { display: none; }
  .toast { font-size: 0.75rem; padding: 6px 14px; white-space: nowrap; }
  .commitment-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .resume-options { flex-direction: column; }
  .quick-connect { flex-direction: column; }
}