/* ==========================================================================
   AspIr² (aspir2.com) — The Phoenix Reborn for the AI Age
   Core Design System & Stylesheet (2026 Edition)
   ========================================================================== */

:root {
  /* Brand Palette */
  --bg-dark: #060d17;
  --bg-surface: #0a1526;
  --bg-surface-elevated: #0f1f38;
  --bg-glass: rgba(10, 21, 38, 0.75);
  --bg-glass-card: rgba(14, 27, 48, 0.65);
  
  /* Accent Colors */
  --teal-primary: #00e5d0;
  --teal-hover: #00c7b4;
  --teal-muted: rgba(0, 229, 208, 0.12);
  --teal-glow: rgba(0, 229, 208, 0.35);

  --amber-primary: #ff7a00;
  --amber-gold: #ffb020;
  --amber-muted: rgba(255, 122, 0, 0.12);
  --amber-glow: rgba(255, 122, 0, 0.35);

  --fire-gradient: linear-gradient(135deg, #00e5d0 0%, #ffb020 50%, #ff7a00 100%);
  --cyan-gradient: linear-gradient(135deg, #00e5d0 0%, #0099ff 100%);
  --surface-gradient: linear-gradient(180deg, rgba(15, 31, 56, 0.8) 0%, rgba(10, 21, 38, 0.95) 100%);

  /* Text Colors */
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-on-accent: #040c17;

  /* Borders & Dividers */
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-medium: rgba(148, 163, 184, 0.22);
  --border-accent: rgba(0, 229, 208, 0.4);
  --border-fire: rgba(255, 122, 0, 0.4);

  /* Geometry & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow-teal: 0 0 35px rgba(0, 229, 208, 0.25);
  --shadow-glow-fire: 0 0 35px rgba(255, 122, 0, 0.25);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1240px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Canvas */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

.text-center { text-align: center; }
.w-full { width: 100%; }
.mb-3 { margin-bottom: 12px; }
.mt-4 { margin-top: 16px; }

/* Section Headers */
.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal-primary);
  background: var(--teal-muted);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-tag.tag-fire {
  color: var(--amber-gold);
  background: var(--amber-muted);
  border-color: var(--border-fire);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.6;
}

/* Gradient Text */
.gradient-fire {
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-primary);
  color: var(--text-on-accent);
  box-shadow: 0 4px 18px rgba(0, 229, 208, 0.35);
}

.btn-primary:hover {
  background: #26ffea;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 229, 208, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-medium);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--teal-primary);
  color: var(--teal-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--teal-primary);
  border-color: var(--teal-primary);
}

.btn-outline:hover {
  background: var(--teal-muted);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

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

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(6, 13, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: background 0.3s ease;
}

.nav-container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-lockup:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 195px;
  display: block;
  object-fit: contain;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 16px;
  transition: opacity 0.2s ease;
}

.footer-brand:hover {
  opacity: 0.9;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  max-width: 210px;
  display: block;
  object-fit: contain;
}

.eco-logo-badge {
  margin-bottom: 16px;
}

.eco-card-logo {
  height: 84px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding-block: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--teal-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--teal-primary);
  transition: width 0.25s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.badge-link:hover {
  color: var(--teal-primary);
  border-color: var(--border-accent);
  background: var(--teal-muted);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-primary);
  box-shadow: 0 0 8px var(--teal-primary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s ease;
}

.mobile-drawer {
  display: none;
}

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

.hero-section {
  position: relative;
  padding-top: clamp(40px, 8vw, 90px);
  padding-bottom: clamp(60px, 10vw, 120px);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 1000px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 229, 208, 0.12) 0%, rgba(255, 122, 0, 0.08) 50%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  background: rgba(14, 27, 48, 0.8);
  border: 1px solid var(--border-fire);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.15);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-gold);
  box-shadow: 0 0 10px var(--amber-gold);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.eyebrow-tag {
  color: var(--text-muted);
}

