/* ===================================================================
   ALANKRITAM IT TRAINING & OPERATIONS ACADEMY - OFFICIAL STYLESHEET
   Brand: Alankritam Infotech Private Limited
   Design Palette: Wisdom Colors (Midnight Sapphire, Indigo, Amethyst, Gold, Cyan)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Wisdom Color Palette - Deep Midnight Sapphire, Royal Indigo & Celestial Gold */
  --bg-primary: #070b1a;
  --bg-secondary: #0d132a;
  --bg-tertiary: #131c3d;
  --bg-card: rgba(13, 20, 45, 0.78);
  --bg-card-hover: rgba(19, 30, 65, 0.90);
  --glass-border: rgba(99, 140, 255, 0.16);
  --glass-border-hover: rgba(251, 191, 36, 0.40);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Brand Accents */
  --brand-cyan: #00f0ff;
  --brand-violet: #8b5cf6;
  --brand-indigo: #6366f1;
  --brand-blue: #3b82f6;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  --brand-gold: #fbbf24;
  
  --gradient-brand: linear-gradient(135deg, #00f0ff 0%, #6366f1 45%, #a855f7 75%, #fbbf24 100%);
  --gradient-wisdom: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.2), transparent 70%);

  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 36px -10px rgba(0, 2, 18, 0.65);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
  --shadow-gold: 0 4px 20px rgba(251, 191, 36, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-code: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.90);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --glass-border: rgba(99, 102, 241, 0.18);
  --glass-border-hover: rgba(217, 119, 6, 0.45);
  
  --text-primary: #090d20;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #b45309 100%);
  --gradient-wisdom: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 246, 255, 0.75) 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1), transparent 70%);
  --shadow-sm: 0 4px 12px rgba(9, 13, 32, 0.06);
  --shadow-lg: 0 20px 40px -15px rgba(9, 13, 32, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
}

/* Background Ambient Glow & Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.ambient-orb-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}
.ambient-orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.13) 0%, transparent 70%);
  bottom: 10%;
  left: -200px;
}
.ambient-orb-3 {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.16) 0%, transparent 70%);
  top: 40%;
  right: 15%;
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #00f0ff 0%, #c084fc 42%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
}

/* Modern Wisdom Badge */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: var(--brand-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-cyan);
  box-shadow: 0 0 12px var(--brand-cyan);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}
.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #6366f1 50%, #8b5cf6 100%);
  color: #070b1a;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 240, 255, 0.45);
  color: #000;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
[data-theme="light"] .navbar {
  background: rgba(248, 250, 252, 0.88);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
}
.logo-icon-wrapper {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.4);
}
.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  line-height: 1.1;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .brand-name {
  background: linear-gradient(135deg, #090d20 0%, #334155 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-tagline {
  font-size: 0.65rem;
  color: var(--brand-cyan);
  font-weight: 600;
  letter-spacing: 1.2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-cyan);
  transition: var(--transition);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--brand-gold);
}
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}
.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
}
.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.hero-feature-item svg {
  color: var(--brand-cyan);
}

/* Hero Visual Showcase */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 1.25rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.hero-visual-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.hero-img-wrap {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 26, 0.85) 100%);
  pointer-events: none;
}

/* Floating Status Pills */
.floating-stat {
  position: absolute;
  padding: 0.85rem 1.2rem;
  background: rgba(13, 19, 42, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}
[data-theme="light"] .floating-stat {
  background: rgba(255, 255, 255, 0.95);
}
.floating-stat-1 {
  top: -15px;
  right: -15px;
  animation-delay: 0s;
}
.floating-stat-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon.cyan { background: rgba(0, 240, 255, 0.15); color: var(--brand-cyan); }
.stat-icon.violet { background: rgba(138, 63, 252, 0.15); color: var(--brand-violet); }
.stat-info h5 {
  font-size: 0.88rem;
  font-weight: 700;
}
.stat-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===================================================================
   METRICS SECTION
   =================================================================== */
.metrics-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(13, 19, 42, 0.45);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.metric-box h3 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--brand-cyan);
}
.metric-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ===================================================================
   ABOUT SECTION
   =================================================================== */
