/* =============================================
   ROOT VARIABLES & RESET
   ============================================= */
:root {
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --navy-light: #334155;
  --gold: #d4af37;
  --gold-light: #f0cf6a;
  --gold-dark: #a88a1a;
  --white: #f8fafc;
  --gray-light: #cbd5e1;
  --gray-mid: #94a3b8;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Gold divider */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.25rem auto;
  border-radius: 2px;
}

.gold-divider.left { margin-left: 0; }

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 var(--border-subtle), 0 4px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.nav-logo:hover { color: var(--gold-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 50%, #0d1b2a 100%);
  padding: 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 100, 180, 0.12) 0%, transparent 70%);
  bottom: 0;
  left: -100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-name {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-name span {
  color: var(--gold);
}

.hero-title-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.25rem 0;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gray-light);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  border: 2px solid var(--gold);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  border: 2px solid var(--border-gold);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

/* Stats bar */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.5rem;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  padding: 0 2rem 0 0;
  border-right: 1px solid var(--border-subtle);
  margin-right: 2rem;
}

.stat-item:last-child {
  border-right: none;
  margin-right: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
  display: block;
}

.stat-highlight {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.5s both;
}

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

.scroll-mouse::before {
  content: '';
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDown 2s ease infinite;
}

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

/* =============================================
   ABOUT SECTION
   ============================================= */
#about {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.about-photo-frame img {
  width: 100%;
  display: block;
  filter: grayscale(15%);
  transition: filter var(--transition);
}

.about-photo-frame:hover img { filter: grayscale(0); }

.about-photo-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.4;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background: var(--navy);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.about-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.about-badge .badge-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.about-bio {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.9;
}

/* Career Timeline */
.timeline {
  margin: 2.5rem 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--border-gold) 100%);
}