.eyebrow-divider {
  color: var(--text-dim);
}

.eyebrow-accent {
  color: var(--amber-gold);
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sup {
  font-size: 0.55em;
  font-weight: 900;
  color: var(--amber-gold);
  text-shadow: 0 0 18px var(--amber-glow);
  vertical-align: super;
  line-height: 0;
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-lead strong {
  color: var(--text-main);
}

/* Formula Bar */
.hero-formula-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 21, 38, 0.85);
  border: 1px solid var(--border-medium);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 36px;
  backdrop-filter: blur(10px);
}

.formula-term {
  display: flex;
  flex-direction: column;
}

.term-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.term-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.formula-op {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-primary);
  margin-inline: 4px;
}

.formula-term.active .term-lbl {
  color: var(--amber-gold);
}

.formula-term.active .term-val {
  color: var(--amber-gold);
  font-weight: 800;
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Meta Strip */
.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-num {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.meta-num.highlight {
  color: var(--teal-primary);
  text-shadow: 0 0 14px var(--teal-glow);
}

.meta-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

/* Phoenix Frame Visual */
.hero-visual-wrapper {
  position: relative;
}

.phoenix-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 229, 208, 0.15);
  transition: transform 0.4s ease;
}

.phoenix-frame:hover {
  transform: translateY(-4px);
  border-color: var(--teal-primary);
}

.phoenix-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
}

.phoenix-overlay-badge {
  position: absolute;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(6, 13, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phoenix-overlay-badge.top-left {
  top: 16px;
  left: 16px;
  color: var(--teal-primary);
}

.badge-status-ring {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-primary);
  box-shadow: 0 0 6px var(--teal-primary);
}

.phoenix-overlay-badge.bottom-right {
  bottom: 16px;
  right: 16px;
  color: var(--amber-gold);
}

/* ==========================================================================
   STORY & TIMELINE SECTION
   ========================================================================== */

.story-section {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--surface-gradient);
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.story-card {
  position: relative;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.teal-glow { background: var(--teal-primary); box-shadow: 0 0 12px var(--teal-primary); }
.amber-glow { background: var(--text-dim); }
.fire-glow { background: var(--fire-gradient); box-shadow: 0 0 16px var(--amber-primary); }

.card-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.era-year {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.era-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.status-past {
  background: rgba(0, 229, 208, 0.1);
  color: var(--teal-primary);
  border: 1px solid var(--border-accent);
}

.status-dormant {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
}

.status-reborn {
  background: rgba(255, 122, 0, 0.15);
  color: var(--amber-gold);
  border: 1px solid var(--border-fire);
}

.card-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-main);
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-bullets li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-main);
}

.card-bullets li span {
  color: var(--teal-primary);
  font-weight: 700;
}

.active-card {
  border-color: var(--border-fire);
  box-shadow: 0 0 35px rgba(255, 122, 0, 0.12);
}

/* Quote Banner */
.quote-banner {
  background: rgba(10, 21, 38, 0.9);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--teal-primary);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--teal-primary);
  opacity: 0.3;
  margin-bottom: -16px;
}

.quote-text {
  font-size: clamp(1.125rem, 1.4vw, 1.35rem);
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
}

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

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

.author-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.author-title {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ==========================================================================
   FORMULA & COMPARISON TABLE
   ========================================================================== */

.formula-section {
  padding-block: clamp(60px, 8vw, 100px);
}

.equation-showcase {
  margin-bottom: 56px;
}

.equation-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.3fr;
  align-items: center;
  gap: 20px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
}

.math-term {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.math-symbol {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal-primary);
  margin-bottom: 8px;
}

.sup-dim {
  font-size: 0.5em;
  color: var(--text-dim);
}

.math-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.math-caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 220px;
}

.math-operator {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dim);
}

.result-term {
  background: rgba(255, 122, 0, 0.08);
  border: 1px solid var(--border-fire);
  border-radius: var(--radius-md);
  padding: 20px 16px;
}

