/* SYNTHOPTIC (removesynthid.website) — Swiss Optical Forensics Lab Design System v1.0
 * Palette: 60% Cold Optical Porcelain (#f4f7fa) · 30% Deep Sea Titanium (#0d1524) · 10% Electric Ice Cyan (#00f0ff on #09111e >= 13.4:1)
 */

:root {
  --bg-porcelain: #f4f7fa;
  --bg-quartz: #e5edf5;
  --bg-quartz-deep: #d9e4f0;
  --bg-pure: #ffffff;
  --bg-titanium: #0d1524;
  --bg-titanium-elev: #131f35;
  --bg-bezel: #09111e;
  --accent-cyan: #00f0ff;
  --accent-cyan-bright: #4df5ff;
  --accent-cyan-soft: rgba(0, 240, 255, 0.14);
  --ink-primary: #09111e;
  --ink-secondary: #2c3c52;
  --ink-muted: #52647c;
  --ink-on-dark: #f4f7fa;
  --ink-muted-dark: #9fb0c7;
  --line-hair: #cbd8e6;
  --line-subtle: #dde7f1;
  --line-dark: #1f304a;
  --ok-emerald: #059669;
  --ok-cyan-dark: #006d77;
  --warn-amber: #d97706;
  --danger-rose: #dc2626;
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1320px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-porcelain);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--bg-porcelain);
  color: var(--ink-primary);
  overflow-x: hidden;
}

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

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

button, input, select {
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

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

/* ==========================================================================
   LAYER 1: Top Precision Optical Bezel Bar (#09111e)
   ========================================================================== */
.optical-bezel-top {
  background: var(--bg-bezel);
  color: var(--ink-muted-dark);
  height: 34px;
  border-bottom: 1px solid #16243a;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 120;
}

.bezel-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  gap: 16px;
}

.bezel-telemetry {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
}

.bezel-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  display: inline-block;
  animation: opticalPulse 2.4s ease-in-out infinite;
}

@keyframes opticalPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.86); }
}

.bezel-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-variant-numeric: tabular-nums;
}

.bezel-quota-pill {
  color: var(--ink-on-dark);
  font-weight: 600;
}

.bezel-key-btn {
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.bezel-key-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-bezel);
}

/* ==========================================================================
   LAYER 2: Spacious Navigation Breathing Header (#f4f7fa) + Curtain Mega-Menu
   ========================================================================== */
.site-header {
  background: rgba(244, 247, 250, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-hair);
  position: sticky;
  top: 0;
  z-index: 110;
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-pod {
  width: 36px;
  height: 36px;
  background: var(--bg-bezel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

.brand-name {
  font-size: 19px;
  color: var(--ink-primary);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav-trigger, .nav-direct-link {
  background: transparent;
  border: none;
  color: var(--ink-primary);
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-trigger:hover, .nav-trigger.active, .nav-direct-link:hover {
  background: var(--bg-quartz);
  color: var(--ink-primary);
}

.nav-trigger svg {
  transition: transform 0.2s ease;
}

.nav-trigger.active svg {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-hair);
  background: var(--bg-pure);
  padding: 2px;
}

.lang-switcher a {
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 8px;
  color: var(--ink-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switcher a.active {
  background: var(--bg-titanium);
  color: var(--accent-cyan);
}

.lang-switcher a:hover:not(.active) {
  color: var(--ink-primary);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 6px 6px 14px;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  transition: transform 0.16s ease, background 0.16s ease;
}

.header-cta-btn:hover {
  background: var(--bg-bezel);
  transform: translateY(-1px);
}

.header-cta-pod {
  width: 26px;
  height: 26px;
  background: var(--accent-cyan);
  color: var(--bg-bezel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  border: none;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

/* Curtain Mega-Menu Flyout */
.nav-curtain {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-pure);
  border-bottom: 2px solid var(--bg-titanium);
  box-shadow: 0 28px 60px rgba(9, 17, 30, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 109;
  max-height: 82vh;
  overflow-y: auto;
}

.site-header.curtain-open .nav-curtain {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-curtain-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 17, 30, 0.38);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
  z-index: 105;
}

.nav-curtain-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.curtain-panel {
  display: none;
  padding: 28px 0 32px;
}

.curtain-panel.active {
  display: block;
}

.curtain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 32px;
  align-items: start;
}

.curtain-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding-bottom: 10px;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--line-subtle);
}

.curtain-links {
  display: grid;
  gap: 6px;
}

.curtain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.curtain-item:hover {
  background: var(--bg-porcelain);
  transform: translateX(3px);
}

.curtain-item-pod {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--bg-titanium);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.curtain-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink-primary);
  margin-bottom: 2px;
}

.curtain-item span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.35;
}

.curtain-feature-box {
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  padding: 16px;
}

.curtain-feature-box img {
  width: 100%;
  height: 156px;
  object-fit: cover;
  margin-bottom: 12px;
}

.curtain-feature-box h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-on-dark);
}

