/* COMIC BOOK STYLES SHEET */

:root {
  /* Core Palette - Dark Theme (Default) */
  --ink-black: #111111;
  --ink-charcoal: #2D2D34;
  --paper-dark: #1a1a1d;
  --paper-cream: #FAF9F6;

  /* Gold Spectrum */
  --gold: #F0C419;
  --gold-dim: #b89200;
  --gold-soft: #FDF6D8;
  --gold-hover: #D4AB15;

  /* Accent Colors */
  --electric-blue: #00D4FF;
  --electric-blue-dim: rgba(0, 212, 255, 0.15);
  --danger-red: #E63946;
  --success-green: #2ECC71;

  /* Neutrals */
  --comic-white: #f4f4f4;
  --text-muted: #A0A0A0;
  --text-secondary: #CCCCCC;

  /* Theme-specific variables */
  --bg-body: var(--ink-black);
  --bg-page: var(--paper-dark);
  --bg-panel: #222;
  --bg-panel-alt: #1e1e24;
  --bg-nav: transparent;
  --bg-card: var(--ink-charcoal);
  --text-primary: var(--comic-white);
  --text-heading: var(--comic-white);
  --text-heading: var(--comic-white);
  --border-color: #333333;
  --border-subtle: #444444;
  --shadow-color: rgba(0, 0, 0, 0.5);

  /* Comic Specifics */
  --border-thick: 3px solid var(--ink-black);
  --border-gold: 3px solid var(--gold);
  --panel-gap: 15px;
  --shadow-hard: 4px 4px 0px var(--ink-black);

  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 3rem;
  --text-hero: 4rem;

  /* Z-Index Layers */
  --z-negative: -1;
  --z-base: 0;
  --z-decor: 10;
  --z-content: 20;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 1000;
  --z-tooltip: 2000;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --section-gap: 4rem;
  /* Uniform gap between major sections */
}



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

html {
  overflow-x: hidden;
}

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: 'Courier Prime', monospace;
  display: flex;
  justify-content: center;
  padding: 0;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  width: 100%;
}

/* THE PAGE CONTAINER */
.comic-page {
  background-color: var(--bg-page);
  max-width: 1200px;
  width: 100%;
  padding: 85px 40px 40px 40px;
  border: var(--border-thick);
  box-shadow: 0 0 50px var(--shadow-color);
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  /* Uniform spacing between all sections */
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: 'Bangers', cursive;
  letter-spacing: 1px;
  line-height: 1;
}

/* HEADER */
.comic-header {
  border-bottom: var(--border-thick);
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.brand-box {
  display: flex;
  align-items: center;
  /* Align logo and text vertically */
  gap: 12px;
  /* Space between logo and text */

  height: 100%;
}

.logo-mark {
  width: 40px;
  height: 40px;
  filter: drop-shadow(2px 2px 0 var(--ink-black));
}

.brand-name {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--gold);
  text-shadow: 2px 2px 0 var(--ink-black);
  line-height: 1;
  padding-top: 4px;
  /* Visual alignment correction for Bangers font */
}

.brand-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.issue-number,
.date {
  font-family: 'Courier Prime', monospace;
  font-size: 0.8rem;
  font-weight: bold;
  color: #666;
}

/* PANELS GENERAL */
.panel {
  border: var(--border-thick);
  background: var(--bg-panel);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  transition: background-color 0.3s ease;
}

/* PANEL 1: HERO */
.panel-hero {
  min-height: auto;
  margin-top: var(--space-lg);
  padding: var(--space-2xl);
  /* Standardized padding */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  margin-bottom: var(--section-gap);
  /* Extra gap after hero section to match other section spacing */
}

.visual-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* HALFTONE CSS PATTERN */
.halftone-overlay {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--ink-black) 20%, transparent 20%),
    radial-gradient(#2a2a2e 20%, transparent 20%);
  background-color: var(--paper-dark);
  background-position: 0 0, 4px 4px;
  background-size: 8px 8px;
  opacity: 0.5;
}

