:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1f1f35;
  --text-primary: #e8e8f0;
  --text-secondary: #8888a0;
  --text-muted: #5a5a72;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.15);
  --accent-glow: rgba(0, 212, 255, 0.4);
  --accent-secondary: #7c3aed;
  --gradient: linear-gradient(135deg, #00d4ff, #7c3aed);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 212, 255, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-dim);
  color: var(--accent);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* ========== PROMO BANNER ========== */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 48px 10px 20px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.12));
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.promo-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.promo-icon {
  color: var(--accent);
  font-size: 0.85rem;
}

.promo-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.promo-text strong {
  color: var(--text-primary);
}

.promo-text em {
  color: var(--accent);
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0a0a0f;
  background: var(--accent);
  padding: 5px 14px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.promo-cta:hover {
  background: #7c3aed;
  color: #fff;
  transform: translateX(2px);
}

.promo-cta i {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.promo-cta:hover i {
  transform: translateX(3px);
}

.promo-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.3s ease;
}

.promo-close:hover {
  color: var(--text-primary);
}

/* Offset navbar when banner is visible */
body:not(.banner-dismissed) #navbar {
  top: 42px;
}

body:not(.banner-dismissed) #hero {
  padding-top: 160px;
}

@media (max-width: 768px) {
  .promo-text {
    font-size: 0.72rem;
  }

  .promo-cta {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  body:not(.banner-dismissed) #navbar {
    top: 56px;
  }

  body:not(.banner-dismissed) #hero {
    padding-top: 176px;
  }
}

@media (max-width: 480px) {
  .promo-content {
    gap: 6px;
  }

  .promo-icon {
    display: none;
  }
}

/* ========== NAV ========== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  letter-spacing: -1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========== HERO ========== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-split {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1100px;
  width: 100%;
  padding: 0 24px;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-photo {
  flex-shrink: 0;
}

.photo-wrapper {
  width: 300px;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow), 0 0 60px rgba(0, 212, 255, 0.08);
  position: relative;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.photo-wrapper:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow), 0 0 40px rgba(0, 212, 255, 0.2), 0 0 80px rgba(0, 212, 255, 0.08);
  transform: scale(1.03);
}

.photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 15, 0.4) 100%);
  pointer-events: none;
  transition: background 0.5s ease;
}

.photo-wrapper:hover::after {
  background: linear-gradient(180deg, transparent 70%, rgba(10, 10, 15, 0.15) 100%);
}

.photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.95) saturate(0.9);
  transition: filter 0.5s ease;
}

.photo-wrapper:hover img {
  filter: brightness(1.05) saturate(1.1);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

#hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.05;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 0 36px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

a.stat-link {
  text-decoration: none;
  transition: transform 0.3s ease;
}

a.stat-link:hover {
  transform: translateY(-3px);
}

a.stat-link:hover .stat-label {
  color: var(--accent);
}

a.hero-photo {
  display: block;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease 1.5s both;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.mouse::after {
  content: '';
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 3px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.3; top: 18px; }
}

/* ========== LOGO BAR ========== */
.logo-bar {
  padding: 56px 0 64px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.logo-bar-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-bottom: 32px;
}

.logo-track {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logo-slide {
  display: flex;
  gap: 64px;
  animation: logoScroll 40s linear infinite;
  width: max-content;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  opacity: 0.25;
  transform: scale(0.7);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  filter: grayscale(100%) brightness(1.8);
  transition: filter 1.5s ease;
}

.logo-item:hover img {
  filter: grayscale(0%) brightness(1);
}

.logo-item span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: color 1.5s ease;
}

.logo-item.logo-active {
  opacity: 1;
  transform: scale(1);
}

.logo-item.logo-active img {
  filter: grayscale(0%) brightness(1);
}

