/* ==========================================================================
   OEMAK MAKİNE — PRECISION MECHATRONICS & FUTURISTIC CORPORATE DESIGN SYSTEM
   A Nümerik Mühendislik Brand | Designed for Desktop Cinema & Native Mobile UX
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg-void: #05070b;
  --bg-base: #090c12;
  --bg-surface: #0e131d;
  --bg-elevated: #141b28;
  --bg-glass: rgba(13, 18, 28, 0.78);
  --bg-glass-strong: rgba(8, 11, 18, 0.92);

  --oemak-orange: #f18421;
  --oemak-amber: #ffa34d;
  --oemak-orange-deep: #d46b0c;
  --oemak-glow: rgba(241, 132, 33, 0.26);
  --oemak-tint: rgba(241, 132, 33, 0.11);

  --signal-emerald: #10b981;
  --signal-cyan: #38bdf8;

  --text-primary: #f5f7fb;
  --text-secondary: #b4bfd0;
  --text-muted: #7b879c;

  --border-subtle: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-orange: rgba(241, 132, 33, 0.48);

  --font-display: 'Space Grotesk', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container-max: 1560px;
  --header-h: 112px;
  --mobile-dock-h: 74px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-void);
}

body {
  margin: 0;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--oemak-orange);
  color: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

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

button {
  cursor: pointer;
}

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

/* ---------- Layout & Containers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: clamp(16px, 3.5vw, 48px);
  padding-right: clamp(16px, 3.5vw, 48px);
}

.section {
  position: relative;
  padding-top: clamp(68px, 8vw, 124px);
  padding-bottom: clamp(68px, 8vw, 124px);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark { background: var(--bg-void); }
.section-surface { background: var(--bg-base); }
.section-elevated { background: linear-gradient(180deg, var(--bg-base) 0%, #0d121b 100%); }

/* Precision CAD Grid & Ambient Glows */
.cad-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 56px 56px;
}

.ambient-orb {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 132, 33, 0.16) 0%, rgba(241, 132, 33, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oemak-amber);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(241, 132, 33, 0.1);
  border: 1px solid rgba(241, 132, 33, 0.34);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--oemak-orange);
  box-shadow: 0 0 12px var(--oemak-orange);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oemak-orange);
  margin-bottom: 14px;
}

.section-kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--oemak-orange);
}

.h-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 5.2vw, 4.75rem);
  line-height: 0.99;
  letter-spacing: -0.03em;
  margin: 0;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
}

.h-card {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}

.text-gradient-orange {
  background: linear-gradient(95deg, #ffffff 0%, #ffd4ad 46%, var(--oemak-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.26s var(--ease-out);
  white-space: nowrap;
  min-height: 46px;
}

.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--oemak-orange) 0%, #e06d0a 100%);
  color: #fff;
  box-shadow: 0 12px 32px -8px rgba(241, 132, 33, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -8px rgba(241, 132, 33, 0.68);
  filter: brightness(1.06);
}

.btn-glass {
  background: rgba(15, 20, 30, 0.72);
  border-color: var(--border-strong);
  color: var(--text-primary);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-glass:hover {
  border-color: var(--oemak-orange);
  color: var(--oemak-amber);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 15px;
  min-height: 38px;
  font-size: 11.5px;
  border-radius: 11px;
}

/* ---------- Header & Mega Menu ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 8, 13, 0.84);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 11, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.topbar-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.38);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.topbar-inner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-slogan {
  color: var(--oemak-orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 2px;
}

.nav-bar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s var(--ease-out);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.desktop-nav > a,
.nav-dropdown-trigger {
  position: relative;
  padding: 26px 0;
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 600;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: #fff;
}

.desktop-nav > a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--oemak-orange);
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 12px);
  width: min(860px, 92vw);
  background: rgba(11, 15, 23, 0.98);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.78);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.24s var(--ease-out);
}

.nav-dropdown:hover .mega-panel,
.nav-dropdown:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-col-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oemak-orange);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: block;
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.mega-list a:hover {
  background: rgba(241, 132, 33, 0.12);
  color: #fff;
}

.mega-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--oemak-amber);
}

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

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ---------- Precision Mechatronic Cards ---------- */
.mecha-card {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 29, 43, 0.78) 0%, rgba(10, 14, 22, 0.94) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.32s var(--ease-out), border-color 0.32s ease, box-shadow 0.32s ease;
  overflow: hidden;
}

