/* ==========================================================================
   AERKOR Aerospace Technology — Design System & Flagship Stylesheet
   Tokens: Aerospace Deep Carbon + Turbine Cyan + Thermal Amber + Emerald
   Supports LTR (EN / 中文) & RTL (العربية) via logical CSS properties
   ========================================================================== */

:root {
  --bg-base: #070A0F;
  --bg-surface: #0D131E;
  --bg-elevated: #131C2B;
  --bg-glass: rgba(13, 19, 30, 0.86);
  --border-subtle: rgba(226, 232, 240, 0.09);
  --border-strong: rgba(226, 232, 240, 0.2);

  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --accent-cyan: #00D4FF;
  --accent-cyan-dim: rgba(0, 212, 255, 0.14);
  --accent-amber: #FF8A1E;
  --accent-amber-dim: rgba(255, 138, 30, 0.14);
  --accent-emerald: #10B981;
  --accent-emerald-dim: rgba(16, 185, 129, 0.14);
  --accent-danger: #EF4444;

  --font-heading: 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --container-max: 1260px;
  --header-h: 74px;
  --transition-fast: 160ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-med: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent-cyan);
  color: #041018;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  inset-block-start: 16px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

[dir="rtl"] .mono,
[dir="rtl"] .kpi-value,
[dir="rtl"] .spec-v,
[dir="rtl"] .uav-metric-v,
[dir="rtl"] .tele-v {
  direction: ltr;
  unicode-bidi: isolate;
}

.is-hidden {
  display: none !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-wordmark {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-primary);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--accent-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 3px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

.lang-btn {
  min-width: 44px;
  min-height: 38px;
  padding-inline: 10px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.is-active {
  background: var(--accent-cyan);
  color: #041018;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent-cyan);
  color: #041018;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.22);
}

.btn-primary:hover {
  background: #38DFFF;
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.36);
}

.btn-amber {
  background: var(--accent-amber);
  color: #160B02;
}

.btn-amber:hover {
  background: #FFA047;
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: #182336;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-block-start: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 16px 24px 24px;
}

.mobile-drawer.is-open {
  display: block;
}

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

/* ==========================================================================
   Hero & Real Hardware Showcase
   ========================================================================== */

.hero {
  position: relative;
  padding-block: 64px 54px;
  background-image:
    radial-gradient(circle at 75% 18%, rgba(0, 212, 255, 0.14), transparent 44%),
    radial-gradient(circle at 18% 72%, rgba(255, 138, 30, 0.10), transparent 40%),
    linear-gradient(to right, rgba(226, 232, 240, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  border-block-end: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.02fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-block-end: 18px;
}

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

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.3vw, 3.65rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 58ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-end: 28px;
}

.division-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.division-pill {
  padding: 16px;
  background: rgba(13, 19, 30, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.division-pill-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-block-end: 6px;
}

.division-pill--cyan .division-pill-tag { color: var(--accent-cyan); }
.division-pill--amber .division-pill-tag { color: var(--accent-amber); }

.division-pill h2 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.division-pill p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Hero Real Photo Stage */
.hero-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-photo-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #06090E;
  border: 1px solid var(--border-subtle);
  margin-block-end: 12px;
}

.hero-photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-photo-stage:hover img {
  transform: scale(1.025);
}

/* Vertical turbojet stills: contain + white plate so inlet/nozzle are never cover-cropped. */
.hero-photo-stage.is-contain-photo {
  background: #ffffff;
}
.hero-photo-stage.is-contain-photo img {
  object-fit: contain;
  background: #ffffff;
}
.hero-photo-stage.is-contain-photo:hover img {
  transform: none;
}

.hero-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 15, 0.58) 0%,
    rgba(7, 10, 15, 0) 34%,
    rgba(7, 10, 15, 0.12) 55%,
    rgba(7, 10, 15, 0.92) 100%
  );
  pointer-events: none;
}

.hero-hud-top {
  position: absolute;
  inset-block-start: 12px;
  inset-inline: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.hero-hud-pill {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(7, 10, 15, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.34);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
}

.hero-hud-counter {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(7, 10, 15, 0.76);
  border: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.hero-hud-bottom {
  position: absolute;
  inset-block-end: 12px;
  inset-inline: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.hero-hud-meta {
  min-width: 0;
}

.hero-hud-code {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
}

.hero-hud-spec {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-inspect-btn {
  flex-shrink: 0;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.18);
  border: 1px solid rgba(0, 212, 255, 0.48);
  color: #E0F9FF;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.hero-inspect-btn:hover {
  background: var(--accent-cyan);
  color: #041018;
}

.hero-thumb-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.hero-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px;
  background: #080D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.hero-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0.72;
  transition: opacity var(--transition-fast);
}

.hero-thumb--contain img {
  object-fit: contain;
  background: #ffffff;
}

.hero-thumb span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-thumb:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.hero-thumb:hover img,
.hero-thumb.is-active img {
  opacity: 1;
}

.hero-thumb.is-active {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.1);
}

.hero-thumb.is-active span {
  color: var(--accent-cyan);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-block-start: 38px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.kpi-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-block-end: 4px;
}

.kpi-value--cyan { color: var(--accent-cyan); }
.kpi-value--amber { color: var(--accent-amber); }
.kpi-value--emerald { color: var(--accent-emerald); }

.kpi-label {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Shared Section Framing
   ========================================================================== */

.section {
  padding-block: 76px;
  border-block-end: 1px solid var(--border-subtle);
}

.section--alt {
  background: linear-gradient(180deg, rgba(13, 19, 30, 0.55) 0%, rgba(7, 10, 15, 0) 100%);
}

.section-head {
  max-width: 780px;
  margin-block-end: 34px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-block-end: 10px;
}

.section-tag--amber { color: var(--accent-amber); }
.section-tag--emerald { color: var(--accent-emerald); }

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* ==========================================================================
   Section 1: AERKOR Industrial Fleet (5-Family Spotlight + 18-Model Catalog)
   ========================================================================== */

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-block-end: 22px;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: 4px;
  min-height: 64px;
  padding: 13px 15px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.tab-btn.is-active {
  border-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.25);
}

.tab-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.tab-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.platform-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 28px;
  padding: 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.platform-media-box {
  background: #080D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.platform-media-toggle {
  display: flex;
  gap: 6px;
  margin-block-end: 10px;
}

.platform-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #06090E;
  border: 1px solid var(--border-subtle);
}

