/* ==========================================================================
   NIVANSWARE STUDIOS : OPTION 1: GAYA EROPA (THE HYPER-STEALTH & TRACK EXCLUSIVITY)
   Inspirasi Ikonik: Koenigsegg Jesko • Lamborghini Countach LP400 • McLaren F1 LM • Aston Martin Vulcan
   $10,000 Vibe Coding Architecture : Zero AI Slop
   ========================================================================== */

:root {
  /* ==================== CANVASES & BODYWORK ==================== */
  --bg-core: #05070B;                /* Koenigsegg Naked Carbon Obsidian Base */
  --bg-surface: #0B0F17;             /* Dark Cockpit Console Surface */
  --bg-card: rgba(14, 18, 27, 0.85); /* Smoked Smoked Acrylic Glass */
  --bg-card-hover: rgba(20, 26, 38, 0.96);
  --bg-elevated: #161D2B;

  /* ==================== VULCAN & McLAREN ACCENTS ==================== */
  --accent-primary: #E11D48;         /* Aston Martin Vulcan Laser Crimson */
  --accent-primary-alt: #BE123C;
  --accent-primary-glow: rgba(225, 29, 72, 0.35);
  --accent-primary-border: rgba(225, 29, 72, 0.45);

  --accent-secondary: #F59E0B;       /* McLaren F1 LM Papaya High-RPM */
  --accent-secondary-glow: rgba(245, 158, 11, 0.3);

  --apex-emerald: #10B981;           /* Nordschleife Apex Green Hell Status */
  --apex-emerald-glow: rgba(16, 185, 129, 0.3);
  --telemetry-cyan: #06B6D4;          /* Telemetry Sensor Bus */

  /* ==================== TYPOGRAPHY PALETTE ==================== */
  --text-high-contrast: #F8FAFC;     /* Countach Titanium White */
  --text-body: #CBD5E1;              /* Pure Readability Text */
  --text-dim: #8E9DB2;               /* Muted Telemetry Label (WCAG 2.2 AA calibrated) */
  --text-accent: #FDA4AF;

  /* ==================== FONTS ==================== */
  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* ==================== GEOMETRIC EDGES & SHADOWS ==================== */
  --chamfer-corner: 10px;
  --btn-clip: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  --card-clip: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --border-lightblade: 1px solid rgba(225, 29, 72, 0.28);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);

  --shadow-vulcan: 0 16px 38px -12px rgba(0, 0, 0, 0.9), 0 0 25px -5px rgba(225, 29, 72, 0.25);
  --shadow-monocoque: 0 20px 48px -10px rgba(0, 0, 0, 0.95);

  /* Transitions */
  --trans-paddle: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==================== RESET & CANVASES ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-core);
}

body {
  background-color: var(--bg-core);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  /* Koenigsegg Carbon Twill Weave + Aerodynamic Ambient Radial Lighting */
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(225, 29, 72, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 10% 40%, rgba(245, 158, 11, 0.05) 0%, transparent 35%),
    radial-gradient(circle at 90% 65%, rgba(16, 185, 129, 0.05) 0%, transparent 35%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.015) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.015) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.015) 75%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px, 28px 28px, 28px 28px, 28px 28px;
  background-position: center, center, center, 0 0, 0 14px, 14px -14px, -14px 0px;
}

/* Common Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==================== 1. MAIN FLOATING COCKPIT HEADER ==================== */
.main-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 1440px;
  margin: 12px auto 0;
  background: rgba(9, 12, 19, 0.88);
  border: 1px solid rgba(225, 29, 72, 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(225, 29, 72, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 28px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(225, 29, 72, 0.4));
  transition: transform var(--trans-paddle);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.05);
}

/* Desktop Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  padding: 6px 12px;
  position: relative;
  white-space: nowrap;
  transition: color var(--trans-paddle);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-high-contrast);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

/* Nav Actions & Audio Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.telemetry-audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 18, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-body);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--trans-paddle);
}

.telemetry-audio-toggle:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.telemetry-audio-toggle.active {
  border-color: var(--apex-emerald);
  color: var(--apex-emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

/* ==================== LANGUAGE SELECTOR DROPDOWN (EN, ID, JA, DE) ==================== */
.lang-selector-dropdown {
  position: relative;
}

.lang-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 18, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-body);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--trans-paddle);
  letter-spacing: 0.04em;
}

.lang-selector-btn:hover {
  border-color: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.25);
}

.lang-chevron {
  transition: transform var(--trans-paddle);
}

.lang-selector-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: rgba(11, 15, 23, 0.96);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(225, 29, 72, 0.2);
  backdrop-filter: blur(20px);
  z-index: 1100;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.lang-dropdown-menu.show {
  display: flex;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: var(--text-body);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--trans-paddle);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  width: 100%;
}

.lang-opt:last-child {
  border-bottom: none;
}

.lang-opt:hover {
  background: rgba(225, 29, 72, 0.15);
  color: #FFFFFF;
}

.lang-opt.active {
  background: rgba(225, 29, 72, 0.22);
  color: #FDA4AF;
}

.lang-code {
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 0.70rem;
}

.lang-desc {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-high-contrast);
  cursor: pointer;
  padding: 6px;
}

