/* ==========================================================================
   Modern Developer Portfolio - Design System & Styles
   ========================================================================== */

:root {
  /* Ultra-Luxury Expensive Palette: Pitch Glossy Black, 24K Imperial Gold, Velvet Royal Purple, Sunset Fire Orange */
  --bg-base: #040407;
  --bg-surface: #0a0b12;
  --bg-surface-elevated: #11121d;
  --bg-glass: rgba(10, 11, 18, 0.85);
  --bg-glass-card: rgba(16, 17, 28, 0.72);
  
  --border-color: rgba(212, 175, 55, 0.28);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(249, 115, 22, 0.75);
  
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #8b92a5;
  
  /* 24K Imperial Gold Accents */
  --gold-primary: #d4af37;
  --gold-light: #fef08a;
  --gold-dark: #92400e;
  --accent-primary: #d4af37;
  --accent-secondary: #fef08a;

  /* Radiant Sunset Fire Orange */
  --orange-primary: #f97316;
  --orange-light: #fdba74;
  --orange-fire: #ea580c;
  --accent-orange: #f97316;

  /* Royal Velvet Electric Purple */
  --purple-primary: #8b5cf6;
  --purple-deep: #7c3aed;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --accent-purple: #8b5cf6;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  
  /* Expensive Luxury Multi-Stop Gradients */
  --accent-gradient: linear-gradient(135deg, #ffffff 0%, #fef08a 20%, #d4af37 50%, #f97316 80%, #7c3aed 100%);
  --gold-gradient: linear-gradient(135deg, #ffffff 0%, #fef08a 25%, #d4af37 60%, #ea580c 100%);
  --sunset-gradient: linear-gradient(135deg, #fef08a 0%, #f97316 45%, #ea580c 70%, #7c3aed 100%);
  --purple-orange-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 40%, #f97316 100%);
  --gloss-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(16, 17, 30, 0.9) 100%);
  --gloss-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 50%);
  
  --glow-color: rgba(212, 175, 55, 0.25);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.85);
  --shadow-gold-glow: 0 0 35px rgba(212, 175, 55, 0.3);
  --shadow-orange-glow: 0 0 35px rgba(249, 115, 22, 0.28);
  --shadow-purple-glow: 0 0 35px rgba(139, 92, 246, 0.28);
  --shadow-gloss: 0 8px 32px 0 rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(255, 255, 255, 0.16);
  
  /* Ultra-Expensive High-Fashion Typography */
  --font-brand: 'Cinzel', 'Playfair Display', 'Commercial Script BT', 'Alex Brush', serif;
  --font-editorial: 'Cinzel', 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Plus Jakarta Sans', 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Fira Code', Consolas, monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 76px;
}

[data-theme="light"] {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.95);
  --border-color: rgba(212, 175, 55, 0.25);
  --border-hover: rgba(212, 175, 55, 0.7);
  
  --text-primary: #0a0e1a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --glow-color: rgba(212, 175, 55, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Blobs */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-blob-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  filter: blur(85px);
  border-radius: 50%;
}

.ambient-blob-2 {
  position: absolute;
  top: 35%;
  left: -10%;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.16) 0%, transparent 70%);
  filter: blur(90px);
  border-radius: 50%;
}

.ambient-blob-3 {
  position: absolute;
  bottom: -10%;
  right: 15%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  filter: blur(85px);
  border-radius: 50%;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-editorial);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2.5rem, 1200px);
  margin-inline: auto;
}

.section {
  padding-block: 5.5rem;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.12);
}

.section-title {
  font-family: var(--font-editorial);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 660px;
  margin-inline: auto;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #fef08a 35%, #f97316 65%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  background: linear-gradient(135deg, #f97316 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Floating Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.75rem;
  background: rgba(8, 9, 15, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 35px 0 rgba(0, 0, 0, 0.75), 0 0 22px rgba(212, 175, 55, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.25s ease;
}

.site-logo-img {
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(200, 122, 88, 0.45));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.site-logo:hover .site-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.75)) drop-shadow(0 2px 10px rgba(200, 122, 88, 0.6));
}