.platform-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.platform-photo-frame img.is-hidden,
.platform-photo-frame video.is-hidden {
  display: none;
}

.platform-photo-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #06090E;
  z-index: 1;
}

.platform-photo-frame:hover img {
  transform: scale(1.03);
}

.photo-corner-tag {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 4;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(7, 10, 15, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.38);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.photo-corner-tag--cgi {
  inset-inline-start: auto;
  inset-inline-end: 10px;
  border-color: rgba(255, 138, 30, 0.48);
  color: var(--accent-amber);
}

.photo-corner-tag--cgi.is-hidden {
  display: none;
}

.platform-photo-frame .photo-zoom-btn {
  z-index: 4;
}

.photo-corner-tag--amber {
  border-color: rgba(255, 138, 30, 0.42);
  color: var(--accent-amber);
}

.photo-zoom-btn {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-end: 10px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(7, 10, 15, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.photo-zoom-btn:hover {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
  color: #041018;
}

.variant-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-pill {
  min-height: 38px;
  padding: 6px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.variant-pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.variant-pill.is-active {
  background: var(--accent-cyan-dim);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.platform-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.badge--cyan {
  background: var(--accent-cyan-dim);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--accent-cyan);
}

.badge--amber {
  background: var(--accent-amber-dim);
  border-color: rgba(255, 138, 30, 0.3);
  color: var(--accent-amber);
}

.badge--emerald {
  background: var(--accent-emerald-dim);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.platform-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-block-end: 6px;
}

.platform-info h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.22;
}

.platform-summary {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-block-end: 18px;
}

.spec-grid--six {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec-item {
  padding: 11px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.spec-k {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-block-end: 2px;
}

.spec-v {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
}

.use-cases-list {
  margin: 0 0 20px;
  padding-inline-start: 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.use-cases-list li + li {
  margin-block-start: 6px;
}

.platform-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Complete 18-Model Fleet Catalog */
.fleet-catalog-box {
  margin-block-start: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.fleet-controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-toggle {
  display: inline-flex;
  padding: 3px;
  background: #080D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.view-toggle-btn {
  min-height: 38px;
  padding: 6px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-toggle-btn.is-active {
  background: var(--accent-cyan);
  color: #041018;
}

.fleet-filters {
  margin-block-end: 20px;
}

.filter-pill--cyan.is-active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #041018;
}

.fleet-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.uav-card {
  display: flex;
  flex-direction: column;
  background: #090E17;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.uav-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}

.uav-card.is-selected {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.35), 0 14px 36px rgba(0, 212, 255, 0.1);
}

.uav-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #06090E;
  cursor: pointer;
}

.uav-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.uav-card:hover .uav-card-media img {
  transform: scale(1.04);
}

.uav-card-top-badges {
  position: absolute;
  inset-block-start: 10px;
  inset-inline: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.uav-card-cat {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(7, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
}

.uav-card-code {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(7, 10, 15, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.uav-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.uav-card-title {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.04rem;
  line-height: 1.28;
}

.uav-card-desc {
  margin: 0 0 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uav-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-block-start: auto;
  margin-block-end: 14px;
}

.uav-metric-k {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uav-metric-v {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uav-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.uav-card-actions .btn-xs {
  min-height: 38px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Section 2: AERKOR Propulsion & Live Micro-Turbojet Simulator
   ========================================================================== */

.prop-photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-block-end: 22px;
}

.prop-photo-card {
  margin: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.prop-photo-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #ffffff;
  overflow: hidden;
}

.prop-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prop-photo-card figcaption {
  padding: 12px 16px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  border-block-start: 1px solid var(--border-subtle);
}

.propulsion-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.propulsion-layout > *,
.fleet-catalog-box,
.matrix-section-box,
.platform-panel > *,
.roi-grid > *,
.contact-grid > * {
  min-width: 0;
}

.propulsion-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stage-3d-wrap {
  position: relative;
  width: 100%;
  height: 620px;
  background: #0b0f14;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-block-end: 14px;
}

.stage-3d-wrap.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 500;
  height: 100vh;
  border-radius: 0;
  margin: 0;
}

#turbojetConceptVideo,
#turbojet3dFrame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0b0f14;
}

#turbojetConceptVideo {
  object-fit: cover;
}

#turbojetConceptVideo.is-hidden,
#turbojet3dFrame.is-hidden {
  display: none;
}

.stage-status-bar {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 20;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(13, 19, 30, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  pointer-events: none;
}

.stage-exit-fs {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 280px;
  z-index: 30;
  display: none;
}

.stage-3d-wrap.is-fullscreen .stage-exit-fs,
.stage-3d-wrap:fullscreen .stage-exit-fs {
  display: inline-flex;
}

.prop-card {
  text-align: start;
  width: 100%;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.prop-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.prop-card.is-active {
  border-color: var(--accent-amber);
  background: rgba(255, 138, 30, 0.08);
}

.prop-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-block-end: 8px;
}

.prop-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.prop-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.12rem;
}

.prop-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.sim-console {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sim-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-block-end: 16px;
}

.sim-title-wrap h3 {
  margin: 0 0 2px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.sim-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.sim-mode-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sim-mode-btn {
  min-height: 44px;
  padding: 8px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-mode-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.sim-mode-btn.is-active {
  background: var(--accent-amber-dim);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.sim-canvas-wrap {
  position: relative;
  background: #06090E;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-block-end: 18px;
}

#turbojetCanvas {
  width: 100%;
  height: 290px;
  display: block;
}

.throttle-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-block-end: 16px;
}

.throttle-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.throttle-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-amber);
  min-width: 56px;
  text-align: end;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: #233047;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-amber);
  border: 2px solid #070A0F;
  box-shadow: 0 0 12px rgba(255, 138, 30, 0.6);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-amber);
  border: 2px solid #070A0F;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-block-end: 12px;
}

.tele-box {
  padding: 12px;
  background: #090E17;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.tele-k {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.tele-v {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sim-footnote {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sim-model-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: 14px;
}

.sim-pill {
  min-height: 38px;
  padding: 6px 12px;
  background: #090E17;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.sim-pill.is-active {
  background: var(--accent-amber-dim);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.sim-phys-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 10px 14px;
  background: #090E17;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-block-end: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.sim-phys-strip strong {
  color: var(--text-primary);
}

.prop-standards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-block-start: 28px;
}

.std-card {
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.std-card-k {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-block-end: 6px;
  text-transform: uppercase;
}

.std-card-v {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.matrix-section-box {
  margin-block-start: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.matrix-top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-block-end: 18px;
}

.matrix-top-bar h3 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.matrix-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.matrix-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  min-height: 40px;
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.filter-pill.is-active {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #160B02;
}

.engine-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #080D16;
}

.engine-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  font-size: 0.88rem;
  text-align: start;
}

.engine-table th {
  padding: 13px 14px;
  background: #0D1422;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-block-end: 1px solid var(--border-strong);
  white-space: nowrap;
}

.engine-table td {
  padding: 11px 14px;
  border-block-end: 1px solid var(--border-subtle);
  vertical-align: middle;
  white-space: nowrap;
}

.engine-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.engine-table tbody tr.row-highlight {
  background: rgba(255, 138, 30, 0.05);
}

.engine-table tbody tr.row-active {
  background: rgba(0, 212, 255, 0.09);
  box-shadow: inset 3px 0 0 var(--accent-cyan);
}

[dir="rtl"] .engine-table tbody tr.row-active {
  box-shadow: inset -3px 0 0 var(--accent-cyan);
}

.engine-code-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
}

.row-actions {
  display: inline-flex;
  gap: 6px;
}

.btn-xs {
  min-height: 36px;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-xs:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.btn-xs--primary {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--accent-cyan);
}

.btn-xs--primary:hover {
  background: var(--accent-cyan);
  color: #041018;
}

/* ==========================================================================
   Section 3: Interactive ROI Calculator
   ========================================================================== */

.roi-mode-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-block-end: 24px;
}

.roi-mode-btn {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.roi-mode-btn.is-active {
  background: var(--accent-emerald);
  color: #03150E;
}

.roi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
}

.roi-controls,
.roi-results {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.control-group {
  margin-block-end: 20px;
}

.control-group:last-child {
  margin-block-end: 0;
}

.control-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-block-end: 8px;
}

.control-head label {
  font-weight: 600;
  font-size: 0.94rem;
}

.control-readout {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent-emerald);
}

.roi-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-block-end: 24px;
}

.roi-kpi-card {
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.roi-kpi-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-block-end: 4px;
}

.roi-kpi-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.roi-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block-end: 24px;
}

