/* ==========================================================================
   The Great Filter - thegreatfilter.me
   Modern, performant, responsive stylesheet
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #07080e;
  --bg-secondary: #0d0f1a;
  --bg-card: rgba(18, 22, 36, 0.7);
  --bg-card-hover: rgba(26, 32, 54, 0.85);
  --bg-input: rgba(14, 18, 30, 0.8);
  --border-subtle: rgba(112, 89, 255, 0.18);
  --border-active: rgba(0, 229, 255, 0.5);
  --border-danger: rgba(255, 51, 102, 0.5);

  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.35);
  --accent-purple: #7059ff;
  --accent-purple-glow: rgba(112, 89, 255, 0.35);
  --accent-crimson: #ff3366;
  --accent-crimson-glow: rgba(255, 51, 102, 0.35);
  --accent-amber: #ffb020;

  --text-main: #f0f4fc;
  --text-muted: #9aa5be;
  --text-dim: #606b82;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --header-height: 72px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Cosmic Particle Canvas */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.ambient-glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.ambient-glow-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  left: -150px;
  background: radial-gradient(circle, #0051ff 0%, transparent 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(7, 8, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--accent-cyan-glow);
}

.brand-icon svg {
  width: 18px;
  height: 18px;
  fill: #07080e;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  font-family: var(--font-mono);
  font-weight: 500;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(112, 89, 255, 0.3));
  border: 1px solid var(--accent-cyan);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  transition: all var(--transition-normal);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.35), rgba(112, 89, 255, 0.45));
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(112, 89, 255, 0.12);
  border: 1px solid rgba(112, 89, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #bfb2ff;
  margin-bottom: 1.75rem;
  animation: pulse-glow 3s infinite alternate ease-in-out;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 20%, #c4ccde 70%, #7059ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 350;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 48px;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-purple-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(112, 89, 255, 0.6);
  background: linear-gradient(135deg, #826dff 0%, #4f46e5 100%);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

/* Telemetry Grid */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(16px);
  text-align: left;
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.telemetry-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.telemetry-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  margin-bottom: 0.35rem;
}

.telemetry-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.telemetry-unit {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.telemetry-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* General Section Styling */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Paradox Section Cards */
.paradox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.paradox-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.paradox-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.paradox-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
}

.paradox-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: #e2e8f5;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-cyan);
}

.paradox-author {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}

.paradox-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* The 9 Steps - Evolutionary Timeline */
.timeline-section {
  background: linear-gradient(180deg, transparent, rgba(13, 15, 26, 0.6) 20%, rgba(13, 15, 26, 0.6) 80%, transparent);
}

.timeline-filter-banner {
  background: rgba(112, 89, 255, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-slider-control {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 280px;
}

.filter-slider-control label {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
  white-space: nowrap;
}

.filter-range-input {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #ff3366 100%);
  outline: none;
  cursor: pointer;
}

.filter-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.filter-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.filter-status-indicator {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-behind {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-ahead {
  background: rgba(255, 51, 102, 0.15);
  color: #ff6b8b;
  border: 1px solid rgba(255, 51, 102, 0.4);
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.6) 0%, rgba(112, 89, 255, 0.6) 65%, rgba(255, 51, 102, 0.7) 100%);
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(12px);
  position: relative;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.step-card.active-step {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.step-card.filter-location {
  border-color: var(--accent-crimson);
  box-shadow: 0 0 25px var(--accent-crimson-glow);
}

.step-card.filter-location::after {
  content: 'CRITICAL FILTER THRESHOLD';
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-crimson);
  color: #ffffff;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  box-shadow: 0 0 10px var(--accent-crimson-glow);
}

.step-number {
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-purple);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  z-index: 2;
  transition: all var(--transition-normal);
}

.step-card.active-step .step-number {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
  color: #07080e;
  box-shadow: 0 0 15px var(--accent-cyan);
}

.step-card.filter-location .step-number {
  border-color: var(--accent-crimson);
  background: var(--accent-crimson);
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-crimson);
}

.step-body {
  flex: 1;
}

.step-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.step-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-weight: 500;
}

.badge-passed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-current {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
  animation: pulse-border 2s infinite ease-in-out;
}

.badge-future {
  background: rgba(255, 51, 102, 0.15);
  color: #ff6b8b;
  border: 1px solid rgba(255, 51, 102, 0.3);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.6rem;
}

.step-detail {
  display: none;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.88rem;
  color: #c0cbdf;
}

.step-card.active-step .step-detail {
  display: block;
}

/* Calculator Section */
.calculator-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .calculator-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.calc-label {
  font-weight: 500;
  color: var(--text-main);
}

.calc-value {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 600;
}

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(112, 89, 255, 0.25);
  outline: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  cursor: pointer;
}

.calc-presets {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.calc-preset-btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(112, 89, 255, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-preset-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-main);
  background: rgba(0, 229, 255, 0.15);
}

.calc-preset-btn.active {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Calculator Output Dashboard */
.calc-output-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.output-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.output-big-number {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px var(--accent-cyan-glow);
}

.output-status {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}

.output-explanation {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  width: 100%;
}

/* The Great Dichotomy Section */
.dichotomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.dichotomy-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  position: relative;
  transition: transform var(--transition-normal);
}

.dichotomy-card:hover {
  transform: translateY(-4px);
}

.card-behind {
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.08);
}

.card-ahead {
  border: 1px solid rgba(255, 51, 102, 0.4);
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.08);
}

.dichotomy-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dichotomy-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-behind .dichotomy-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.card-ahead .dichotomy-icon {
  background: rgba(255, 51, 102, 0.2);
  color: #ff6b8b;
}

.dichotomy-title {
  font-size: 1.4rem;
  font-weight: 800;
}

.dichotomy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.dichotomy-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-behind .dichotomy-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
}

.card-ahead .dichotomy-list li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  color: #ff6b8b;
  font-weight: 700;
}

/* Hypotheses Grid */
.hypotheses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.hypothesis-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.hypothesis-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-3px);
}

.hypothesis-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.hypothesis-origin {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

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

/* About & Dispatch Section */
.about-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 850px) {
  .about-box {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.dispatch-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.dispatch-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.dispatch-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.dispatch-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dispatch-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.dispatch-input:focus {
  border-color: var(--accent-cyan);
}

.dispatch-msg {
  display: none;
  font-size: 0.85rem;
  color: #34d399;
  font-family: var(--font-mono);
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 8, 14, 0.9);
  padding: 3.5rem 0 2rem 0;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--accent-cyan);
  text-decoration: none;
}

/* Keyframes */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(112, 89, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 22px rgba(112, 89, 255, 0.6);
  }
}

@keyframes pulse-border {
  0% {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 5px rgba(0, 229, 255, 0.2);
  }
  50% {
    border-color: rgba(0, 229, 255, 0.9);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
  }
  100% {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 5px rgba(0, 229, 255, 0.2);
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(9, 10, 16, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1.25rem;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .timeline-steps::before {
    left: 21px;
  }

  .step-number {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .section {
    padding: 4rem 0;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