/* ==================== BUTTONS (COUNTACH 45° CHAMFER) ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  padding: 13px 26px;
  transition: all var(--trans-paddle);
  position: relative;
  clip-path: var(--btn-clip);
  border: none;
}

.btn:active {
  transform: translateY(1.5px);
}

.btn-primary {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
  box-shadow: 0 0 28px rgba(225, 29, 72, 0.7);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(14, 18, 27, 0.9);
  color: var(--text-high-contrast);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-outline:hover {
  background: rgba(22, 28, 42, 0.95);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
}

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

.btn-cockpit-glow {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FDA4AF;
  border: 1px solid rgba(225, 29, 72, 0.5);
}

.btn-cockpit-glow:hover {
  border-color: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 0 24px rgba(225, 29, 72, 0.5);
  transform: translateY(-2px);
}

/* ==================== 2. HERO SECTION: NÜRBURGRING VELOCITY ==================== */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Wind Tunnel Canvas */
.wind-tunnel-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}

.hero-backdrop-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(225, 29, 72, 0.22) 0%, rgba(245, 158, 11, 0.08) 40%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

.hero-container-centered {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-centered {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Badge Pill */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(14, 18, 27, 0.9);
  border: 1px solid rgba(225, 29, 72, 0.45);
  clip-path: var(--btn-clip);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FDA4AF;
  margin-bottom: 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 16px rgba(225, 29, 72, 0.2);
}

.hero-badge-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulsePing 1.8s infinite;
}

/* Hero Headline */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-high-contrast);
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 0 45px rgba(0, 0, 0, 0.8);
}

.text-gradient-race,
.text-gradient-vulcan {
  background: linear-gradient(135deg, #FFFFFF 25%, #FDA4AF 65%, #E11D48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(225, 29, 72, 0.4));
}

.hero-title-sub {
  color: #EF4444;
  letter-spacing: 0.06em;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.75;
  color: var(--text-body);
  max-width: 880px;
  margin-bottom: 36px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.hero-desc strong {
  color: #FFFFFF;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

/* ==================== BESPOKE HERO HYPERCAR SHOWCASE ==================== */
.hero-hypercar-showcase {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 48px;
  position: relative;
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(225, 29, 72, 0.22);
  background: #020305;
}

.hypercar-image-container {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hypercar-chassis-img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.05) brightness(0.95);
  transition: transform var(--trans-smooth), filter var(--trans-smooth);
}

.hero-hypercar-showcase:hover .hypercar-chassis-img {
  transform: scale(1.015);
  filter: contrast(1.08) brightness(1.02);
}

/* HUD Overlay on Hypercar */
.telemetry-hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.telemetry-pin {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.pin-pulse {
  width: 14px;
  height: 14px;
  background: var(--accent-primary);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 14px var(--accent-primary);
  animation: pinPulse 2s infinite ease-in-out;
}

@keyframes pinPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px var(--accent-primary); }
  50% { transform: scale(1.4); box-shadow: 0 0 22px var(--accent-primary); }
}

.pin-tooltip {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(11, 15, 23, 0.95);
  border: 1px solid var(--accent-primary);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--trans-paddle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 16px rgba(225, 29, 72, 0.3);
}

.telemetry-pin:hover .pin-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Sleek Horizontal Telemetry Metric Strip */
.hero-telemetry-strip {
  width: 100%;
  max-width: 880px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 28px;
  background: rgba(14, 18, 27, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(225, 29, 72, 0.12);
  backdrop-filter: blur(16px);
  margin-bottom: 36px;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.strip-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.strip-val {
  font-family: var(--font-mono);
  font-size: 1.18rem;
  font-weight: 700;
}

.strip-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

/* Founder DNA Box */
.founder-dna-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: rgba(11, 15, 23, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-body);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.founder-dna-box strong {
  color: #F8FAFC;
}

/* ==================== SECTION HEADERS ==================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(14, 18, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  clip-path: var(--btn-clip);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.section-pill.red {
  border-color: rgba(225, 29, 72, 0.45);
  color: #FDA4AF;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-high-contrast);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==================== 3. 3 POWER ENGINES (MODULAR MONOCOQUE) ==================== */
.engines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.engine-card {
  position: relative;
  background: var(--bg-card);
  border: var(--border-lightblade);
  clip-path: var(--card-clip);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: var(--shadow-monocoque);
  backdrop-filter: blur(16px);
  transition: transform var(--trans-paddle), border-color var(--trans-paddle), box-shadow var(--trans-paddle);
  transform-style: preserve-3d;
  will-change: transform;
}

.engine-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-vulcan);
}

.engine-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(11, 15, 23, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.engine-num-badge {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-primary);
  padding: 4px 10px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.3);
  clip-path: var(--btn-clip);
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.engine-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.engine-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.engine-logo-badge {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--trans-paddle), filter var(--trans-paddle);
  transform: translateZ(0);
}

.engine-logo-badge.logo-gate {
  filter: drop-shadow(0 0 12px rgba(225, 29, 72, 0.45));
}

.engine-logo-badge.logo-radar {
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.45));
}

.engine-logo-badge.logo-buffer {
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.45));
}

.engine-logo-badge.logo-trade {
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.5));
}

.engine-logo-badge.logo-farm {
  filter: drop-shadow(0 0 12px rgba(234, 179, 8, 0.5));
}

.engine-card:hover .engine-logo-badge {
  transform: scale(1.1) rotate(-3deg);
}

