/**
 * Landing Page Styles
 * TMD Smart Monitoring - Sales Landing Page
 */

/* ==========================================
   SKIP LINK (Accessibility)
   ========================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-max);
  padding: var(--space-3) var(--space-4);
  background-color: var(--accent-orange);
  color: var(--bg-primary);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
  outline: none;
}

/* ==========================================
   HEADER
   ========================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  background-color: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-data);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.logo-accent {
  color: var(--accent-orange);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-list a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-list a:hover {
  color: var(--text-primary);
}

.nav-cta {
  padding: var(--space-2) var(--space-4);
  background-color: var(--accent-orange);
  color: var(--bg-primary) !important;
  font-weight: var(--weight-medium);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  color: var(--bg-primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

/* ==========================================
   SECTIONS - BASE
   ========================================== */

.section {
  min-height: 100vh;
  padding: var(--space-16) var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-content {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  margin-bottom: var(--space-8);
}

.section-number {
  display: block;
  font-size: var(--text-sm);
  color: var(--accent-orange);
  margin-bottom: var(--space-2);
  letter-spacing: var(--tracking-wider);
}

.section-title {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.section-hero {
  padding-top: calc(var(--header-height) + var(--space-10));
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-data);
  font-size: var(--text-sm);
  color: var(--accent-orange);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.hero-headline {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
}

.hero-subhead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 50ch;
  margin-bottom: var(--space-8);
}

.hero-cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  min-height: 48px;
  background-color: var(--accent-orange);
  color: var(--bg-primary);
  font-family: var(--font-narrative);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-base);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  min-height: 48px;
  background-color: transparent;
  color: var(--text-secondary);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  text-decoration: none;
  border: 1px solid var(--text-muted);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.cta-secondary:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stack-visualization {
  position: relative;
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Flare SVG */
.hero-flare-svg {
  width: 100%;
  height: auto;
  max-height: 400px;
}

.hero-flame-group {
  animation: heroWind 2.5s ease-in-out infinite;
  transform-origin: 100px 100px;
}

.hero-flame-outer {
  animation: heroFlicker 3s ease-in-out infinite;
  transform-origin: center bottom;
}

.hero-flame-inner {
  animation: heroFlicker 2.5s ease-in-out infinite;
  animation-delay: 0.2s;
  transform-origin: center bottom;
}

.hero-flame-core {
  animation: heroFlicker 2s ease-in-out infinite;
  animation-delay: 0.4s;
  transform-origin: center bottom;
}

@keyframes heroFlicker {
  0%, 100% { 
    transform: scaleY(1) scaleX(1);
    opacity: 1;
  }
  25% { 
    transform: scaleY(1.08) scaleX(0.95);
    opacity: 0.95;
  }
  50% { 
    transform: scaleY(0.95) scaleX(1.05);
    opacity: 1;
  }
  75% { 
    transform: scaleY(1.05) scaleX(0.98);
    opacity: 0.9;
  }
}

@keyframes heroWind {
  0%, 100% {
    transform: skewX(-18deg) translateX(4px);
  }
  25% {
    transform: skewX(-22deg) translateX(2px);
  }
  50% {
    transform: skewX(-20deg) translateX(3px);
  }
  75% {
    transform: skewX(-24deg) translateX(1px);
  }
}

.hero-tmd-status .tmd-status-bg {
  fill: rgba(0, 255, 65, 0.15);
  stroke: #00FF41;
  stroke-width: 1;
  transition: fill 0.3s, stroke 0.3s;
}

.hero-tmd-status .tmd-status-text {
  fill: #00FF41;
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 600;
  transition: fill 0.3s;
}

.hero-tmd-status.frozen .tmd-status-bg {
  fill: rgba(255, 51, 51, 0.15);
  stroke: #FF6666;
}

.hero-tmd-status.frozen .tmd-status-text {
  fill: #FF6666;
}

/* Legacy stack styles - keeping for fallback */
.stack-diagram {
  display: none;
}

.tmd-indicator {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-data);
  font-size: var(--text-xs);
  white-space: nowrap;
}

.tmd-indicator.working {
  background-color: rgba(0, 255, 65, 0.2);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}