.curtain-feature-box p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ink-muted-dark);
}

/* ==========================================================================
   LAYER 3 & LAYER 4: Optical Quartz Plinth (#e5edf5) + First-Screen Workbench (#ffffff)
   ========================================================================== */
.hero-quartz-plinth {
  background: linear-gradient(180deg, var(--bg-quartz) 0%, var(--bg-porcelain) 100%);
  padding: 16px 0 36px;
  border-bottom: 1px solid var(--line-hair);
}

.hero-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.hero-title-wrap {
  max-width: 850px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin-bottom: 4px;
}

.hero-eyebrow-bar {
  width: 18px;
  height: 3px;
  background: var(--bg-titanium);
  border-right: 5px solid var(--accent-cyan);
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 3.3vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--ink-primary);
}

.hero-sub {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-secondary);
  line-height: 1.42;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding-bottom: 2px;
}

.trust-stat {
  border-left: 2px solid var(--bg-titanium);
  padding-left: 11px;
}

.trust-stat strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}

.trust-stat span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}

/* Layer 4: Pure Optical Instrument Stage (70%+ of first screen, wide spacious 2-column) */
.optical-workbench {
  background: var(--bg-pure);
  border: 1px solid #b9cadc;
  box-shadow: 0 22px 50px rgba(9, 17, 30, 0.08);
  position: relative;
  padding: 22px 26px;
}

/* Swiss Optical Corner Reticle Marks */
.optical-workbench::before,
.optical-workbench::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.optical-workbench::before {
  top: -1px;
  left: -1px;
  border-top: 3px solid var(--bg-titanium);
  border-left: 3px solid var(--bg-titanium);
}

.optical-workbench::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 3px solid var(--accent-cyan);
  border-right: 3px solid var(--accent-cyan);
}

.workbench-grid {
  display: grid;
  grid-template-columns: 455px 1fr;
  gap: 26px;
  align-items: stretch;
}

/* Left Deck: Spacious Upload + Custom Optical Selectors + Primary Recessed-Pod CTA */
.wb-controls-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.optical-dropzone {
  background: var(--bg-porcelain);
  border: 1.5px dashed #93abc4;
  padding: 18px 18px 16px;
  transition: border-color 0.18s ease, background 0.18s ease;
  position: relative;
}

.optical-dropzone.dragover {
  border-color: var(--bg-titanium);
  background: #e9f5f9;
}

.dropzone-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  cursor: pointer;
}

.dropzone-icon-pod {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--bg-titanium);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.dropzone-prompt-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.22;
  margin: 0 0 3px;
}

.dropzone-prompt-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
}

.dropzone-btn-row {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: 10px;
}