.engine-card:hover .engine-logo-badge.logo-gate {
  filter: drop-shadow(0 0 20px rgba(225, 29, 72, 0.7));
}

.engine-card:hover .engine-logo-badge.logo-radar {
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.7));
}

.engine-card:hover .engine-logo-badge.logo-buffer {
  filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.7));
}

.engine-card:hover .engine-logo-badge.logo-trade {
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.8));
}

.engine-card:hover .engine-logo-badge.logo-farm {
  filter: drop-shadow(0 0 22px rgba(234, 179, 8, 0.8));
}

.engine-title-group {
  flex: 1;
  min-width: 0;
}

.engine-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-high-contrast);
  margin-bottom: 2px;
}

/* ==================== DUAL-TONE ENGINE TITLE ACCENTS ==================== */
.brand-accent-gate {
  color: var(--accent-primary);
  text-shadow: 0 0 16px rgba(225, 29, 72, 0.45);
}

.brand-accent-radar {
  color: var(--apex-emerald);
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

.brand-accent-buffer {
  color: #3B82F6;
  text-shadow: 0 0 16px rgba(59, 130, 246, 0.45);
}

.brand-accent-trade {
  color: #A855F7;
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
}

.brand-accent-farm {
  color: #EAB308;
  text-shadow: 0 0 16px rgba(234, 179, 8, 0.5);
}

.engine-category {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #FDA4AF;
  margin-bottom: 0;
}

.engine-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  min-height: 5.4rem;
}

.engine-features-list {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.engine-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.engine-features-list li svg {
  color: var(--apex-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Interactive Combat Terminal Box */
.engine-terminal-preview {
  background: #030407;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  color: #E2E8F0;
  position: relative;
  margin-bottom: 12px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
  min-height: 84px;
}

.btn-terminal-sim {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(225, 29, 72, 0.1);
  border: 1px dashed rgba(225, 29, 72, 0.45);
  color: #FDA4AF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--trans-paddle);
  height: 34px;
}

.btn-terminal-sim:hover {
  background: rgba(225, 29, 72, 0.22);
  border-color: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.3);
}

.engine-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(11, 15, 23, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 78px;
}

.engine-price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-high-contrast);
}

.engine-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-dim);
}

.engine-price-sub {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  color: #FDA4AF;
  letter-spacing: 0.02em;
}

/* ==================== TRI-ENGINE BESPOKE COLORWAYS ==================== */