.timeline-item {
  padding-left: 2rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.timeline-period {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.timeline-role {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
}

.timeline-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Cert chips */
.cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
  transition: background var(--transition);
}

.chip:hover { background: rgba(212, 175, 55, 0.12); }

/* =============================================
   BOOKS SECTION
   ============================================= */
#books {
  background: var(--navy-mid);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.book-card {
  background: var(--navy);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  border-color: var(--gold);
}

.book-cover-wrap {
  background: linear-gradient(135deg, var(--navy-mid), #0a0f1e);
  padding: 2.5rem;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  min-height: 280px;
  align-items: center;
}

.book-cover-wrap img {
  max-height: 220px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 4px 4px 0 rgba(212, 175, 55, 0.2);
  transition: transform var(--transition);
}

.book-card:hover .book-cover-wrap img { transform: scale(1.04) rotate(-1deg); }

.book-cover-placeholder {
  width: 160px;
  height: 220px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border-radius: 4px;
  border: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold);
  font-size: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.book-cover-placeholder span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
  padding: 0 0.5rem;
}

.book-info {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-publisher {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.book-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.book-authors {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.book-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.book-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  border: 2px solid var(--gold);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.03em;
}

.btn-amazon:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* =============================================
   SPEAKING SECTION
   ============================================= */
#speaking {
  background: var(--navy);
}

.speaking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.speaking-card {
  background: var(--navy-mid);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.speaking-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.speaking-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.speaking-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.speaking-event {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.speaking-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.speaking-sessions {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--gray-mid);
  font-style: italic;
}

/* Podcast strip */
.podcast-strip {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--navy-mid), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.podcast-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.podcast-info { flex: 1; }
.podcast-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.podcast-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
.podcast-meta { font-size: 0.85rem; color: var(--text-secondary); }

/* =============================================
   YOUTUBE SECTION
   ============================================= */
#youtube {
  background: var(--navy-mid);
  padding: 100px 0;
}

.youtube-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.youtube-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff4444;
  margin-bottom: 1.25rem;
}

.youtube-channel-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

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

.youtube-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.yt-stat { text-align: left; }
.yt-stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.yt-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.youtube-visual {
  position: relative;
}

.yt-card {
  background: linear-gradient(135deg, #0a0f1e, var(--navy));
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.yt-thumbnail {
  background: linear-gradient(135deg, #1a0a0a, #2d1b1b);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.yt-play-btn {
  width: 68px;
  height: 68px;
  background: #ff0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.yt-card:hover .yt-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(255, 0, 0, 0.5);
}

.yt-card-body {
  padding: 1.5rem;
}

.yt-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.yt-card-handle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* =============================================
   BLOGS SECTION
   ============================================= */
#blogs {
  background: var(--navy);
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.blogs-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  background: var(--navy-mid);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.blog-platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.blog-platform-icon.aws {
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid rgba(255, 153, 0, 0.2);
  color: #ff9900;
}

.blog-platform-icon.medium {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.blog-meta { color: var(--text-secondary); font-size: 0.85rem; }

.blog-platform-icon.substack {
  background: rgba(255, 108, 55, 0.1);
  border: 1px solid rgba(255, 108, 55, 0.25);
  color: #ff6c37;
}

.blog-platform-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.blog-card-title {
  font-size: 1.35rem;
  margin-bottom: 0;
  line-height: 1.3;
}

.blog-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topic-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
  align-self: flex-start;
}

.btn-link:hover { gap: 0.75rem; color: var(--gold-light); }

/* =============================================
   AI BLUEPRINTS + COURSES
   ============================================= */
#resources {
  background: var(--navy-mid);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.resources-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.resource-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.resource-card.featured {
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--navy), rgba(212, 175, 55, 0.04));
  box-shadow: var(--shadow-gold);
}

.resource-card.standard {
  border: 1px solid var(--border-subtle);
}

.resource-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.resource-icon.gold-icon {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold);
}

.resource-icon.blue-icon {
  background: rgba(99, 179, 237, 0.1);
  border: 1px solid rgba(99, 179, 237, 0.2);
  color: #63b3ed;
}

.resource-icon.deepai-icon {
  background: rgba(0, 169, 224, 0.1);
  border: 1px solid rgba(0, 169, 224, 0.25);
  color: #00a9e0;
}

.resource-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.resource-title {
  font-size: 1.5rem;
  line-height: 1.3;
}

.resource-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
}

/* =============================================
   CONTACT / FOOTER
   ============================================= */
#contact {
  background: linear-gradient(180deg, var(--navy) 0%, #080d1a 100%);
  padding-bottom: 0;
}

.contact-inner {
  text-align: center;
  padding-bottom: 5rem;
}

.contact-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.contact-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy-mid);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-light);
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}

.social-link:hover {
  border-color: var(--border-gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
  transform: translateY(-2px);
}

.social-link i { font-size: 1rem; }

.footer-bar {
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-wrap { max-width: 380px; margin: 0 auto; }
  .speaking-grid { grid-template-columns: repeat(2, 1fr); }
  .youtube-inner { grid-template-columns: 1fr; gap: 3rem; }
  .resources-grid { grid-template-columns: 1fr; }
  .resources-grid--three { grid-template-columns: repeat(2, 1fr); }
  .blogs-grid--three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .container { padding: 0 1.25rem; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 0;
  }
  .nav-links.open a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 1rem;
  }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav-cta { display: none !important; }
  .nav-toggle { display: flex; }

  .hero-stats { gap: 1.5rem; }
  .stat-item {
    min-width: 120px;
    padding-right: 1.5rem;
    margin-right: 1.5rem;
  }

  .books-grid { grid-template-columns: 1fr; }
  .speaking-grid { grid-template-columns: 1fr; }
  .blogs-grid, .blogs-grid--three { grid-template-columns: 1fr; }
  .resources-grid--three { grid-template-columns: 1fr; }

  .footer-bar { flex-direction: column; text-align: center; }

  .podcast-strip { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.75rem; }
  .hero-stats { flex-direction: column; gap: 1.25rem; }
  .stat-item { border-right: none; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--border-subtle); padding-bottom: 1.25rem; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
}
