/* ============================================================
   ALKADRI STUDIO — SPATIAL HUD & LUXURY GOLD DESIGN SYSTEM
   Directly inherited from medhatalkadri.com award-winning universe
   ============================================================ */

:root {
  /* --- Void Canvas & Glass Panels --- */
  --void: #050608;
  --void-deep: #020304;
  --glass-hud: rgba(13, 16, 22, 0.78);
  --glass-panel: rgba(18, 22, 30, 0.88);
  --glass-border: rgba(255, 215, 0, 0.18);
  --glass-border-subtle: rgba(255, 255, 255, 0.08);

  /* --- Metallic Gold & Luminous Palette --- */
  --gold-primary: #ffd700;
  --gold-metallic: linear-gradient(135deg, #fff2a3 0%, #ffd700 50%, #b8860b 100%);
  --gold-glow: rgba(255, 215, 0, 0.28);
  --gold-dim: #998100;

  --cyan-accent: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.25);

  --ink-paper: #f5f5f7;
  --ink-dim: #b8c1d1;
  --ink-faint: #ffffff;

  /* --- Typography (Unified 2-Font System: Space Grotesk + Inter) --- */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: var(--font-display); /* Fallback legacy mono references to Space Grotesk */

  --fs-hero: clamp(2.8rem, 1.6rem + 4.5vw, 6.2rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  --fs-lead: clamp(1rem, 0.92rem + 0.4vw, 1.22rem);
  --fs-body: 0.95rem;

  --max-w: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  width: 100%;
  background-color: var(--void);
  color: var(--ink-paper);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 3D WebGL Background Canvas */
#webgl-universe {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

/* UI Overlay Wrapper */
.hud-layer {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.hud-layer a,
.hud-layer button,
.hud-layer input,
.hud-layer textarea,
.hud-layer .interactive {
  pointer-events: auto;
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

.mono {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   TOP HUD NAVIGATION BAR
   ============================================================ */
.hud-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px clamp(20px, 4vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.hud-top.hud-scrolled {
  background: rgba(7, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.studio-seal {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  pointer-events: auto;
}

.seal-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 16px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(8px);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.seal-ring:hover {
  transform: rotate(180deg) scale(1.05);
  box-shadow: 0 0 24px var(--gold-primary);
}

.seal-ring svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-primary);
}

.seal-text {
  display: flex;
  flex-direction: column;
}

.seal-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seal-text span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hud-top-right {
  display: flex;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
}

.telemetry-chip {
  background: var(--glass-hud);
  border: 1px solid var(--glass-border-subtle);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

/* ============================================================
   BOTTOM SPATIAL PILL DOCK (THE NAVIGATION COCKPIT)
   ============================================================ */
.hud-dock-wrap {
  position: fixed;
  bottom: 24px;
  bottom: max(20px, calc(14px + env(safe-area-inset-bottom, 0px)));
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  touch-action: manipulation;
}

.hud-pill-dock {
  pointer-events: auto;
  background: rgba(10, 13, 18, 0.85);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px 10px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.dock-item {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 10px 22px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 30px;
  transition: all 0.25s var(--ease);
  position: relative;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  .dock-item:hover {
    color: #ffffff;
    background: rgba(255, 215, 0, 0.1);
  }
}

.dock-item.active {
  color: #050608 !important;
  background: var(--gold-metallic) !important;
  font-weight: 600;
  box-shadow: 0 0 14px var(--gold-primary);
}

.dock-item.active:hover {
  color: #050608 !important;
}

.dock-item:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* ============================================================
   HERO COMMAND DECK
   ============================================================ */
.hero-deck {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-content {
  max-width: 980px;
}

.eyebrow-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.eyebrow-gold::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 1.02;
  margin-top: 18px;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.hero-title span.gold-glow {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  max-width: 640px;
  margin-top: 24px;
  font-size: var(--fs-lead);
  color: var(--ink-dim);
  line-height: 1.6;
}

.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.btn-hud-gold {
  background: var(--gold-metallic);
  border: 1px solid transparent;
  color: #050608 !important;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 20px var(--gold-glow);
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
}

.btn-hud-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--gold-primary);
  color: #050608 !important;
}

.btn-hud-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  text-decoration: none !important;
}

.btn-hud-glass:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary) !important;
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 0 24px var(--gold-glow);
  transform: translateY(-2px);
}

/* ============================================================
   FLAGSHIP SOFTWARE PORTAL (MODELS3D STUDIO FOR WOOCOMMERCE)
   ============================================================ */
.portal-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(60px, 8vh, 100px);
}

.portal-glass-panel {
  background: var(--glass-panel);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), inset 0 0 40px rgba(255, 215, 0, 0.03);
  backdrop-filter: blur(24px);
  border-radius: 6px;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.portal-glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.portal-info {
  display: flex;
  flex-direction: column;
}

.portal-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  margin-top: 12px;
  letter-spacing: -0.03em;
}

.portal-desc {
  margin-top: 18px;
  color: var(--ink-dim);
  font-size: 1.05rem;
  line-height: 1.65;
}

.portal-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-block: 18px;
  border-top: 1px solid var(--glass-border-subtle);
  border-bottom: 1px solid var(--glass-border-subtle);
}

.portal-spec-grid div {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.portal-spec-grid div b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-primary);
  margin-bottom: 2px;
}