.result-symbol {
  color: var(--amber-gold);
  text-shadow: 0 0 20px var(--amber-glow);
}

.sup-glow {
  font-size: 0.5em;
  color: var(--amber-primary);
  text-shadow: 0 0 15px var(--amber-primary);
}

.result-label {
  color: var(--amber-gold);
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
}

.comparison-table th {
  background: rgba(14, 27, 48, 0.95);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.comparison-table th.highlight-col, .comparison-table td.highlight-col {
  background: rgba(0, 229, 208, 0.05);
  color: var(--text-main);
  border-inline: 1px solid var(--border-accent);
}

.dim-title {
  font-weight: 700;
  color: var(--text-main);
  width: 220px;
}

.tag-green {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--teal-primary);
  background: var(--teal-muted);
  border: 1px solid var(--border-accent);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-right: 6px;
}

/* ==========================================================================
   DUAL-ENGINE CAPABILITIES (TABS)
   ========================================================================== */

.engines-section {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--surface-gradient);
  border-block: 1px solid var(--border-subtle);
}

.engine-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.engine-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
}

.engine-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.engine-tab.active {
  color: var(--text-on-accent);
  background: var(--teal-primary);
  border-color: var(--teal-primary);
  box-shadow: 0 4px 20px rgba(0, 229, 208, 0.35);
}

.engine-panel {
  display: none;
}

.engine-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.panel-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.it-badge {
  background: var(--teal-muted);
  color: var(--teal-primary);
  border: 1px solid var(--border-accent);
}

.ai-badge {
  background: var(--amber-muted);
  color: var(--amber-gold);
  border: 1px solid var(--border-fire);
}

.panel-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.panel-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.cap-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.cap-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.cap-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cap-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.cap-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   2026 ARCHITECTURE BLUEPRINT
   ========================================================================== */

.blueprint-section {
  padding-block: clamp(60px, 8vw, 100px);
}

.blueprint-viewer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.blueprint-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 229, 208, 0.1);
}

.blueprint-img {
  width: 100%;
  height: auto;
  display: block;
}

.blueprint-hud-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hud-pill {
  position: absolute;
  background: rgba(6, 13, 23, 0.85);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-primary);
  box-shadow: 0 0 6px var(--teal-primary);
}

.hud-pill.top { top: 16px; left: 16px; }
.hud-pill.left { bottom: 20px; left: 16px; border-color: var(--border-fire); color: var(--amber-gold); }
.hud-pill.left .hud-dot { background: var(--amber-gold); box-shadow: 0 0 6px var(--amber-gold); }
.hud-pill.right { bottom: 20px; right: 16px; }

.blueprint-breakdown {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.breakdown-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all 0.2s ease;
}

.breakdown-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-surface-elevated);
}

.node-num {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--teal-primary);
  background: var(--teal-muted);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
  flex-shrink: 0;
}

.node-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.node-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   TRANSFORMATION & ROI CALCULATOR
   ========================================================================== */

.calculator-section {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--surface-gradient);
  border-block: 1px solid var(--border-subtle);
}

.calculator-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.control-group {
  margin-bottom: 32px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.control-header label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.control-val {
  font-family: var(--font-mono);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--teal-primary);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-primary);
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 10px var(--teal-primary);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.maturity-toggle-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.maturity-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.maturity-btn:hover {
  border-color: var(--border-medium);
}

.maturity-btn.active {
  background: var(--teal-muted);
  border-color: var(--teal-primary);
}

.btn-tier {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-primary);
}

.btn-desc {
  font-size: 0.8125rem;
  color: var(--text-main);
  font-weight: 600;
}

/* Results Column */
.calc-results {
  background: var(--bg-dark);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.results-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
}

.results-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
}

.kpi-display-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.kpi-box {
  display: flex;
  flex-direction: column;
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 4px;
}

.kpi-value.highlight-cyan {
  color: var(--teal-primary);
  text-shadow: 0 0 16px var(--teal-glow);
}