.about-section {
  padding: 6rem 0;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.about-portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.about-portrait-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.about-portrait-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(7, 11, 26, 0.88);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-cyan);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald);
  box-shadow: 0 0 8px var(--brand-emerald);
}

.expert-quote-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(251, 191, 36, 0.08) 100%);
  border-left: 4px solid var(--brand-gold);
  border-top: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}
.expert-quote-text {
  font-size: 1.12rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 500;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.about-highlight-box {
  display: flex;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
}
.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-icon.cyan { background: rgba(0, 240, 255, 0.12); color: var(--brand-cyan); }
.highlight-icon.violet { background: rgba(138, 63, 252, 0.12); color: var(--brand-violet); }
.highlight-icon.amber { background: rgba(245, 158, 11, 0.12); color: var(--brand-amber); }
.highlight-icon.emerald { background: rgba(16, 185, 129, 0.12); color: var(--brand-emerald); }
.about-highlight-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.about-highlight-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===================================================================
   CURRICULUM MODULES SECTION
   =================================================================== */
.curriculum-section {
  padding: 6rem 0;
  position: relative;
  background: rgba(13, 19, 42, 0.35);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.module-nav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.module-pill-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.module-pill-btn:hover {
  border-color: var(--brand-gold);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.module-pill-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(251, 191, 36, 0.15) 100%);
  border-color: var(--brand-cyan);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}
.pill-num {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--brand-cyan);
  font-weight: 700;
}

.module-display-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}
.module-display-pane.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.module-header-banner {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}
.module-badge-tag {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}
.module-badge-tag.cyan { background: rgba(0, 240, 255, 0.12); color: var(--brand-cyan); }
.module-badge-tag.blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.module-badge-tag.amber { background: rgba(245, 158, 11, 0.12); color: var(--brand-amber); }
.module-badge-tag.emerald { background: rgba(16, 185, 129, 0.12); color: var(--brand-emerald); }

.module-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.module-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 960px;
}

.module-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.module-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.module-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-sm);
}
.mod-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.mod-card-icon.cyan { background: rgba(0, 240, 255, 0.12); color: var(--brand-cyan); }
.mod-card-icon.blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.mod-card-icon.violet { background: rgba(138, 63, 252, 0.12); color: var(--brand-violet); }
.mod-card-icon.amber { background: rgba(245, 158, 11, 0.12); color: var(--brand-amber); }
.mod-card-icon.emerald { background: rgba(16, 185, 129, 0.12); color: var(--brand-emerald); }