/* Card 01: Garnet Gate (Black & Ruby Crimson ⬛🟥 - Production Active) */
.engine-card.card-gate {
  border: 1px solid rgba(225, 29, 72, 0.35);
}
.engine-card.card-gate:hover {
  border-color: #E11D48;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(225, 29, 72, 0.35);
}
.kerb-border-gate {
  height: 3px;
  background: repeating-linear-gradient(90deg, #E11D48 0px, #E11D48 16px, #FFFFFF 16px, #FFFFFF 32px, #05070B 32px, #05070B 48px);
}
.badge-tag.tag-crimson {
  color: #FDA4AF;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.35);
}

/* Card 02: Garnet Radar (Black & Emerald Green ⬛🟩 - Coming Soon) */
.engine-card.card-radar {
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.engine-card.card-radar:hover {
  border-color: #10B981;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(16, 185, 129, 0.35);
}
.kerb-border-radar {
  height: 3px;
  background: repeating-linear-gradient(90deg, #10B981 0px, #10B981 16px, #FFFFFF 16px, #FFFFFF 32px, #05070B 32px, #05070B 48px);
}
.engine-num-badge.badge-radar {
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.badge-tag.tag-radar {
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.engine-category.cat-radar {
  color: #6EE7B7;
}
.engine-terminal-preview.term-radar {
  border-color: rgba(16, 185, 129, 0.25);
}
.btn-terminal-sim.btn-sim-radar {
  background: rgba(16, 185, 129, 0.1);
  border: 1px dashed rgba(16, 185, 129, 0.45);
  color: #6EE7B7;
}
.btn-terminal-sim.btn-sim-radar:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10B981;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}
.btn-outline-radar {
  background: transparent;
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6EE7B7;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  clip-path: var(--btn-clip);
  transition: all var(--trans-paddle);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}
.btn-outline-radar:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10B981;
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

/* Card 03: Garnet Buffer (Black & Sapphire Blue ⬛🟦 - Coming Soon) */
.engine-card.card-buffer {
  border: 1px solid rgba(37, 99, 235, 0.4);
}
.engine-card.card-buffer:hover {
  border-color: #3B82F6;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(37, 99, 235, 0.4);
}
.kerb-border-buffer {
  height: 3px;
  background: repeating-linear-gradient(90deg, #2563EB 0px, #2563EB 16px, #FFFFFF 16px, #FFFFFF 32px, #05070B 32px, #05070B 48px);
}
.engine-num-badge.badge-buffer {
  color: #60A5FA;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.45);
}
.badge-tag.tag-buffer {
  color: #93C5FD;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
}
.engine-category.cat-buffer {
  color: #93C5FD;
}
.engine-terminal-preview.term-buffer {
  border-color: rgba(37, 99, 235, 0.25);
}
.btn-terminal-sim.btn-sim-buffer {
  background: rgba(37, 99, 235, 0.1);
  border: 1px dashed rgba(37, 99, 235, 0.45);
  color: #93C5FD;
}
.btn-terminal-sim.btn-sim-buffer:hover {
  background: rgba(37, 99, 235, 0.22);
  border-color: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.4);
}
.btn-outline-buffer {
  background: transparent;
  border: 1px solid rgba(37, 99, 235, 0.45);
  color: #93C5FD;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  clip-path: var(--btn-clip);
  transition: all var(--trans-paddle);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}
.btn-outline-buffer:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
}

.btn-inactive-radar {
  background: rgba(16, 185, 129, 0.06);
  border: 1px dashed rgba(16, 185, 129, 0.35);
  color: rgba(110, 231, 183, 0.75);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  clip-path: var(--btn-clip);
  padding: 8px 18px;
  cursor: not-allowed;
  user-select: none;
  opacity: 0.85;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-inactive-radar.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-inactive-buffer {
  background: rgba(37, 99, 235, 0.08);
  border: 1px dashed rgba(37, 99, 235, 0.4);
  color: rgba(147, 197, 253, 0.75);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  clip-path: var(--btn-clip);
  padding: 8px 18px;
  cursor: not-allowed;
  user-select: none;
  opacity: 0.85;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-inactive-buffer.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

/* Status Pills & Pricing Replacement Box (No nominal price for Coming Soon) */
.status-pill-coming-soon {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-pill-coming-soon::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulseComingSoon 1.8s infinite ease-in-out;
}
@keyframes pulseComingSoon {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}
.status-pill-coming-soon.emerald {
  color: #10B981;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.status-pill-coming-soon.emerald::before {
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}
.status-pill-coming-soon.sapphire {
  color: #60A5FA;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(37, 99, 235, 0.45);
}
.status-pill-coming-soon.sapphire::before {
  background: #3B82F6;
  box-shadow: 0 0 8px #3B82F6;
}

.status-pill-active {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  color: #FDA4AF;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-pill-active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E11D48;
  box-shadow: 0 0 8px #E11D48;
  animation: pulseComingSoon 1.2s infinite ease-in-out;
}

.engine-status-box {
  display: flex;
  flex-direction: column;
}
.engine-status-val {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.engine-status-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.text-sapphire {
  color: #60A5FA;
}
.text-purple {
  color: #A855F7 !important;
}
.text-gold {
  color: #EAB308 !important;
}

/* ==================== SOVEREIGN INTERNAL VAULTS (TIER 2) ==================== */
.sovereign-vaults-header {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  margin-bottom: 32px;
  text-align: center;
  position: relative;
}

.sovereign-vaults-header::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #A855F7, #EAB308, transparent);
}

.sovereign-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #D8B4FE;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.vault-blinker {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 10px #A855F7;
  animation: pulse-blinker 2s infinite ease-in-out;
}

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

.sovereign-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--text-high-contrast);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.sovereign-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.engines-grid-sovereign {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Card 04: Garnet Trade (Black & Royal Purple - Sovereign Capital Vault) */
.engine-card.card-trade {
  border: 1px solid rgba(168, 85, 247, 0.38);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.05) 0%, rgba(9, 12, 18, 0.95) 100%);
}
.engine-card.card-trade:hover {
  border-color: #A855F7;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(168, 85, 247, 0.45);
}
.kerb-border-trade {
  height: 3px;
  background: repeating-linear-gradient(90deg, #A855F7 0px, #A855F7 16px, #FFFFFF 16px, #FFFFFF 32px, #05070B 32px, #05070B 48px);
}
.engine-num-badge.badge-trade {
  color: #D8B4FE;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.badge-tag.tag-trade {
  color: #D8B4FE;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
}
.engine-category.cat-trade {
  color: #C084FC;
}
.engine-terminal-preview.term-trade {
  border-left-color: #A855F7;
}
.btn-terminal-sim.btn-sim-trade {
  background: rgba(168, 85, 247, 0.1);
  border: 1px dashed rgba(168, 85, 247, 0.45);
  color: #D8B4FE;
}
.btn-terminal-sim.btn-sim-trade:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: #A855F7;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}
.btn-vault-trade {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #E9D5FF;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  clip-path: var(--btn-clip);
  transition: all var(--trans-paddle);
  padding: 8px 18px;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.btn-vault-trade:hover {
  background: #A855F7;
  color: #06080D;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.65);
}

/* Card 05: Garnet Farm (Black & Radiant Gold - Cyber-Physical Food Vault) */
.engine-card.card-farm {
  border: 1px solid rgba(234, 179, 8, 0.38);
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.05) 0%, rgba(9, 12, 18, 0.95) 100%);
}
.engine-card.card-farm:hover {
  border-color: #EAB308;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(234, 179, 8, 0.45);
}
.kerb-border-farm {
  height: 3px;
  background: repeating-linear-gradient(90deg, #EAB308 0px, #EAB308 16px, #FFFFFF 16px, #FFFFFF 32px, #05070B 32px, #05070B 48px);
}
.engine-num-badge.badge-farm {
  color: #FDE047;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.35);
}
.badge-tag.tag-farm {
  color: #FDE047;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.28);
}
.engine-category.cat-farm {
  color: #FACC15;
}
.engine-terminal-preview.term-farm {
  border-left-color: #EAB308;
}
.btn-terminal-sim.btn-sim-farm {
  background: rgba(234, 179, 8, 0.1);
  border: 1px dashed rgba(234, 179, 8, 0.45);
  color: #FDE047;
}
.btn-terminal-sim.btn-sim-farm:hover {
  background: rgba(234, 179, 8, 0.22);
  border-color: #EAB308;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.4);
}
.btn-vault-farm {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.45);
  color: #FEF08A;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  clip-path: var(--btn-clip);
  transition: all var(--trans-paddle);
  padding: 8px 18px;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.btn-vault-farm:hover {
  background: #EAB308;
  color: #06080D;
  box-shadow: 0 0 18px rgba(234, 179, 8, 0.65);
}

/* Status Pill Sovereign */
.status-pill-sovereign {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-pill-sovereign::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulseComingSoon 1.8s infinite ease-in-out;
}
.status-pill-sovereign.purple {
  color: #E9D5FF;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.45);
}
.status-pill-sovereign.purple::before {
  background: #A855F7;
  box-shadow: 0 0 8px #A855F7;
}
.status-pill-sovereign.gold {
  color: #FEF08A;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.45);
}
.status-pill-sovereign.gold::before {
  background: #EAB308;
  box-shadow: 0 0 8px #EAB308;
}

/* ==================== SOVEREIGN VAULT HUD MODAL ==================== */
.vault-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.vault-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.vault-modal-card {
  position: relative;
  background: #090C14;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.vault-modal-backdrop.active .vault-modal-card {
  transform: scale(1) translateY(0);
}
.vault-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vault-modal-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}
.vault-modal-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}
.vault-modal-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.vault-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}
.vault-modal-body {
  padding: 24px;
  color: var(--text-normal);
  font-size: 0.92rem;
  line-height: 1.65;
}
.modal-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  background: rgba(14, 19, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 16px;
}
.spec-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.spec-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-high-contrast);
}
.spec-content-text p {
  margin-bottom: 14px;
  color: #CBD5E1;
  font-size: 0.92rem;
}
.spec-content-text p:last-child {
  margin-bottom: 0;
}

