/* ==========================================================================
   COMBUSTION MUSIC — FUTURE STATION DESIGN SYSTEM
   Visual Language: 1965 Space Age Mid-Century Futurism Reimagined for 2026
   ========================================================================== */

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

:root {
  /* Architectural Foundations */
  --bg-space: #090a0d;
  --bg-station: #0e1117;
  --bg-hull: #141720;
  --bg-panel: #1a1e28;
  --bg-panel-elevated: #222734;
  --bg-control: #272d3c;

  /* Architectural Materials */
  --cream-pure: #faf7f0;
  --cream-warm: #f3ede0;
  --cream-sand: #e4dbc8;
  --cream-aged: #cfc4ac;
  --travertine: #bbb097;

  /* Polished Chrome & Brushed Stainless Steel */
  --chrome-highlight: #ffffff;
  --chrome-light: #edf2f7;
  --chrome-mid: #cbd5e1;
  --chrome-dark: #64748b;
  --chrome-border: rgba(255, 255, 255, 0.16);
  --metal-gradient: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 35%, #64748b 70%, #94a3b8 100%);
  --metal-bezel: linear-gradient(180deg, #334155 0%, #0f172a 100%);
  --chrome-shine: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);

  /* Strategic Identity Triad (Balanced, Never Over-Saturated) */
  --combustion-yellow: #ffb800;
  --combustion-yellow-glow: rgba(255, 184, 0, 0.35);
  --combustion-yellow-soft: rgba(255, 184, 0, 0.12);

  --combustion-red: #e03120;
  --combustion-red-hover: #fa3b28;
  --combustion-red-glow: rgba(224, 49, 32, 0.4);
  --combustion-red-soft: rgba(224, 49, 32, 0.12);

  --combustion-green: #00875a;
  --combustion-green-bright: #05a870;
  --combustion-green-glow: rgba(0, 135, 90, 0.4);
  --combustion-green-soft: rgba(0, 135, 90, 0.12);

  /* Analog Warmth Accents */
  --amber-meter: #f59e0b;
  --meter-glow: rgba(245, 158, 11, 0.4);
  --walnut-wood: #2e1d13;
  --walnut-rim: #452c1d;

  /* Typography Stacks */
  --font-display: 'Syne', 'Space Grotesk', -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-telemetry: 'JetBrains Mono', monospace;

  /* Architectural Radii (Space Age Curved Geometries) */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-capsule: 9999px;

  /* Elevation Shadows & Soft Light Wells */
  --shadow-recessed: inset 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 -1px 2px rgba(255, 255, 255, 0.05);
  --shadow-bezel: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  --shadow-float: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-neon-red: 0 0 24px var(--combustion-red-glow);
  --shadow-neon-yellow: 0 0 24px var(--combustion-yellow-glow);
  --shadow-neon-green: 0 0 24px var(--combustion-green-glow);

  /* Fluid Motion Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-space);
  color: var(--cream-warm);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  position: relative;
  background-color: var(--bg-space);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 184, 0, 0.06), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 135, 90, 0.04), transparent 60%),
    linear-gradient(180deg, #090a0d 0%, #0d1016 50%, #090a0d 100%);
  min-height: 100vh;
  overflow-x: clip;
  color: var(--cream-warm);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-space);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-control);
  border-radius: var(--radius-capsule);
  border: 2px solid var(--bg-space);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--chrome-dark);
}

/* Selection */
::selection {
  background: var(--combustion-yellow);
  color: #000000;
}

/* Subtle Architectural Grid Background */
.station-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-size: 64px 64px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  z-index: 1;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--cream-pure);
  line-height: 1.1;
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.font-telemetry {
  font-family: var(--font-telemetry);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrome-dark);
}

/* Station Telemetry Badges */
.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-capsule);
  background: rgba(20, 23, 32, 0.85);
  border: 1px solid var(--chrome-border);
  font-family: var(--font-telemetry);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-warm);
  backdrop-filter: blur(8px);
}

.telemetry-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.led-green {
  background: var(--combustion-green-bright);
  box-shadow: 0 0 8px var(--combustion-green);
  animation: ledPulse 2.4s infinite ease-in-out;
}

.led-yellow {
  background: var(--combustion-yellow);
  box-shadow: 0 0 8px var(--combustion-yellow);
}

.led-red {
  background: var(--combustion-red-hover);
  box-shadow: 0 0 8px var(--combustion-red);
  animation: ledBlink 1.8s infinite ease-in-out;
}

@keyframes ledPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.9); }
}

@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Strategic Buttons & Interactive Controls */
.btn-future {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-capsule);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

/* Primary Amber Button */
.btn-amber {
  background: var(--combustion-yellow);
  color: #0b0c10;
  box-shadow: 0 8px 24px var(--combustion-yellow-glow);
}
.btn-amber:hover {
  background: #ffc72c;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 184, 0, 0.5);
}

/* Combustion Red Action Button */
.btn-red {
  background: var(--combustion-red);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--combustion-red-glow);
}
.btn-red:hover {
  background: var(--combustion-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(224, 49, 32, 0.6);
}

/* Chrome Steel Bezel Button */
.btn-chrome {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream-pure);
  border: 1px solid var(--chrome-border);
  backdrop-filter: blur(12px);
}
.btn-chrome:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Molded Space Age Panel Container */
.station-panel {
  background: var(--bg-panel);
  border: 1px solid var(--chrome-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-bezel);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.station-panel:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

/* Section Header Structure */
.section-header-wrap {
  margin-bottom: 48px;
  position: relative;
}

.section-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--cream-pure);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--cream-sand);
  max-width: 600px;
  font-weight: 300;
  margin-top: 10px;
}

/* Clean Responsive Container */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility Animations */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-slow {
  animation: spinSlow 30s linear infinite;
}