.mecha-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 132, 33, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.mecha-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
  box-shadow: 0 24px 52px -18px rgba(241, 132, 33, 0.24);
}

.mecha-card:hover::before {
  opacity: 1;
}

.mecha-card.featured {
  border-color: rgba(241, 132, 33, 0.42);
  background: linear-gradient(160deg, rgba(35, 26, 20, 0.72) 0%, rgba(11, 15, 23, 0.96) 100%);
}

/* ---------- Hero Cinema Section ---------- */
.hero-cinema {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 44px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-media-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #07090e;
}

.hero-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: contrast(1.08) saturate(1.1);
  transform: scale(1.04);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(rgba(241, 132, 33, 0.09) 1px, transparent 1px),
    linear-gradient(95deg, rgba(5, 7, 11, 0.94) 0%, rgba(5, 7, 11, 0.68) 48%, rgba(5, 7, 11, 0.84) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.78) 0%, rgba(5, 7, 11, 0.22) 42%, #070a0f 100%);
  background-size: 30px 30px, 100% 100%, 100% 100%;
  pointer-events: none;
}

.circuit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.75;
}

@keyframes circuitTrace {
  0% { stroke-dashoffset: 620; opacity: 0.2; }
  50% { opacity: 0.95; }
  100% { stroke-dashoffset: 0; opacity: 0.2; }
}

.circuit-anim {
  stroke-dasharray: 130 490;
  animation: circuitTrace 5.5s linear infinite;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 36px;
  align-items: end;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.telemetry-box {
  background: rgba(8, 12, 19, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
}

.telemetry-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kpi-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  line-height: 1.1;
}

.kpi-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
}

/* ==========================================================================
   FLAGSHIP 3D DIGITAL TWIN COMMAND DECK (TAB COREX + 180° TURNOVER + 3x KUKA)
   ========================================================================== */
.twin-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(241, 132, 33, 0.09) 0%, transparent 55%), #070a0f;
  padding-top: clamp(56px, 6vw, 92px);
  padding-bottom: clamp(56px, 6vw, 92px);
  border-bottom: 1px solid var(--border-subtle);
}

.twin-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.twin-deck {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Left 6-Stage Rail */
.twin-rail {
  background: rgba(12, 17, 26, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.twin-rail-head {
  padding: 6px 8px 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.stage-step-btn {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  transition: all 0.24s var(--ease-out);
}

.stage-step-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(241, 132, 33, 0.35);
}

.stage-step-btn.active {
  background: linear-gradient(135deg, rgba(241, 132, 33, 0.22) 0%, rgba(18, 25, 38, 0.95) 100%);
  border-color: var(--oemak-orange);
  box-shadow: 0 10px 26px -10px rgba(241, 132, 33, 0.45);
}

.stage-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-step-btn.active .stage-num {
  background: var(--oemak-orange);
  color: #fff;
}

.stage-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  display: block;
  line-height: 1.25;
}

.stage-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  line-height: 1.35;
}

.stage-highlight-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(241, 132, 33, 0.2);
  color: var(--oemak-amber);
  margin-left: 4px;
  vertical-align: middle;
}