/* Modal Title with Micro-Logo & Protocol Tag */
.modal-title-with-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.modal-header-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}
.modal-header-logo.logo-trade {
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6));
}
.modal-header-logo.logo-farm {
  filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.6));
}
.modal-title-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.modal-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.modal-title-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.modal-protocol-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
}
.modal-protocol-tag.tag-trade {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #E9D5FF;
}
.modal-protocol-tag.tag-farm {
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(234, 179, 8, 0.45);
  color: #FEF08A;
}
.modal-doctrine-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* Soul Chips (Replacing Emojis) */
.soul-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.soul-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  transition: all var(--trans-paddle);
}
.soul-chip:hover {
  transform: translateY(-1px);
}
.soul-chip-name {
  font-weight: 700;
  color: #FFFFFF;
}
.soul-chip-role {
  color: var(--text-dim);
  font-size: 0.68rem;
}
.soul-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: soulPulse 2s infinite ease-in-out;
}
@keyframes soulPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Soul Chip Colors */
.soul-chip.chip-purple {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.08);
}
.soul-pulse-dot.dot-purple {
  background: #A855F7;
  box-shadow: 0 0 8px #A855F7;
}

.soul-chip.chip-black {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(30, 41, 59, 0.6);
}
.soul-pulse-dot.dot-black {
  background: #E2E8F0;
  box-shadow: 0 0 8px #E2E8F0;
}

.soul-chip.chip-yellow {
  border-color: rgba(234, 179, 8, 0.35);
  background: rgba(234, 179, 8, 0.08);
}
.soul-pulse-dot.dot-yellow {
  background: #EAB308;
  box-shadow: 0 0 8px #EAB308;
}

.soul-chip.chip-emerald {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}
.soul-pulse-dot.dot-emerald {
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.soul-chip.chip-earth {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.08);
}
.soul-pulse-dot.dot-earth {
  background: #D97706;
  box-shadow: 0 0 8px #D97706;
}

/* ==================== 4. 10-SOUL G.A.R.N.E.T. PIT CREW ==================== */
/* G.A.R.N.E.T. Telemetry HUD Decoder Strip */
.garnet-hud-decoder {
  background: rgba(8, 12, 20, 0.75);
  border: 1px solid rgba(225, 29, 72, 0.28);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0 auto 36px;
  max-width: 1100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(225, 29, 72, 0.05);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.garnet-hud-decoder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.hud-decoder-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hud-pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-primary);
  animation: hudPulse 2s infinite ease-in-out;
}

@keyframes hudPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.25); box-shadow: 0 0 12px var(--accent-primary); }
}

.hud-system-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.hud-decoder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hud-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transition: all var(--trans-paddle);
}

.hud-item:hover {
  background: rgba(225, 29, 72, 0.06);
  border-color: rgba(225, 29, 72, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.hud-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid var(--accent-primary);
  border-radius: 4px;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.3);
}

.hud-letter-net {
  width: auto;
  padding: 0 8px;
  font-size: 0.78rem;
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--apex-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.hud-item-net:hover {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.35);
}

.hud-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-high-contrast);
  text-transform: uppercase;
}

.hud-desc {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-dim);
}