.tmd-indicator.frozen {
  background-color: rgba(255, 51, 51, 0.2);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.wind-indicator {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-flame-outer,
  .hero-flame-inner,
  .hero-flame-core {
    animation: none;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ==========================================
   PROBLEM SECTION
   ========================================== */

.section-problem {
  background-color: var(--bg-primary);
}

.problem-grid {
  display: grid;
  gap: var(--space-10);
}

.problem-statement .lead-text {
  font-size: var(--text-xl);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  max-width: 40ch;
}

.failure-modes h3 {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

.failure-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-5);
}

.failure-card {
  padding: var(--space-6);
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
}

.failure-icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.failure-card h4 {
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.failure-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.consequence-block {
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, transparent 100%);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--radius-md);
}

/* Case Studies Section */
.case-studies {
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-studies h3 {
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.case-study-content {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

/* Flare Stack Visualization */
.flare-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
}

.flare-svg {
  width: 100%;
  max-width: 120px;
  height: auto;
}

.flame {
  animation: flicker 0.8s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

.flame-outer {
  animation-delay: 0s;
}

.flame-inner {
  animation-delay: 0.2s;
}

.flame-core {
  animation-delay: 0.4s;
}

@keyframes flicker {
  0% {
    transform: scaleY(1) scaleX(1);
    opacity: 0.9;
  }
  100% {
    transform: scaleY(1.1) scaleX(0.95);
    opacity: 1;
  }
}

.heat-overlay {
  animation: heatPulse 2s ease-in-out infinite;
}

@keyframes heatPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

.heat-line {
  animation: radiateHeat 1.5s ease-out infinite;
}

.heat-line:nth-child(2) { animation-delay: 0.3s; }
.heat-line:nth-child(3) { animation-delay: 0.6s; }
.heat-line:nth-child(4) { animation-delay: 0.1s; }
.heat-line:nth-child(5) { animation-delay: 0.4s; }
.heat-line:nth-child(6) { animation-delay: 0.7s; }

@keyframes radiateHeat {
  0% {
    opacity: 0.6;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(5px);
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .flame,
  .heat-overlay,
  .heat-line {
    animation: none;
  }
}

.case-intro {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.thermal-effects {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.thermal-effect {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.effect-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 69, 0, 0.2);
  color: var(--accent-orange);
  border-radius: 50%;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  flex-shrink: 0;
}

.effect-text strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.effect-text p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.case-study-data {
  padding: var(--space-5);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Effectiveness Chart */
.effectiveness-chart {
  width: 100%;
}

.chart-title {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-3);
  text-align: center;
}

.eff-chart-svg {
  width: 100%;
  height: auto;
  max-height: 220px;
}

.eff-curve {
  filter: drop-shadow(0 0 4px rgba(255, 69, 0, 0.3));
}

.data-point {
  filter: drop-shadow(0 0 3px currentColor);
  transition: r 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.data-point:hover {
  r: 8;
  filter: drop-shadow(0 0 6px currentColor);
}

.chart-caption {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-3);
  margin-bottom: 0;
  font-style: italic;
}

/* Tooltip for chart points (CSS-only approach) */
.data-points {
  position: relative;
}

/* Legacy table styles (kept for backward compatibility) */
.effectiveness-table {
  width: 100%;
  border-collapse: collapse;
}

.eff-value {
  font-family: var(--font-data);
  font-weight: var(--weight-semibold);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}

.eff-value.good {
  color: var(--accent-green);
  background-color: rgba(0, 255, 65, 0.1);
}

.eff-value.warning {
  color: var(--warning);
  background-color: rgba(255, 184, 0, 0.1);
}

.eff-value.danger {
  color: var(--danger);
  background-color: rgba(255, 51, 51, 0.1);
}

@media (max-width: 768px) {
  .case-study-content {
    grid-template-columns: 1fr;
  }
  
  .flare-visual {
    order: -1;
    justify-content: center;
  }
  
  .flare-svg {
    max-width: 100px;
  }
}

/* Incident Callout */
.incident-callout {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--danger);
}

.incident-callout h4 {
  font-size: var(--text-base);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.incident-examples {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.incident {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  padding-left: var(--space-4);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.incident strong {
  color: var(--text-primary);
}

.incident-lesson {
  font-size: var(--text-base);
  color: var(--accent-orange);
  font-weight: var(--weight-medium);
  margin: 0;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255, 69, 0, 0.3);
}

/* Disaster Chain Visual */
.disaster-chain {
  margin-top: var(--space-10);
  margin-left: calc(-1 * var(--space-8));
  margin-right: calc(-1 * var(--space-8));
  padding: var(--space-10) var(--space-10) var(--space-8);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 51, 51, 0.2);
  text-align: center;
}

.chain-title {
  font-size: var(--text-xl);
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.chain-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.chain-factors {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: nowrap;
}

.chain-factor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-8);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 184, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.1);
  min-width: 180px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.chain-factor:hover {
  transform: translateY(-2px);
}

.chain-factor:last-child {
  animation: chainFactorColor 8s steps(1) infinite;
}

@keyframes chainFactorColor {
  /* TRUE: 0-25% (green) */
  0%, 25% {
    border-color: rgba(0, 255, 65, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
  }
  /* FALSE: 25-50% (red) */
  25.01%, 50% {
    border-color: rgba(255, 51, 51, 0.4);
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.15);
  }
  /* UNKNOWN: 50-100% (yellow) */
  50.01%, 100% {
    border-color: rgba(255, 184, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.15);
  }
}

.factor-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.factor-label {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.factor-status {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.factor-status.warning {
  color: #FFC933;
  background-color: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.4);
}

.factor-status.danger {
  color: #FF6666;
  background-color: rgba(255, 51, 51, 0.15);
  border: 1px solid rgba(255, 51, 51, 0.4);
}

/* PLC Display Animation */
.status-plc {
  position: relative;
  min-width: 100px;
  font-family: var(--font-data);
  background-color: #0a0a0a;
  border: 1px solid #333;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.plc-display {
  display: grid;
  place-items: center;
}

.plc-state {
  grid-area: 1 / 1;
  opacity: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2px;
}

.plc-state::after {
  content: '▌';
  color: #FFB800;
  animation: cursorBlink 0.5s steps(1) infinite;
}

.plc-true {
  color: #00FF41;
  animation: plcTrue 8s steps(1) infinite;
}

.plc-false {
  color: #FF6666;
  animation: plcFalse 8s steps(1) infinite;
}

.plc-unknown {
  color: #FFB800;
  animation: plcUnknown 8s steps(1) infinite;
}

/* TRUE: 0-2s, FALSE: 2-4s, UNKNOWN: 4-8s */
@keyframes plcTrue {
  0%, 25% { opacity: 1; }
  25.01%, 100% { opacity: 0; }
}

@keyframes plcFalse {
  0%, 25% { opacity: 0; }
  25.01%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@keyframes plcUnknown {
  0%, 50% { opacity: 0; }
  50.01%, 100% { opacity: 1; }
}

.plc-cursor {
  display: none;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .plc-state {
    animation: none;
  }
  .plc-unknown {
    opacity: 1;
  }
  .plc-cursor {
    animation: none;
    opacity: 1;
  }
}

@keyframes dangerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255, 51, 51, 0); }
}

.chain-plus {
  font-size: var(--text-3xl);
  color: var(--text-muted);
  font-weight: var(--weight-bold);
  align-self: center;
}

.chain-arrow {
  font-size: 2.5rem;
  color: #FF3333;
  text-shadow: 0 0 20px rgba(255, 51, 51, 0.5);
  animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

.chain-options {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.chain-option {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
}

.chain-option.shutdown {
  background-color: rgba(255, 184, 0, 0.15);
  color: #FFB800;
  border: 2px solid rgba(255, 184, 0, 0.4);
}

.chain-option.risk {
  background-color: rgba(255, 51, 51, 0.15);
  color: #FF3333;
  border: 2px solid rgba(255, 51, 51, 0.4);
}

.chain-or {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-weight: var(--weight-medium);
}

@media (max-width: 768px) {
  .chain-factors {
    flex-wrap: wrap;
  }
  
  .chain-plus {
    display: none;
  }
}

.consequence-stat {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.consequence-stat .stat-value {
  font-size: var(--text-3xl);
  color: var(--accent-orange);
}

.consequence-stat .stat-label {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.consequence-stat .stat-label-large {
  display: inline;
  font-size: var(--text-xl);
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
  margin-top: var(--space-2);
}

.consequence-stat .stat-context {
  display: inline;
  font-size: var(--text-xl);
  color: var(--text-primary);
  font-weight: var(--weight-semibold);
  margin-left: var(--space-2);
}

.consequence-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.consequence-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.consequence-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
}

.consequence-list li strong {
  color: var(--text-primary);
}

.consequence-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.consequence-text strong {
  color: var(--text-primary);
}

/* ==========================================
   SOLUTION SECTION
   ========================================== */

.section-solution {
  background-color: var(--bg-secondary);
}

.solution-intro {
  margin-bottom: var(--space-8);
  text-align: center;
}

.solution-intro .lead-text {
  font-size: var(--text-3xl);
  color: var(--text-primary);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.solution-subtext {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 40ch;
  margin: 0 auto;
}

.status-active {
  color: var(--accent-green);
  font-weight: var(--weight-semibold);
}

.status-inactive {
  color: var(--accent-orange);
  font-weight: var(--weight-semibold);
}

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

.physics-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  padding: var(--space-8);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.frequency-response {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  align-items: flex-end;
  height: 200px;
}

.freq-graph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.graph-label {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.split-peak {
  width: 80px;
  height: 120px;
  background: 
    radial-gradient(ellipse 30px 100px at 25% 100%, var(--accent-green) 0%, transparent 70%),
    radial-gradient(ellipse 30px 100px at 75% 100%, var(--accent-green) 0%, transparent 70%);
  border-bottom: 2px solid var(--accent-green);
}

.single-peak {
  width: 80px;
  height: 120px;
  background: radial-gradient(ellipse 20px 110px at 50% 100%, var(--danger) 0%, transparent 70%);
  border-bottom: 2px solid var(--danger);
}

.physics-explanation h3 {
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.physics-explanation p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.physics-explanation strong {
  color: var(--accent-green);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
}

.deliverable {
  padding: var(--space-5);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.deliverable-icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.deliverable h4 {
  font-size: var(--text-base);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.deliverable p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ==========================================
   SPECS SECTION
   ========================================== */

.section-specs {
  background-color: var(--bg-primary);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-5);
}

.spec-card {
  padding: var(--space-6);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background-color: rgba(0, 168, 255, 0.2);
  color: var(--accent-blue);
  font-family: var(--font-data);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}

.spec-card h4 {
  font-size: var(--text-base);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.spec-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ==========================================
   PILOT SECTION
   ========================================== */

.section-pilot {
  background-color: var(--bg-secondary);
}

.pilot-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
}

.pilot-offer h3 {
  font-size: var(--text-lg);
  color: var(--accent-orange);
  margin-bottom: var(--space-4);
}

.pilot-lead {
  font-size: var(--text-lg);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.pilot-includes h4 {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.pilot-includes ul {
  list-style: none;
  padding: 0;
}

.pilot-includes li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.pilot-includes li::before {
  content: '◇';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
}

.pilot-includes li strong {
  color: var(--accent-green);
}

.pilot-investment {
  padding: var(--space-6);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.investment-table {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.investment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
}

.investment-label {
  color: var(--text-secondary);
}

.investment-value {
  color: var(--text-primary);
  font-size: var(--text-lg);
}

.roi-block h4 {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-3);
}

.roi-block ul {
  list-style: none;
  padding: 0;
}

.roi-block li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.roi-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-green);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.section-contact {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0a0505 100%);
  min-height: auto;
  padding: var(--space-16) var(--space-5);
}

.contact-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.contact-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.contact-cta {
  margin-bottom: var(--space-6);
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-cta .cta-button {
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-8);
  margin-bottom: var(--space-4);
}

.contact-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 40ch;
  margin: var(--space-4) auto 0;
}

.closing-note {
  margin-top: var(--space-10);
  font-size: var(--text-lg);
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

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

.site-footer {
  padding: var(--space-10) var(--space-5);
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wider);
  color: var(--text-primary);
}

.footer-logo .logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--accent-orange);
}

.investor-link {
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.whitepaper-link {
  padding: var(--space-2) var(--space-4);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.whitepaper-link:hover {
  background-color: rgba(255, 69, 0, 0.1);
  color: var(--accent-orange);
}

.footer-secondary {
  width: 100%;
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: var(--space-6);
}

.footer-copy {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

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

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subhead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .physics-block {
    grid-template-columns: 1fr;
  }
  
  .pilot-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  
  .hero-headline {
    font-size: var(--text-3xl);
  }
  
  .section {
    padding: var(--space-12) var(--space-4);
  }
  
  .failure-cards {
    grid-template-columns: 1fr;
  }
  
  .consequence-stat {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
