/* ==========================================================================
   iLoveAudit - Cognitive CA Audit Mastery Website
   Features:
   - Day (White) and Night (Dark) Theme Controller
   - Enlarged Cognitive Axiom Typography with Sufficient Gaps
   - 100vh Single Screen Viewport (Zero Scrollbars)
   - Continuous 6-Step Neural Animation Engine
   ========================================================================== */

/* --------------------------------------------------------------------------
   Theme Palettes: Night (Dark) & Day (White)
   -------------------------------------------------------------------------- */
:root, [data-theme="night"] {
  /* Theme Identity */
  --theme-mode: 'night';

  /* Base Backgrounds */
  --bg-primary: #060a14;
  --bg-secondary: #0b1122;
  --bg-radial: radial-gradient(circle at 50% 28%, #0e172e 0%, #070b16 65%, #03050a 100%);
  --grid-dot-1: rgba(255, 255, 255, 0.04);
  --grid-dot-2: rgba(16, 185, 129, 0.03);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.1);

  /* Brand Accents */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.7);
  --emerald-halo: rgba(52, 211, 153, 0.35);
  --yellow-step: #ffc000;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;

  /* Header */
  --header-bg: rgba(6, 10, 20, 0.92);
  --header-border: rgba(255, 255, 255, 0.1);
  --brand-text: #ffffff;
  --brand-span: #fbbf24;
  --nav-link: #94a3b8;
  --nav-link-hover: #ffffff;
  --nav-link-hover-bg: rgba(255, 255, 255, 0.08);

  /* Theme Switcher Button Group */
  --toggle-group-bg: rgba(255, 255, 255, 0.08);
  --toggle-group-border: rgba(255, 255, 255, 0.12);
  --toggle-btn-color: #94a3b8;
  --toggle-btn-hover-color: #ffffff;
  --toggle-btn-active-bg: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
  --toggle-btn-active-color: #ffffff;
  --toggle-btn-active-shadow: 0 2px 10px rgba(16, 185, 129, 0.45);

  /* Stage Headline */
  --title-color: #ffffff;
  --title-gradient: linear-gradient(135deg, #34d399 0%, #10b981 50%, #f59e0b 100%);
  --title-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);

  /* Connectors & Energy Photons */
  --connector-color: rgba(16, 185, 129, 0.55);
  --connector-active: #34d399;
  --connector-active-filter: drop-shadow(0 0 8px #10b981) drop-shadow(0 0 16px rgba(52, 211, 153, 0.8));
  --connector-completed: rgba(16, 185, 129, 0.65);
  --photon-fill: #ffffff;
  --photon-stroke: #34d399;
  --photon-filter: drop-shadow(0 0 6px #10b981) drop-shadow(0 0 12px #ffffff);

  /* Central Brain Hub */
  --brain-aura-bg: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.06) 50%, transparent 72%);
  --brain-aura-intense: radial-gradient(circle, rgba(16, 185, 129, 0.45) 0%, rgba(52, 211, 153, 0.2) 50%, transparent 75%);
  --brain-layer-shadow: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.7));
  --hud-bg: rgba(15, 23, 42, 0.92);
  --hud-border: rgba(16, 185, 129, 0.4);
  --hud-text: #34d399;
  --hud-meter-track: rgba(255, 255, 255, 0.15);
  --hud-meter-fill: linear-gradient(90deg, #10b981, #34d399);

  /* Central Axiom Quote */
  --text-quote: #f1f5f9;
  --quote-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  --emerald-highlight: #34d399;
  --highlight-shadow: 0 0 14px rgba(16, 185, 129, 0.65), 0 2px 8px rgba(0, 0, 0, 0.95);

  /* Learning Cards */
  --card-bg: rgba(15, 23, 42, 0.82);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  --card-tagline: #cbd5e1;
  --card-completed-border: #10b981;
  --card-completed-shadow: 0 0 20px rgba(16, 185, 129, 0.6), 0 8px 24px rgba(0, 0, 0, 0.5);
  --card-active-aura: 0 0 32px rgba(16, 185, 129, 0.7), 0 0 65px rgba(52, 211, 153, 0.35), 0 12px 30px rgba(0, 0, 0, 0.7);

  /* Footer */
  --footer-bg: #04060c;
  --footer-border: rgba(255, 255, 255, 0.1);
  --footer-tagline: #cbd5e1;
  --footer-text: #64748b;

  /* Modals */
  --modal-overlay-bg: rgba(0, 0, 0, 0.82);
  --modal-bg: #0f172a;
  --modal-border: rgba(255, 255, 255, 0.1);
  --modal-title: #ffffff;
  --modal-subtitle: #94a3b8;
  --modal-body: #94a3b8;
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.12);
  --input-color: #ffffff;
  --modal-close-bg: rgba(255, 255, 255, 0.08);
  --modal-close-color: #94a3b8;
  --resource-item-bg: rgba(255, 255, 255, 0.05);
  --contact-card-bg: rgba(255, 255, 255, 0.05);
  --contact-card-value: #ffffff;

  /* Typography Families & Springs */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Day (White) Theme Overrides */
