/* ==========================================================================
   MAIN NUTRITION BLOG & EDITORIAL DESIGN SYSTEM
   Theme: Cyber-HUD Dark Obsidian & High-Legibility Biometric Typography
   ========================================================================== */

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

:root {
  /* Surface Tokens */
  --bg-obsidian: #0A0B10;
  --bg-obsidian-deep: #06070A;
  --card-surface: rgba(16, 20, 28, 0.85);
  --card-surface-elevated: rgba(22, 28, 40, 0.92);
  --card-border-default: 1px solid rgba(255, 255, 255, 0.12);
  --card-border-active: 2px solid #00E676;
  --card-border-cyan: 1.5px solid rgba(0, 229, 255, 0.4);
  --card-border-purple: 1.5px solid rgba(168, 85, 247, 0.4);
  
  /* Accent Tokens */
  --neon-emerald: #00E676;
  --neon-emerald-glow: rgba(0, 230, 118, 0.22);
  --neon-emerald-dim: rgba(0, 230, 118, 0.08);
  --electric-cyan: #00E5FF;
  --electric-cyan-glow: rgba(0, 229, 255, 0.22);
  --royal-purple: #A855F7;
  --royal-purple-glow: rgba(168, 85, 247, 0.25);
  --amber-warn: #F59E0B;
  
  /* Text & Typography Tokens */
  --text-primary: #F4F4F6;
  --text-secondary: #9E9EB2;
  --text-muted: #64647A;
  --text-heading: #FFFFFF;
  
  --font-display: 'Orbitron', 'Outfit', sans-serif;
  --font-sans: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'VT323', monospace;
  
  /* Blur & Shadows */
  --backdrop-blur: blur(16px);
  --shadow-obsidian: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  --shadow-emerald: 0 10px 30px -5px rgba(0, 230, 118, 0.3);
  --shadow-cyan: 0 10px 30px -5px rgba(0, 229, 255, 0.25);
}

/* Light Mode Overrides */
html.light-theme {
  --bg-obsidian: #F5F7FA;
  --bg-obsidian-deep: #EAEEF3;
  --card-surface: rgba(255, 255, 255, 0.95);
  --card-surface-elevated: #FFFFFF;
  --card-border-default: 1px solid rgba(0, 0, 0, 0.09);
  --card-border-active: 2px solid #00B359;
  --card-border-cyan: 1.5px solid rgba(0, 184, 212, 0.45);
  --card-border-purple: 1.5px solid rgba(147, 51, 234, 0.45);
  
  --neon-emerald: #00B359;
  --neon-emerald-glow: rgba(0, 179, 89, 0.18);
  --neon-emerald-dim: rgba(0, 179, 89, 0.08);
  --electric-cyan: #0097A7;
  --electric-cyan-glow: rgba(0, 151, 167, 0.18);
  --royal-purple: #7E22CE;
  --royal-purple-glow: rgba(126, 34, 206, 0.18);
  
  --text-primary: #18181B;
  --text-secondary: #52525B;
  --text-muted: #71717A;
  --text-heading: #09090B;
  --shadow-obsidian: 0 15px 40px -10px rgba(0, 0, 0, 0.08);
}

/* Base Document Reset & Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.blog-page {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Cyber Grid Accent */
body.blog-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 230, 118, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(0, 229, 255, 0.05) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  pointer-events: none;
  z-index: 0;
}

/* Top Progress Scrollbar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-emerald), var(--electric-cyan));
  box-shadow: 0 0 10px var(--neon-emerald);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* Container */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 5rem;
  position: relative;
  z-index: 1;
}

.blog-post-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header.blog-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

html.light-theme header.blog-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-squircle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-emerald);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.2);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.brand-text .brand-main {
  color: #FFFFFF;
}

html.light-theme .brand-text .brand-main {
  color: #09090B;
}

.brand-text .brand-nutri {
  color: var(--neon-emerald);
}

.brand-sub-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--electric-cyan);
  letter-spacing: 0.05em;
  margin-left: 0.4rem;
  text-transform: uppercase;
}

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

.blog-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-nav-link:hover,
.blog-nav-link.active {
  color: var(--neon-emerald);
}

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

/* Action Buttons */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--neon-emerald);
  color: #032313;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--neon-emerald-glow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cyber:hover {
  background: #26FF96;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 24px rgba(0, 230, 118, 0.45);
}

.btn-cyber-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cyber-outline:hover {
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  background: var(--neon-emerald-dim);
}

.theme-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
}

/* ==========================================================================
   BLOG HUB HERO & CONTROLS
   ========================================================================== */