/* 3D Showcase Frame in Portal */
.portal-viewport-frame {
  position: relative;
  aspect-ratio: 4/3;
  background: #000000;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.08);
}

.portal-viewport-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9);
}

.viewport-hud-strip {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  background: rgba(5, 6, 8, 0.75);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 2px;
}

@media (max-width: 960px) {
  .portal-glass-panel {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PROJECT CASE STUDY DRAWER (CAROUSEL / GALLERY MODAL)
   Matches the exact portfolio video drawer at 03:37
   ============================================================ */
.drawer-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(580px, 92vw);
  height: 100%;
  background: rgba(10, 13, 18, 0.94);
  border-left: 1px solid var(--gold-primary);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9), 0 0 30px var(--gold-glow);
  backdrop-filter: blur(24px);
  z-index: 1000;
  transition: right 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  overflow-y: auto;
}

.drawer-modal.is-open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border-subtle);
  padding-bottom: 18px;
}

.drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.drawer-close:hover {
  background: var(--gold-primary);
  color: #000000;
}

.drawer-content {
  margin-top: 24px;
}

.case-preview-box {
  width: 100%;
  aspect-ratio: 16/10;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}

.case-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-tag-live {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold-primary);
  color: #000000;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.studio-footer {
  padding-block: 80px 100px;
  border-top: 1px solid var(--glass-border-subtle);
  background: linear-gradient(180deg, transparent 0%, rgba(3, 5, 8, 0.85) 100%);
  text-align: center;
}

.footer-seal {
  font-family: var(--font-display);
  font-size: 1.1rem;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-dim);
  margin-top: 10px;
  letter-spacing: 0.01em;
  opacity: 0.9;
}

.footer-copy a {
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.2s ease;
}

.footer-copy a:hover {
  color: var(--gold-primary) !important;
}


/* PRODUCT SPECIFIC CSS */


/* ============================================================
   ALKADRI STUDIO — SPATIAL PRODUCT DESIGN SYSTEM (HUD & GOLD)
   ============================================================ */

:root {
  /* --- Void Canvas & Glass HUD --- */
  --void: #050608;
  --void-elevated: #0a0d14;
  --glass-hud: rgba(13, 17, 24, 0.82);
  --glass-panel: rgba(16, 21, 30, 0.88);
  --glass-border: rgba(255, 215, 0, 0.2);
  --glass-border-cyan: rgba(0, 240, 255, 0.22);
  --glass-border-subtle: rgba(255, 255, 255, 0.08);

  /* --- Metallic Gold & Cyber Cyan --- */
  --gold-primary: #ffd700;
  --gold-metallic: linear-gradient(135deg, #fff3a8 0%, #ffd700 50%, #b8860b 100%);
  --gold-glow: rgba(255, 215, 0, 0.28);

  --cyan-accent: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.25);

  --ink-paper: #f5f5f7;
  --ink-dim: #b8c1d1;
  --ink-faint: #ffffff;

  /* --- Typography (Unified 2-Font System: Space Grotesk + Inter) --- */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: var(--font-display); /* Fallback legacy mono references to Space Grotesk */

  --fs-hero: clamp(2.6rem, 1.5rem + 4.2vw, 5.8rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.5vw, 3.4rem);
  --fs-lead: clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  --fs-body: 0.94rem;

  --max-w: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: auto;
  scroll-snap-type: none;
  scroll-padding-top: clamp(70px, 9vh, 90px);
}