[data-theme="day"] {
  --theme-mode: 'day';

  /* Base Backgrounds */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-radial: radial-gradient(circle at 50% 28%, #ffffff 0%, #f1f5f9 60%, #e2e8f0 100%);
  --grid-dot-1: rgba(15, 23, 42, 0.045);
  --grid-dot-2: rgba(16, 185, 129, 0.045);

  /* Typography Colors */
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-subtle: rgba(203, 213, 225, 0.85);

  /* Brand Accents */
  --emerald-400: #059669;
  --emerald-500: #047857;
  --emerald-glow: rgba(16, 185, 129, 0.5);
  --emerald-halo: rgba(52, 211, 153, 0.25);
  --yellow-step: #ffc000;
  --amber-400: #d97706;
  --amber-500: #b45309;

  /* Header */
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-border: rgba(203, 213, 225, 0.85);
  --brand-text: #0f172a;
  --brand-span: #d97706;
  --nav-link: #475569;
  --nav-link-hover: #0f172a;
  --nav-link-hover-bg: rgba(15, 23, 42, 0.06);

  /* Theme Switcher Button Group */
  --toggle-group-bg: rgba(15, 23, 42, 0.06);
  --toggle-group-border: rgba(203, 213, 225, 0.9);
  --toggle-btn-color: #64748b;
  --toggle-btn-hover-color: #0f172a;
  --toggle-btn-active-bg: #ffffff;
  --toggle-btn-active-color: #0f172a;
  --toggle-btn-active-shadow: 0 2px 6px rgba(15, 23, 42, 0.14);

  /* Stage Headline */
  --title-color: #0f172a;
  --title-gradient: linear-gradient(135deg, #059669 0%, #0d9488 50%, #d97706 100%);
  --title-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);

  /* Connectors & Energy Photons */
  --connector-color: rgba(5, 150, 105, 0.65);
  --connector-active: #059669;
  --connector-active-filter: drop-shadow(0 0 6px #10b981) drop-shadow(0 0 12px rgba(5, 150, 105, 0.6));
  --connector-completed: rgba(5, 150, 105, 0.75);
  --photon-fill: #10b981;
  --photon-stroke: #047857;
  --photon-filter: drop-shadow(0 0 6px #10b981) drop-shadow(0 0 10px #047857);

  /* Central Brain Hub */
  --brain-aura-bg: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.06) 50%, transparent 72%);
  --brain-aura-intense: radial-gradient(circle, rgba(16, 185, 129, 0.38) 0%, rgba(52, 211, 153, 0.16) 50%, transparent 75%);
  --brain-layer-shadow: drop-shadow(0 8px 20px rgba(15, 23, 42, 0.18));
  --hud-bg: rgba(255, 255, 255, 0.96);
  --hud-border: rgba(16, 185, 129, 0.6);
  --hud-text: #047857;
  --hud-meter-track: rgba(15, 23, 42, 0.12);
  --hud-meter-fill: linear-gradient(90deg, #10b981, #059669);

  /* Central Axiom Quote */
  --text-quote: #1e293b;
  --quote-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  --emerald-highlight: #059669;
  --highlight-shadow: 0 0 12px rgba(16, 185, 129, 0.35);

  /* Learning Cards */
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-border: rgba(203, 213, 225, 0.9);
  --card-shadow: 0 8px 24px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.06);
  --card-tagline: #334155;
  --card-completed-border: #10b981;
  --card-completed-shadow: 0 0 16px rgba(16, 185, 129, 0.45), 0 8px 24px rgba(15, 23, 42, 0.12);
  --card-active-aura: 0 0 28px rgba(16, 185, 129, 0.55), 0 0 55px rgba(52, 211, 153, 0.28), 0 12px 28px rgba(15, 23, 42, 0.16);

  /* Footer */
  --footer-bg: #f1f5f9;
  --footer-border: rgba(203, 213, 225, 0.85);
  --footer-tagline: #334155;
  --footer-text: #64748b;

  /* Modals */
  --modal-overlay-bg: rgba(15, 23, 42, 0.65);
  --modal-bg: #ffffff;
  --modal-border: rgba(203, 213, 225, 0.9);
  --modal-title: #0f172a;
  --modal-subtitle: #475569;
  --modal-body: #475569;
  --input-bg: #f8fafc;
  --input-border: #cbd5e1;
  --input-color: #0f172a;
  --modal-close-bg: rgba(15, 23, 42, 0.06);
  --modal-close-color: #64748b;
  --resource-item-bg: #f8fafc;
  --contact-card-bg: #f8fafc;
  --contact-card-value: #0f172a;
}

/* --------------------------------------------------------------------------
   1. Strict 100vh Setup (Zero Scrollbars)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-radial);
  position: relative;
}

/* Subtle neural background grid */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--grid-dot-1) 1px, transparent 1px),
    radial-gradient(var(--grid-dot-2) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  z-index: 0;
  transition: background-image 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

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

/* --------------------------------------------------------------------------
   2. Header Navigation Bar (Brand, Links, Day/Night Theme Switcher)
   -------------------------------------------------------------------------- */
.site-header {
  height: 56px;
  width: 100%;
  flex-shrink: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left: Logo */
.brand-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.5));
  transition: transform 0.25s var(--ease-smooth);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(-4deg);
}