[data-theme="light"] .site-logo-img {
  filter: drop-shadow(0 2px 6px rgba(158, 83, 56, 0.35));
}

[data-theme="light"] .site-logo:hover .site-logo-img {
  filter: drop-shadow(0 0 12px rgba(180, 83, 9, 0.5));
}

.site-logo-text {
  font-family: 'Commercial Script BT', 'Great Vibes', 'Alex Brush', 'Dancing Script', cursive;
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(135deg, #fce5d8 0%, #e6a88d 25%, #c87a58 50%, #9e5338 75%, #f4cbba 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(200, 122, 88, 0.45));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  transition: width 0.25s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-primary);
  transform: rotate(20deg);
}

.theme-toggle-btn svg {
  width: 19px;
  height: 19px;
}

.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.4rem;
}

/* Buttons - Ultra-Luxury Metallic Gold & Sunset Fire Sheen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 50%), linear-gradient(135deg, #fef08a 0%, #f59e0b 25%, #d4af37 60%, #ea580c 100%);
  color: #040407;
  border: 1px solid rgba(254, 240, 138, 0.7);
  box-shadow: 0 4px 22px rgba(249, 115, 22, 0.35), 0 0 30px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(249, 115, 22, 0.55), 0 0 40px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  filter: brightness(1.08);
  color: #000000;
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%), linear-gradient(135deg, #7c3aed 0%, #a855f7 40%, #f97316 100%);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35), 0 0 25px rgba(249, 115, 22, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.btn-secondary:hover {
  border-color: rgba(249, 115, 22, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.55), 0 0 30px rgba(249, 115, 22, 0.35);
  filter: brightness(1.1);
  color: #ffffff;
}

.btn-outline {
  background: rgba(10, 11, 18, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  border-color: var(--orange-primary);
  background: rgba(249, 115, 22, 0.12);
  color: var(--gold-light);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25), 0 0 20px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-greeting {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.4rem;
}

.hero-name {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero-typed-wrapper {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  min-height: 2.4rem;
}

.hero-typed-text {
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-primary);
}

.typing-cursor {
  display: inline-block;
  color: var(--accent-primary);
  animation: blink-cursor 0.9s infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

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

.hero-socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social-icon-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-icon-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--glow-color);
}

/* Hero Visual / Avatar Card */
.hero-visual-card {
  position: relative;
}

.hero-avatar-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 30px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.35), rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.25));
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, 0.25);
}

.hero-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--bg-surface);
}

.hero-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: 20px;
  left: -25px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   Interactive Developer Terminal Section
   ========================================================================== */
.terminal-section {
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.4) 50%, transparent 100%);
}

.terminal-window {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(212, 175, 55, 0.15);
  overflow: hidden;
  font-family: var(--font-mono);
  max-width: 900px;
  margin-inline: auto;
}

.terminal-header {
  background: #161b22;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  color: #8b949e;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.terminal-actions-top {
  color: #8b949e;
  font-size: 0.75rem;
}

.terminal-body {
  padding: 1.5rem;
  min-height: 280px;
  max-height: 440px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.7;
}

.terminal-line {
  margin-bottom: 0.6rem;
  word-break: break-word;
}

.terminal-prompt-sym {
  color: var(--accent-primary);
  font-weight: 700;
}

.terminal-path {
  color: var(--accent-cyan);
}

.terminal-cmd {
  color: #ffffff;
  font-weight: 600;
}

.terminal-output {
  color: #c9d1d9;
  padding-left: 0.5rem;
  margin-bottom: 0.75rem;
}

.terminal-output .highlight {
  color: var(--accent-secondary);
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  color: #ffffff;
  flex: 1;
}

.terminal-chips {
  padding: 0.75rem 1.5rem;
  background: #12161f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.terminal-chips span {
  color: #8b949e;
  font-size: 0.75rem;
  font-family: var(--font-sans);
}