/* --- Spatial Section Cross-Fading & Focal System --- */
.hero-deck,
.portal-section,
.product-hero,
.board-block,
.pricing-portal,
.studio-footer {
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform, filter;
}

.spatial-section-inactive {
  opacity: 0.18 !important;
  transform: scale(0.96) !important;
  filter: blur(2px) !important;
  pointer-events: none !important;
}

.spatial-section-active {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
  filter: blur(0px) !important;
  pointer-events: auto !important;
}

body {
  width: 100%;
  background-color: var(--void);
  color: var(--ink-paper);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Three.js Space Background */
#webgl-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hud-wrapper {
  position: relative;
  z-index: 10;
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.mono {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   TOP HUD NAVIGATION
   ============================================================ */
.hud-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px clamp(20px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.9) 0%, transparent 100%);
}

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

.brand-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 14px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 16, 0.85);
}

.brand-ring svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-primary);
}

.brand-meta strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.brand-meta span {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.btn-hud-sm {
  background: var(--gold-metallic);
  border: 1px solid transparent;
  color: #050608;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 2px;
  box-shadow: 0 0 16px var(--gold-glow);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn-hud-sm:hover {
  border: 1px solid transparent;
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--gold-primary);
}

/* ============================================================
   BOTTOM SPATIAL PILL DOCK
   ============================================================ */
.hud-dock-fixed {
  position: fixed;
  bottom: 22px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.dock-pill-bar {
  pointer-events: auto;
  background: rgba(10, 13, 18, 0.88);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 20px var(--gold-glow);
  backdrop-filter: blur(20px);
  padding: 5px 8px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dock-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 8px 18px;
  border-radius: 30px;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.dock-link:hover {
  color: #ffffff;
  background: rgba(255, 215, 0, 0.1);
}

.dock-link.active {
  color: #050608;
  background: var(--gold-metallic);
  font-weight: 600;
  box-shadow: 0 0 12px var(--gold-primary);
}

/* ============================================================
   HERO / LIVE 3D R3F SHOWCASE PEDESTAL
   ============================================================ */
.product-hero {
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-accent);
}

.eyebrow-chip::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--cyan-accent);
  box-shadow: 0 0 6px var(--cyan-accent);
}

.product-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 1.04;
  margin-top: 16px;
  letter-spacing: -0.04em;
}

.product-title .gold-accent {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-subtitle {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: var(--ink-dim);
  line-height: 1.6;
}

/* 3D Showcase Mount Pedestal */
.showcase-pedestal {
  background: var(--glass-panel);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 215, 0, 0.06);
  backdrop-filter: blur(24px);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.pedestal-hud {
  padding: 12px 18px;
  background: rgba(8, 10, 14, 0.9);
  border-bottom: 1px solid var(--glass-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-accent);
}

.pedestal-hud .telemetry-live {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-accent);
  box-shadow: 0 0 8px var(--cyan-accent);
  animation: pulse-cyan 1.8s infinite;
}

@keyframes pulse-cyan {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@media (max-width: 540px) {
  .pedestal-hud .hud-telemetry-meta {
    display: none;
  }
  .pedestal-hud {
    padding: 10px 14px;
  }
}

/* The Canvas Container for the 3D Viewer */
#models3d-showcase-root {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  background: radial-gradient(circle at center, rgba(14, 19, 28, 0.9) 0%, rgba(5, 6, 8, 0.98) 100%);
  cursor: grab;
}

#models3d-showcase-root:active {
  cursor: grabbing;
}

/* ============================================================
   3D HOTSPOT SCREEN PINS & CALLOUT CARD
   ============================================================ */
.pedestal-pins-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.hotspot-3d-pin {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  pointer-events: auto;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 0.3s ease;
  padding: 0 !important;
  margin: -12px 0 0 -12px;
  z-index: 6;
}

.hotspot-3d-pin.is-occluded {
  opacity: 0.15;
  pointer-events: none;
}

.hotspot-3d-pin .pin-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan-accent);
  box-shadow: 0 0 12px var(--cyan-accent);
  border: 2px solid #ffffff;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hotspot-3d-pin:hover .pin-core {
  transform: scale(1.3);
  background: #ffffff;
}