.bar-row-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-block-end: 6px;
}

.bar-track {
  height: 12px;
  background: #080D16;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width var(--transition-med);
}

.bar-fill--legacy {
  background: linear-gradient(90deg, #64748B, #94A3B8);
}

.bar-fill--aerkor {
  background: linear-gradient(90deg, #059669, #10B981);
}

.roi-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* ==========================================================================
   Section 4: Responsible Use & Export Compliance
   ========================================================================== */

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.compliance-card {
  padding: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.compliance-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-emerald-dim);
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 14px;
}

.compliance-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.04rem;
}

.compliance-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Section 5: Global B2B Contact & Inquiry Portal
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
}

.contact-info-card,
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 16px 24px;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.channel-item {
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.channel-item-k {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-block-end: 2px;
}

.channel-item-v {
  font-family: var(--font-mono);
  font-size: 0.94rem;
  color: var(--accent-cyan);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  background: #080D16;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.field select {
  text-overflow: ellipsis;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.16);
}

.field-error {
  font-size: 0.8rem;
  color: #FCA5A5;
  min-height: 18px;
}

.form-status {
  margin-block-start: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: var(--accent-emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #A7F3D0;
}

/* ==========================================================================
   Full-Spec UAV Detail Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 7, 12, 0.82);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-block-end: 1px solid var(--border-subtle);
  background: #090E17;
}

.modal-header-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

.modal-body {
  padding: 22px;
  overflow-y: auto;
}

.modal-hero-photo {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #06090E;
  margin-block-end: 18px;
}

.modal-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.modal-summary {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.modal-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-block-end: 20px;
}

.modal-subhead {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  border-block-start: 1px solid var(--border-subtle);
  background: #090E17;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: 40px 48px;
  background: #05070B;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-note {
  max-width: 660px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 8px 0 0;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1060px) {
  .primary-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .platform-panel,
  .propulsion-layout,
  .roi-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .kpi-strip,
  .compliance-grid,
  .prop-standards-grid,
  .fleet-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .propulsion-cards,
  .prop-photo-strip {
    grid-template-columns: 1fr;
  }

  .stage-3d-wrap {
    height: 480px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand-link {
    gap: 8px;
  }

  .brand-link svg {
    width: 34px;
    height: 34px;
  }

  .brand-wordmark {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .header-actions {
    gap: 6px;
  }

  .lang-btn {
    min-width: 34px;
    min-height: 34px;
    padding-inline: 7px;
    font-size: 0.72rem;
  }

  .hero {
    padding-block: 40px 34px;
  }

  .section {
    padding-block: 52px;
  }

  .division-pills,
  .kpi-strip,
  .platform-tabs,
  .spec-grid,
  .spec-grid--six,
  .fleet-cards-grid,
  .telemetry-grid,
  .roi-kpis,
  .compliance-grid,
  .prop-standards-grid,
  .form-grid,
  .modal-spec-grid {
    grid-template-columns: 1fr;
  }

  .hero-thumb-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .hero-thumb span {
    font-size: 0.6rem;
  }

  .hero-hud-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .throttle-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .throttle-val {
    text-align: start;
  }

  .brand-sub {
    display: none;
  }

  .modal-footer {
    flex-direction: column-reverse;
  }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Promo graft only: concept film lives inside the existing 16:9 photo stage.
   Do not change .hero-grid, .division-pills, or photo aspect ratio.
   ========================================================================== */

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
}