.module-feature-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.module-feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.mod-bullet-list {
  list-style: none;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--glass-border);
}
.mod-bullet-list li {
  font-size: 0.82rem;
  color: var(--brand-gold);
  font-family: var(--font-code);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mod-bullet-list li::before {
  content: '▸';
  color: var(--brand-cyan);
}

/* ===================================================================
   INTERACTIVE SANDBOX SECTION
   =================================================================== */
.sandbox-section {
  padding: 6rem 0;
  position: relative;
}
.sandbox-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.sandbox-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.sandbox-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--brand-gold);
}
.sandbox-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(99, 102, 241, 0.25) 100%);
  border-color: var(--brand-cyan);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.sandbox-tool-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.4s ease forwards;
}
.sandbox-tool-card.active {
  display: block;
}
.sandbox-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1.25rem;
}
.sandbox-badge {
  font-family: var(--font-code);
  font-size: 0.75rem;
  padding: 0.35rem 0.8rem;
  background: rgba(251, 191, 36, 0.15);
  color: var(--brand-gold);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Tool 1: Logic Simulator */
.logic-simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.sim-control-group {
  margin-bottom: 1.25rem;
}
.sim-control-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(7, 11, 26, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
}
[data-theme="light"] .form-control {
  background: #fff;
  border-color: #cbd5e1;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.sim-policy-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sim-radio {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.sim-radio input {
  accent-color: var(--brand-cyan);
}

.simulator-output {
  background: #040711;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
}
.sim-output-header {
  background: #090e20;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}
.code-dots {
  display: flex;
  gap: 6px;
}
.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }
.sim-console-title {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--brand-cyan);
}
.sim-console-body {
  padding: 1rem;
  font-family: var(--font-code);
  font-size: 0.82rem;
  line-height: 1.6;
  flex-grow: 1;
  overflow-y: auto;
}
.console-line {
  margin-bottom: 0.35rem;
}
.console-line.info { color: #93c5fd; }
.console-line.success { color: #34d399; }
.console-line.warning { color: #fcd34d; }
.console-line.error { color: #f87171; }

/* Tool 2: Subnet Inspector */
.subnet-inspector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.subnet-results-card {
  background: #040711;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.subnet-results-card h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.6rem;
}
.subnet-data-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.subnet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-code);
  font-size: 0.85rem;
}
.subnet-row .lbl {
  color: var(--text-muted);
}
.subnet-row .val {
  font-weight: 600;
  color: var(--text-primary);
}
.subnet-row .val.cyan { color: var(--brand-cyan); }
.subnet-row .val.amber { color: var(--brand-amber); }
.subnet-row .val.emerald { color: var(--brand-emerald); }
.subnet-row .val.gold { color: var(--brand-gold); }
.subnet-row .val.violet { color: var(--brand-violet); }

/* Tool 3: Hardware Pipeline */
.hardware-pipeline-wrap {
  background: #040711;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.pipeline-stages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.pipe-node {
  flex: 1;
  min-width: 180px;
  background: rgba(13, 19, 42, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.pipe-node.active {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.08);
}
.pipe-node .node-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-cyan);
}
.pipe-node h5 {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.pipe-node p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.pipe-arrow {
  font-size: 1.5rem;
  color: var(--brand-gold);
  font-weight: 800;
}

/* ===================================================================
   AUDIENCE SECTION
   =================================================================== */
.audience-section {
  padding: 6rem 0;
  position: relative;
  background: rgba(13, 19, 42, 0.4);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.audience-card.featured {
  border-color: var(--brand-gold);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, rgba(13, 19, 42, 0.85) 100%);
  box-shadow: var(--shadow-gold);
}
.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-wisdom);
  color: #070b1a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.8px;
}
.audience-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.audience-icon.cyan { background: rgba(0, 240, 255, 0.12); color: var(--brand-cyan); }
.audience-icon.violet { background: rgba(138, 63, 252, 0.12); color: var(--brand-violet); }
.audience-icon.amber { background: rgba(245, 158, 11, 0.12); color: var(--brand-amber); }
.audience-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.audience-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.audience-bullets {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.audience-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.audience-bullets svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================================================================
   FAQ SECTION
   =================================================================== */
.faq-section {
  padding: 6rem 0;
  position: relative;
}
.faq-accordion-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(99, 140, 255, 0.35);
}
.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--brand-cyan);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
}
.faq-item.open .faq-answer {
  max-height: 250px;
  padding: 0 1.75rem 1.35rem;
}
.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===================================================================
   ENROLLMENT SECTION
   =================================================================== */
.enroll-section {
  padding: 6rem 0;
  position: relative;
}
.enroll-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(14px);
}
.enroll-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.enroll-header h2 {
  font-size: 2.3rem;
  margin-bottom: 0.75rem;
}
.enroll-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.enroll-form .form-group {
  margin-bottom: 1.25rem;
}
.enroll-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: #040711;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-links-col h5 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links-col a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links-col a:hover {
  color: var(--brand-cyan);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(13, 19, 42, 0.95);
  border: 1px solid var(--brand-cyan);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-emerald);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.toast-content h6 {
  font-size: 0.92rem;
  color: var(--text-primary);
}
.toast-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual-card {
    transform: none;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .module-cards-grid, .logic-simulator-grid, .subnet-inspector-grid, .audience-grid {
    grid-template-columns: 1fr;
  }
  .about-highlights-grid, .enroll-form .form-row {
    grid-template-columns: 1fr;
  }
  .enroll-card {
    padding: 1.75rem;
  }
}

/* ===================================================================
   MULTI-PAGE SITE ADDITIONAL COMPONENTS
   =================================================================== */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 1rem 0 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--brand-cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--text-secondary); }