.hotspot-3d-pin .pin-radar {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan-accent);
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes radar-ping {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.hotspot-3d-pin .pin-tag {
  position: absolute;
  left: 20px;
  top: -6px;
  background: rgba(8, 10, 14, 0.92);
  border: 1px solid var(--cyan-accent);
  color: var(--cyan-accent);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.hotspot-3d-pin:hover .pin-tag {
  background: var(--cyan-accent);
  color: #050608;
}

/* Feature Callout Card */
.pedestal-feature-card {
  position: absolute;
  top: 60px;
  left: 18px;
  max-width: 280px;
  background: rgba(8, 10, 14, 0.94);
  border: 1px solid var(--cyan-accent);
  border-radius: 4px;
  padding: 14px 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 240, 255, 0.2);
  pointer-events: auto;
}

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

.feature-card-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--cyan-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#feature-card-close,
.feature-card-close {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--ink-faint) !important;
  font-size: 0.85rem !important;
  cursor: pointer;
  padding: 0 4px !important;
  line-height: 1 !important;
  height: auto !important;
  min-height: unset !important;
  transition: color 0.2s ease;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

#feature-card-close::after,
.feature-card-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
}

#feature-card-close:hover,
.feature-card-close:hover {
  color: #ffffff !important;
}

.feature-card-title {
  margin: 0 0 4px 0;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.feature-card-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

/* ============================================================
   AEROSPACE HOTSPOTS NAVIGATION BAR
   ============================================================ */
.pedestal-hotspots-bar {
  padding: 10px 18px;
  background: rgba(6, 8, 11, 0.95);
  border-top: 1px solid var(--glass-border-subtle);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pedestal-hotspots-bar::-webkit-scrollbar {
  display: none;
}

.hotspot-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--glass-border-subtle) !important;
  color: var(--ink-faint) !important;
  font-family: var(--font-display) !important;
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 8px 14px !important;
  border-radius: 100px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  white-space: nowrap !important;
  flex-shrink: 0;
  height: auto !important;
  min-height: unset !important;
  line-height: 1 !important;
  transition: all 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}

/* 44px Ergonomic Touch Target Hit Area */
.hotspot-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  min-height: 44px;
  height: 44px;
}

.hotspot-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-faint);
  transition: all 0.25s ease;
}

.hotspot-btn:hover:not(.active) {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.hotspot-btn.active {
  background: rgba(0, 240, 255, 0.12) !important;
  border-color: var(--cyan-accent) !important;
  color: var(--cyan-accent) !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25) !important;
}

.hotspot-btn.active .hotspot-dot {
  background: var(--cyan-accent);
  box-shadow: 0 0 6px var(--cyan-accent);
}

@media (max-width: 540px) {
  .pedestal-hotspots-bar {
    padding: 8px 12px;
    gap: 6px;
  }
  .hotspot-btn {
    padding: 8px 12px !important;
    font-size: 0.62rem !important;
  }
  .pedestal-feature-card {
    max-width: 240px;
    padding: 10px 12px;
    left: 10px;
    top: 52px;
  }
}


/* ============================================================
   PBR SWATCH CONTROLLER DECK (TACTILE LUXURY ORBITAL CHIPS)
   ============================================================ */
.swatch-controller {
  padding: 16px 20px;
  background: rgba(8, 10, 14, 0.95);
  border-top: 1px solid var(--glass-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.swatch-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.swatch-label {
  font-family: var(--font-display);
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.swatch-current-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}

.swatch-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Bulletproof swatch button - strictly prevents collapse from global button styling */
.swatch-btn {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, 0.18) !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* Concentric luxury orbital ring & 44px touch target */
.swatch-btn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease);
  pointer-events: auto;
}