/* Optimized gold burst - uses pre-computed gradient instead of blur */
.gold-burst-optimized {
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 196, 25, 0.25) 0%, rgba(240, 196, 25, 0.1) 30%, rgba(240, 196, 25, 0) 70%);
  border-radius: 50%;
  opacity: 1;
}

.content-layer {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
  text-align: center;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  /* Centering content */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-headline {
  font-size: 5rem;
  transform: rotate(-2deg);
  text-shadow: 4px 4px 0 var(--ink-black);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-gold {
  color: var(--gold);
  -webkit-text-stroke: 1px var(--ink-black);
}

/* SPEECH BUBBLES */
.speech-bubble {
  background: var(--comic-white);
  color: var(--ink-black);
  padding: 10px 15px;
  border-radius: 50%;
  position: absolute;
  font-family: 'Bangers', cursive;
  font-size: 1.2rem;
  border: 2px solid var(--ink-black);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.bubble-hero {
  top: 40px;
  left: 40px;
  border-radius: 50% 50% 50% 0;
}

/* COMIC TAIL FOR BUBBLE */
.bubble-hero::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 10px solid transparent;
  border-top: 25px solid var(--ink-black);
  transform: rotate(20deg);
  z-index: var(--z-negative);
}

.bubble-hero::before {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 3px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 8px solid transparent;
  border-top: 20px solid var(--comic-white);
  transform: rotate(20deg);
  z-index: 0;
}

/* CAPTION BOXES (Narrator Voice) */
.caption-box {
  background: var(--gold);
  color: var(--ink-black);
  padding: 5px 10px;
  border: 2px solid var(--ink-black);
  position: absolute;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
  max-width: 200px;
}

.bottom-right {
  bottom: -2px;
  /* Overlap the border slightly */
  right: -2px;
  z-index: var(--z-content);
}

.top-left {
  top: 10px;
  left: 10px;
}

/* STRIP HEADER */
.strip-header {
  border-left: 5px dashed var(--gold);
  padding-left: 15px;
  margin-bottom: var(--space-md);
  /* Reduced from space-lg since panel-strip follows immediately */
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
  align-items: baseline;
  /* Align text baselines */
  gap: 15px;
}

/* METHOD SECTION CONTAINER */
.section-method {
  padding: var(--space-2xl);
  /* Match other section padding */
  background: var(--bg-panel);
  border: var(--border-thick);
  box-shadow: var(--shadow-hard);
  transition: background-color 0.3s ease;
  margin-bottom: var(--section-gap);
  /* Extra gap after method section to match other section spacing */
}


.strip-header h3 {
  font-size: 2rem;
  color: var(--comic-white);
  background: var(--ink-black);
  padding-right: 10px;
}

.strip-subtitle {
  font-family: 'Courier Prime', monospace;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
  opacity: 0.9;
  text-transform: uppercase;
}

/* 135 STRIP */
.panel-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
  /* Internal panel gap, smaller than section gap */
  min-height: 350px;
  /* Changed from fixed height to min-height for safety */
  align-items: stretch;
}

.panel-135 {
  border: var(--border-thick);
  background: var(--bg-panel-alt);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100%;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.big-number {
  font-family: 'Bangers', cursive;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.05);
  /* Watermark style */
  position: absolute;
  top: -10px;
  right: 10px;
  left: auto;
  line-height: 1;
  z-index: var(--z-base);
  pointer-events: none;
}

/* Make sure active number is gold if we want distinctness, or keep it subtle */
.panel-135:hover .big-number {
  color: rgba(240, 196, 25, 0.1);
}

.illustration {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ensure illustration sits above the number */
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.panel-text {
  background: var(--ink-black);
  padding: 15px;
  border-top: 2px solid var(--border-color);
  z-index: 2;
  position: relative;
}

.panel-text h3 {
  color: var(--gold);
  margin-bottom: 5px;
  font-size: 1.5rem;
}

.panel-text p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ccc;
}

.illustration {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* COMIC ICONS (SVG) */
.comic-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  filter: drop-shadow(4px 4px 0 var(--ink-black));
  transition: transform 0.2s;
}

.panel-135:hover .comic-icon {
  transform: scale(1.1) rotate(5deg);
}

/* MAGNIFYING GLASS (Focus) */
.ico-focus {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FOLDER/DOSSIER (Context) */
.ico-triad {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* STOPWATCH (Speed) */
.ico-timer {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* GALLERIES */
.panel-gallery {
  padding: var(--space-2xl);
}

.gallery-header {
  border-bottom: 4px solid var(--gold);
  display: inline-block;
  margin-bottom: var(--space-lg);
  padding-right: 20px;
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.comic-cover {
  border: 2px solid var(--border-subtle);
  transition: transform 0.2s, background-color 0.3s ease;
  cursor: pointer;
  background: var(--bg-panel);
}

.comic-cover:hover {
  transform: scale(1.02) rotate(-1deg);
  border-color: var(--gold);
  box-shadow: 6px 6px 0 var(--ink-black);
}

.cover-art {
  height: 150px;
  background: linear-gradient(45deg, var(--border-color), var(--bg-panel));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stamp {
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 5px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Bangers';
  transform: rotate(-15deg);
  font-size: 1.5rem;
}

.cover-footer {
  background: var(--ink-black);
  padding: 12px 14px 14px;
  border-top: 2px solid var(--border-subtle);
}

.cover-footer h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* FOOTER */
.panel-footer {
  text-align: center;
  padding: 20px;
  background: var(--ink-black);
  border-top: 2px dashed var(--border-subtle);
}

/* CRITICAL SKILLSET (Alert Panel) */
.panel-alert {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--ink-black);
  border-color: var(--gold);
  text-align: center;
  margin-bottom: var(--section-gap);
  /* Extra gap after comic strip section to match other section spacing */
}

.hazard-strip {
  height: 20px;
  width: 100%;
  background: repeating-linear-gradient(45deg,
      var(--gold),
      var(--gold) 20px,
      var(--ink-black) 20px,
      var(--ink-black) 40px);
  border-bottom: 2px solid var(--ink-black);
}

.hazard-strip.bottom {
  border-bottom: none;
  border-top: 2px solid var(--ink-black);
}

.alert-content {
  padding: var(--space-2xl);
}

.alert-headline {
  color: var(--comic-white);
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 #000;
}

.alert-body p {
  font-family: 'Courier Prime', monospace;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ccc;
}

.highlight-text {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem !important;
  /* Override monospace size */
  color: var(--comic-white);
  line-height: 1.2;
}

/* ACTION STAMPS (Footer Buttons) */
.action-stamp {
  display: inline-block;
  background: var(--ink-black);
  /* Start dark */
  color: var(--comic-white);
  padding: 15px 25px;
  font-family: 'Bangers', cursive;
  letter-spacing: 2px;
  font-size: 1.5rem;
  border: 3px solid var(--comic-white);
  transform: rotate(-2deg);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 4px 4px 0 var(--border-color);
}

.action-stamp:hover {
  background: var(--gold);
  color: var(--ink-black);
  border-color: var(--ink-black);
  transform: rotate(2deg) scale(1.1);
  box-shadow: 4px 4px 0 var(--comic-white);
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

/* COMIC STRIP IMAGE */
.comic-strip-img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border: 4px solid var(--ink-black);
  box-shadow: 8px 8px 0 var(--ink-black);
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.comic-strip-img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold);
  color: var(--ink-black);
  padding: 10px 20px;
  font-family: 'Courier Prime', monospace;
  font-weight: bold;
  padding: 10px 20px;
  font-family: 'Courier Prime', monospace;
  font-weight: bold;
  z-index: var(--z-modal);
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

.sticky-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  z-index: var(--z-sticky);
  background: var(--bg-nav);
  backdrop-filter: blur(10px);
  border: none;
  border-left: var(--border-thick);
  border-right: var(--border-thick);
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--ink-black);
  padding: 8px 16px;
  border: 2px solid var(--ink-black);
  font-family: 'Bangers', cursive;
  font-size: var(--text-base);
  letter-spacing: 1px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--gold-hover);
  transform: scale(1.05);
}

.nav-links .nav-cta::after {
  display: none;
}



/* ========================================
   THEME TOGGLE
   ======================================== */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.theme-toggle:hover {
  border-color: var(--gold);
  background: rgba(240, 196, 25, 0.1);
  transform: rotate(15deg);
}

.theme-icon {
  font-size: 1.2rem;
  line-height: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Dark theme: show moon icon */
.theme-icon-dark {
  display: block;
  color: var(--gold);
}

.theme-icon-light {
  display: none;
  color: var(--gold);
}

/* Light theme: show sun icon */
[data-theme="light"] .theme-icon-dark {
  display: none;
}

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

[data-theme="light"] .theme-toggle {
  border-color: var(--border-color);
}

[data-theme="light"] .theme-toggle:hover {
  border-color: var(--gold);
  background: rgba(201, 160, 0, 0.1);
}

/* ========================================
   HERO ENHANCEMENTS
   ======================================== */

.hero-subtitle {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-top: var(--space-md);
  letter-spacing: 0.5px;
}

.hero-tools {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.tool-badge {
  background: var(--ink-charcoal);
  color: var(--electric-blue);
  padding: 6px 14px;
  border: 1px solid var(--electric-blue);
  border-radius: 2px;
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  font-weight: bold;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.email-capture {
  display: flex;
  gap: 0;
  max-width: 400px;
}

.email-capture input {
  flex: 1;
  padding: 14px 18px;
  border: 3px solid var(--ink-black);
  border-right: none;
  background: var(--comic-white);
  color: var(--ink-black);
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-base);
}

.email-capture input::placeholder {
  color: var(--text-muted);
}

.email-capture input:focus {
  outline: none;
  border-color: var(--gold);
}

.email-capture button {
  padding: 14px 24px;
  background: var(--gold);
  color: var(--ink-black);
  border: 3px solid var(--ink-black);
  font-family: 'Bangers', cursive;
  font-size: var(--text-lg);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.email-capture button:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.social-proof {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.proof-item .check {
  color: var(--success-green);
  font-weight: bold;
}

/* ========================================
   ENHANCED GALLERY STYLES
   ======================================== */

.gallery-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 16px;
  background: transparent;
  border: 2px solid var(--ink-charcoal);
  color: var(--text-muted);
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover,
.tab-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

.tab-btn.active {
  background: rgba(240, 196, 25, 0.1);
}

.cover-meta {
  display: flex;
  gap: var(--space-sm);
  padding: 8px 10px;
  background: var(--ink-charcoal);
  border-top: 1px solid var(--border-subtle);
}

.meta-tag {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-xs);
  padding: 2px 8px;
  border-radius: 2px;
}

.meta-tag.duration {
  background: var(--electric-blue-dim);
  color: var(--electric-blue);
}

.meta-tag.level {
  background: rgba(240, 196, 25, 0.15);
  color: var(--gold);
}

.cover-description {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: var(--space-sm) 0;
  line-height: 1.4;
}

.btn-read {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--electric-blue);
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-read:hover {
  color: var(--gold);
}

/* Enhanced stamps with distinct colors */
.stamp.classified {
  border-color: var(--gold);
  color: var(--gold);
}

.stamp.top-secret {
  border-color: var(--danger-red);
  color: var(--danger-red);
}

.stamp.urgent {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
}

/* ========================================
   CTA BUTTON VARIANTS
   ======================================== */

.action-stamp.primary {
  background: var(--gold);
  color: var(--ink-black);
  border-color: var(--ink-black);
}

.action-stamp.primary:hover {
  background: var(--gold-hover);
  transform: rotate(2deg) scale(1.1);
}

.action-stamp.secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.action-stamp.secondary:hover {
  background: rgba(240, 196, 25, 0.1);
  color: var(--gold);
  border-color: var(--gold);
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

*:focus-visible {
  outline: 3px solid var(--electric-blue);
  outline-offset: 2px;
}

.action-stamp:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid var(--comic-white);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   COMIC STRIP SECTION ENHANCEMENT
   ======================================== */

.comic-strip-section {
  margin: var(--space-lg) 0;
}

.strip-captions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
  text-align: center;
}

.strip-caption {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: var(--space-sm);
}

.strip-caption strong {
  display: block;
  color: var(--gold);
  font-family: 'Bangers', cursive;
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {
  .sticky-nav {
    padding: 10px 15px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: var(--text-xs);
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: var(--text-base);
    padding: 0 var(--space-md);
  }

  .hero-tools {
    gap: var(--space-sm);
    width: 100%;
    padding: 0 var(--space-sm);
  }

  .tool-badge {
    font-size: var(--text-xs);
    padding: 4px 10px;
  }

  .email-capture {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0 var(--space-md);
  }

  .email-capture input {
    border-right: 3px solid var(--ink-black);
    border-bottom: none;
    width: 100%;
  }

  .email-capture button {
    width: 100%;
  }

  .social-proof {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .social-links {
    flex-direction: column;
    gap: var(--space-md);
  }

  .action-stamp {
    width: 100%;
    text-align: center;
    transform: none;
  }

  .action-stamp:hover {
    transform: scale(1.02);
  }

  .strip-captions {
    grid-template-columns: 1fr;
  }

  .comic-page {
    padding: 70px 15px 20px 15px;
    border-left: none;
    border-right: none;
  }

  .alert-headline {
    font-size: 2rem;
  }

  .panel-text h3 {
    font-size: 1.25rem;
  }

  .gallery-tabs {
    justify-content: center;
  }

  .panel-strip {
    grid-template-columns: 1fr;
    height: auto;
  }

  .comic-grid {
    grid-template-columns: 1fr;
  }

  .panel-hero {
    min-height: auto;
    padding: 40px 15px;
    margin-top: 0;
  }

  /* Comic strip image responsive */
  .comic-strip-img {
    max-width: 100%;
    transform: none;
    box-shadow: 4px 4px 0 var(--ink-black);
  }

  .comic-strip-img:hover {
    transform: none;
  }

  /* Alert section padding */
  .alert-content {
    padding: var(--space-lg);
  }

  /* Section method padding */
  .section-method {
    padding: var(--space-lg);
  }

  /* Gallery padding */
  .panel-gallery {
    padding: var(--space-lg);
  }

  /* Brand name size */
  .brand-name {
    font-size: 1.5rem;
  }

  /* Logo mark size */
  .logo-mark {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.75rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .sticky-nav {
    justify-content: space-between;
    padding: 8px 12px;
  }

  .comic-page {
    padding: 60px 10px 15px 10px;
  }

  /* Hero section adjustments */
  .panel-hero {
    padding: 30px 10px;
  }

  .hero-subtitle {
    font-size: var(--text-sm);
  }

  .hero-badge {
    padding: 6px 10px;
  }

  .hero-badge span:last-child {
    font-size: 0.7rem;
  }

  /* Tool badges stack vertically */
  .hero-tools {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .tool-badge-lg {
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px 16px;
  }

  /* Social proof stats */
  .social-proof-enhanced {
    padding: var(--space-sm);
  }

  .stat-number {
    font-size: var(--text-lg);
  }

  .stat-label {
    font-size: 0.65rem;
  }

  /* Alert section */
  .alert-headline {
    font-size: 1.5rem;
  }

  .alert-content {
    padding: var(--space-md);
  }

  .highlight-text {
    font-size: 1.3rem !important;
  }

  /* Method section */
  .section-method {
    padding: var(--space-md);
  }

  .strip-header h3 {
    font-size: 1.5rem;
  }

  .strip-subtitle {
    font-size: 0.8rem;
  }

  /* Panel text */
  .panel-text h3 {
    font-size: 1.1rem;
  }

  .panel-text p {
    font-size: 0.85rem;
  }

  /* Gallery section */
  .panel-gallery {
    padding: var(--space-md);
  }

  .gallery-header h3 {
    font-size: 1.5rem;
  }

  .gallery-tabs {
    gap: var(--space-xs);
  }

  .tab-btn {
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  .tab-count {
    display: none;
  }

  /* Course cards */
  .cover-footer h4 {
    font-size: 1rem;
  }

  .cover-description {
    font-size: 0.8rem;
  }

  /* Creator section */
  .panel-creator {
    padding: var(--space-md);
  }

  .creator-info h3 {
    font-size: var(--text-lg);
  }

  .avatar-placeholder {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  /* Footer */
  .panel-footer {
    padding: var(--space-lg) var(--space-md);
  }

  .footer-headline {
    font-size: var(--text-xl);
  }

  .footer-email {
    max-width: 100%;
  }

  .footer-links-section {
    gap: var(--space-md);
  }

  .footer-column h4 {
    font-size: var(--text-sm);
  }

  .footer-column a {
    font-size: 0.8rem;
  }

  /* View all button */
  .view-all-btn {
    font-size: 1.2rem;
    padding: 12px 20px;
  }

  /* Logo mark */
  .logo-mark {
    width: 28px;
    height: 28px;
  }
}

/* ========================================
   MOBILE HAMBURGER MENU
   ======================================== */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--ink-black);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease, background-color 0.3s ease;
    border-left: 2px solid var(--border-color);
    z-index: var(--z-modal);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: var(--text-base);
    padding: 10px 0;
    border-bottom: 1px solid var(--ink-charcoal);
  }

  .nav-links a:not(.nav-cta) {
    display: block;
  }

  .nav-cta {
    margin-top: 20px;
    text-align: center;
  }
}

/* Mobile menu overlay when open */
@media (max-width: 768px) {
  .nav-links.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
}

/* Active nav state */
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  width: 100%;
}

/* ========================================
   HERO BADGE
   ======================================== */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(240, 196, 25, 0.15);
  border: 1px solid var(--gold);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: var(--space-lg);
  animation: pulse-glow 2s ease-in-out infinite;
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-badge span:last-child {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--gold);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(240, 196, 25, 0.3);
  }

  50% {
    box-shadow: 0 0 20px rgba(240, 196, 25, 0.5);
  }
}

/* ========================================
   ENHANCED TOOL BADGES
   ======================================== */

.tool-badge-lg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: 16px 20px;
  background: var(--ink-charcoal);
  border: 2px solid var(--ink-charcoal);
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 100px;
}

.tool-badge-lg:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.tool-icon {
  font-size: 2rem;
  line-height: 1;
}

.tool-name {
  font-family: 'Bangers', cursive;
  font-size: var(--text-base);
  color: var(--comic-white);
}

.tool-count {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-xs);
  color: var(--electric-blue);
}

/* ========================================
   ENHANCED SOCIAL PROOF
   ======================================== */

.social-proof-enhanced {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.stat-number {
  font-family: 'Bangers', cursive;
  font-size: var(--text-2xl);
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.social-proof-secondary {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   HERO PREVIEW CARD
   ======================================== */

.hero-preview {
  position: absolute;
  right: 20px;
  bottom: 40px;
  position: absolute;
  right: 20px;
  bottom: 40px;
  z-index: var(--z-content);
  display: none;
}



@media (min-width: 1100px) {
  .hero-preview {
    display: block;
  }

  .panel-hero {
    min-height: 600px;
  }
}

.preview-card {
  width: 220px;
  background: var(--ink-charcoal);
  border: 2px solid var(--border-subtle);
  box-shadow: 8px 8px 0 var(--ink-black);
  transform: rotate(3deg);
  transition: all 0.3s ease;
}

.preview-card:hover {
  transform: rotate(0deg) scale(1.05);
  border-color: var(--gold);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--ink-black);
  border-bottom: 1px solid var(--border-subtle);
}

.preview-tag {
  font-family: 'Bangers', cursive;
  font-size: var(--text-xs);
  color: var(--gold);
  background: rgba(240, 196, 25, 0.2);
  padding: 2px 8px;
}

.preview-duration {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.preview-content {
  padding: 15px;
}

.comic-panel-preview {
  background: linear-gradient(135deg, #2a2a2e 0%, #1a1a1d 100%);
  border: 2px solid var(--border-color);
  padding: 15px;
  min-height: 120px;
  position: relative;
}

.panel-art {
  position: relative;
}

.character {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--ink-black);
  margin-bottom: 10px;
}

.speech-bubble-mini {
  background: var(--comic-white);
  color: var(--ink-black);
  padding: 8px 10px;
  border-radius: 10px;
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  position: relative;
  line-height: 1.3;
}

.speech-bubble-mini::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 15px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--comic-white);
}

.preview-cta {
  display: block;
  padding: 12px;
  background: var(--gold);
  color: var(--ink-black);
  font-family: 'Bangers', cursive;
  font-size: var(--text-sm);
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.preview-cta:hover {
  background: var(--gold-hover);
}

/* ========================================
   TRUSTED BY SECTION
   ======================================== */

.trusted-by-section {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trusted-label {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
}

.logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.company-logo {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.company-logo:hover {
  opacity: 0.8;
}

.logo-text {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-lg);
  font-weight: bold;
  color: var(--comic-white);
  letter-spacing: 2px;
}

/* ========================================
   ENHANCED 1-3-5 METHOD
   ======================================== */

.panel-135 .big-number {
  font-size: 8rem;
  color: rgba(240, 196, 25, 0.15);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.panel-135:hover .big-number {
  color: rgba(240, 196, 25, 0.25);
}

/* ========================================
   ENHANCED COURSE CARDS
   ======================================== */

.cover-art {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.art-cursor {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
}

.art-claude {
  background: linear-gradient(135deg, #553c9a 0%, #805ad5 50%, #553c9a 100%);
}

.art-fundamentals {
  background: linear-gradient(135deg, #744210 0%, #b7791f 50%, #744210 100%);
}

.cover-illustration {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
}

.comic-character {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.cursor-char {
  background: linear-gradient(135deg, #63b3ed, #4299e1);
}

.claude-char {
  background: linear-gradient(135deg, #b794f4, #9f7aea);
}

.prompt-char {
  background: linear-gradient(135deg, #f6ad55, #ed8936);
}

.action-lines {
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px);
  animation: action-move 20s linear infinite;
}

@keyframes action-move {
  from {
    transform: translate(-50%, -50%);
  }

  to {
    transform: translate(0%, 0%);
  }
}

.lesson-number {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 8px;
  border-radius: 2px;
}

.meta-tag.free-tag {
  background: rgba(46, 204, 113, 0.2);
  color: var(--success-green);
  font-weight: bold;
}

.meta-tag.popular-tag {
  background: rgba(230, 57, 70, 0.2);
  color: var(--danger-red);
}

.btn-read {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin-top: var(--space-md);
  border: 2px solid var(--ink-charcoal);
  background: transparent;
  transition: all 0.2s ease;
}

.btn-read.btn-primary {
  background: var(--gold);
  color: var(--ink-black);
  border-color: var(--ink-black);
}

.btn-read.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateX(4px);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-read:hover .btn-arrow {
  transform: translateX(4px);
}

/* Tab count badges */
.tab-count {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: var(--text-xs);
  margin-left: 4px;
}

.tab-btn.active .tab-count {
  background: rgba(240, 196, 25, 0.3);
  color: var(--gold);
}

.gallery-subtitle {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.gallery-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

.view-all-btn {
  display: inline-block;
  padding: 15px 30px;
  background: var(--ink-black);
  color: var(--comic-white);
  border: 3px solid var(--comic-white);
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 4px 4px 0 var(--border-color);
  transform: rotate(-1deg);
  letter-spacing: 1px;
}

.view-all-btn:hover {
  background: var(--gold);
  color: var(--ink-black);
  border-color: var(--ink-black);
  box-shadow: 6px 6px 0 var(--comic-white);
  transform: rotate(1deg) scale(1.05);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.panel-testimonials {
  padding: var(--space-2xl);
  background: var(--bg-body);
  transition: background-color 0.3s ease;
  margin-top: var(--section-gap);
  /* Gap before testimonials section to match other section spacing */
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.testimonials-header h3 {
  font-size: var(--text-2xl);
  color: var(--comic-white);
  margin-bottom: var(--space-sm);
}

.testimonials-subtitle {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  padding: var(--space-lg);
  transition: all 0.3s ease;
}

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

.testimonial-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(240, 196, 25, 0.2);
}

.testimonial-rating {
  color: var(--gold);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-quote {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--ink-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bangers', cursive;
  font-size: var(--text-base);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-family: 'Bangers', cursive;
  font-size: var(--text-base);
  color: var(--comic-white);
}

.author-role {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.testimonials-cta {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-text {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.cta-text strong {
  color: var(--gold);
}

/* ========================================
   CREATOR SECTION
   ======================================== */

.panel-creator {
  padding: var(--space-2xl);
  background: var(--paper-dark);
}

.creator-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.creator-avatar {
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 100px;
  height: 100px;
  background: var(--gold);
  border-radius: 50%;
  border: 4px solid var(--ink-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.creator-info h3 {
  font-size: var(--text-xl);
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.creator-info p {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.creator-tagline {
  font-style: italic;
  color: var(--text-muted) !important;
  border-left: 3px solid var(--gold);
  padding-left: var(--space-md);
}

/* ========================================
   ENHANCED FOOTER
   ======================================== */

.panel-footer {
  padding: var(--space-2xl);
  background: var(--ink-black);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-headline {
  font-family: 'Bangers', cursive;
  font-size: var(--text-2xl);
  color: var(--comic-white);
  margin-bottom: var(--space-sm);
}

.footer-subtext {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.footer-email {
  max-width: 350px;
}

.footer-proof {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-proof span {
  color: var(--success-green);
}

.footer-links-section {
  display: flex;
  gap: var(--space-2xl);
}

.footer-column h4 {
  font-family: 'Bangers', cursive;
  font-size: var(--text-base);
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer-column a {
  display: block;
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  padding: var(--space-xs) 0;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--comic-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-family: 'Courier Prime', monospace;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

/* ========================================
   EMAIL FORM LOADING STATES
   ======================================== */

.email-capture button {
  position: relative;
  min-width: 160px;
}

@media (max-width: 768px) {
  .email-capture button {
    min-width: auto;
  }
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink-black);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.email-capture button.loading .btn-text {
  display: none;
}

.email-capture button.loading .btn-loading {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.email-capture button.success {
  background: var(--success-green) !important;
}

.email-capture button.success .btn-text,
.email-capture button.success .btn-loading {
  display: none !important;
}

.email-capture button.success .btn-success {
  display: inline !important;
}

/* ========================================
   RESPONSIVE ENHANCEMENTS
   ======================================== */

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-links-section {
    justify-content: space-between;
  }

  .creator-content {
    flex-direction: column;
    text-align: center;
  }

  .creator-tagline {
    border-left: none;
    border-top: 3px solid var(--gold);
    padding-left: 0;
    padding-top: var(--space-md);
  }
}

@media (max-width: 768px) {
  .social-proof-enhanced {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .proof-divider {
    width: 60px;
    height: 1px;
  }

  .hero-tools {
    flex-direction: column;
    align-items: center;
  }

  .tool-badge-lg {
    width: 100%;
    max-width: 200px;
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-md);
  }

  .logo-bar {
    gap: var(--space-lg);
  }

  .footer-links-section {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-proof {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .hero-badge {
    padding: 6px 12px;
  }

  .hero-badge span:last-child {
    font-size: var(--text-xs);
  }

  .stat-number {
    font-size: var(--text-xl);
  }
}

/* ========================================
   EXTRA SMALL SCREENS (360px and below)
   ======================================== */

@media (max-width: 360px) {
  .hero-headline {
    font-size: 1.5rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .sticky-nav {
    padding: 6px 10px;
  }

  .comic-page {
    padding: 55px 8px 12px 8px;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .alert-headline {
    font-size: 1.25rem;
  }

  .strip-header h3 {
    font-size: 1.25rem;
  }

  .gallery-header h3 {
    font-size: 1.25rem;
  }

  .footer-headline {
    font-size: var(--text-lg);
  }

  .view-all-btn {
    font-size: 1rem;
    padding: 10px 16px;
  }

  /* Make tabs scrollable on very small screens */
  .gallery-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .gallery-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
  }
}