.kpi-value.highlight-amber {
  color: var(--amber-gold);
  text-shadow: 0 0 16px var(--amber-glow);
}

.kpi-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.kpi-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.35;
}

/* ==========================================================================
   OPERATOR'S MANIFESTO
   ========================================================================== */

.manifesto-section {
  padding-block: clamp(60px, 8vw, 100px);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.manifesto-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.25s ease;
}

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

.manifesto-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal-primary);
  margin-bottom: 16px;
}

.manifesto-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.manifesto-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.austin-pride-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(255, 122, 0, 0.06);
  border: 1px solid var(--border-fire);
  padding: 18px 24px;
  border-radius: var(--radius-md);
}

.austin-flag-mark {
  font-size: 1.5rem;
  color: var(--amber-gold);
}

.austin-text {
  font-size: 0.9375rem;
  color: var(--text-main);
}

/* ==========================================================================
   ECOSYSTEM & SUBSIDIARIES
   ========================================================================== */

.ecosystem-section {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--surface-gradient);
  border-block: 1px solid var(--border-subtle);
}

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

.eco-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

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

.eco-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.flagship-pill {
  color: var(--amber-gold);
}

.eco-flagship {
  border-color: var(--border-fire);
  background: rgba(14, 27, 48, 0.85);
  box-shadow: 0 0 35px rgba(255, 122, 0, 0.15);
}

.eco-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.eco-sup {
  color: var(--amber-gold);
  font-size: 0.6em;
}

.eco-domain {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--teal-primary);
  text-decoration: none;
  margin-bottom: 16px;
}

.current-domain {
  color: var(--amber-gold);
}

.eco-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.eco-focus {
  font-size: 0.8125rem;
  color: var(--text-dim);
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.eco-focus strong {
  color: var(--text-main);
}

.link-accent {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--teal-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-accent:hover {
  color: #26ffea;
  text-decoration: underline;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */

.cta-banner-section {
  padding-block: clamp(60px, 8vw, 100px);
}

.cta-box {
  position: relative;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-fire);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px) 32px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255, 122, 0, 0.15);
}

.cta-flame-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-footnote {
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

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

.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding-top: 64px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-sup {
  color: var(--amber-gold);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal-primary);
  background: var(--teal-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-accent);
}

.status-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-primary);
  box-shadow: 0 0 8px var(--teal-primary);
  animation: pulse-glow 2s infinite ease-in-out;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--teal-primary);
}

.contact-email {
  color: var(--teal-primary) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--teal-primary);
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 16, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 229, 208, 0.15);
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--teal-primary);
  background: var(--teal-muted);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input, .form-textarea {
  background: var(--bg-dark);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 2px var(--teal-muted);
}

.form-pill-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pill-option {
  cursor: pointer;
}

.pill-option input {
  display: none;
}

.pill-option span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-dark);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.pill-option input:checked + span {
  background: var(--teal-muted);
  border-color: var(--teal-primary);
  color: var(--teal-primary);
}

.form-actions {
  margin-top: 8px;
}

.form-success-state {
  text-align: center;
  padding: 30px 10px;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal-muted);
  border: 2px solid var(--teal-primary);
  color: var(--teal-primary);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.form-success-state h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-success-state p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-formula-bar {
    margin-inline: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-meta-strip {
    justify-content: center;
  }
  .hero-visual-wrapper {
    max-width: 580px;
    margin-inline: auto;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .equation-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .math-operator {
    display: none;
  }
  .capabilities-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blueprint-viewer {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .manifesto-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .badge-link {
    display: none;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .kpi-display-grid {
    grid-template-columns: 1fr;
  }
  .hero-meta-strip {
    flex-wrap: wrap;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-pill-select {
    grid-template-columns: 1fr;
  }
  .mobile-drawer.open {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-medium);
    padding: 24px;
    z-index: 99;
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .mobile-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
  }
  .mobile-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
  }
}