.terminal-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.terminal-chip-btn:hover {
  background: var(--accent-primary);
  color: #000;
}

/* ==========================================================================
   Metrics / Stats Strip
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

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

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ==========================================================================
   Skills Matrix
   ========================================================================== */
.skills-tabs,
.course-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.skill-tab-btn,
.course-filter-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.skill-tab-btn:hover,
.course-filter-btn:hover {
  border-color: var(--accent-primary);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.skill-tab-btn.active,
.course-filter-btn.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 50%), linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #b45309 100%);
  border-color: rgba(254, 240, 138, 0.6);
  color: #06070a;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.skill-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  transition: var(--transition);
}

.skill-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.skill-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bg-surface-elevated);
  padding: 8px;
}

.skill-name {
  font-size: 1rem;
  font-weight: 600;
}

.skill-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* ==========================================================================
   Portfolio / Projects Showcase
   ========================================================================== */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-base);
  border-color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.project-thumb-box {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-surface-elevated);
}

.project-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb-box img {
  transform: scale(1.05);
}

.project-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.project-summary {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.project-btn-details {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
}

.project-btn-details:hover {
  text-decoration: underline;
}

.project-links {
  display: flex;
  gap: 0.75rem;
}

.project-icon-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition);
}

.project-icon-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* ==========================================================================
   Experience & Education Timeline
   ========================================================================== */