.btn-upload-pick {
  height: 46px;
  background: var(--bg-pure);
  color: var(--ink-primary);
  border: 1.5px solid var(--bg-titanium);
  font-size: 15px;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.btn-upload-pick:hover {
  background: var(--bg-quartz);
  transform: translateY(-1px);
}

.btn-sample-demo {
  height: 46px;
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 0 8px 0 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  transition: background 0.16s ease, transform 0.16s ease;
}

.btn-sample-demo:hover {
  background: var(--bg-bezel);
  transform: translateY(-1px);
}

.sample-pod {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--accent-cyan);
  color: var(--bg-bezel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Custom Optical Selectors (>= 15.5px, height 48px, zero native <select>) */
.wb-selectors-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.wb-selector-full {
  grid-column: 1 / -1;
}

.selector-group {
  position: relative;
}

.selector-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.custom-select-btn {
  width: 100%;
  height: 48px;
  background: var(--bg-porcelain);
  border: 1.5px solid #c3d3e3;
  color: var(--ink-primary);
  font-size: 15.5px;
  font-weight: 600;
  padding: 0 12px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.custom-select-btn:hover,
.custom-select-btn[aria-expanded="true"] {
  border-color: var(--bg-titanium);
  background: var(--bg-pure);
}

.custom-select-btn .sel-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-caret {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: var(--bg-quartz);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease, color 0.16s ease;
}

.custom-select-btn[aria-expanded="true"] .custom-select-caret {
  background: var(--bg-titanium);
  color: var(--accent-cyan);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-pure);
  border: 1.5px solid var(--bg-titanium);
  box-shadow: 0 18px 40px rgba(9, 17, 30, 0.18);
  z-index: 95;
  padding: 5px;
}

.custom-option {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
  transition: background 0.12s ease;
}

.custom-option small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
}

.custom-option:hover,
.custom-option.selected {
  background: var(--bg-quartz);
}

.custom-option.selected .opt-check {
  color: var(--ok-cyan-dark);
  font-weight: 800;
}

/* Cost / Quota Strip + Primary Recessed-Pod Action Button (>= 17.5px, height 58px) */
.wb-action-footer {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.wb-quota-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-secondary);
  padding: 6px 10px;
  background: var(--bg-porcelain);
  border-left: 3px solid var(--bg-titanium);
}

.wb-quota-bar strong {
  color: var(--ink-primary);
}

/* Industrial Recessed Icon Pod Primary Button (#00f0ff bg + #09111e ink >= 13.4:1 contrast) */
.btn-optical-primary {
  width: 100%;
  min-height: 58px;
  background: var(--accent-cyan);
  color: var(--bg-bezel);
  border: 1.5px solid var(--bg-bezel);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 0 8px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px));
  box-shadow: 0 5px 0 var(--bg-bezel);
  transition: transform 0.15s cubic-bezier(0.2, 0.9, 0.3, 1), background 0.15s ease, box-shadow 0.15s ease;
}

.btn-optical-primary:hover {
  background: var(--accent-cyan-bright);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--bg-bezel);
}

.btn-optical-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--bg-bezel);
}

.recessed-pod-dark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--bg-bezel);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  transition: transform 0.18s ease;
}

.btn-optical-primary:hover .recessed-pod-dark {
  transform: translateX(2px);
}

/* Right Stage: Live Optical Split Loupe + 2D FFT Spectrum + Binary Chunk Audit */
.wb-stage-col {
  display: flex;
  flex-direction: column;
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  border: 1px solid var(--bg-bezel);
  overflow: hidden;
}

.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-bezel);
  padding: 0 14px;
  height: 44px;
  border-bottom: 1px solid var(--line-dark);
  gap: 10px;
}

.stage-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.stage-tab {
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: var(--ink-muted-dark);
  font-size: 13.5px;
  font-weight: 700;
  height: 100%;
  padding: 0 12px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.stage-tab:hover {
  color: var(--ink-on-dark);
}

.stage-tab.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.stage-file-pill {
  font-size: 12.5px;
  color: var(--ink-muted-dark);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.stage-viewport {
  position: relative;
  flex: 1;
  min-height: 318px;
  max-height: 346px;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 240, 255, 0.08), transparent 65%),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 28px 28px,
    #09111e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

/* Idle Reticle State before loading image */
.stage-idle-overlay {
  text-align: center;
  padding: 24px;
  max-width: 480px;
  position: relative;
  z-index: 2;
}

.reticle-ring {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border: 1.5px solid rgba(0, 240, 255, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.reticle-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(0, 240, 255, 0.3);
  border-radius: 50%;
  animation: slowSpin 18s linear infinite;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.stage-idle-overlay h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  margin: 0 0 6px;
  color: var(--ink-on-dark);
}

.stage-idle-overlay p {
  font-size: 14px;
  color: var(--ink-muted-dark);
  margin: 0 0 14px;
}

/* Split-Screen Before/After Canvas Container */
.split-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#opticalCompareCanvas,
#fftSpectrumCanvas {
  max-width: 100%;
  max-height: 336px;
  width: auto;
  height: auto;
  display: block;
}

.split-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.8);
  cursor: ew-resize;
  z-index: 6;
}