/* Specular reflection sheen */
.swatch-btn::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  right: 6px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.swatch-btn:hover {
  transform: scale(1.12);
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.swatch-btn.active {
  transform: scale(1.12);
  border-color: #ffffff !important;
}

/* Tactile PBR Material Shaders & Glowing Rings */
.swatch-gold {
  background: radial-gradient(circle at 35% 35%, #fff5b8 0%, #ffd700 45%, #b8860b 80%, #7a5805 100%) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.swatch-gold:hover,
.swatch-gold.active {
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.swatch-gold.active::after {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.swatch-obsidian {
  background: radial-gradient(circle at 35% 35%, #3a3f50 0%, #1a1c24 50%, #08090c 100%) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.swatch-obsidian:hover,
.swatch-obsidian.active {
  box-shadow: 0 0 12px rgba(136, 146, 160, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.swatch-obsidian.active::after {
  border-color: #8892a0;
  box-shadow: 0 0 10px rgba(136, 146, 160, 0.4);
}

.swatch-cyan {
  background: radial-gradient(circle at 35% 35%, #b3fcff 0%, #00f0ff 50%, #0090a8 85%, #004d5a 100%) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.swatch-cyan:hover,
.swatch-cyan.active {
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.swatch-cyan.active::after {
  border-color: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.swatch-chrome {
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #d8dde6 35%, #8892a0 70%, #404652 100%) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 3px rgba(255, 255, 255, 0.9);
}

.swatch-chrome:hover,
.swatch-chrome.active {
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.6), inset 0 1px 3px rgba(255, 255, 255, 1);
}

.swatch-chrome.active::after {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
  .swatch-controller {
    padding: 12px 14px;
    gap: 8px;
  }

  .swatch-label-wrap {
    min-width: 0;
  }

  .swatch-label {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .swatch-current-name {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .swatch-buttons {
    gap: 16px;
    flex-shrink: 0;
  }

  .swatch-btn {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
  }

  .swatch-btn::after {
    inset: -10px !important;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   4 PRESENTATION BOARDS (1200x800 MIN BOUNDS)
   ============================================================ */
.presentation-section {
  padding-block: 100px;
  border-top: 1px solid var(--glass-border-subtle);
}

.board-block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(70px, 10vh, 110px);
  position: relative;
}

.board-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: radial-gradient(circle, var(--glass-border) 0%, transparent 80%);
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.board-block.reverse .board-grid {
  grid-template-columns: 1.25fr 1fr;
}

.board-block.reverse .board-copy {
  order: 2;
}

.board-block.reverse .board-visual-wrap {
  order: 1;
}

.board-index {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.board-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.board-desc {
  margin-top: 18px;
  color: var(--ink-dim);
  font-size: 1.05rem;
  line-height: 1.65;
}

.board-spec-strip {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-block: 16px;
  border-top: 1px solid var(--glass-border-subtle);
  border-bottom: 1px solid var(--glass-border-subtle);
}

.board-spec-strip div {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.board-spec-strip div b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-primary);
  margin-bottom: 2px;
}

/* Visual Frame with Viewport Chrome */
.board-visual-wrap {
  position: relative;
}

.board-viewport {
  aspect-ratio: 16 / 10;
  width: 100%;
  background: #06080e;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 240, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: contrast(1.05) brightness(0.95);
}

/* Floating Annotation Cards (The Strategic UX "Why") */
.annotation-hud-card {
  position: absolute;
  z-index: 15;
  width: min(210px, 38%);
  background: rgba(8, 11, 16, 0.95);
  border: 1px solid var(--glass-border);
  border-left: 2px solid var(--card-accent, var(--gold-primary));
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 15px var(--gold-glow);
  backdrop-filter: blur(16px);
  padding: 10px 12px;
  border-radius: 4px;
  transition: transform 0.3s var(--ease);
  pointer-events: auto;
}

.annotation-hud-card:hover {
  transform: translateY(-2px) scale(1.02);
  z-index: 20;
}

.annotation-hud-card .a-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--card-accent, var(--gold-primary));
  margin-bottom: 4px;
}

.annotation-hud-card p {
  font-size: 13px;
  color: var(--ink-paper);
  line-height: 1.4;
  margin: 0;
}

.pos-top-right {
  top: 12px;
  right: -6%;
}

.pos-bottom-left {
  bottom: 12px;
  left: -6%;
}

.pos-top-left {
  top: 12px;
  left: -6%;
}

.pos-bottom-right {
  bottom: 12px;
  right: -6%;
}

@media (max-width: 1024px) {
  .annotation-hud-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }
}

@media (max-width: 860px) {
  .board-block {
    min-height: auto;
    padding-block: 70px;
  }

  .board-grid,
  .board-block.reverse .board-grid {
    grid-template-columns: 1fr;
  }

  .board-block.reverse .board-copy,
  .board-block.reverse .board-visual-wrap {
    order: initial;
  }
}

/* ============================================================
   PHANTOM CHECKOUT ZONE & FREEMIUS LICENSING
   ============================================================ */
.pricing-portal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(20px, 3vh, 36px);
  border-top: 1px solid var(--glass-border-subtle);
}

.pricing-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(16px, 2.5vh, 24px);
}

.pricing-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  margin-top: 0;
}

.pricing-header p {
  color: var(--ink-dim);
  font-size: var(--fs-lead);
  margin-top: 10px;
}

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

.plan-hud-card {
  background: var(--glass-panel);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 4px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.plan-hud-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
}

.plan-hud-card.featured {
  border: 1px solid var(--gold-primary);
  background: rgba(18, 24, 34, 0.95);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 30px var(--gold-glow);
}

.plan-badge-gold {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gold-metallic);
  color: #050608;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 3;
}

.plan-badge-gold.plan-badge-cyan {
  background: #080d16;
  color: var(--cyan-accent);
  border: 1px solid var(--cyan-accent);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.plan-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.plan-desc {
  color: var(--ink-dim);
  font-size: 0.86rem;
  margin-top: 8px;
  min-height: 36px;
}

.plan-price-wrap {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price-anchor {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink-faint);
  text-decoration: line-through;
  opacity: 0.65;
  margin-right: 4px;
}

.plan-price-wrap .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.plan-price-wrap .term {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.plan-billing-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  margin-top: 6px;
  min-height: 18px;
}

.plan-billing-note.highlight {
  color: var(--cyan-accent);
}

.plan-guarantee-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-dim);
  text-align: center;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.01em;
}

.plan-features {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin-bottom: 20px;
}

.plan-inheritance {
  font-family: var(--font-display);
  font-size: 0.82rem !important;
  color: var(--ink-faint) !important;
  border-bottom: 1px solid var(--glass-border-subtle);
  padding-bottom: 6px;
  margin-bottom: 2px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.plan-inheritance::before {
  content: none !important;
}

.plan-features li {
  font-size: 0.86rem;
  color: var(--ink-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li::before {
  content: '▸';
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.btn-plan-trigger {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-sizing: border-box;
}

.btn-plan-primary {
  background: var(--gold-metallic);
  color: #050608;
  border: 1px solid transparent;
  box-shadow: 0 0 16px var(--gold-glow);
}

.btn-plan-primary:hover {
  border: 1px solid transparent;
  box-shadow: 0 0 26px var(--gold-primary);
  transform: translateY(-2px);
}

.btn-plan-ghost {
  background: transparent;
  border: 1px solid var(--glass-border-subtle) !important;
  color: var(--ink-paper);
}

.btn-plan-ghost:hover {
  border-color: var(--gold-primary) !important;
  color: var(--gold-primary);
}

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

/* ============================================================
   FREEMIUS CHECKOUT MODAL (SPATIAL HUD)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 3, 5, 0.75);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

.modal-dialog {
  width: min(440px, 100%);
  background: rgba(14, 18, 26, 0.96);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 30px var(--gold-glow);
  border-radius: 4px;
  padding: 32px 28px;
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: all 0.3s var(--ease);
  position: relative;
}

body.modal-active .modal-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.modal-active .modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--glass-border-subtle);
  border-radius: 50%;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.modal-close:hover {
  background: var(--gold-primary);
  color: #000000;
}

.modal-table {
  margin-top: 24px;
  border-top: 1px solid var(--glass-border-subtle);
  border-bottom: 1px solid var(--glass-border-subtle);
}

.modal-row {
  display: flex;
  justify-content: space-between;
  padding-block: 12px;
  font-size: 0.86rem;
  color: var(--ink-dim);
}

.modal-row.total {
  border-top: 1px dashed var(--glass-border-subtle);
  font-weight: 700;
  color: var(--ink-paper);
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.product-footer {
  padding-block: 80px 100px;
  border-top: 1px solid var(--glass-border-subtle);
  text-align: center;
}

/* Freemius Overrides */
.fs-checkout-wrapper,
#fs-checkout-modal {
  z-index: 99999 !important;
}

/* Global Z-Index Fix for Componentized FSE */
.studio-footer,
main,
.wp-block-group {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  /* Re-enable pointer events for main content areas */
}

.hud-top {
  pointer-events: none;
  /* Let clicks pass through empty areas of header */
}

.hud-top a,
.hud-top button,
.hud-top .telemetry-chip {
  pointer-events: auto;
}

.hud-dock-wrap {
  pointer-events: none;
}

.hud-pill-dock {
  pointer-events: auto;
}

/* Pedestal Container Override */
.alkadri-webgl-pedestal {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  aspect-ratio: 4/3;
  background: radial-gradient(circle at center, rgba(14, 19, 28, 0.9) 0%, rgba(5, 6, 8, 0.98) 100%) !important;
  cursor: grab;
  pointer-events: auto !important;
  z-index: 5 !important;
}

.alkadri-webgl-pedestal:active {
  cursor: grabbing;
}


/* FSE Horizontal Overflow Fix */
html,
body,
.wp-site-blocks {
  overflow-x: clip !important;
  max-width: 100vw;
}


/* ============================================================
   SPATIAL HUD LEGAL & COMPLIANCE STYLES (FREEMIUS SUITE)
   ============================================================ */
.legal-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 140px 24px 100px;
  position: relative;
  z-index: 10;
}

.legal-card {
  background: rgba(10, 14, 22, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.legal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 32px;
  margin-bottom: 40px;
}

.legal-kicker {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--ink-pure);
  line-height: 1.15;
  margin-bottom: 16px;
}

.legal-meta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2,
.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-pure);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-section p,
.legal-section li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-dim);
  margin-bottom: 14px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-callout-box {
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-callout-box h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.legal-callout-box p {
  color: var(--ink-pure);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.contact-channel-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.contact-channel-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.02);
  transform: translateY(-2px);
}

.channel-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.channel-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-pure);
  margin-bottom: 8px;
}

.channel-desc {
  font-size: 0.85rem;
  color: var(--ink-dim);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.contact-channel-card.card-wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-channel-card.card-wide .card-text-wrap {
  flex: 1;
}

.contact-channel-card.card-wide .channel-desc {
  margin-bottom: 0;
}

.contact-channel-card.card-wide a {
  width: auto !important;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 13px 28px;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 28px 20px;
  }
}

/* --- Hide Scrollbars System-Wide --- */
::-webkit-scrollbar {
  display: none;
  width: 0;
  background: transparent;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ============================================================
   GOAL OVERRIDES (Responsive Typography & Flex Wrapping)
   ============================================================ */

:root {
  --fs-hero: clamp(2rem, 1.2rem + 3.5vw, 4.5rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
  --fs-lead: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  --fs-body: 1rem;
}

h1,
.hero-title,
.product-title,
.legal-title {
  font-size: var(--fs-hero) !important;
  line-height: 1.1 !important;
}

h2,
.board-title,
.feature-title,
.plan-title {
  font-size: var(--fs-h2) !important;
  line-height: 1.2 !important;
}

h3,
.sub-heading,
.legal-section h3 {
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
}

p,
.board-desc,
.hero-subtitle,
.product-subtitle,
.legal-section p,
.legal-callout-box p,
.swatch-label {
  font-size: var(--fs-body) !important;
  line-height: 1.6 !important;
}

/* Ensure Buttons Wrap Properly */
button,
.btn,
.btn-hud-gold,
.btn-hud-glass,
.btn-hud-sm {
  white-space: normal !important;
  word-break: break-word;
  height: auto !important;
}

@media (max-width: 768px) {

  .hero-actions,
  .hero-action-row,
  .portal-actions,
  .product-actions {
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }

  .btn-hud-gold,
  .btn-hud-glass {
    width: 100% !important;
    text-align: center !important;
    justify-content: center;
    padding: 13px 20px !important;
  }

  .board-spec-strip {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }

  .board-spec-strip div {
    flex: 1 1 45%;
  }

  /* Disable Spatial Section Slider fading/scaling on mobile */
  .hero-deck,
  .portal-section,
  .product-hero,
  .board-block,
  .pricing-portal,
  .studio-footer {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    pointer-events: auto !important;
  }

  .spatial-section-inactive,
  .spatial-section-active {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 768px) {
  .hud-top {
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    align-items: center !important;
    background: rgba(7, 10, 15, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  /* Hide the long subtext to save space */
  .studio-seal .seal-text span {
    display: none !important;
  }

  .hud-top-right {
    display: flex !important;
    flex-direction: row !important;
  }

  /* Hide redundant telemetry chip on mobile */
  .hud-top-right .telemetry-chip {
    display: none !important;
  }

  /* Make Root Universe button compact and ensure 44px touch target ergonomics */
  .hud-top-right .btn-hud-glass {
    padding: 10px 14px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.72rem !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

  .hud-layer,
  .hud-wrapper,
  .legal-wrapper,
  .contact-wrapper {
    padding-top: 100px !important;
  }

  .contact-channel-card.card-wide {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .contact-channel-card.card-wide .channel-desc {
    margin-bottom: 16px !important;
  }

  .contact-channel-card.card-wide a {
    width: 100% !important;
    white-space: normal !important;
    justify-content: center !important;
  }
}

/* --- Hide Dock on Footer Intersect --- */
.hud-dock-wrap {
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hud-dock-wrap.dock-hidden {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  pointer-events: none !important;
}

/* --- Tablet Responsive Cockpit Pill Dock (768px - 1024px) --- */
@media (max-width: 1024px) {
  .hud-dock-wrap {
    bottom: max(18px, calc(12px + env(safe-area-inset-bottom, 0px)));
  }

  .hud-pill-dock {
    padding: 5px 8px;
    gap: 5px;
    border-radius: 36px;
  }

  .dock-item {
    font-size: 0.82rem;
    padding: 9px 18px;
    border-radius: 28px;
  }
}

/* --- Mobile Responsive Cockpit Pill Dock (max-width: 768px) --- */
@media (max-width: 768px) {
  .hud-dock-wrap {
    bottom: max(16px, calc(10px + env(safe-area-inset-bottom, 0px)));
  }

  .hud-pill-dock {
    padding: 4px 6px;
    gap: 4px;
    border-radius: 32px;
    box-shadow: 0 8px 30px -6px rgba(0, 0, 0, 0.85), 0 0 16px var(--gold-glow);
  }

  .dock-item {
    font-size: 0.78rem;
    padding: 8px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 24px;
    letter-spacing: 0.04em;
  }

  .dock-item.active {
    box-shadow: 0 0 12px var(--gold-primary);
  }

  /* Prevent hero action buttons from being blocked or obscured by fixed dock */
  .hero-deck {
    padding-top: 80px !important;
    padding-bottom: max(130px, calc(110px + env(safe-area-inset-bottom, 0px))) !important;
  }
}

/* ============================================================
   GLOBAL CLEAN TEXT (REMOVE ALL UNDERLINES & BOTTOM LINES)
   ============================================================ */
a:not([class*="btn"]),
a:not([class*="btn"]):hover,
a:not([class*="btn"]):focus,
a:not([class*="btn"]):active,
.dock-item,
.sector-item,
.studio-seal,
.footer-copy a,
[style*="text-decoration: underline"],
[style*="underline"] {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ============================================================
   SPATIAL HUD STICKY SECTOR RIBBON (PRODUCT STORY TRACK)
   ============================================================ */
.hud-sector-ribbon-wrap {
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-sector-ribbon-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hud-sector-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(10, 14, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: auto;
  max-width: calc(100vw - 32px);
}

.sector-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
  user-select: none;
  box-sizing: border-box;
}

.sector-item .sector-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold-faint);
  opacity: 0.75;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.sector-item .sector-label-short {
  display: none;
}

.sector-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.sector-item:hover .sector-num {
  opacity: 1;
  color: var(--gold-primary);
}

.sector-item.active {
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.22);
}

.sector-item.active .sector-num {
  opacity: 1;
  color: var(--gold-primary);
}

/* Scroll margin top so sections clear fixed headers when jumping */
#overview,
#boards,
.board-block,
#pricing {
  scroll-margin-top: 145px;
}

@media (max-width: 768px) {
  .hud-sector-ribbon-wrap {
    top: 74px;
  }
  .hud-sector-ribbon {
    padding: 4px 6px;
    gap: 4px;
  }
  .sector-item {
    padding: 6px 10px;
    font-size: 0.68rem;
  }
}

@media (max-width: 640px) {
  .hud-sector-ribbon-wrap {
    top: 68px;
  }
  .hud-sector-ribbon {
    padding: 3px 5px;
    gap: 3px;
    max-width: calc(100vw - 16px);
  }
  .sector-item .sector-label-full {
    display: none;
  }
  .sector-item .sector-label-short {
    display: inline;
  }
  .sector-item {
    padding: 6px 7px;
    gap: 3px;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }
  .sector-item .sector-num {
    font-size: 0.62rem;
  }
}

@media (max-width: 360px) {
  .hud-sector-ribbon-wrap {
    top: 66px;
  }
  .hud-sector-ribbon {
    padding: 3px 4px;
    gap: 2px;
    max-width: calc(100vw - 10px);
  }
  .sector-item {
    padding: 6px 5px;
    gap: 2px;
    font-size: 0.60rem;
    letter-spacing: 0.02em;
  }
  .sector-item .sector-num {
    font-size: 0.58rem;
  }
}

/* ============================================================
   ACCESSIBILITY: REDUCED MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}