/* Page Hero (inner pages) */
.page-hero {
  padding: 4rem 0 3.5rem;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 4rem;
}
.page-hero-inner {
  max-width: 800px;
}
.page-hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.page-hero .lead-text { font-size: 1.1rem; margin-bottom: 1.5rem; }

/* Course Catalog Cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition);
}
.course-card:hover::before { opacity: 1; }
.course-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.course-card-num {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--brand-cyan);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.course-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.course-card-icon.cyan  { background: rgba(0,240,255,0.12); color: var(--brand-cyan); }
.course-card-icon.blue  { background: rgba(59,130,246,0.12); color: var(--brand-blue); }
.course-card-icon.amber { background: rgba(245,158,11,0.12); color: var(--brand-amber); }
.course-card-icon.violet { background: rgba(139,92,246,0.12); color: var(--brand-violet); }
.course-card-icon.emerald { background: rgba(16,185,129,0.12); color: var(--brand-emerald); }
.course-card h3 { font-size: 1.4rem; margin-bottom: 0.65rem; }
.course-card p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.5rem; flex-grow: 1; }
.course-card-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.topic-tag {
  font-size: 0.76rem;
  font-family: var(--font-code);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(99,102,241,0.1);
  color: var(--brand-indigo);
  border: 1px solid rgba(99,102,241,0.2);
  font-weight: 600;
}
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.course-card-cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-cyan);
  font-weight: 600;
  font-size: 0.88rem;
}

/* Testimonial Cards */
.testimonials-section {
  padding: 6rem 0;
  background: rgba(13,19,42,0.4);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251,191,36,0.3);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--brand-gold);
  font-size: 0.85rem;
}
.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-avatar.cyan   { background: rgba(0,240,255,0.18); color: var(--brand-cyan); }
.author-avatar.violet { background: rgba(139,92,246,0.18); color: var(--brand-violet); }
.author-avatar.gold   { background: rgba(251,191,36,0.18); color: var(--brand-gold); }
.author-name { font-size: 0.9rem; font-weight: 700; }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* Module Deep-Dive Page */
.module-hero-page {
  padding: 4rem 0 3rem;
  position: relative;
}
.module-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.module-objectives-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.module-objectives-card h4 { margin-bottom: 1.25rem; color: var(--brand-cyan); font-size: 1rem; }
.objectives-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.objectives-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.objectives-list li svg { color: var(--brand-emerald); flex-shrink: 0; margin-top: 2px; }

/* Module Nav (prev/next) */
.module-nav-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 4rem 0;
}
.module-nav-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}
.module-nav-btn:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.module-nav-btn.next { flex-direction: row-reverse; text-align: right; }
.module-nav-btn .nav-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.module-nav-btn .nav-title { font-size: 1rem; font-weight: 700; }

/* Topic Deep Cards */
.topic-section { padding: 5rem 0; }
.topics-deep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.topic-deep-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}
.topic-deep-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
}
.topic-deep-card h4 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.topic-deep-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* Blog Page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.blog-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, #1a2550 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-image svg { opacity: 0.25; }
.blog-card-image-label {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(7,11,26,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-code);
}
.blog-card-image-label.cyan   { color: var(--brand-cyan); }
.blog-card-image-label.blue   { color: var(--brand-blue); }
.blog-card-image-label.amber  { color: var(--brand-amber); }
.blog-card-image-label.violet { color: var(--brand-violet); }