.split-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: var(--accent-cyan);
  color: var(--bg-bezel);
  border: 2px solid var(--bg-bezel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.split-badge-left,
.split-badge-right {
  position: absolute;
  top: 12px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 5;
  pointer-events: none;
}

.split-badge-left {
  left: 12px;
  background: rgba(9, 17, 30, 0.86);
  color: #fbbf24;
  border-left: 3px solid #f59e0b;
}

.split-badge-right {
  right: 12px;
  background: rgba(9, 17, 30, 0.88);
  color: var(--accent-cyan);
  border-right: 3px solid var(--accent-cyan);
}

/* Binary C2PA & Chunk Forensic Map Table */
.chunk-audit-pane {
  width: 100%;
  height: 330px;
  overflow-y: auto;
  padding: 14px 16px;
  background: #0a1322;
}

.chunk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.chunk-table th {
  text-align: left;
  color: var(--ink-muted-dark);
  font-weight: 600;
  padding: 7px 8px;
  border-bottom: 1px solid var(--line-dark);
}

.chunk-table td {
  padding: 8px;
  border-bottom: 1px solid rgba(31, 48, 74, 0.65);
  color: var(--ink-on-dark);
  vertical-align: top;
}

.chunk-tag-danger {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  font-weight: 700;
  font-size: 11.5px;
}

.chunk-tag-clean {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(0, 240, 255, 0.16);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 11.5px;
}

/* Stage Bottom Bare Telemetry Strip (With Real Progress Bars — Zero Dark Glass Cards!) */
.stage-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0c1628;
  border-top: 1px solid var(--line-dark);
}

.telemetry-cell {
  padding: 11px 15px;
  border-right: 1px solid var(--line-dark);
}

.telemetry-cell:last-child {
  border-right: none;
}

.telemetry-label {
  font-size: 11.5px;
  color: var(--ink-muted-dark);
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.telemetry-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-on-dark);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.telemetry-meter {
  height: 4px;
  background: #1a2a44;
  overflow: hidden;
}

.telemetry-meter-fill {
  height: 100%;
  background: var(--accent-cyan);
  width: 0%;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Batch Queue Drawer inside Workbench when multi-files selected */
.batch-queue-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

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

.batch-file-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-quartz);
  color: var(--ink-primary);
  border-left: 3px solid var(--bg-titanium);
}

/* Top-Bar Cross-Device Passwordless Email Restore Button (#proAccountBtn) */
.pro-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  background: var(--bg-pure);
  color: var(--ink-primary);
  border: 1.5px solid var(--bg-titanium);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.pro-account-btn:hover {
  background: var(--bg-quartz);
}

.pro-account-btn.pro-unlocked {
  background: var(--bg-bezel);
  color: var(--accent-cyan);
  border-color: var(--bg-bezel);
}

.pro-led-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.pro-account-btn.pro-unlocked .pro-led-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 9px var(--accent-cyan);
}

/* Visible Glowing Pro Hardware Switch Rack Bar Inside Optical Workbench */
.pro-hardware-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-bezel);
  color: var(--ink-on-dark);
  padding: 8px 14px;
  margin-bottom: 14px;
  border-left: 4px solid var(--accent-cyan);
  flex-wrap: wrap;
}

.pro-hw-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pro-hw-switches {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pro-hw-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  background: #132036;
  color: #cbd8e6;
  border: 1px solid #263a59;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.pro-hw-switch:hover {
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.pro-hw-switch .hw-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #475569;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.pro-hw-switch.active {
  background: rgba(0, 240, 255, 0.14);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.18);
}

.pro-hw-switch.active .hw-led {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan), 0 0 14px rgba(0, 240, 255, 0.8);
}

/* ==========================================================================
   SECTION 2: Full-Bleed Deep Titanium Color-Blocked Telemetry Band (Zero Nested Cards!)
   ========================================================================== */
.band-titanium-metrics {
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  padding: 56px 0;
  border-bottom: 4px solid var(--accent-cyan);
}

.metrics-bare-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.metric-bare-item {
  border-left: 1px solid var(--line-dark);
  padding-left: 26px;
}

.metric-bare-item:first-child {
  border-left: none;
  padding-left: 0;
}

.metric-giant-num {
  font-family: var(--font-display);
  font-size: clamp(46px, 4.6vw, 64px);
  line-height: 1;
  color: var(--ink-on-dark);
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.metric-giant-num em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-bare-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink-on-dark);
}