.brand-text span {
  color: var(--brand-span);
  transition: color 0.3s ease;
}

/* Right Header Actions */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Right Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--nav-link);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--nav-link-hover);
  background: var(--nav-link-hover-bg);
}

/* Theme Toggle Button Group: Day (White) & Night (Dark) */
.theme-toggle-group {
  display: flex;
  align-items: center;
  background: var(--toggle-group-bg);
  border: 1px solid var(--toggle-group-border);
  border-radius: 9999px;
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.3rem 0.72rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--toggle-btn-color);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.theme-toggle-btn:hover {
  color: var(--toggle-btn-hover-color);
}

.theme-toggle-btn.active {
  background: var(--toggle-btn-active-bg);
  color: var(--toggle-btn-active-color);
  box-shadow: var(--toggle-btn-active-shadow);
  font-weight: 700;
}

.theme-toggle-btn .theme-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.theme-toggle-btn:hover .theme-icon {
  transform: scale(1.12);
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: var(--toggle-group-bg);
  border: 1px solid var(--toggle-group-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

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

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  padding: 1.25rem;
  z-index: 999;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s var(--ease-spring), opacity 0.22s ease;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nav-link);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  color: var(--nav-link-hover);
  background: var(--nav-link-hover-bg);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.4rem 0;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

/* Action CTA Buttons */
.btn-register {
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.38rem 1.1rem;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.45);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.btn-register:hover {
  background: linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.5);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-signin {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.38rem 1.1rem;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  border: none;
}

.btn-signin:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-1px);
  color: #000;
}

/* --------------------------------------------------------------------------
   3. Main Interactive Learning Arena
   -------------------------------------------------------------------------- */
.main-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.arena-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stage Headline */
.stage-headline-box {
  position: absolute;
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 30;
  user-select: none;
  pointer-events: none;
  width: 90%;
  max-width: 900px;
}