.pitcrew-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.pitcrew-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 22px 18px;
  box-shadow: var(--shadow-monocoque);
  backdrop-filter: blur(14px);
  transition: all var(--trans-paddle);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.pitcrew-card:hover {
  transform: translateY(-5px);
  border-color: var(--soul-color, var(--accent-primary));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85), 0 0 24px var(--soul-glow, rgba(225, 29, 72, 0.25));
}

.pitcrew-color-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--soul-color, var(--accent-primary));
  box-shadow: 0 0 10px var(--soul-color, var(--accent-primary));
}

.soul-red    { --soul-color: #EF4444; --soul-glow: rgba(239, 68, 68, 0.35); }
.soul-black  { --soul-color: #94A3B8; --soul-glow: rgba(148, 163, 184, 0.35); }
.soul-white  { --soul-color: #F8FAFC; --soul-glow: rgba(248, 250, 252, 0.35); }
.soul-yellow { --soul-color: #FACC15; --soul-glow: rgba(250, 204, 21, 0.35); }
.soul-orange { --soul-color: #FB923C; --soul-glow: rgba(251, 146, 60, 0.35); }
.soul-pink   { --soul-color: #F472B6; --soul-glow: rgba(244, 114, 182, 0.35); }
.soul-purple { --soul-color: #C084FC; --soul-glow: rgba(192, 132, 252, 0.35); }
.soul-green  { --soul-color: #10B981; --soul-glow: rgba(16, 185, 129, 0.35); }
.soul-choc   { --soul-color: #D97706; --soul-glow: rgba(217, 119, 6, 0.35); }
.soul-blue   { --soul-color: #60A5FA; --soul-glow: rgba(96, 165, 250, 0.35); }

/* Pit Crew RAW Garnet Mineral Showcase */
.pitcrew-crystal-showcase {
  margin-bottom: 14px;
}

.pitcrew-crystal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: radial-gradient(circle at center, #0B0E17 0%, #04060A 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.85);
}

.pitcrew-crystal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.92) contrast(1.08);
}

.pitcrew-card:hover .pitcrew-crystal-img {
  transform: scale(1.09);
  filter: brightness(1.08) contrast(1.15);
}

.pitcrew-crystal-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 85%, var(--soul-glow, rgba(239, 68, 68, 0.3)) 0%, transparent 70%);
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.pitcrew-card:hover .pitcrew-crystal-overlay {
  opacity: 0.85;
}

.pitcrew-crystal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 0.60rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.specimen-tag {
  color: var(--soul-color, var(--accent-primary));
  font-weight: 700;
  text-shadow: 0 0 8px var(--soul-glow, rgba(239, 68, 68, 0.4));
}

.specimen-facet {
  color: var(--text-dim);
  font-size: 0.55rem;
}

.pitcrew-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.crystal-facet-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px var(--soul-glow, rgba(239, 68, 68, 0.45)));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pitcrew-card:hover .crystal-facet-icon {
  transform: scale(1.2) rotate(12deg);
}

.pitcrew-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-high-contrast);
  margin-bottom: 2px;
}

.pitcrew-hero-ref {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.pitcrew-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-body);
}

/* ==================== 5. LAP BENCHMARK COMPARISON ==================== */
.benchmark-card {
  background: var(--bg-card);
  border: var(--border-lightblade);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-monocoque);
  backdrop-filter: blur(16px);
}

.benchmark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.benchmark-col {
  padding: 36px 40px;
}

.benchmark-col.legacy {
  background: rgba(11, 14, 21, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.benchmark-col.racing {
  background: rgba(16, 22, 34, 0.85);
  box-shadow: inset 0 0 40px rgba(16, 185, 129, 0.05);
}

.benchmark-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.benchmark-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.benchmark-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.metric-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==================== 6. THE SOVEREIGN DUAL BRAINS (BACAN & KALIMAYA) ==================== */
.dual-brains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin-top: 10px;
}

.brain-card {
  position: relative;
  background: linear-gradient(145deg, rgba(14, 18, 26, 0.96) 0%, rgba(8, 10, 15, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

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

.section-pill.pill-dual-brains {
  border-color: #00B894;
  color: #00E2B0;
  background: rgba(0, 184, 148, 0.08);
}

/* Bacan AI (Otak Kiri - True Greenish + Blue Chrysocolla) */
.brain-card.brain-bacan {
  border-color: rgba(0, 184, 148, 0.35);
}

.brain-card.brain-bacan:hover {
  border-color: #00B894;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 184, 148, 0.3), 0 0 35px rgba(2, 132, 199, 0.25);
}

.kerb-border-bacan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #00B894 0px,
    #00B894 16px,
    #0284C7 16px,
    #0284C7 32px,
    #03141E 32px,
    #03141E 48px
  );
  opacity: 0.85;
}

/* Kalimaya AI (Otak Kanan - Red Danger Track Edition) */
.brain-card.brain-kalimaya {
  border-color: rgba(225, 29, 72, 0.35);
}

.brain-card.brain-kalimaya:hover {
  border-color: #E11D48;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(225, 29, 72, 0.35), 0 0 35px rgba(190, 18, 60, 0.3);
}

.kerb-border-kalimaya {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #E11D48 0px,
    #E11D48 16px,
    #BE123C 16px,
    #BE123C 32px,
    #160306 32px,
    #160306 48px
  );
  opacity: 0.9;
}

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

.brain-hemi-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}

.hemi-left {
  background: linear-gradient(135deg, rgba(0, 184, 148, 0.15) 0%, rgba(2, 132, 199, 0.15) 100%);
  color: #00E2B0;
  border: 1px solid rgba(0, 184, 148, 0.4);
}

.hemi-right {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.15) 0%, rgba(190, 18, 60, 0.15) 100%);
  color: #FF4D6D;
  border: 1px solid rgba(225, 29, 72, 0.45);
}