.metric-bare-desc {
  font-size: 14.5px;
  color: var(--ink-muted-dark);
  margin: 0 0 14px;
  line-height: 1.5;
}

.metric-mini-viz {
  width: 100%;
  height: 36px;
  display: block;
}

/* ==========================================================================
   SECTION 3: Editorial Swiss Optical Showcase & 3-Step Workflow (Zero Nested Boxes)
   ========================================================================== */
.section-porcelain {
  padding: 78px 0;
  background: var(--bg-porcelain);
}

.section-quartz {
  padding: 78px 0;
  background: var(--bg-quartz);
  border-top: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
}

.section-header-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
  margin-bottom: 10px;
}

.eyebrow-tag::before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--bg-titanium);
  border-right: 4px solid var(--accent-cyan);
}

.section-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.06;
  margin: 0;
  color: var(--ink-primary);
}

.section-lead {
  font-size: 16.5px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Asymmetric 3-Step Optical Architecture + Interactive Photo */
.workflow-editorial-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.steps-bare-list {
  display: grid;
  gap: 0;
  border-top: 1.5px solid var(--ink-primary);
}

.step-bare-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-hair);
  align-items: start;
}

.step-num-pod {
  width: 50px;
  height: 50px;
  background: var(--bg-titanium);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.step-bare-row h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink-primary);
}

.step-bare-row p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-secondary);
  line-height: 1.58;
}

/* Interactive Physical Float & Specular Sheen Photo Frame (Flow Nano Banana 2.1 High) */
.optical-photo-frame {
  position: relative;
  overflow: hidden;
  background: var(--bg-titanium);
  cursor: zoom-in;
  transform-style: preserve-3d;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 38px rgba(9, 17, 30, 0.12);
}

.optical-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,0) 25%, rgba(0, 240, 255, 0.16) 48%, rgba(255,255,255,0.22) 52%, rgba(255,255,255,0) 75%);
  transform: translateX(-115%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.optical-photo-frame:hover {
  transform: translateY(-8px) scale(1.016);
  box-shadow: 0 28px 58px rgba(9, 17, 30, 0.22);
}

.optical-photo-frame:hover::after {
  transform: translateX(115%);
}

.optical-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.optical-photo-frame:hover img {
  transform: scale(1.045);
}

.photo-caption-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line-hair);
  padding-bottom: 10px;
}

.photo-caption-strip strong {
  color: var(--ink-primary);
}

/* ==========================================================================
   SECTION 4: Frameless Swiss Optical Photography Gallery + Specialized Tool Matrix
   ========================================================================== */
.gallery-editorial-strip {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  gap: 24px;
  margin-bottom: 58px;
}

.gallery-item .optical-photo-frame {
  height: 300px;
}

/* De-cardified Hairline Tool Directory Grid */
.tools-architectural-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink-primary);
  border-left: 1px solid var(--line-hair);
}

.tool-arch-cell {
  padding: 24px 22px;
  border-right: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.18s ease;
}

.tool-arch-cell:hover {
  background: var(--bg-pure);
}

.tool-arch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-mini-pod {
  width: 36px;
  height: 36px;
  background: var(--bg-titanium);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tool-arch-arrow {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.tool-arch-cell:hover .tool-arch-arrow {
  transform: translate(3px, -3px);
  color: var(--ink-primary);
}

.tool-arch-cell h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--ink-primary);
}

.tool-arch-cell p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.48;
}

/* ==========================================================================
   SECTION 5: Honest Technical Comparison Table & Compliance Boundary
   ========================================================================== */
.comparison-table-wrap {
  overflow-x: auto;
  background: var(--bg-pure);
  border-top: 2px solid var(--bg-titanium);
  border-bottom: 2px solid var(--bg-titanium);
}

.forensic-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.forensic-comp-table th {
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  padding: 16px 18px;
  text-align: left;
  font-weight: 700;
}

.forensic-comp-table th.highlight-col {
  background: var(--bg-bezel);
  color: var(--accent-cyan);
  border-bottom: 3px solid var(--accent-cyan);
}

.forensic-comp-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-subtle);
  color: var(--ink-secondary);
}

.forensic-comp-table td.highlight-col {
  background: rgba(0, 240, 255, 0.05);
  color: var(--ink-primary);
  font-weight: 600;
}