.stage-main-title {
  font-size: clamp(1.85rem, 2.7vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--title-color);
  text-shadow: var(--title-shadow);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.stage-main-title .gradient-text {
  background: var(--title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* SVG Vector Connectors */
.arena-svg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.connector-line {
  stroke: var(--connector-color);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  transition: stroke 0.35s ease, stroke-width 0.35s ease, filter 0.35s ease;
}

.connector-line.active {
  stroke: var(--connector-active);
  stroke-width: 3.8;
  filter: var(--connector-active-filter);
}

.connector-line.completed {
  stroke: var(--connector-completed);
  stroke-width: 2.4;
}

.energy-photon {
  opacity: 0;
  fill: var(--photon-fill);
  stroke: var(--photon-stroke);
  stroke-width: 2;
  filter: var(--photon-filter);
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.energy-photon.pulsing {
  opacity: 1;
}

/* Central Brain Hub */
.brain-center-hub {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 25;
  user-select: none;
}

/* Ambient Radial Emerald Aura behind Brain */
.brain-aura-ring {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--brain-aura-bg);
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 1;
}

.brain-aura-ring.intense {
  width: 340px;
  height: 340px;
  background: var(--brain-aura-intense);
  animation: brain-aura-pulse 1.8s infinite ease-in-out;
}

@keyframes brain-aura-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.brain-visual-stack {
  position: relative;
  width: 190px;
  height: 210px;
  z-index: 5;
  transition: transform 0.4s var(--ease-spring);
}

.brain-visual-stack.pulse {
  animation: brain-bounce 0.6s var(--ease-spring);
}

@keyframes brain-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.07); filter: drop-shadow(0 0 22px rgba(16, 185, 129, 0.85)); }
  100% { transform: scale(1); }
}

.brain-stage-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  filter: var(--brain-layer-shadow);
}

.brain-stage-layer.current-stage {
  opacity: 1;
  z-index: 10;
}

/* Activation Progress HUD */
.brain-hud-badge {
  margin-top: 0.45rem;
  background: var(--hud-bg);
  border: 1px solid var(--hud-border);
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--hud-text);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 20;
  transition: all 0.3s ease;
}

.brain-hud-badge .meter-bar {
  width: 50px;
  height: 5px;
  background: var(--hud-meter-track);
  border-radius: 9999px;
  overflow: hidden;
  transition: background 0.3s ease;
}

.brain-hud-badge .meter-fill {
  height: 100%;
  width: 0%;
  background: var(--hud-meter-fill);
  transition: width 0.5s ease;
}

/* Central Cognitive Axiom Quote (Brought some 2 lines below as requested in Changes required.docx) */
.brain-quote-box {
  margin-top: 2.75rem; /* Exactly 2 lines below Activation meter */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem; /* Generous, sufficient gap between each */
  text-align: center;
  z-index: 20;
  pointer-events: none;
  width: max-content;
}

.brain-quote-line {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.55vw, 1.38rem); /* Bigger font size fitting space cleanly */
  font-weight: 800; /* Bold letters */
  letter-spacing: -0.015em;
  color: var(--text-quote);
  text-shadow: var(--quote-shadow);
  line-height: 1.25;
  white-space: nowrap;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.brain-quote-line.highlight {
  color: var(--emerald-highlight);
  text-shadow: var(--highlight-shadow);
}

/* --------------------------------------------------------------------------
   4. The 6 Learning Cards
   -------------------------------------------------------------------------- */
.step-card {
  position: absolute;
  width: 216px;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 14px;
  padding: 0.4rem;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(14px);
  z-index: 20;
  transform-origin: center center;
  overflow: visible;
  transition: 
    transform 0.4s var(--ease-spring), 
    box-shadow 0.4s ease, 
    border-color 0.4s ease, 
    background-color 0.3s ease,
    filter 0.4s ease;
}

/* Active Aura State */
.step-card.active-pulsing {
  transform: scale(1.14);
  filter: brightness(1.22) contrast(1.04);
  border-color: #10b981;
  box-shadow: var(--card-active-aura);
  z-index: 40;
}

.step-card.active-pulsing::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 18px;
  border: 2px solid #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
  animation: aura-expand 1.5s infinite ease-out;
  pointer-events: none;
}

@keyframes aura-expand {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.08); opacity: 0; }
}

/* Image container */
.card-image-box {
  position: relative;
  width: 100%;
  height: 114px;
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 65%, transparent 100%);
  pointer-events: none;
}