.blog-card-body { padding: 1.75rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.blog-card h3 { font-size: 1.25rem; margin-bottom: 0.65rem; line-height: 1.3; }
.blog-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; flex-grow: 1; margin-bottom: 1.25rem; }
.blog-read-more {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

/* Blog Article */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: flex-start;
  padding: 3rem 0 6rem;
}
.article-body { max-width: 760px; }
.article-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--glass-border); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.article-meta-tag {
  background: rgba(99,102,241,0.12);
  color: var(--brand-indigo);
  border: 1px solid rgba(99,102,241,0.25);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--font-code);
}
.article-body h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 1rem; }
.article-content h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; color: var(--text-primary); }
.article-content h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--brand-cyan); }
.article-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.25rem; }
.article-content ul, .article-content ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.article-content li { margin-bottom: 0.4rem; font-size: 0.97rem; }
.article-content strong { color: var(--text-primary); font-weight: 600; }
.article-content code {
  font-family: var(--font-code);
  background: rgba(99,102,241,0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--brand-cyan);
}
.article-callout {
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(0,240,255,0.06) 100%);
  border-left: 4px solid var(--brand-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.article-callout p { margin: 0; color: var(--text-primary) !important; font-size: 1rem !important; }

/* Sidebar */
.article-sidebar { position: sticky; top: 96px; }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h5 { font-size: 0.9rem; margin-bottom: 1rem; color: var(--text-primary); border-bottom: 1px solid var(--glass-border); padding-bottom: 0.6rem; }
.sidebar-toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-toc-list a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-toc-list a:hover { color: var(--brand-cyan); }
.sidebar-toc-list a::before { content: '→'; opacity: 0.4; font-size: 0.75rem; }
.related-articles { display: flex; flex-direction: column; gap: 0.85rem; }
.related-article-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
  transition: var(--transition);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.related-article-link:last-child { border-bottom: none; }
.related-article-link:hover { color: var(--brand-cyan); }

/* Pricing Cards */
.pricing-section { padding: 5rem 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--brand-gold);
  background: linear-gradient(180deg, rgba(251,191,36,0.07) 0%, var(--bg-card) 60%);
  box-shadow: var(--shadow-gold);
}
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-wisdom);
  color: #050a18;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.8px;
  white-space: nowrap;
}
.pricing-name { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.pricing-price { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; letter-spacing: -1px; line-height: 1; margin-bottom: 0.35rem; }
.pricing-price span { font-size: 1.25rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 1.75rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; flex-grow: 1; }
.pricing-features li { font-size: 0.88rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.6rem; }
.pricing-features li svg { color: var(--brand-emerald); flex-shrink: 0; }
.pricing-features li.missing svg { color: var(--text-muted); }
.pricing-features li.missing { opacity: 0.5; }

/* About Page: Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-cyan) 0%, var(--brand-violet) 50%, var(--brand-gold) 100%);
  opacity: 0.35;
}
.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 1.75rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-cyan);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 10px rgba(0,240,255,0.6);
}
.timeline-year {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--brand-gold);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.timeline-item h4 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.timeline-item p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* Stats Counter */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 3rem 0;
}
.stat-bar-item {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid var(--glass-border);
  background: var(--bg-card);
}
.stat-bar-item:last-child { border-right: none; }
.stat-bar-item .big-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-bar-item p { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.25rem; }

/* Home page feature strip */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); }
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-icon.cyan   { background: rgba(0,240,255,0.12); color: var(--brand-cyan); }
.why-icon.violet { background: rgba(139,92,246,0.12); color: var(--brand-violet); }
.why-icon.gold   { background: rgba(251,191,36,0.12); color: var(--brand-gold); }
.why-icon.emerald { background: rgba(16,185,129,0.12); color: var(--brand-emerald); }
.why-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* Full CTA Banner */
.cta-banner {
  padding: 5rem 0;
}
.cta-banner-inner {
  background: linear-gradient(135deg, rgba(0,240,255,0.08) 0%, rgba(99,102,241,0.15) 50%, rgba(251,191,36,0.08) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.cta-banner-inner h2 { font-size: 2.4rem; margin-bottom: 1rem; }
.cta-banner-inner p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; }
.cta-btn-group { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }

/* Home preview section - compact course list */
.home-courses-section { padding: 6rem 0; }

/* Highlight reel numbers home */
.home-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0 0;
}
.home-metric {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}
.home-metric .big { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.home-metric p { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.35rem; }

/* Responsive additions */
@media (max-width: 1024px) {
  .courses-grid, .module-hero-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .stats-bar, .home-metrics { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .topics-deep-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero h1 { font-size: 2.2rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { padding: 2.5rem 1.5rem; }
  .cta-banner-inner h2 { font-size: 1.8rem; }
  .module-nav-strip { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .topics-deep-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .home-metrics { grid-template-columns: repeat(2, 1fr); }
}