.honest-boundary-banner {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--bg-pure);
  border-left: 4px solid var(--bg-titanium);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.honest-boundary-banner strong {
  color: var(--ink-primary);
}

.honest-boundary-banner p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 6: Pricing — Separate Free Forever Banner + Strictly 3 One-Time Pass Cards!
   ========================================================================== */
.pricing-section {
  padding: 84px 0;
  background: var(--bg-porcelain);
}

.free-tier-strip {
  background: var(--bg-quartz);
  border-left: 5px solid var(--bg-titanium);
  padding: 20px 26px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.free-tier-strip h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-primary);
}

.free-tier-strip p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-secondary);
}

.pricing-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-column {
  background: var(--bg-pure);
  border: 1.5px solid var(--line-hair);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.price-column:hover {
  transform: translateY(-4px);
  border-color: var(--bg-titanium);
}

.price-column.featured {
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  border: 2px solid var(--bg-bezel);
  box-shadow: 0 24px 54px rgba(9, 17, 30, 0.18);
}

.price-featured-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent-cyan);
}

.price-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: var(--bg-quartz);
  color: var(--ink-primary);
  margin-bottom: 14px;
}

.price-column.featured .price-badge {
  background: var(--accent-cyan);
  color: var(--bg-bezel);
}

.price-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
}

.price-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 18px;
}

.price-column.featured .price-sub {
  color: var(--ink-muted-dark);
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.price-strike {
  font-size: 18px;
  text-decoration: line-through;
  color: var(--ink-muted);
}

.price-column.featured .price-strike {
  color: #7d92b0;
}

.price-now {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
}

.price-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--ok-emerald);
}

.price-column.featured .price-unit {
  color: var(--accent-cyan);
}

.price-features {
  list-style: none;
  padding: 18px 0 24px;
  margin: 16px 0 0;
  border-top: 1px solid var(--line-subtle);
  display: grid;
  gap: 11px;
  font-size: 14.5px;
}

.price-column.featured .price-features {
  border-top-color: var(--line-dark);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.price-check {
  color: var(--ok-cyan-dark);
  font-weight: 800;
  flex-shrink: 0;
}

.price-column.featured .price-check {
  color: var(--accent-cyan);
}

.btn-price-buy {
  width: 100%;
  height: 54px;
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  border: none;
  font-size: 16px;
  font-weight: 800;
  padding: 0 8px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: transform 0.16s ease, background 0.16s ease;
}

.btn-price-buy:hover {
  transform: translateY(-2px);
  background: var(--bg-bezel);
}

.price-column.featured .btn-price-buy {
  background: var(--accent-cyan);
  color: var(--bg-bezel);
}

.price-column.featured .btn-price-buy:hover {
  background: var(--accent-cyan-bright);
}

.btn-price-pod {
  width: 38px;
  height: 38px;
  background: var(--accent-cyan);
  color: var(--bg-bezel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.price-column.featured .btn-price-pod {
  background: var(--bg-bezel);
  color: var(--accent-cyan);
}

/* Inline Signed License Key Activation Bar */
.license-inline-bar {
  margin-top: 26px;
  background: var(--bg-pure);
  border: 1px solid var(--line-hair);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.license-form-group {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 300px;
  max-width: 540px;
}

.license-input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--line-hair);
  font-size: 14.5px;
  background: var(--bg-porcelain);
  color: var(--ink-primary);
}

.btn-verify-key {
  height: 44px;
  padding: 0 18px;
  background: var(--bg-titanium);
  color: var(--accent-cyan);
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   SECTION 7: Editorial Pillar Articles, FAQ Accordion & Bottom Return CTA
   ========================================================================== */
.article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 54px 28px 72px;
}

.article-shell h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.06;
  margin: 10px 0 18px;
}

.article-meta {
  font-size: 13.5px;
  color: var(--ink-muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-hair);
  margin-bottom: 30px;
}

.article-prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  margin: 38px 0 14px;
  color: var(--ink-primary);
}

.article-prose h3 {
  font-size: 20px;
  margin: 26px 0 10px;
}