/* Step Fonts Inside Image in Yellow */
.card-heading-inside {
  position: absolute;
  bottom: 6px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  color: var(--yellow-step);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.card-heading-inside .step-icon {
  color: var(--yellow-step);
  font-size: 0.82rem;
}

/* Taglines Outside below the card */
.card-tagline-outside {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--card-tagline);
  text-align: center;
  line-height: 1.3;
  pointer-events: none;
  transition: color 0.3s ease;
}

/* Outline turns green when completed */
.step-card.completed {
  border-color: var(--card-completed-border);
  outline: 2px solid var(--card-completed-border);
  outline-offset: 2px;
  box-shadow: var(--card-completed-shadow);
}

/* --------------------------------------------------------------------------
   5. Radial Positions for 6 Cards
   -------------------------------------------------------------------------- */
/* Step 1: Top-Right */
.card-pos-1 {
  top: 17.5%;
  left: calc(50% + 155px);
}

/* Step 2: Mid-Right */
.card-pos-2 {
  top: 59%;
  left: calc(50% + 170px);
  transform: translateY(-50%);
}
.card-pos-2.active-pulsing {
  transform: translateY(-50%) scale(1.14);
}

/* Step 3: Bottom-Right */
.card-pos-3 {
  bottom: 5%;
  left: calc(50% + 145px);
}

/* Step 4: Bottom-Left */
.card-pos-4 {
  bottom: 5%;
  right: calc(50% + 145px);
}

/* Step 5: Mid-Left */
.card-pos-5 {
  top: 59%;
  right: calc(50% + 170px);
  transform: translateY(-50%);
}
.card-pos-5.active-pulsing {
  transform: translateY(-50%) scale(1.14);
}

/* Step 6: Top-Left */
.card-pos-6 {
  top: 17.5%;
  right: calc(50% + 155px);
}

/* --------------------------------------------------------------------------
   6. Footer (Compact 36px)
   -------------------------------------------------------------------------- */