.blog-hero {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.hud-signal-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-emerald);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--neon-emerald);
  box-shadow: 0 0 8px var(--neon-emerald);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.blog-hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.blog-hero-title .text-glow {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--neon-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.light-theme .blog-hero-title .text-glow {
  background: linear-gradient(135deg, #09090B 30%, var(--neon-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

/* Search & Filter Toolbar */
.blog-controls-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  background: var(--card-surface);
  border: var(--card-border-default);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-radius: 1.5rem;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-obsidian);
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.blog-search-field {
  width: 100%;
  background: rgba(8, 10, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.85rem 1.1rem 0.85rem 2.85rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

html.light-theme .blog-search-field {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.12);
}

.blog-search-field::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.blog-search-field:focus {
  border-color: var(--neon-emerald);
  box-shadow: 0 0 0 3px var(--neon-emerald-glow);
}

/* Category Filter Chips */
.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

html.light-theme .filter-chip {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.filter-chip:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.filter-chip.active {
  background: rgba(0, 230, 118, 0.14);
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  box-shadow: 0 0 14px var(--neon-emerald-glow);
}

/* ==========================================================================
   FEATURED POST CARD (CYBER HUD BANNER)
   ========================================================================== */
.featured-card-section {
  margin-bottom: 4rem;
}

.featured-card {
  position: relative;
  background: var(--card-surface);
  border: var(--card-border-active);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-obsidian), 0 0 30px rgba(0, 230, 118, 0.15);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-obsidian), 0 0 45px rgba(0, 230, 118, 0.25);
}

.featured-media-wrap {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.featured-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover .featured-media-wrap img {
  transform: scale(1.04);
}

/* HUD Overlay Badges on Image */
.media-hud-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 16, 0.1) 0%, rgba(10, 11, 16, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  pointer-events: none;
}

.hud-telemetry-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(10, 11, 16, 0.85);
  border: 1px solid var(--neon-emerald);
  color: var(--neon-emerald);
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.hud-bottom-metrics {
  display: flex;
  gap: 0.75rem;
}

.hud-metric-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  background: rgba(10, 11, 16, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: var(--electric-cyan);
  backdrop-filter: blur(8px);
}

/* Featured Content */
.featured-content-wrap {
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.badge-launch {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--neon-emerald);
  color: var(--neon-emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.read-time-pill {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.featured-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-title a:hover {
  color: var(--neon-emerald);
}

.featured-excerpt {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.author-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  margin-top: auto;
}

html.light-theme .author-meta-row {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--neon-emerald);
  object-fit: cover;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BLOG GRID & CARDS
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.blog-card {
  position: relative;
  background: var(--card-surface);
  border: var(--card-border-default);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-obsidian);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-emerald);
  box-shadow: var(--shadow-obsidian), 0 0 25px rgba(0, 230, 118, 0.18);
}

.card-media-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.card-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .card-media-wrap img {
  transform: scale(1.05);
}

.category-tag-floating {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  background: rgba(10, 11, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}

.category-tag-floating.cat-ai {
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
}

.category-tag-floating.cat-science {
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
}

.category-tag-floating.cat-product {
  border-color: var(--royal-purple);
  color: var(--royal-purple);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: var(--neon-emerald);
}

.card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag-pill {
  font-size: 0.725rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html.light-theme .card-footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-chip img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--neon-emerald);
}

.author-chip span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--neon-emerald);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.read-more-link:hover {
  gap: 0.55rem;
}

/* ==========================================================================
   BETA CONVERSION CALLOUT CARD
   ========================================================================== */
.beta-cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 20, 28, 0.95), rgba(8, 10, 14, 0.95));
  border: 2px solid var(--neon-emerald);
  border-radius: 2rem;
  padding: 3.5rem 2.5rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 230, 118, 0.2);
  margin: 4rem 0;
}

.beta-cta-card::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 240px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.beta-cta-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.beta-cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.beta-quota-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.quota-bar {
  width: 90px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.quota-fill {
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-emerald), var(--electric-cyan));
}

/* ==========================================================================
   ARTICLE PAGE TYPOGRAPHY & HUD BLOCKS
   ========================================================================== */
.breadcrumbs-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.breadcrumbs-bar a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs-bar a:hover {
  color: var(--neon-emerald);
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin: 1rem 0 1.25rem;
}

.article-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Featured Hero Image inside Article */
.article-featured-image {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-obsidian);
  position: relative;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-image-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: rgba(10, 11, 16, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Table of Contents */
.toc-card {
  background: var(--card-surface);
  border: var(--card-border-default);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}

.toc-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neon-emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toc-list li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.toc-list li a:hover {
  color: var(--neon-emerald);
  transform: translateX(4px);
}

/* Article Prose Typography */
.article-prose {
  font-size: 1.075rem;
  color: var(--text-primary);
  line-height: 1.8;
}

.article-prose p {
  margin-bottom: 1.75rem;
}

.article-prose h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin: 3.25rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 90px;
}

html.light-theme .article-prose h2 {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.article-prose h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 2.25rem 0 1rem;
  scroll-margin-top: 90px;
}

.article-prose strong {
  color: #FFFFFF;
  font-weight: 700;
}