.timeline-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.timeline-column-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.timeline-list {
  position: relative;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-date-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 0.25rem 0.75rem;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.timeline-role {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-org {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--accent-primary);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form-box {
  background: var(--bg-glass-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.form-status-msg {
  font-size: 0.9rem;
  font-weight: 500;
}
.form-status-msg.success { color: var(--accent-emerald); }
.form-status-msg.error { color: #ef4444; }

/* ==========================================================================
   Native Modal Dialog (<dialog>)
   ========================================================================== */
.project-modal {
  margin: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  color: var(--text-primary);
  width: min(92vw, 840px);
  max-height: 90vh;
  padding: 0;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.project-modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface-elevated);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  max-height: calc(90vh - 150px);
}

.modal-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.modal-body h4 {
  font-size: 1.1rem;
  margin-block: 1.25rem 0.5rem;
}

.modal-body p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: var(--bg-surface-elevated);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding-block: 3rem 2rem;
  background: var(--bg-surface);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.footer-luxury-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(249, 115, 22, 0.08) 50%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.footer-luxury-badge .luxury-seal {
  color: var(--orange-primary);
  font-size: 1rem;
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.6));
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-status-pill, .hero-description {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-socials {
    justify-content: center;
  }
  .hero-avatar-frame {
    max-width: 320px;
  }
  .timeline-dual-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: calc(var(--nav-height) + 1rem);
    left: 1rem;
    right: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    display: none;
  }
}

/* ==========================================================================
   Business Venture, Course Catalog & Sales Pitch Styles
   ========================================================================== */

.sales-hero {
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
}

.sales-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.35rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.sales-hero-title {
  font-family: var(--font-editorial);
  font-size: clamp(2.65rem, 5.8vw, 4.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.sales-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin-inline: auto;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.sales-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.trust-badges-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  max-width: 780px;
  margin-inline: auto;
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

/* Philosophy Contrast Grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.philosophy-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transition);
}

.philosophy-card.trap {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.04) 0%, var(--bg-surface) 100%);
}

.philosophy-card.breakthrough {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-surface) 100%);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.philosophy-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.philosophy-card.trap .philosophy-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.philosophy-card.breakthrough .philosophy-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.philosophy-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.philosophy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.philosophy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.philosophy-list li span.bullet-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* Venture Offerings & Course Cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.course-card {
  background: var(--gloss-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, 0.22);
}

.course-header-banner {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(249, 115, 22, 0.1) 50%, rgba(124, 58, 237, 0.12) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  position: relative;
}

.course-type-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.pill-flagship {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(249, 115, 22, 0.15) 100%);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

.pill-guide {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.25);
}

.pill-toolkit {
  background: rgba(249, 115, 22, 0.2);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.45);
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.25);
}

.course-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.course-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.course-description {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.curriculum-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.curriculum-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.curriculum-list li::before {
  content: "✓";
  color: var(--accent-primary);
  font-weight: bold;
}

.course-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-access-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Lead Magnet Card - Glossy Glass with Gold Sheen */
.lead-magnet-card {
  background: var(--gloss-card-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(212, 175, 55, 0.15);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.lead-magnet-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.optin-input-group {
  display: flex;
  gap: 0.75rem;
}

.optin-input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.optin-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* Founder Spotlight Card */
.founder-bridge-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.founder-img-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.founder-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Overrides for Venture Elements */
@media (max-width: 992px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .lead-magnet-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .founder-bridge-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-img-frame {
    max-width: 260px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .optin-input-group {
    flex-direction: column;
  }
  .trust-badges-strip {
    flex-direction: column;
    gap: 0.75rem;
    border-radius: var(--radius-md);
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Header Spacing Fix & Universal Menu Drawer
   ========================================================================== */

/* Fix intro covered by navbar across all viewport sizes */
.sales-hero {
  padding-top: max(9rem, calc(var(--nav-height) + 5.5rem)) !important;
  padding-bottom: 4.5rem;
}

.hero-section {
  padding-top: max(8.5rem, calc(var(--nav-height) + 5rem)) !important;
}

/* Desktop Navigation Links */
.nav-desktop-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .nav-desktop-links {
    display: none;
  }
}

/* Dedicated Menu Button - Helvetica Bold, Glossy Pill */
.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(19, 23, 38, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--text-primary);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.nav-menu-btn:hover {
  border-color: var(--accent-primary);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.18);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

.nav-menu-btn svg {
  stroke: currentColor;
}

/* Universal Slide-Out Menu Drawer - Ultra-Glossy Glass */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 400px);
  background: rgba(10, 12, 20, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  z-index: 2000;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.drawer-close-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.drawer-section-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: var(--transition);
  background: transparent;
  border: 1px solid transparent;
}

.drawer-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  transform: translateX(4px);
}

.drawer-link.highlight {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.drawer-link.highlight:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(139, 92, 246, 0.22) 100%);
  border-color: var(--accent-primary);
  color: #ffffff;
}

.drawer-link svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--orange-primary);
}

/* Light Mode Drawer & Sidebar Navigation Overrides - 100% High-Contrast */
[data-theme="light"] .menu-backdrop {
  background: rgba(15, 23, 42, 0.5);
}

[data-theme="light"] .menu-drawer {
  background: #ffffff;
  border-left: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .drawer-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

[data-theme="light"] .drawer-section-label {
  color: #92400e;
  font-weight: 800;
}

[data-theme="light"] .drawer-link {
  color: #0f172a !important;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .drawer-link svg {
  color: #ea580c;
}

[data-theme="light"] .drawer-link:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.55);
  color: #78350f !important;
  transform: translateX(4px);
}

[data-theme="light"] .drawer-link.highlight {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #78350f !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.12);
}

[data-theme="light"] .drawer-close-btn {
  background: #f1f5f9;
  border-color: rgba(212, 175, 55, 0.4);
  color: #0f172a;
}

[data-theme="light"] .drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.4);
}

[data-theme="light"] .nav-container {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 15px rgba(212, 175, 55, 0.15);
}

[data-theme="light"] .nav-menu-btn {
  background: #f8fafc;
  border-color: rgba(212, 175, 55, 0.4);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-menu-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #92400e;
  border-color: rgba(212, 175, 55, 0.6);
}

[data-theme="light"] .theme-toggle-btn {
  background: #f1f5f9;
  border-color: rgba(212, 175, 55, 0.4);
  color: #0f172a;
}

/* Homepage Portal Gateway Cards - Glossy Imperial Luxury */
.gateway-card {
  background: var(--gloss-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gateway-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.6) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.2);
}