.site-footer {
  height: 36px;
  width: 100%;
  flex-shrink: 0;
  z-index: 100;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  color: var(--footer-text);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-tagline {
  color: var(--footer-tagline);
  font-weight: 500;
  transition: color 0.3s ease;
}

/* --------------------------------------------------------------------------
   7. Interactive Modals (Themed for Day & Night)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-overlay-bg);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--modal-bg);
  border: 1px solid var(--modal-border);
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  transform: scale(0.94);
  transition: transform 0.25s ease, background 0.3s ease, border-color 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--modal-close-bg);
  color: var(--modal-close-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.modal-box-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--modal-title);
  margin-bottom: 0.35rem;
  transition: color 0.3s ease;
}

.modal-box-subtitle {
  font-size: 0.85rem;
  color: var(--modal-subtitle);
  margin-bottom: 1.25rem;
  line-height: 1.45;
  transition: color 0.3s ease;
}

.modal-badge-subtitle {
  font-size: 0.85rem;
  color: var(--amber-400);
  font-weight: 700;
  margin-bottom: 1rem;
}

.modal-body-text {
  font-size: 0.88rem;
  color: var(--modal-body);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.modal-footer-text {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--modal-subtitle);
}

.modal-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 1.15rem;
}

.modal-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--modal-subtitle);
  cursor: pointer;
}

.modal-link-amber {
  color: var(--amber-400);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.modal-link-amber:hover {
  opacity: 0.85;
}

.modal-link-teal {
  color: #0d9488;
  font-weight: 700;
  text-decoration: none;
}

.modal-link-emerald {
  color: var(--emerald-400);
  font-weight: 700;
  text-decoration: none;
}

.resource-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.resource-list-item {
  padding: 0.65rem 0.85rem;
  background: var(--resource-item-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--modal-title);
  transition: all 0.3s ease;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  font-size: 0.86rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--contact-card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-item-label {
  font-size: 0.72rem;
  color: var(--modal-subtitle);
  font-weight: 700;
  text-transform: uppercase;
}

.contact-item-value {
  color: var(--contact-card-value);
  font-weight: 700;
  transition: color 0.3s ease;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--modal-subtitle);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  color: var(--input-color);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.3s ease, color 0.3s ease;
}

.form-input:focus {
  border-color: #10b981;
}

.form-select {
  cursor: pointer;
}
.form-select option {
  background: var(--modal-bg);
  color: var(--modal-title);
}

/* --------------------------------------------------------------------------
   8. Comprehensive Responsive System: Website, Tablet & Mobile Phone
   -------------------------------------------------------------------------- */

/* A. Laptop / Compact Desktop Height Resilience */
@media (max-height: 760px) and (min-width: 1025px) {
  .stage-main-title {
    font-size: 1.65rem;
  }
  .step-card {
    width: 195px;
  }
  .card-image-box {
    height: 100px;
  }
  .card-heading-inside {
    font-size: 0.8rem;
  }
  .card-tagline-outside {
    font-size: 0.68rem;
  }
  .brain-visual-stack {
    width: 165px;
    height: 185px;
  }
  .brain-aura-ring {
    width: 230px;
    height: 230px;
  }
  .brain-quote-box {
    margin-top: 0.5rem;
    gap: 0.48rem;
  }
  .brain-quote-line {
    font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  }
}

/* B. Tablet Viewport (768px - 1024px: e.g. iPad, Android Tabs, Surface) */
@media (min-width: 768px) and (max-width: 1024px) {
  html {
    height: 100%;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body {
    min-height: 100vh;
    height: 100%;
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden;
  }

  .nav-container {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 0.5rem;
  }

  .brand-logo-img {
    width: 30px;
    height: 30px;
  }

  .stage-headline-box {
    top: 0.5%;
  }

  .stage-main-title {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.2;
  }

  /* Scaled Radial Orbit on Tablet */
  .step-card {
    width: 168px;
    padding: 0.3rem;
    border-radius: 12px;
  }

  .card-image-box {
    height: 88px;
    border-radius: 8px;
  }

  .card-heading-inside {
    font-size: 0.74rem;
    bottom: 4px;
    left: 6px;
    right: 6px;
  }

  .card-heading-inside .step-icon {
    font-size: 0.7rem;
  }

  .card-tagline-outside {
    width: 175px;
    font-size: 0.65rem;
    top: calc(100% + 4px);
  }

  /* Safe Radial Offsets that never touch screen edges on Tablet */
  .card-pos-1 {
    top: 15%;
    left: calc(50% + 115px);
  }

  .card-pos-2 {
    top: 50%;
    left: calc(50% + 120px);
    transform: translateY(-50%);
  }
  .card-pos-2.active-pulsing {
    transform: translateY(-50%) scale(1.1);
  }

  .card-pos-3 {
    bottom: 6%;
    left: calc(50% + 115px);
  }

  .card-pos-4 {
    bottom: 6%;
    right: calc(50% + 115px);
  }

  .card-pos-5 {
    top: 50%;
    right: calc(50% + 120px);
    transform: translateY(-50%);
  }
  .card-pos-5.active-pulsing {
    transform: translateY(-50%) scale(1.1);
  }

  .card-pos-6 {
    top: 15%;
    right: calc(50% + 115px);
  }

  /* Central Brain Hub on Tablet */
  .brain-center-hub {
    top: 50%;
    width: 215px;
  }

  .brain-visual-stack {
    width: 148px;
    height: 168px;
  }

  .brain-aura-ring {
    width: 220px;
    height: 220px;
  }

  .brain-hud-badge {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    padding: 0.2rem 0.65rem;
  }

  .brain-quote-box {
    margin-top: 0.55rem;
    gap: 0.45rem;
  }

  .brain-quote-line {
    font-size: clamp(0.96rem, 1.35vw, 1.12rem);
  }

  .site-footer {
    height: 36px;
    font-size: 0.74rem;
  }
}

/* Header Responsive Switching: show Mobile Menu on screens <= 991px */
@media (max-width: 991px) {
  #desktop-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-nav-drawer {
    display: block;
  }
}

/* C. Mobile Phone App-Type View: Vertical Mode (Portrait: 320px - 767px) */
@media (max-width: 767px) and (orientation: portrait), (max-width: 540px) {
  html, body {
    width: 100%;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    position: fixed;
  }

  body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .site-header {
    height: 44px;
    flex-shrink: 0;
    z-index: 1000;
  }

  .nav-container {
    padding: 0 0.65rem;
  }

  .brand-logo-img {
    width: 25px;
    height: 25px;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  #desktop-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
    width: 30px;
    height: 30px;
    padding: 4px;
  }

  .theme-toggle-btn {
    padding: 0.2rem 0.45rem;
    font-size: 0.68rem;
  }

  .theme-btn-label {
    display: none;
  }

  /* Main Stage Fullscreen Viewport */
  .main-stage {
    flex: 1;
    min-height: 0;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
  }

  .arena-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  /* SVG Curved Connectors Active in Mobile App View */
  .arena-svg-canvas {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }

  /* Headline at Top */
  .stage-headline-box {
    position: absolute;
    top: 1.2%;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 390px;
    text-align: center;
    z-index: 30;
    pointer-events: none;
  }

  .stage-main-title {
    font-size: clamp(0.95rem, 3.8vw, 1.25rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
  }

  /* Central Brain Hub in Portrait */
  .brain-center-hub {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(140px, 38vw, 175px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 25;
  }

  .brain-aura-ring {
    top: 36%;
    width: clamp(130px, 36vw, 165px);
    height: clamp(130px, 36vw, 165px);
  }

  .brain-visual-stack {
    width: clamp(96px, 26vw, 118px);
    height: clamp(106px, 29vw, 130px);
  }

  .brain-hud-badge {
    margin-top: 0.25rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.65rem;
    gap: 0.35rem;
  }

  .brain-hud-badge .meter-bar {
    width: 36px;
    height: 4px;
  }

  /* Requirement 2: Quote brought 2 lines below */
  .brain-quote-box {
    margin-top: clamp(1.6rem, 3.8vh, 2.35rem) !important;
    gap: 0.32rem;
    width: max-content;
  }

  .brain-quote-line {
    font-size: clamp(0.76rem, 2.5vw, 0.9rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  /* 6 Orbiting Cards in Portrait App-Type View */
  .step-cards-container {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
  }

  .step-card {
    position: absolute !important;
    width: clamp(94px, 26vw, 112px);
    padding: 0.22rem;
    border-radius: 9px;
    z-index: 20;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  }

  .step-card.active-pulsing {
    transform: scale(1.08) !important;
    z-index: 40;
  }

  .card-image-box {
    height: clamp(52px, 14.5vw, 64px);
    border-radius: 6px;
  }

  .card-heading-inside {
    font-size: clamp(0.58rem, 1.8vw, 0.68rem);
    bottom: 3px;
    left: 4px;
    right: 4px;
    letter-spacing: -0.01em;
  }

  .card-heading-inside .step-icon {
    font-size: 0.55rem;
  }

  .card-tagline-outside {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(105px, 28vw, 125px);
    font-size: clamp(0.54rem, 1.6vw, 0.62rem);
    line-height: 1.15;
    white-space: normal;
  }

  /* Radial Coordinates for Mobile Portrait */
  .card-pos-1 {
    top: 13%;
    left: calc(50% + clamp(48px, 13vw, 58px)) !important;
    right: auto !important;
    bottom: auto !important;
  }

  .card-pos-2 {
    top: 48%;
    left: calc(50% + clamp(52px, 14vw, 64px)) !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .card-pos-2.active-pulsing {
    transform: translateY(-50%) scale(1.08) !important;
  }

  .card-pos-3 {
    bottom: 9%;
    left: calc(50% + clamp(46px, 12.5vw, 56px)) !important;
    right: auto !important;
    top: auto !important;
  }

  .card-pos-4 {
    bottom: 9%;
    right: calc(50% + clamp(46px, 12.5vw, 56px)) !important;
    left: auto !important;
    top: auto !important;
  }

  .card-pos-5 {
    top: 48%;
    right: calc(50% + clamp(52px, 14vw, 64px)) !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .card-pos-5.active-pulsing {
    transform: translateY(-50%) scale(1.08) !important;
  }

  .card-pos-6 {
    top: 13%;
    right: calc(50% + clamp(48px, 13vw, 58px)) !important;
    left: auto !important;
    bottom: auto !important;
  }

  /* Footer on Mobile Portrait */
  .site-footer {
    height: 28px;
    padding: 0 0.5rem;
    font-size: 0.62rem;
    flex-shrink: 0;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
    padding: 0 0.25rem;
  }

  .footer-tagline {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
  }

  .footer-copyright {
    font-size: 0.58rem;
    white-space: nowrap;
  }
}

/* D. Mobile Phone App-Type View: Horizontal Mode (Landscape: <= 520px height) */
@media (max-height: 520px) and (orientation: landscape) {
  html, body {
    width: 100%;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    position: fixed;
  }

  body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .site-header {
    height: 38px;
    flex-shrink: 0;
  }

  .nav-container {
    padding: 0 0.75rem;
  }

  .brand-logo-img {
    width: 22px;
    height: 22px;
  }

  .brand-logo {
    font-size: 0.95rem;
  }

  .theme-toggle-btn {
    padding: 0.18rem 0.4rem;
    font-size: 0.66rem;
  }

  .mobile-menu-toggle {
    width: 28px;
    height: 28px;
    padding: 4px;
    display: flex;
  }

  #desktop-nav {
    display: none !important;
  }

  .main-stage {
    flex: 1;
    min-height: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
  }

  .arena-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .arena-svg-canvas {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }

  .stage-headline-box {
    position: absolute;
    top: 0.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    z-index: 30;
  }

  .stage-main-title {
    font-size: clamp(0.85rem, 2.2vw, 1.15rem);
    line-height: 1.12;
  }

  /* Central Brain Hub in Landscape */
  .brain-center-hub {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    z-index: 25;
  }

  .brain-visual-stack {
    width: 90px;
    height: 102px;
  }

  .brain-aura-ring {
    top: 36%;
    width: 135px;
    height: 135px;
  }

  .brain-hud-badge {
    margin-top: 0.2rem;
    padding: 0.12rem 0.5rem;
    font-size: 0.62rem;
  }

  .brain-hud-badge .meter-bar {
    width: 32px;
    height: 4px;
  }

  /* Requirement 2: Quote brought 2 lines below */
  .brain-quote-box {
    margin-top: 1.35rem !important;
    gap: 0.25rem;
  }

  .brain-quote-line {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  /* 6 Orbiting Cards in Landscape */
  .step-cards-container {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
  }

  .step-card {
    position: absolute !important;
    width: clamp(100px, 16vw, 130px);
    padding: 0.22rem;
    border-radius: 9px;
  }

  .step-card.active-pulsing {
    transform: scale(1.08) !important;
  }

  .card-image-box {
    height: clamp(52px, 8.5vh, 65px);
    border-radius: 6px;
  }

  .card-heading-inside {
    font-size: 0.64rem;
    bottom: 2px;
    left: 4px;
    right: 4px;
  }

  .card-tagline-outside {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    width: 125px;
    font-size: 0.56rem;
    line-height: 1.15;
  }

  /* Radial Coordinates for Landscape */
  .card-pos-1 {
    top: 9%;
    left: calc(50% + clamp(85px, 15vw, 120px)) !important;
    right: auto !important;
    bottom: auto !important;
  }

  .card-pos-2 {
    top: 48%;
    left: calc(50% + clamp(95px, 16.5vw, 130px)) !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .card-pos-2.active-pulsing {
    transform: translateY(-50%) scale(1.08) !important;
  }

  .card-pos-3 {
    bottom: 4%;
    left: calc(50% + clamp(85px, 15vw, 120px)) !important;
    right: auto !important;
    top: auto !important;
  }

  .card-pos-4 {
    bottom: 4%;
    right: calc(50% + clamp(85px, 15vw, 120px)) !important;
    left: auto !important;
    top: auto !important;
  }

  .card-pos-5 {
    top: 48%;
    right: calc(50% + clamp(95px, 16.5vw, 130px)) !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .card-pos-5.active-pulsing {
    transform: translateY(-50%) scale(1.08) !important;
  }

  .card-pos-6 {
    top: 9%;
    right: calc(50% + clamp(85px, 15vw, 120px)) !important;
    left: auto !important;
    bottom: auto !important;
  }

  .site-footer {
    height: 24px;
    padding: 0 0.75rem;
    font-size: 0.6rem;
    flex-shrink: 0;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}