html.light-theme .article-prose strong {
  color: #09090B;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 1.75rem 1.5rem;
}

.article-prose li {
  margin-bottom: 0.6rem;
}

/* Callout Blocks */
.callout-box {
  background: var(--card-surface);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  position: relative;
  backdrop-filter: var(--backdrop-blur);
}

.callout-box.emerald {
  border-left: 4px solid var(--neon-emerald);
  border-top: 1px solid rgba(0, 230, 118, 0.2);
  border-right: 1px solid rgba(0, 230, 118, 0.2);
  border-bottom: 1px solid rgba(0, 230, 118, 0.2);
  box-shadow: 0 5px 25px -5px rgba(0, 230, 118, 0.15);
}

.callout-box.cyan {
  border-left: 4px solid var(--electric-cyan);
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  border-right: 1px solid rgba(0, 229, 255, 0.2);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 5px 25px -5px rgba(0, 229, 255, 0.15);
}

.callout-box.purple {
  border-left: 4px solid var(--royal-purple);
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  border-right: 1px solid rgba(168, 85, 247, 0.2);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 5px 25px -5px rgba(168, 85, 247, 0.15);
}

.callout-header {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.callout-box.emerald .callout-header { color: var(--neon-emerald); }
.callout-box.cyan .callout-header { color: var(--electric-cyan); }
.callout-box.purple .callout-header { color: var(--royal-purple); }

/* Cyber Metric Cards Grid */
.metric-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.25rem 0;
}

@media (max-width: 768px) {
  .metric-grid-3 {
    grid-template-columns: 1fr;
  }
}

.metric-stat-card {
  background: var(--card-surface);
  border: var(--card-border-default);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.metric-stat-card.emerald { border-color: rgba(0, 230, 118, 0.35); }
.metric-stat-card.cyan { border-color: rgba(0, 229, 255, 0.35); }
.metric-stat-card.purple { border-color: rgba(168, 85, 247, 0.35); }

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-stat-card.emerald .stat-value { color: var(--neon-emerald); }
.metric-stat-card.cyan .stat-value { color: var(--electric-cyan); }
.metric-stat-card.purple .stat-value { color: var(--royal-purple); }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

/* Comparison Table */
.hud-table-wrapper {
  overflow-x: auto;
  margin: 2.5rem 0;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hud-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.hud-table th {
  background: rgba(16, 20, 28, 0.95);
  font-family: var(--font-display);
  font-size: 0.825rem;
  color: var(--neon-emerald);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hud-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.hud-table tr:last-child td {
  border-bottom: none;
}

.hud-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Terminal & Code Block */
.code-terminal-block {
  background: #08090D;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 1rem;
  margin: 2rem 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.terminal-dots {
  display: flex;
  gap: 0.35rem;
}

.dot-term {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-term.red { background: #FF5F56; }
.dot-term.yellow { background: #FFBD2E; }
.dot-term.green { background: #27C93F; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--electric-cyan);
}

.terminal-code {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #C3E88D;
  overflow-x: auto;
  line-height: 1.6;
}

/* Founder Ticket VIP Card */
.founder-ticket-vip {
  background: linear-gradient(135deg, rgba(16, 20, 28, 0.98), rgba(6, 7, 10, 0.98));
  border: 2px solid var(--neon-emerald);
  border-radius: 1.5rem;
  padding: 2.25rem;
  margin: 3rem 0;
  box-shadow: 0 20px 50px -10px rgba(0, 230, 118, 0.25);
  position: relative;
  overflow: hidden;
}

.ticket-header-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px dashed rgba(0, 230, 118, 0.35);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.ticket-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
}

.ticket-cohort-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--neon-emerald);
  color: var(--neon-emerald);
}

.privilege-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0 2rem;
}

@media (max-width: 640px) {
  .privilege-list {
    grid-template-columns: 1fr;
  }
}

.privilege-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: var(--text-primary);
}

.privilege-check {
  color: var(--neon-emerald);
  font-weight: 800;
}

/* Author Box & Share Bar */
.article-footer-tools {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 4rem;
}

.share-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.share-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.share-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn:hover {
  border-color: var(--neon-emerald);
  color: var(--neon-emerald);
  background: var(--neon-emerald-dim);
}

.article-author-bio {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card-surface);
  border: var(--card-border-default);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 3.5rem;
}

.bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--neon-emerald);
  object-fit: cover;
  flex-shrink: 0;
}

.bio-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.bio-role {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--neon-emerald);
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.blog-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-obsidian-deep);
  padding: 4rem 1.5rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--neon-emerald);
}

.footer-bottom-row {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-media-wrap {
    min-height: 260px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .blog-container,
  .blog-post-container {
    padding-top: 6rem;
  }
  .blog-hero-title {
    font-size: 2.35rem;
  }
  .article-title {
    font-size: 2rem;
  }
  .blog-nav-links {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