.section[id],
#top,
#systems,
#propulsion,
#roi,
#compliance,
#contact {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Chinese text should not inherit Latin tracking from the root. */
html:lang(zh-CN) {
  letter-spacing: 0;
}

.hero-media-toggle {
  display: flex;
  gap: 6px;
  margin-block-end: 10px;
}

.hero-mode-btn {
  flex: 1;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.hero-mode-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.hero-mode-btn.is-active {
  background: var(--accent-cyan-dim);
  border-color: rgba(0, 212, 255, 0.45);
  color: var(--accent-cyan);
}

/* Film and still share the same 16:9 box; never stretch. */
.hero-photo-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #06090E;
  z-index: 1;
}

.hero-photo-stage video.is-hidden {
  display: none;
}

.hero-photo-stage .hero-photo-scrim {
  z-index: 2;
}

.hero-photo-stage .hero-hud-top,
.hero-photo-stage .hero-hud-bottom {
  z-index: 4;
}

.hero-photo-stage.is-concept:hover img {
  transform: none;
}

/* ==========================================================================
   Homepage billboard, product family menu, category row, and view shells
   Reuses existing tokens, type, and component language — no new palette or fonts
   ========================================================================== */

.site-view[hidden] {
  display: none !important;
}

.primary-nav {
  position: relative;
}

.nav-item {
  position: relative;
}

.nav-item > .nav-link {
  cursor: pointer;
}

.nav-dropdown {
  display: none;
  position: absolute;
  inset-block-start: calc(100% - 4px);
  inset-inline-start: 0;
  min-width: 260px;
  padding: 12px 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 120;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  display: block;
}

.nav-drop-label {
  margin: 8px 8px 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.nav-drop-label:first-child {
  margin-block-start: 0;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-drawer .mobile-nav-group {
  border-block-end: 1px solid var(--border-subtle);
  padding-block: 8px;
}

.mobile-drawer .mobile-nav-group-title {
  display: block;
  padding: 8px 4px 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.mobile-drawer .mobile-nav-group a {
  display: block;
}

/* Single-product first screen: studio still on top, copy below, both inside the first viewport. Never overlay the aircraft, never stretch. */
.flagship-billboard {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: #ffffff;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.flagship-photo-stage {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

.flagship-billboard .flagship-photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.flagship-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 64px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0d131e;
  box-shadow: 0 2px 14px rgba(13, 19, 30, 0.16);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.flagship-arrow svg {
  width: 26px;
  height: 26px;
  display: block;
}

.flagship-arrow-prev {
  left: 18px;
  right: auto;
}

.flagship-arrow-next {
  right: 18px;
  left: auto;
}

.flagship-arrow:hover,
.flagship-arrow:focus-visible {
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(13, 19, 30, 0.22);
  outline: none;
}

.flagship-arrow:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 122, 148, 0.35), 0 4px 18px rgba(13, 19, 30, 0.22);
}

[dir="rtl"] .flagship-arrow-prev {
  left: 18px;
  right: auto;
}

[dir="rtl"] .flagship-arrow-next {
  right: 18px;
  left: auto;
}

.flagship-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4px 32px calc(28px + env(safe-area-inset-bottom, 0px));
  color: #0d131e;
  background: #ffffff;
}

.flagship-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #007a94;
}