.logo-item.logo-active span {
  color: var(--accent);
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SECTIONS ========== */
section {
  padding: 100px 0;
}

section:nth-child(even) {
  background: var(--bg-secondary);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 48px;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-text strong {
  color: var(--text-primary);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.highlight-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.highlight-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.highlight-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== MANIFESTO ========== */
.manifesto {
  padding: 40px 0;
}

.manifesto blockquote {
  position: relative;
  border: none;
  margin: 0 auto;
  max-width: 750px;
  text-align: center;
  padding: 40px 48px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(124, 58, 237, 0.04));
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.manifesto blockquote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.manifesto blockquote p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-style: italic;
}

.manifesto blockquote strong {
  color: var(--accent);
  font-style: normal;
}

@media (max-width: 768px) {
  .manifesto blockquote {
    padding: 28px 24px;
  }
  .manifesto blockquote p {
    font-size: 1rem;
  }
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-secondary), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent);
  z-index: 1;
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}

.company-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  margin-top: 2px;
}

.timeline-header > div {
  flex: 1;
  min-width: 0;
}

.timeline-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.company {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 2px;
}

.location {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.location::before {
  content: '·';
  margin: 0 6px;
}

.date {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.role-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 16px;
}

.role-promotion {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.role-promotion:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.role-promotion h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.role-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.promo-badge i {
  font-size: 0.6rem;
}

.timeline-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-content li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.timeline-content li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.timeline-content li strong {
  color: var(--text-primary);
}

/* ========== BOOKS ========== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 48px;
}

a.book-card {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: var(--text-primary) !important;
  text-decoration: none;
}

a.book-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

a.book-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

a.book-card:hover::before {
  opacity: 1;
}

a.book-card:hover .book-link {
  color: var(--accent);
}

.book-cover {
  flex-shrink: 0;
  width: 120px;
}

.book-cover img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

a.book-card:hover .book-cover img {
  transform: scale(1.03);
}

.book-info {
  flex: 1;
  min-width: 0;
}

.book-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.book-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.book-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.book-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.book-badge.bestseller {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border-color: rgba(0, 212, 255, 0.25);
}

.book-link {
  display: block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.book-link i {
  font-size: 0.65rem;
  margin-left: 4px;
}

.publications-group {
  margin-top: 32px;
}

.pub-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.pub-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.pub-org {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.pub-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pub-item a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.speaking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.speaking-item {
  position: relative;
}

.speaking-item p i {
  color: var(--accent);
  margin-right: 8px;
  font-size: 0.85rem;
}

.speaking-item p a {
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.speaking-type {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.speaking-type.host {
  background: rgba(255, 187, 0, 0.15);
  color: #ffbb00;
  border: 1px solid rgba(255, 187, 0, 0.3);
}

.speaking-type.lecture {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.speaking-type.podcast {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.speaking-type.conference {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.speaking-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.speaking-meta a {
  color: var(--accent);
  text-decoration: none;
}

.speaking-meta a:hover {
  text-decoration: underline;
}

/* Endorsement card */
.endorsement-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 16px;
}

.endorsement-quote {
  position: relative;
}

.endorsement-quote .fa-quote-left {
  color: var(--accent);
  opacity: 0.3;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.endorsement-quote p {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.endorsement-quote a {
  color: var(--accent);
  text-decoration: none;
}

.endorsement-quote a:hover {
  text-decoration: underline;
}

.endorsement-source {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.endorsement-source span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.endorsement-source a {
  color: var(--accent);
  text-decoration: none;
}

.endorsement-source a:hover {
  text-decoration: underline;
}

/* ========== SKILLS ========== */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: var(--border-hover);
}

.skill-category h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category h3 i {
  color: var(--accent);
  font-size: 1.1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags span {
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.skill-tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 212, 255, 0.12);
  transform: translateY(-1px);
}

/* ========== AWARDS ========== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.award-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.award-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.award-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.award-count {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.award-org {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ========== EDUCATION ========== */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.edu-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.edu-mascot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.15;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.edu-card:hover .edu-mascot {
  opacity: 0.4;
}

.edu-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.edu-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.edu-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.edu-school {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.edu-detail {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
  margin-bottom: 4px;
}

.edu-gpa {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.certs {
  text-align: center;
}

.certs h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.certs h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.credly-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.credly-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.credly-link img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.credly-link .fa-external-link-alt {
  font-size: 0.6rem;
}

.cert-scroll-wrapper {
  overflow: hidden;
  margin-top: 20px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.cert-scroll-track {
  display: flex;
  width: max-content;
  animation: certScroll 28s linear infinite;
}

.cert-scroll-track:hover {
  animation-play-state: paused;
}

.cert-scroll-slide {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cert-badge:hover {
  border-color: var(--border-hover);
}

.cert-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cert-badge span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.cert-badge:hover span {
  color: var(--accent);
}

@keyframes certScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== CONTACT ========== */
#contact {
  text-align: left;
}

#contact .section-title,
#contact .section-subtitle {
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 12px;
}

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 14px 20px;
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-ghost i {
  font-size: 0.85rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary) !important;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  color: var(--accent) !important;
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}

.contact-card i {
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.contact-card span {
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.map-label i {
  color: var(--accent);
  margin-right: 6px;
}

.map-embed {
  flex: 1;
  min-height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ========== PARTICLES & CURSOR ========== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Custom cursor — dot (instant) */
.custom-cursor-active,
.custom-cursor-active a,
.custom-cursor-active button,
.custom-cursor-active input,
.custom-cursor-active textarea {
  cursor: none !important;
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-dot.cursor-hover {
  width: 10px;
  height: 10px;
  background: #fff;
}

.cursor-dot.cursor-click {
  width: 4px;
  height: 4px;
}

/* Custom cursor — ring (trailing) */
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.cursor-ring.cursor-hover {
  width: 52px;
  height: 52px;
  border-color: rgba(255, 255, 255, 0.3);
}

.cursor-ring.cursor-click {
  width: 28px;
  height: 28px;
  border-color: rgba(0, 212, 255, 0.8);
}

/* Ambient glow behind cursor */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.035) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

/* Scroll progress bar at top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient);
  z-index: 10002;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* Section title shimmer on reveal */
.section-title.shimmer-once {
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--text-primary) 40%,
    var(--accent) 50%,
    var(--text-primary) 60%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSlide 1.2s ease forwards;
}

@keyframes shimmerSlide {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Typewriter cursor blink */
.typewriter-cursor {
  color: var(--accent);
  font-weight: 300;
  animation: cursorBlink 0.7s step-end infinite;
  margin-left: 1px;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#typewriter {
  border-right: none;
}

/* About text type-in: hide paragraphs until observer fires */
.about-text p {
  min-height: 1.2em;
}

/* Make tilt cards transition smoothly */
.timeline-content,
a.book-card,
.highlight-card,
.award-card,
.edu-card {
  transition: all 0.3s ease, transform 0.15s ease;
  will-change: transform;
}

/* ========== ANIMATIONS ========== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.35s; }
.animate-in:nth-child(4) { animation-delay: 0.5s; }
.animate-in:nth-child(5) { animation-delay: 0.65s; }
.animate-in:nth-child(6) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-split {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .photo-wrapper {
    width: 220px;
    height: 264px;
  }

  .about-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  #hero {
    padding-bottom: 100px;
  }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .books-grid {
    grid-template-columns: 1fr;
  }

  .speaking-grid {
    grid-template-columns: 1fr;
  }

  a.book-card {
    flex-direction: row;
  }

  .book-cover {
    width: 100px;
  }

  .edu-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .map-embed {
    min-height: 300px;
  }

  .timeline {
    padding-left: 32px;
  }

  .timeline-header {
    flex-direction: column;
    gap: 8px;
  }

  .timeline-header .date {
    white-space: normal;
    align-self: flex-start;
  }

  .company-logo {
    width: 32px;
    height: 32px;
  }

  .scroll-indicator {
    bottom: 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .role-promotion h4 {
    font-size: 0.92rem;
  }

  .role-date {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .scroll-indicator {
    bottom: 10px;
  }

  .scroll-indicator span {
    display: none;
  }

  .nav-container {
    padding: 0 16px;
  }

  .container {
    padding: 0 16px;
  }

  .photo-wrapper {
    width: 180px;
    height: 216px;
  }
}