.status-pill-coming-soon.bacan-cyan {
  background: linear-gradient(135deg, rgba(0, 184, 148, 0.14) 0%, rgba(2, 132, 199, 0.14) 100%);
  color: #38BDF8;
  border: 1px solid rgba(2, 132, 199, 0.45);
}

.status-pill-coming-soon.kalimaya-pink,
.status-pill-coming-soon.kalimaya-red {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.15) 0%, rgba(190, 18, 60, 0.15) 100%);
  color: #FF4D6D;
  border: 1px solid rgba(225, 29, 72, 0.45);
}

.brain-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

/* Transparent Vector Crystal Badges (Consistent with Garnet Engine Logos) */
.engine-logo-badge.logo-bacan {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(0, 184, 148, 0.65)) drop-shadow(0 0 24px rgba(2, 132, 199, 0.5));
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease;
}

.brain-card:hover .engine-logo-badge.logo-bacan {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0 18px rgba(0, 184, 148, 0.95)) drop-shadow(0 0 32px rgba(2, 132, 199, 0.75)) drop-shadow(0 0 46px rgba(0, 226, 176, 0.5));
}

.engine-logo-badge.logo-kalimaya {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
  /* Aura Red Danger Laser Crimson (Fire Opal Bevels) */
  filter: 
    drop-shadow(0 0 12px rgba(225, 29, 72, 0.65))
    drop-shadow(0 0 24px rgba(190, 18, 60, 0.50))
    drop-shadow(0 0 38px rgba(255, 77, 109, 0.35));
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), filter 0.28s ease;
}

.brain-card:hover .engine-logo-badge.logo-kalimaya {
  transform: scale(1.08) rotate(2deg);
  filter: 
    drop-shadow(0 0 18px rgba(225, 29, 72, 0.95))
    drop-shadow(0 0 32px rgba(190, 18, 60, 0.75))
    drop-shadow(0 0 48px rgba(255, 77, 109, 0.55));
}

.brain-title-group {
  flex: 1;
  min-width: 0;
}

.brain-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.text-bacan {
  background: linear-gradient(135deg, #00B894 0%, #0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(0, 184, 148, 0.45));
}

.text-kalimaya {
  background: linear-gradient(135deg, #FF4D6D 0%, #E11D48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(225, 29, 72, 0.45));
}

/* Opsi 2: Gradasi Red Danger Monokromatik (Laser Red ke Deep Vulcan Crimson) */
.text-kalimaya-solid,
.text-kalimaya-pricing {
  background: linear-gradient(135deg, #FF4D6D 0%, #E11D48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(225, 29, 72, 0.45));
}

.brain-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #94A3B8;
  letter-spacing: 0.02em;
  margin-top: 5px;
}

.brain-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Layanan Tersedia / Deliverables Scope Pills */
.brain-scope-container {
  background: rgba(8, 12, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0 20px;
}

.brain-scope-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.brain-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.scope-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-high-contrast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.scope-pill-full {
  grid-column: 1 / -1;
  justify-content: center;
}

.brain-bacan .scope-pill:hover {
  border-color: #00B894;
  color: #00E2B0;
  background: rgba(0, 184, 148, 0.1);
  box-shadow: 0 0 12px rgba(0, 184, 148, 0.25);
}

.brain-kalimaya .scope-pill:hover {
  border-color: #E11D48;
  color: #FF4D6D;
  background: rgba(225, 29, 72, 0.12);
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.3);
}

/* Card Footer: Price Tiers on Left, Launch Coming Soon on Right */
.brain-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  margin-top: auto;
  gap: 16px;
}

.brain-price-box {
  display: flex;
  flex-direction: column;
}

.brain-price-tier {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brain-price-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 3px;
}

.btn-inactive-bacan,
.btn-inactive-kalimaya {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.75;
  white-space: nowrap;
}

/* ==================== 6.5. FOUNDER CREED DOCTRINE ==================== */
.section-creed {
  padding: 60px 0 20px;
  position: relative;
  z-index: 10;
}

.creed-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(16, 18, 24, 0.96) 0%, rgba(8, 9, 13, 0.98) 100%);
  border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(225, 6, 0, 0.12);
  backdrop-filter: blur(20px);
}

.creed-kerb-top,
.creed-kerb-bottom {
  height: 4px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--racing-red) 0px,
    var(--racing-red) 24px,
    var(--racing-white) 24px,
    var(--racing-white) 48px
  );
  opacity: 0.85;
}

.creed-glow-aura {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.18) 0%, rgba(245, 158, 11, 0.1) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.creed-content {
  padding: 48px 46px 40px;
  position: relative;
  z-index: 2;
}

.creed-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.creed-quote-wrapper {
  position: relative;
  margin-bottom: 28px;
}