.flagship-name {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #0d131e;
}

.flagship-line {
  margin: 0 0 22px;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #334155;
}

.flagship-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  margin-block-end: 24px;
}

.flagship-stat-v {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #0d131e;
  letter-spacing: -0.02em;
}

.flagship-stat-k {
  font-size: 0.8rem;
  color: #64748b;
}

.flagship-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flagship-billboard .flagship-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
  margin-block-end: 18px;
}

.flagship-billboard .flagship-stats > div {
  padding: 0 18px;
  border-inline-start: 1px solid #d5dbe6;
  min-width: 0;
}

.flagship-billboard .flagship-stats > div:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.flagship-billboard .flagship-stat-v {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.15vw, 2.28rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #0d131e;
}

.flagship-billboard .flagship-stat-v--text {
  font-size: clamp(0.98rem, 1.15vw, 1.18rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 16rem;
}

.flagship-billboard .flagship-stat-k {
  margin-top: 4px;
  font-size: 0.8rem;
  color: #64748b;
}

@keyframes flagship-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes flagship-stat-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.flagship-billboard.is-bb-anim .flagship-photo,
.flagship-billboard.is-bb-anim .flagship-kicker,
.flagship-billboard.is-bb-anim .flagship-name,
.flagship-billboard.is-bb-anim .flagship-line {
  animation: flagship-fade-in 0.28s ease;
}

.flagship-billboard.is-bb-anim .flagship-stats > div {
  animation: flagship-stat-in 0.3s ease both;
}

.flagship-billboard.is-bb-anim .flagship-stats > div:nth-child(2) { animation-delay: 0.03s; }
.flagship-billboard.is-bb-anim .flagship-stats > div:nth-child(3) { animation-delay: 0.06s; }
.flagship-billboard.is-bb-anim .flagship-stats > div:nth-child(4) { animation-delay: 0.09s; }
.flagship-billboard.is-bb-anim .flagship-stats > div:nth-child(5) { animation-delay: 0.12s; }

.category-entry-row {
  padding-block: 56px 72px;
  border-block-start: 1px solid var(--border-subtle);
  background: var(--bg-base);
}

.category-entry-kicker {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.category-entry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-entry {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 100%;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.category-entry:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.category-entry-media {
  aspect-ratio: 16 / 9;
  background: #080d16;
  overflow: hidden;
}

.category-entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-entry-media.is-contain {
  background: #ffffff;
}

.category-entry-media.is-contain img {
  object-fit: contain;
}

.category-entry-body {
  padding: 14px 14px 16px;
}

.category-entry-name {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-entry-line {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.family-group-title {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.platform-photo-frame.is-contain,
.modal-hero-photo.is-contain,
.uav-card-media.is-contain {
  background: #ffffff;
}

.platform-photo-frame.is-contain img,
.modal-hero-photo.is-contain img,
.uav-card-media.is-contain img {
  object-fit: contain;
}

.platform-tabs.platform-tabs--auto {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-block-start: 12px;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.86rem;
}

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

@media (max-width: 1060px) {
  .category-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flagship-copy {
    padding-inline: 20px;
  }
}

@media (max-width: 640px) {
  .category-entry-grid {
    grid-template-columns: 1fr;
  }

  .flagship-name {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  .flagship-stats {
    gap: 14px 20px;
  }

  .flagship-arrow {
    width: 48px;
    height: 44px;
  }

  .flagship-arrow svg {
    width: 22px;
    height: 22px;
  }

  .flagship-arrow-prev {
    left: 8px;
  }

  .flagship-arrow-next {
    right: 8px;
  }

  [dir="rtl"] .flagship-arrow-prev {
    left: 8px;
    right: auto;
  }

  [dir="rtl"] .flagship-arrow-next {
    right: 8px;
    left: auto;
  }

  .flagship-billboard .flagship-stats > div {
    padding: 0 12px;
  }

  .flagship-billboard .flagship-stat-v {
    font-size: clamp(1.35rem, 5.6vw, 1.7rem);
  }

  .flagship-billboard .flagship-stat-v--text {
    font-size: 0.95rem;
    max-width: 11.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-entry:hover {
    transform: none;
  }

  .flagship-arrow {
    transition: none;
  }

  .flagship-billboard.is-bb-anim .flagship-photo,
  .flagship-billboard.is-bb-anim .flagship-kicker,
  .flagship-billboard.is-bb-anim .flagship-name,
  .flagship-billboard.is-bb-anim .flagship-line,
  .flagship-billboard.is-bb-anim .flagship-stats > div {
    animation: none;
  }
}

/* Restrained triple-sensor gimbal section — not a full-viewport billboard */
.gimbal-section {
  padding-block: 64px 56px;
  background: var(--bg-base);
  border-block-start: 1px solid var(--border-subtle);
}

.gimbal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.gimbal-photo-frame {
  background: #070a0f;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.gimbal-photo-frame img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.gimbal-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.gimbal-fact {
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.gimbal-fact h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
}

.gimbal-fact ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gimbal-fact li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.gimbal-fact li + li {
  margin-block-start: 2px;
}

@media (max-width: 1060px) {
  .gimbal-layout {
    grid-template-columns: 1fr;
  }
}


/* --- Promo split nav, homepage switcher, C-UAS, propulsion product panel --- */
.primary-nav {
  gap: 2px;
}
.primary-nav > .nav-item > .nav-link {
  padding-inline: 7px;
  font-size: 0.8rem;
}
.nav-dropdown--wide {
  min-width: 280px;
  max-height: min(70vh, 640px);
  overflow: auto;
}

.prop-product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.prop-product-pills button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 3px 10px;
  border: 1px solid #d0d7e2;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
}
.prop-product-pills button.is-active {
  border-color: #007a94;
  color: #007a94;
  background: #f0fbfd;
}
.flagship-copy {
  padding-block-start: 2px;
}
.flagship-line {
  margin-block-end: 14px;
}
.flagship-stats {
  margin-block-end: 16px;
  gap: 16px 28px;
}
.flagship-billboard .flagship-stats {
  margin-block-end: 16px;
  gap: 0;
}

.category-entry-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prop-product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-block-end: 32px;
  padding: 20px 0 8px;
}
.prop-product-media {
  min-height: 240px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prop-product-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}
.prop-product-kicker {
  margin: 8px 0 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.prop-product-info h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
}
.prop-product-summary {
  margin: 0 0 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 1414px) {
  .primary-nav,
  .header-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .prop-product {
    grid-template-columns: 1fr;
  }
}

.prop-product-media[hidden] {
  display: none !important;
}
.prop-product.is-no-photo {
  grid-template-columns: 1fr;
}
.prop-product.is-no-photo .prop-product-media {
  display: none !important;
}
#view-propulsion.is-engine-model .prop-photo-strip,
#view-propulsion.is-engine-model .propulsion-cards,
#view-propulsion.is-engine-model .sim-console,
#view-propulsion.is-engine-model .matrix-section-box,
#view-propulsion.is-engine-model .prop-standards-grid {
  display: none !important;
}
.prop-product .flagship-stat-v {
  color: var(--text-primary);
}
.prop-product .flagship-stat-k {
  color: var(--text-secondary);
}

.family-gate-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 18px;
  margin-block-end: 24px;
  background: rgba(255, 138, 30, 0.08);
  border: 1px solid rgba(255, 138, 30, 0.32);
  border-radius: var(--radius-md);
}
.family-gate-banner[hidden] {
  display: none !important;
}
.family-gate-banner p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1 1 280px;
}

/* ==========================================================================
   17-Configuration Turbojet Selection Matrix (SVG Scatter + Spec Card)
   ========================================================================== */
.selection-matrix-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
  gap: 18px;
  margin-block-end: 22px;
  align-items: start;
}

.matrix-svg-panel,
.matrix-detail-card {
  background: #080D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.matrix-svg-panel svg {
  width: 100%;
  height: auto;
  display: block;
}

.msvg-grid {
  stroke: rgba(148, 163, 184, 0.14);
  stroke-dasharray: 2 4;
}

.msvg-axis {
  fill: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.msvg-axis-title {
  fill: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.msvg-pair {
  stroke: #F43F5E;
  stroke-width: 1.25;
  stroke-dasharray: 4 3;
  opacity: 0.65;
}

.msvg-node {
  cursor: pointer;
  outline: none;
  transition: opacity 160ms ease;
}

.msvg-node.is-dim {
  opacity: 0.22;
}

.msvg-dot {
  fill-opacity: 0.82;
  stroke: #080D16;
  stroke-width: 1.5;
  transition: fill-opacity 160ms ease, stroke 160ms ease;
}

.msvg-node--compact .msvg-dot {
  fill: var(--accent-cyan);
}

.msvg-node--flagship .msvg-dot {
  fill: var(--accent-amber);
}

.msvg-node--heavy .msvg-dot {
  fill: #F43F5E;
}

.msvg-node:hover .msvg-dot,
.msvg-node:focus-visible .msvg-dot,
.msvg-node.is-active .msvg-dot {
  fill-opacity: 1;
  stroke: #FFFFFF;
  stroke-width: 2;
}

.msvg-ring {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  opacity: 0.85;
}

.msvg-lbl {
  fill: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.matrix-svg-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-block-start: 10px;
  padding-block-start: 10px;
  border-block-start: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.matrix-svg-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.matrix-svg-hint {
  color: var(--text-muted);
  font-size: 0.74rem;
  margin-inline-start: auto;
}

.msw {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.msw--compact { background: var(--accent-cyan); }
.msw--core { background: var(--accent-amber); }
.msw--heavy { background: #F43F5E; }

.matrix-detail-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-block-end: 12px;
}

.matrix-detail-head h4 {
  margin: 6px 0 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.matrix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.matrix-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-block-end: 12px;
}

.matrix-kpi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
}

.matrix-kpi b {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--accent-cyan);
}

.matrix-kpi span {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--text-muted);
}

.matrix-spec-list {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.matrix-spec-list td {
  padding: 5px 4px;
  border-block-end: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: top;
}

.matrix-spec-list td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.matrix-spec-list td:last-child {
  color: var(--text-primary);
  text-align: end;
}

.matrix-detail-foot {
  margin: 10px 0 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.engine-table tbody tr[data-code] {
  cursor: pointer;
}

@media (max-width: 1024px) {
  .selection-matrix-grid {
    grid-template-columns: 1fr;
  }
  .matrix-svg-hint {
    margin-inline-start: 0;
  }
}

@media (max-width: 640px) {
  .flagship-billboard .flagship-stats {
    gap: 16px 0;
    row-gap: 16px;
  }
  .stage-3d-wrap {
    height: 420px;
  }
  .matrix-svg-panel,
  .matrix-detail-card {
    padding: 12px;
  }
}

/* --- P3 Gemini Pilot: Obsidian Flagship Stage, Hero Film Toggle, Dark Propulsion Lab & Audio Brief --- */
/* 2026-11-30 decision: AK-1A/1B/1C use uncropped-ratio field-photo banners with no dark side gutters. */
.flagship-photo-stage.is-full-bleed-photo {
  background: #a9c8df;
}

.flagship-photo-stage.is-full-bleed-photo #bbPhoto {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: none;
  mask-image: none;
}

.flagship-photo-stage.is-obsidian-stage {
  background: #070a0f;
}

/* Every still is contained (its own aspect inside a wider stage), so the mask on the img box never
   reaches the real image edge. Match the stage to the stills' top-to-bottom ramp so the gutters blend. */
.flagship-photo-stage.is-obsidian-stage:has(#bbPhoto:not(.is-hidden)) {
  --bb-still-image: url('./assets/uav/ak-3tc-obsidian.webp');
  background: linear-gradient(180deg, #030303 0%, #131821 100%);
}

/* Ambient backdrop: a dark, blurred extension of the current still fills the wide gutters. The
   complete sharp image stays above it; only the backdrop is cropped, never the product. */
.flagship-photo-stage.is-obsidian-stage:has(#bbPhoto:not(.is-hidden))::before {
  content: '';
  position: absolute;
  inset: -32px;
  z-index: 0;
  pointer-events: none;
  background-image: var(--bb-still-image);
  background-position: center;
  background-size: cover;
  filter: blur(42px) brightness(0.26) saturate(0.65);
  opacity: 0.9;
}

.flagship-photo-stage.is-obsidian-stage .flagship-photo {
  object-fit: contain;
  /* A wide smoothstep-like feather: no visible seam where the still meets the dark gutters. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.22) 2%, rgba(0, 0, 0, 0.58) 5%, rgba(0, 0, 0, 0.88) 8%, #000 11%, #000 89%, rgba(0, 0, 0, 0.88) 92%, rgba(0, 0, 0, 0.58) 95%, rgba(0, 0, 0, 0.22) 98%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.22) 2%, rgba(0, 0, 0, 0.58) 5%, rgba(0, 0, 0, 0.88) 8%, #000 11%, #000 89%, rgba(0, 0, 0, 0.88) 92%, rgba(0, 0, 0, 0.58) 95%, rgba(0, 0, 0, 0.22) 98%, transparent 100%);
}

/* Size the still's box to the image itself (not the stage) so the side mask above lands on the real
   image edge. Uncropped field photos (AK-1A/1B, AK-350A/B) would otherwise stop at a hard vertical
   edge against the dark gutters. The video keeps the full stage box. */
.flagship-photo-stage.is-obsidian-stage #bbPhoto {
  z-index: 1;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.flagship-photo-stage.is-obsidian-stage .flagship-arrow {
  background: rgba(13, 19, 30, 0.72);
  color: #f1f5f9;
  border: 1px solid rgba(226, 232, 240, 0.18);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.flagship-photo-stage.is-obsidian-stage .flagship-arrow:hover,
.flagship-photo-stage.is-obsidian-stage .flagship-arrow:focus-visible {
  background: rgba(19, 28, 43, 0.94);
  border-color: rgba(0, 212, 255, 0.45);
}

.flagship-video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bb-media-toggle {
  position: absolute;
  top: 16px;
  inset-inline-end: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(7, 10, 15, 0.76);
  border: 1px solid rgba(226, 232, 240, 0.18);
  backdrop-filter: blur(8px);
}

.bb-mode-btn {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.bb-mode-btn:hover {
  color: #ffffff;
}

.bb-mode-btn.is-active {
  background: rgba(0, 212, 255, 0.18);
  color: var(--accent-cyan);
}

.flagship-photo-stage .media-cgi-badge {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  z-index: 6;
  pointer-events: none;
}

.prop-photo-wrap--obsidian {
  background: #070a0f;
}

.prop-photo-wrap--obsidian img {
  object-fit: cover;
}

.prop-product-media.is-obsidian {
  background: #070a0f;
  border-color: rgba(226, 232, 240, 0.14);
}

.prop-product-media.is-obsidian img {
  object-fit: cover;
  max-height: 360px;
}

.sim-audio-btn {
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--accent-cyan);
}

.sim-audio-btn.is-playing {
  background: rgba(0, 212, 255, 0.18);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

@media (max-width: 640px) {
  .flagship-photo-stage.is-obsidian-stage .flagship-photo {
    object-fit: contain;
  }
  .bb-media-toggle {
    top: 10px;
    inset-inline-end: 10px;
  }
  .bb-mode-btn {
    padding: 5px 9px;
    font-size: 0.68rem;
  }
  .flagship-photo-stage .media-cgi-badge {
    top: 12px;
    inset-inline-start: 10px;
  }
}

/* Keep the whole aircraft visible: wherever the first screen is much taller than the ~3:1 banner (phones,
   portrait / near-square viewports, tall 16:10 monitors), the banner keeps its natural wide ratio above the
   copy instead of being cover-cropped. Landscape desktops still fill the first screen. */
@media (max-width: 640px), (max-aspect-ratio: 3/2), (max-aspect-ratio: 8/5) and (min-height: 1000px) {
  .flagship-billboard:has(.flagship-photo-stage.is-full-bleed-photo) {
    height: auto;
    grid-template-rows: auto auto;
  }
  /* Two rows: the photo at its natural wide ratio, then a control bar underneath. The aircraft fills the
     photo edge to edge here, so the mode toggle and the arrows sit below it instead of over it. Flex line
     breaking is greedy per item, so the arrows are ordered before the toggle and the row is reversed: the
     pair stays together at the right and only the toggle drops to its own line on very narrow phones. The bar
     itself stays LTR so the arrows keep their physical sides (previous left, next right) in Arabic too. */
  .flagship-photo-stage.is-full-bleed-photo {
    display: flex;
    flex-flow: row-reverse wrap;
    align-items: center;
    direction: ltr;
    height: auto;
    background: #ffffff;
  }
  .flagship-photo-stage.is-full-bleed-photo #bbPhoto {
    flex: 0 0 100%;
    order: -3;
    height: auto;
    aspect-ratio: 3.05;
  }
  .flagship-photo-stage.is-full-bleed-photo .bb-media-toggle {
    position: static;
    margin: 8px 10px;
    /* Physical on purpose: the toggle itself is RTL in Arabic, where a logical margin would resolve to the
       left and push the pill against the arrows. The base layout keeps the pill on the left in both directions. */
    margin-right: auto;
  }
  [dir="rtl"] .flagship-photo-stage.is-full-bleed-photo .bb-media-toggle {
    direction: rtl;
  }
  .flagship-photo-stage.is-full-bleed-photo .flagship-arrow {
    position: static;
    width: 44px;
    height: 40px;
    margin: 8px 0;
    transform: none;
    border: 1px solid #d5dbe6;
  }
  .flagship-photo-stage.is-full-bleed-photo .flagship-arrow-prev {
    order: -1;
  }
  .flagship-photo-stage.is-full-bleed-photo .flagship-arrow-next {
    order: -2;
    margin-inline-start: 4px;
    margin-inline-end: 8px;
  }
}

/* --- P4 Unit Switcher (SI / IMP) & 17-Engine Comparison Drawer --- */
.unit-switcher {
  margin-inline-end: 0;
}

.unit-btn {
  min-width: 34px;
  padding-inline: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* Full desktop nav + lang + unit switchers + CTA: EN needs ~1415px once the unit switcher is in the header.
   Tighten nav spacing where space is short; below 1414px the nav collapses (see the breakpoint above). */
@media (min-width: 1415px) and (max-width: 1480px) {
  .header-inner {
    gap: 10px;
  }
  .primary-nav > .nav-item > .nav-link {
    padding-inline: 6px;
  }
}

.unit-btn.is-active {
  background: var(--accent-amber);
  color: #160B02;
}

.cmp-open-btn {
  border-style: dashed;
  border-color: rgba(0, 212, 255, 0.45);
  color: var(--accent-cyan);
}

.cmp-open-btn:hover {
  border-style: solid;
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.cmp-dialog {
  max-width: 960px;
}

.cmp-pickers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-block-end: 14px;
}

.cmp-pick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 200px;
  min-width: 0;
}

.cmp-pick > span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cmp-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: #080D16;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  cursor: pointer;
}

.cmp-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.16);
}

.cmp-swap {
  min-height: 44px;
  flex-shrink: 0;
}

.cmp-same-note {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-amber-dim);
  border: 1px solid rgba(255, 138, 30, 0.4);
  color: var(--accent-amber);
  font-size: 0.84rem;
}

.cmp-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.cmp-table th,
.cmp-table td {
  padding: 10px 14px;
  border-block-end: 1px solid var(--border-subtle);
  text-align: start;
  vertical-align: top;
  font-size: 0.86rem;
  line-height: 1.45;
}

.cmp-table thead th {
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-cyan);
}

.cmp-table tbody tr:last-child td {
  border-block-end: 0;
}

.cmp-table td:first-child {
  width: 30%;
  color: var(--text-secondary);
  font-weight: 600;
}

.cmp-table td.mono {
  word-break: break-word;
}

@media (max-width: 640px) {
  .unit-btn {
    min-width: 34px;
    min-height: 34px;
    padding-inline: 7px;
    font-size: 0.68rem;
  }

  /* The phone header cannot hold both unit buttons next to the language switcher and menu button:
     show only the active one and let a tap flip the system (see unitButtons click handler). */
  .unit-switcher .unit-btn:not(.is-active) {
    display: none;
  }

  .cmp-pickers {
    gap: 8px;
  }

  .cmp-swap {
    flex-basis: 100%;
  }

  .cmp-table th,
  .cmp-table td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}