.article-prose p, .article-prose li {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.faq-list {
  border-top: 1.5px solid var(--ink-primary);
}

.faq-item {
  border-bottom: 1px solid var(--line-hair);
}

.faq-item summary {
  list-style: none;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--bg-quartz);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.faq-item[open] .faq-plus {
  background: var(--bg-titanium);
  color: var(--accent-cyan);
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 15.5px;
  color: var(--ink-secondary);
  line-height: 1.65;
  max-width: 880px;
}

/* Bottom Full-Bleed Launch Banner */
.bottom-launch-band {
  background: var(--bg-titanium);
  color: var(--ink-on-dark);
  padding: 58px 0;
}

.bottom-launch-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.bottom-launch-inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 46px);
  margin: 0 0 6px;
}

.bottom-launch-inner p {
  margin: 0;
  color: var(--ink-muted-dark);
  font-size: 16px;
}

/* Footer */
.site-footer {
  background: var(--bg-bezel);
  color: var(--ink-muted-dark);
  padding: 56px 0 38px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-col h4 {
  color: var(--ink-on-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* Modals (Pass Activation + Spring Lightbox Zoom for Photos) */
.optical-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 17, 30, 0.76);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.optical-modal-box {
  background: var(--bg-pure);
  color: var(--ink-primary);
  max-width: 540px;
  width: 100%;
  border-top: 4px solid var(--accent-cyan);
  padding: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  background: var(--bg-quartz);
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-modal-box {
  max-width: 980px;
  width: 100%;
  background: var(--bg-bezel);
  color: var(--ink-on-dark);
  padding: 16px;
  border: 1px solid var(--line-dark);
  animation: springZoom 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes springZoom {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox-modal-box img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
}

/* Non-blocking Cookie & LocalStorage Notice Bar */
.cookie-notice-bar {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 430px;
  background: var(--bg-bezel);
  color: var(--ink-on-dark);
  border-left: 4px solid var(--accent-cyan);
  padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(9, 17, 30, 0.35);
  z-index: 150;
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.cookie-btn-accept {
  background: var(--accent-cyan);
  color: var(--bg-bezel);
  border: none;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
}

.cookie-btn-minimal {
  background: var(--bg-titanium-elev);
  color: var(--ink-on-dark);
  border: 1px solid var(--line-dark);
  padding: 6px 12px;
  font-size: 12.5px;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile Touch Optimization)
   ========================================================================== */
@media (max-width: 1100px) {
  .workbench-grid {
    grid-template-columns: 1fr;
  }
  .curtain-grid {
    grid-template-columns: 1fr 1fr;
  }
  .curtain-feature-box {
    display: none;
  }
  .pricing-three-grid,
  .tools-architectural-grid,
  .metrics-bare-row,
  .gallery-editorial-strip,
  .workflow-editorial-layout,
  .section-header-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .metric-bare-item {
    border-left: none;
    border-top: 1px solid var(--line-dark);
    padding-left: 0;
    padding-top: 22px;
  }
  .metric-bare-item:first-child {
    border-top: none;
    padding-top: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .primary-nav,
  .header-cta-btn,
  .hero-trust-badges,
  .bezel-telemetry,
  .stage-file-pill,
  .brand-sub {
    display: none;
  }
  .header-bar {
    gap: 8px;
  }
  .brand-pod {
    width: 28px;
    height: 28px;
  }
  .brand-name {
    font-size: 15px;
  }
  .header-actions {
    gap: 5px;
  }
  .lang-switcher a {
    padding: 3px 5px;
    font-size: 11px;
  }
  .pro-account-btn {
    height: 30px;
    padding: 0 7px;
    font-size: 11px;
    gap: 4px;
  }
  .mobile-menu-btn {
    display: inline-flex;
    padding: 6px 8px;
    font-size: 11.5px;
    gap: 4px;
  }
  .container {
    padding: 0 16px;
  }
  .bezel-inner {
    padding: 0 16px;
    justify-content: flex-end;
  }
  .bezel-quota-pill {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
  }
  .optical-workbench {
    padding: 14px;
  }
  .stage-toolbar {
    padding: 0 8px;
  }
  .stage-tab {
    padding: 0 7px;
    font-size: 12px;
  }
  .license-form-group {
    min-width: 0;
    width: 100%;
    flex-direction: column;
  }
  .dropzone-btn-row,
  .wb-selectors-stack,
  .stage-telemetry-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-cell {
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }
  .curtain-grid {
    grid-template-columns: 1fr;
  }
}