.creed-quote-mark {
  position: absolute;
  top: -38px;
  left: -20px;
  font-family: Georgia, serif;
  font-size: 6.5rem;
  line-height: 1;
  color: rgba(225, 6, 0, 0.18);
  user-select: none;
  pointer-events: none;
}

.creed-quote-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text-high-contrast);
  margin: 0;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
  font-style: italic;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.creed-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.creed-author-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.creed-dna-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-secondary);
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .creed-content {
    padding: 32px 22px 26px;
  }
  .creed-quote-text {
    font-size: 1.15rem;
  }
  .creed-quote-mark {
    font-size: 4rem;
    top: -24px;
    left: -10px;
  }
}

/* ==================== 7. SOVEREIGN COCKPIT FORM ==================== */
.cockpit-form-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: var(--border-lightblade);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-vulcan);
  backdrop-filter: blur(16px);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: #04060A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--trans-paddle);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.35);
  background: #070B12;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.radio-pit-feedback {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--apex-emerald);
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 0.88rem;
  margin-top: 20px;
}

/* ==================== 8. SITE FOOTER ==================== */
.site-footer {
  background: #020306;
  border-top: 1px solid rgba(225, 29, 72, 0.25);
  padding: 70px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-high-contrast);
  margin-bottom: 18px;
}

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

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  transition: color var(--trans-paddle);
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

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

.footer-copy-text {
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-bottom-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-sep {
  opacity: 0.35;
  color: var(--text-dim);
}

/* ==================== UTILITY COLORS ==================== */
.text-red     { color: #EF4444 !important; }
.text-emerald { color: #10B981 !important; }
.text-cyan    { color: #06B6D4 !important; }
.text-amber   { color: #F59E0B !important; }
.text-dim     { color: #64748B !important; }

/* ==================== SOVEREIGN MOBILE SIDEBAR DRAWER (XIAOMI POCO F7 CALIBRATED) ==================== */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 1998;
}

.sidebar-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sidebar-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: rgba(8, 11, 18, 0.98);
  border-left: 1px solid rgba(225, 29, 72, 0.35);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(225, 29, 72, 0.2);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: env(safe-area-inset-bottom, 20px);
  padding-top: env(safe-area-inset-top, 0px);
}

.mobile-sidebar-drawer.open {
  right: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.4);
  border-radius: 8px;
  color: #FFFFFF;
  cursor: pointer;
  transition: all var(--trans-paddle);
}

.sidebar-close-btn:hover,
.sidebar-close-btn:active {
  background: var(--accent-primary);
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.5);
  transform: scale(0.96);
}

.sidebar-scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-section-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all var(--trans-paddle);
  min-height: 48px; /* Xiaomi POCO F7 thumb target >= 48px */
}

.sidebar-link:hover,
.sidebar-link:active,
.sidebar-link.active {
  color: #FFFFFF;
  background: rgba(225, 29, 72, 0.16);
  border-color: rgba(225, 29, 72, 0.4);
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.2);
}

.sidebar-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-high-contrast);
}

.sidebar-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(225, 29, 72, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(225, 29, 72, 0.3);
  letter-spacing: 0.05em;
  transition: all var(--trans-paddle);
}

.sidebar-link:hover .sidebar-num,
.sidebar-link.active .sidebar-num {
  background: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.4);
}

.sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  min-height: 48px;
  font-size: 0.82rem;
}

.sidebar-cockpit-btn {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  min-height: 48px;
  box-shadow: 0 4px 22px rgba(225, 29, 72, 0.55);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .engines-grid,
  .engines-grid-sovereign {
    grid-template-columns: 1fr;
  }
  .pitcrew-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hud-decoder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benchmark-grid {
    grid-template-columns: 1fr;
  }
  .dual-brains-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-header {
    width: calc(100% - 16px);
    top: 8px;
    margin: 8px auto 0;
  }
  .navbar {
    height: 60px;
    padding: 0 14px;
  }
  .brand-logo-img {
    height: 32px;
  }
  .nav-menu {
    display: none !important;
  }
  .nav-actions .telemetry-audio-toggle {
    display: none !important;
  }
  .nav-actions .btn-sm {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(225, 29, 72, 0.12);
    border: 1px solid rgba(225, 29, 72, 0.35);
    border-radius: 6px;
    color: #FFFFFF;
    cursor: pointer;
  }
  .mobile-toggle:hover,
  .mobile-toggle:active {
    background: rgba(225, 29, 72, 0.25);
    border-color: var(--accent-primary);
  }
  .hero-telemetry-strip {
    flex-direction: column;
    gap: 16px;
    border-radius: 12px;
  }
  .strip-divider {
    width: 60%;
    height: 1px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .pitcrew-grid {
    grid-template-columns: 1fr;
  }
  .hud-decoder-grid {
    grid-template-columns: 1fr;
  }
  .garnet-hud-decoder {
    padding: 14px 14px;
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 50px 0 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 20px;
  }
  .footer-bottom-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
  .footer-legal-inline {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }
  .footer-ticker {
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 10px;
  }
  .lang-selector-btn {
    padding: 6px 9px;
    font-size: 0.68rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .footer-bottom {
    font-size: 0.74rem;
  }
  .footer-legal-inline {
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-legal-link {
    font-size: 0.74rem;
  }
}