/* Right 3D Stage & Controls */
.twin-stage-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.twin-viewport {
  position: relative;
  height: clamp(520px, 68vh, 720px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0b0f17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.twin-viewport:fullscreen {
  height: 100svh;
  border-radius: 0;
  border: 0;
}

.twin-canvas-host {
  position: absolute;
  inset: 0;
}

.twin-canvas-host canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

.twin-canvas-host canvas:active {
  cursor: grabbing;
}

/* Viewport HUD Overlays */
.twin-hud-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.twin-hud-top > * {
  pointer-events: auto;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 10px;
  background: rgba(8, 12, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #e6edf7;
}

.hud-surface-badge {
  border-color: rgba(241, 132, 33, 0.48);
  color: var(--oemak-amber);
}

.hud-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hud-btn {
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(8, 12, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.hud-btn:hover,
.hud-btn.active {
  background: var(--oemak-orange);
  border-color: var(--oemak-orange);
  color: #fff;
}

.twin-cam-bar {
  position: absolute;
  top: 62px;
  left: 16px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 4px;
  border-radius: 11px;
  background: rgba(8, 12, 19, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cam-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.cam-btn:hover { color: #fff; }
.cam-btn.selected {
  background: var(--oemak-orange);
  color: #fff;
  font-weight: 700;
}

.twin-caption-hud {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(7, 10, 16, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
}

.twin-caption-step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--oemak-orange);
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(241, 132, 33, 0.14);
  border: 1px solid rgba(241, 132, 33, 0.35);
  white-space: nowrap;
}

.twin-caption-body { flex: 1; min-width: 0; }

.twin-caption-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}

.twin-caption-body p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.twin-gesture-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  align-self: center;
}

/* Transport & 3-Lane Telemetry Bar */
.twin-transport {
  background: rgba(12, 17, 26, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.transport-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.transport-icon-btn.primary {
  background: var(--oemak-orange);
  border-color: var(--oemak-orange);
  color: #fff;
}

.timeline-box {
  flex: 1;
  min-width: 180px;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.timeline-range {
  width: 100%;
  accent-color: var(--oemak-orange);
  height: 5px;
  cursor: pointer;
}

.lane-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lane-card {
  background: rgba(12, 17, 26, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.lane-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-emerald);
  box-shadow: 0 0 10px var(--signal-emerald);
  display: inline-block;
  margin-right: 8px;
}

/* Fallback loader inside 3D */
.twin-fallback {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: #090d14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.twin-fallback[hidden] { display: none !important; }
.twin-fallback img { max-width: 72%; max-height: 62%; object-fit: contain; }

/* ---------- Responsive Grid Utilities ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px; }

/* ---------- Machine Showcase Cards ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all 0.22s ease;
}

.filter-pill:hover {
  border-color: var(--border-orange);
  color: #fff;
}

.filter-pill.active {
  background: var(--oemak-orange);
  border-color: var(--oemak-orange);
  color: #fff;
  font-weight: 700;
}

.machine-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.machine-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #e5e9f0 100%);
  padding: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.machine-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease-out);
}

.machine-card:hover .machine-visual img {
  transform: scale(1.06);
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 18px;
}

.spec-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #dce4f2;
}

/* ---------- Technical Spec Tables (GEO/SEO Ready) ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: rgba(12, 17, 26, 0.86);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.spec-table thead tr {
  background: linear-gradient(90deg, var(--oemak-orange) 0%, #d96c0b 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-table th,
.spec-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table tbody tr:hover {
  background: rgba(241, 132, 33, 0.06);
}

.spec-table td:first-child {
  font-weight: 600;
  color: #fff;
}

/* ---------- Interactive ROI Calculator ---------- */
.roi-range {
  width: 100%;
  accent-color: var(--oemak-orange);
  height: 6px;
}

.roi-result-box {
  background: linear-gradient(155deg, rgba(241, 132, 33, 0.16) 0%, rgba(11, 16, 25, 0.96) 100%);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ---------- Accordion FAQ ---------- */
.faq-item {
  background: rgba(14, 19, 29, 0.84);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.open {
  border-color: var(--oemak-orange);
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: #fff;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--oemak-orange);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--oemak-orange);
  border-color: var(--oemak-orange);
  color: #fff;
}

.faq-a {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.72;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- Forms ---------- */
.form-field {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(7, 10, 16, 0.85);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field:focus {
  outline: none;
  border-color: var(--oemak-orange);
  box-shadow: 0 0 0 3px rgba(241, 132, 33, 0.18);
}

/* ---------- Corporate Footer ---------- */
.site-footer {
  background: #040609;
  border-top: 1px solid var(--border-subtle);
  padding-top: 72px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links a:hover { color: var(--oemak-orange); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   NATIVE MOBILE APP SHELL (DOCK + BOTTOM SHEET + APP-GRADE ERGONOMICS)
   ========================================================================== */
.mobile-app-dock {
  display: none;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(3, 5, 9, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  max-height: 86svh;
  overflow-y: auto;
  background: linear-gradient(180deg, #111826 0%, #090d15 100%);
  border-top: 1px solid var(--border-orange);
  border-radius: 28px 28px 0 0;
  padding: 14px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(105%);
  transition: transform 0.34s var(--ease-out);
}

.mobile-bottom-sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 auto 16px;
}

.sheet-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.sheet-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sheet-nav-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sheet-nav-card strong {
  font-family: var(--font-display);
  font-size: 14px;
  color: #fff;
}

.sheet-nav-card span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--oemak-amber);
}

/* ---------- Tablet & Mobile Breakpoints ---------- */
@media (max-width: 1200px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .twin-deck { grid-template-columns: 1fr; }
  .twin-rail {
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
    gap: 8px;
    scrollbar-width: none;
  }
  .twin-rail::-webkit-scrollbar { display: none; }
  .twin-rail-head { display: none; }
  .stage-step-btn {
    min-width: 225px;
    flex-shrink: 0;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  body {
    padding-bottom: calc(var(--mobile-dock-h) + env(safe-area-inset-bottom, 0px));
  }

  .topbar-strip { display: none; }
  .nav-bar { height: 68px; }
  .brand-logo img { height: 36px; }
  .nav-actions .btn-primary { display: none; }

  .hero-cinema {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 34px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-actions .btn:first-child {
    grid-column: 1 / -1;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Horizontal App-Style Snap Carousels on Mobile! */
  .mobile-snap-row {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px !important;
    padding-bottom: 8px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    scrollbar-width: none;
  }

  .mobile-snap-row::-webkit-scrollbar { display: none; }

  .mobile-snap-row > * {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
  }

  /* App-Grade Mobile 3D Viewport */
  .twin-viewport {
    height: 450px;
    border-radius: 22px;
  }

  .twin-cam-bar {
    top: 56px;
    left: 10px;
    right: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .twin-cam-bar::-webkit-scrollbar { display: none; }
  .cam-btn { flex-shrink: 0; font-size: 10px; padding: 6px 9px; }

  .twin-hud-top { top: 10px; left: 10px; right: 10px; }
  .hud-pill { font-size: 9.5px; padding: 6px 10px; }
  .twin-gesture-hint { display: none; }

  .twin-caption-hud {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px 14px;
    flex-direction: column;
    gap: 6px;
  }

  .twin-caption-body h3 { font-size: 15px; }
  .twin-caption-body p { font-size: 11.5px; }

  .lane-telemetry-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Floating Native Mobile App Bottom Navigation Dock */
  .mobile-app-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    height: 64px;
    z-index: 120;
    background: rgba(10, 14, 22, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.75);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 4px 6px;
  }

  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 52px;
    border-radius: 16px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
  }

  .dock-item svg {
    width: 19px;
    height: 19px;
    stroke-width: 2;
  }

  .dock-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }

  .dock-item.active svg {
    color: var(--oemak-orange);
  }

  .dock-item.dock-cta {
    background: linear-gradient(135deg, var(--oemak-orange) 0%, #dc6b09 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(241, 132, 33, 0.42);
  }

  .dock-item.dock-cta svg { color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   V2 UPGRADES: UNIFIED CORPORATE DROPDOWNS, PNG RENDER STUDIO STAGE & ANATOMY
   ========================================================================== */
.mega-panel::before,
.dropdown-panel::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  transform: translateY(10px);
  width: 260px;
  background: rgba(11, 15, 23, 0.98);
  border: 1px solid var(--border-orange);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s var(--ease-out);
  z-index: 90;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-footer-bar {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

/* Breadcrumb Strip */
.breadcrumb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumb-bar a {
  color: var(--text-secondary);
}

.breadcrumb-bar a:hover {
  color: var(--oemak-orange);
}

.breadcrumb-bar .crumb-current {
  color: var(--oemak-amber);
  font-weight: 700;
}

/* Dark-Studio CAD & Transparent PNG Render Showcase Stage */
.render-stage {
  position: relative;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 56%, rgba(241, 132, 33, 0.16) 0%, rgba(20, 28, 44, 0.55) 48%, rgba(7, 10, 16, 0.98) 100%);
  border: 1px solid rgba(241, 132, 33, 0.34);
  padding: 26px 24px 20px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.render-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.render-stage::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 52px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(241, 132, 33, 0.36) 0%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.render-stage-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
}

.render-canvas-box {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.render-canvas-box img.png-render {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.72));
  transition: transform 0.45s var(--ease-out);
}

.render-stage:hover .render-canvas-box img.png-render {
  transform: scale(1.035) translateY(-3px);
}

.render-canvas-box svg.cad-blueprint-svg {
  width: 100%;
  height: 100%;
  max-height: 300px;
}

.render-stage-foot {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.render-slot-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(241, 132, 33, 0.14);
  border: 1px solid rgba(241, 132, 33, 0.32);
  color: var(--oemak-amber);
  font-size: 10.5px;
}

/* Multi-Angle 3D Studio Switcher Strip + Lightbox */
.render-angle-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.render-angle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.22s ease;
}

.render-angle-btn img {
  width: 100%;
  height: 44px;
  object-fit: contain;
  pointer-events: none;
}

.render-angle-btn span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.render-angle-btn:hover {
  border-color: rgba(241, 132, 33, 0.45);
  background: rgba(241, 132, 33, 0.07);
  color: #fff;
}

.render-angle-btn.active {
  border-color: var(--oemak-orange);
  background: rgba(241, 132, 33, 0.16);
  color: var(--oemak-amber);
  box-shadow: 0 8px 20px -8px rgba(241, 132, 33, 0.55);
}

.render-zoom-hint {
  cursor: zoom-in;
}

.render-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 7, 12, 0.92);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.render-lightbox[hidden] {
  display: none !important;
}

.render-lightbox img {
  max-width: min(1240px, 94vw);
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.85));
}

.render-lightbox-bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .render-angle-bar {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .render-angle-bar::-webkit-scrollbar { display: none; }
  .render-angle-btn {
    flex: 0 0 92px;
  }
}

/* Interactive Machine Sub-System Anatomy Tabs */
.anatomy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.anatomy-btn {
  padding: 11px 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  transition: all 0.22s ease;
}

.anatomy-btn:hover {
  border-color: var(--border-orange);
  color: #fff;
}

.anatomy-btn.active {
  background: linear-gradient(135deg, var(--oemak-orange) 0%, #d4690a 100%);
  border-color: var(--oemak-orange);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px -8px rgba(241, 132, 33, 0.55);
}

.anatomy-pane {
  display: none;
}

.anatomy-pane.active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 820px) {
  .anatomy-pane.active {
    grid-template-columns: 1fr;
  }
  .anatomy-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .anatomy-nav::-webkit-scrollbar { display: none; }
  .anatomy-btn { flex-shrink: 0; }
}

/* ==========================================================================
   14. DARK-STUDIO PRODUCTION CINEMA PLAYER (.cinema-stage)
   ========================================================================== */
.cinema-stage {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(16, 22, 33, 0.96) 0%, rgba(7, 10, 16, 0.99) 100%);
  border: 1px solid var(--border-strong);
  padding: 18px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cinema-stage:hover {
  border-color: var(--border-orange);
  box-shadow: 0 34px 90px -22px rgba(241, 132, 33, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cinema-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 2px 6px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.cinema-rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(241, 132, 33, 0.12);
  border: 1px solid rgba(241, 132, 33, 0.36);
  color: var(--oemak-amber);
  font-weight: 700;
}

.cinema-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oemak-orange);
  box-shadow: 0 0 10px var(--oemak-orange);
  animation: cinemaPulse 1.8s ease-in-out infinite;
}

@keyframes cinemaPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.cinema-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #151d2c 0%, #05070b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}


.cinema-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.06) saturate(1.05);
  transition: transform 0.65s var(--ease-out), filter 0.35s ease;
}

.cinema-viewport:hover .cinema-poster {
  transform: scale(1.03);
  filter: brightness(0.88) contrast(1.08) saturate(1.1);
}

.cinema-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(5, 7, 11, 0.15) 0%, rgba(5, 7, 11, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.35) 0%, rgba(5, 7, 11, 0.05) 45%, rgba(5, 7, 11, 0.82) 100%);
  pointer-events: none;
}

.cinema-play-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  z-index: 2;
  color: #fff;
  padding: 20px;
}

.cinema-play-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oemak-orange) 0%, #d96608 100%);
  border: 2px solid rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 46px rgba(241, 132, 33, 0.55), 0 0 0 10px rgba(241, 132, 33, 0.14);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease;
}

.cinema-viewport:hover .cinema-play-circle {
  transform: scale(1.09);
  box-shadow: 0 22px 56px rgba(241, 132, 33, 0.75), 0 0 0 15px rgba(241, 132, 33, 0.2);
}

.cinema-play-circle svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  fill: #fff;
}

.cinema-play-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(5, 7, 11, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}


.cinema-hud-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 6px 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .cinema-stage {
    padding: 12px;
  }
  .cinema-play-circle {
    width: 64px;
    height: 64px;
  }
  .cinema-play-circle svg {
    width: 22px;
    height: 22px;
  }
  .cinema-play-label {
    font-size: 10.5px;
    padding: 5px 12px;
  }
}

/* Language links, enquiry options and the home production film */
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
}

.lang-switch a.active,
.mobile-language {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.mobile-language { display: none; }

.btn-primary,
.anatomy-btn.active {
  color: var(--bg-void);
}

.hero-cinema {
  min-height: min(760px, 100svh);
  align-items: center;
}

.hero-cinema .h-hero {
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  line-height: 1.08;
}

.hero-cinema .hero-poster-img {
  object-position: 68% 50%;
  opacity: 0.65;
}

.home-production-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.home-production .lead { margin: 16px 0 12px; }

.configuration-note {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 12px 0 0;
}

#uretim-filmi,
#bolum-3d-hat,
#bolum-kuka-3d,
[id="core-x-plus"],
[id="woox-pro"],
[id="castor-beta"] { scroll-margin-top: calc(var(--header-h) + 16px); }

.film-chapters,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.film-chapters { margin-top: 12px; }
.film-chapters a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--oemak-amber);
  font-size: 0.82rem;
}

.quote-actions .btn {
  flex: 1 1 12rem;
  white-space: normal;
}

.twin-pending .twin-hud-top,
.twin-pending .twin-cam-bar,
.twin-pending .twin-caption-hud,
.twin-pending .twin-transport { visibility: hidden; }

@media (max-width: 820px) {
  .mobile-language {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
  }

  .hero-cinema { min-height: auto; }
  .hero-buyer-actions { grid-template-columns: 1fr; }
  .hero-buyer-actions .btn { white-space: normal; }
  .home-production-grid { grid-template-columns: 1fr; }
  .home-production .hero-actions { grid-template-columns: 1fr; }
  .home-production .hero-actions .btn { white-space: normal; }
  .cinema-stage { min-width: 0; }
}

.english-hero { padding-top: calc(var(--header-h) + 42px); }
.english-hero .h-hero { font-size: clamp(2rem, 4vw, 4.2rem); }
.english-hero .btn,
html[lang="en"] .machine-card .btn { white-space: normal; }
.english-machine-img { width: 100%; height: auto; object-fit: contain; }
html[lang="en"] .machine-card .english-machine-img { aspect-ratio: 16 / 9; }
.english-specs { margin-top: 20px; }
.english-specs table { min-width: 620px; }
.spec-table thead tr { color: var(--bg-void); }
#teknik-tablo { scroll-margin-top: calc(var(--header-h) + 16px); }
.quote-actions .btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Production film gallery */
.film-gallery {
  padding: 0;
  width: min(1080px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: 0 28px 90px #000b;
  overflow: auto;
}

.film-gallery::backdrop {
  background: rgba(4, 7, 12, 0.87);
  backdrop-filter: blur(8px);
}

.film-gallery-shell {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.film-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.film-gallery-header h2 {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--oemak-orange);
  font: 700 clamp(1rem, 2.4vw, 1.45rem)/1.2 var(--font-display);
}

.film-gallery-close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 1.6rem;
  cursor: pointer;
}

.film-gallery-screen {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 68vh;
  max-height: 68dvh;
  background: #030406;
  border-radius: 13px;
  overflow: hidden;
}

.film-gallery-screen video,
.film-gallery-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.film-gallery-note {
  margin: 0;
  padding: 18px;
  color: var(--text-secondary);
  text-align: center;
}

.film-chapters button {
  min-height: 36px;
  padding: 4px 9px;
  color: var(--oemak-amber);
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.film-chapters button[aria-pressed="true"] {
  border-color: var(--border-orange);
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.film-gallery-chapters { margin: 0; }
.film-gallery-chapters[hidden] { display: none; }

@media (max-width: 640px) {
  .film-gallery { width: calc(100vw - 24px); border-radius: 16px; }
  .film-gallery-shell { padding: 12px; }
}
