/* ==========================================================================
   DIARA KIAN SAMAN — NEXT-GEN SPATIAL MINING PORTAL
   Design Architecture: UI/UX Pro Max + Emil Kowalski Design Eng + Craftsman
   Style: Spatial Holographic Cockpit & Liquid Gold Glassmorphism (Linear / Apple Tier)
   ========================================================================== */

:root {
  /* Typography Tokens */
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-fa: 'Vazirmatn', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette — Luxury Cinema Obsidian & Geological Metallo-Gems */
  --bg-deep: #030712;
  --bg-darker: #010307;
  --bg-surface: rgba(15, 23, 42, 0.7);
  --bg-surface-elevated: rgba(22, 33, 58, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.03);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-highlight: rgba(255, 255, 255, 0.32);

  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-amber: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.35);

  --cyan-neon: #00f0ff;
  --turquoise-gem: #06b6d4;
  --cyan-glow: rgba(0, 240, 255, 0.3);

  --copper-amber: #f97316;
  --emerald-malachite: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;

  /* Micro-Interactions (Emil Kowalski Specification) */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Radius Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Shadow & Depth */
  --shadow-ambient: 0 30px 90px -20px rgba(0, 0, 0, 0.95);
  --shadow-gold-glow: 0 0 50px -10px rgba(245, 158, 11, 0.35);
  --shadow-cyan-glow: 0 0 50px -10px rgba(0, 240, 255, 0.35);
}

/* Theme Accents */
body.theme-gold {
  --accent-color: var(--gold-primary);
  --accent-glow: var(--gold-glow);
}
body.theme-cyan {
  --accent-color: var(--cyan-neon);
  --accent-glow: var(--cyan-glow);
}
body.theme-emerald {
  --accent-color: var(--emerald-malachite);
  --accent-glow: var(--emerald-glow);
}

/* Base Reset & Mobile-Native */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  direction: ltr;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Persian RTL Rules & Vazirmatn Font Enforcement */
html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
  font-family: var(--font-fa), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-align: right;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] a,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] .brand-sub,
html[dir="rtl"] .hero-lead-paragraph,
html[dir="rtl"] .section-monumental-title,
html[dir="rtl"] .section-subtext,
html[dir="rtl"] .nav-pill,
html[dir="rtl"] .btn-shimmer,
html[dir="rtl"] .btn-card-action,
html[dir="rtl"] .concession-title,
html[dir="rtl"] .concession-summary,
html[dir="rtl"] .hud-metric-label,
html[dir="rtl"] .hud-metric-sub,
html[dir="rtl"] .spec-label,
html[dir="rtl"] .spec-value {
  font-family: var(--font-fa), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html[dir="rtl"] .font-mono,
html[dir="rtl"] .ltr-isolate {
  font-family: var(--font-mono) !important;
}

html[dir="rtl"] .btn-shimmer svg,
html[dir="rtl"] .btn-card-action svg,
html[dir="rtl"] .media-hover-lens-btn svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .telemetry-direct-call {
  direction: rtl;
}

html[dir="rtl"] .spec-row {
  flex-direction: row;
}

html[dir="rtl"] .split-badge.badge-left {
  left: auto;
  right: 16px;
}
html[dir="rtl"] .split-badge.badge-right {
  right: auto;
  left: 16px;
}

.ltr-isolate {
  direction: ltr !important;
  display: inline-block;
  unicode-bidi: isolate;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Ambient Background Mesh & Lighting Orbs */
.ambient-glow-mesh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.65;
  transition: background 0.8s var(--ease-out);
}

.orb-gold {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
}

.orb-cyan {
  width: 500px;
  height: 500px;
  top: 40%;
  left: -150px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, transparent 70%);
}

.orb-amber {
  width: 450px;
  height: 450px;
  bottom: -100px;
  right: 20%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.16) 0%, transparent 70%);
}

.bg-noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}

/* Real-Time Telemetry Bar */
.telemetry-bar {
  position: relative;
  z-index: 100;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  overflow: hidden;
  height: 38px;
}

.telemetry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1560px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
}

.telemetry-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  white-space: nowrap;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseStatus 2s infinite ease-in-out;
}

@keyframes pulseStatus {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.telemetry-stream-wrap {
  flex: 1;
  overflow: hidden;
  margin: 0 24px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.telemetry-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marqueeStream 45s linear infinite;
}

@keyframes marqueeStream {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.telemetry-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.telemetry-chip-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-primary);
}

.telemetry-chip-val {
  color: var(--text-primary);
  font-weight: 600;
}

.telemetry-chip-status {
  color: var(--gold-light);
  font-size: 0.7rem;
}

.telemetry-direct-call {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.telemetry-direct-call:hover {
  color: var(--gold-light);
}

/* Floating Navigation Header */
.header-floating {
  position: sticky;
  top: 14px;
  z-index: 95;
  width: 100%;
}

.header-container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-glass-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 12, 24, 0.76);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  height: 60px;
  padding: 0 8px 0 18px;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-glass-card:hover {
  border-color: rgba(245, 158, 11, 0.32);
  box-shadow: 0 24px 54px -12px rgba(0, 0, 0, 0.85), 0 0 32px -6px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Brand Emblem & Subtitle */
.brand-identity {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-emblem {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-identity:hover .brand-emblem {
  transform: scale(1.03);
}

.brand-sep {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 14px;
}

.brand-meta-tag {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-district-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1.1;
}

.brand-district-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-top: 2px;
}

.live-dot-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

/* Navigation Links (Linear / Stripe Tier) */
.nav-links-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
}

.nav-item-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-item-link.active {
  color: #fff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nav-item-link:active {
  transform: scale(0.97);
}

/* Micro-Badges for specific high-value items */
.nav-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  letter-spacing: 0.02em;
}

.nav-badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.nav-badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.32);
}

/* Header Right Actions & Luxury Gold Shimmer CTA */
.header-right-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
  color: #030712;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  white-space: nowrap;
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: brightness(1.06);
}

.header-cta-btn:active {
  transform: scale(0.97);
}

.cta-btn-arrow {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-cta-btn:hover .cta-btn-arrow {
  transform: translateX(3px);
}

/* Emil Kowalski Shimmer & Magnetic Buttons */
.btn-shimmer {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}

.btn-shimmer:active {
  transform: scale(0.96);
}

.btn-gold-shimmer {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #030712;
  box-shadow: 0 0 25px -4px rgba(245, 158, 11, 0.45);
}

.btn-gold-shimmer:hover {
  box-shadow: 0 0 35px 0 rgba(245, 158, 11, 0.7);
  transform: translateY(-2px);
}

.btn-glass-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-glass-secondary:active {
  transform: scale(0.96);
}

/* ==========================================================================
   HERO STAGE: NEXT-GEN SPATIAL MINING COCKPIT
   ========================================================================== */
.hero-stage {
  position: relative;
  z-index: 10;
  padding: 40px 0 60px;
}

.stage-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-stage-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy-column {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-light);
  width: fit-content;
  margin-bottom: 20px;
}

.chip-badge-verified {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
}

.hero-monumental-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

[dir="rtl"] .hero-monumental-headline {
  font-family: var(--font-fa);
  letter-spacing: 0;
  line-height: 1.35;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-lead-paragraph {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 28px;
}

/* 4 Quick Telemetry HUD Chips */
.hero-hud-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.hud-metric-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s var(--ease-out);
}

.hud-metric-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(22, 33, 58, 0.8);
  transform: translateY(-2px);
}

.hud-metric-label {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 4px;
}

.hud-metric-val {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.hud-metric-val small {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.hud-metric-sub {
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.gold-text { color: var(--gold-light); }
.cyan-text { color: var(--cyan-neon); }
.turquoise-text { color: var(--turquoise-gem); }
.amber-text { color: var(--copper-amber); }

.hero-button-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* 3D HOLOGRAPHIC COCKPIT */
.hero-visual-column {
  position: relative;
}

.cockpit-glass-frame {
  position: relative;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.9), 0 0 50px -10px var(--gold-glow);
  overflow: hidden;
}

.cockpit-hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.hud-spec-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
}

.hud-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 10px #00f0ff;
}

.hud-telemetry-coords {
  display: flex;
  gap: 12px;
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* ==========================================================================
   SPATIAL MACRO & PHOTOGRAMMETRY COCKPIT
   ========================================================================== */
.cockpit-mode-bar {
  display: flex;
  gap: 8px;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid var(--border-medium);
  padding: 4px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  position: relative;
  z-index: 25;
}

.cockpit-mode-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  font-family: var(--font-fa);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.cockpit-mode-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.cockpit-mode-btn.active {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 12px -2px rgba(245, 158, 11, 0.35);
}

.cockpit-mode-btn:active {
  transform: scale(0.97);
}

/* Macro Spatial Viewport */
.macro-spatial-viewport {
  position: relative;
  width: 100%;
  height: 410px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.45) 0%, rgba(3, 7, 18, 0.98) 75%);
  border: 1px solid var(--border-subtle);
  cursor: crosshair;
}

.macro-specimen-card {
  position: relative;
  width: 90%;
  height: 88%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px -10px var(--ambient-glow-color, rgba(245, 158, 11, 0.25));
}

.macro-specimen-photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.9)) contrast(1.08) brightness(1.03);
  pointer-events: none;
  user-select: none;
}

/* Dynamic Holographic Light Sheen */
.macro-light-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-md);
  pointer-events: none;
  background: radial-gradient(350px circle at var(--sheen-x, 50%) var(--sheen-y, 50%), rgba(255, 255, 255, 0.22) 0%, transparent 60%);
  mix-blend-mode: overlay;
  opacity: 0.9;
  transition: opacity 0.3s;
}

/* 50X Microscopic Zoom Loupe Lens */
.macro-zoom-lens {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6), inset 0 0 15px rgba(0,0,0,0.5);
  pointer-events: none;
  display: none;
  background-repeat: no-repeat;
  background-size: 260% 260%;
  z-index: 50;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(0px);
}

.macro-zoom-lens::after {
  content: "50X MACRO";
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(3, 7, 18, 0.9);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Interactive Mineralogical Hotspot Pins */
.macro-hotspots-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.macro-hotspot-pin {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(3, 7, 18, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-fa);
  font-size: 0.68rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  transition: all 0.2s var(--ease-spring);
  transform: translate(-50%, -50%);
  z-index: 30;
}

.macro-hotspot-pin:hover {
  transform: translate(-50%, -50%) scale(1.12);
  border-color: var(--gold-primary);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.macro-hotspot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
  animation: pulseDot 2s infinite;
}

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

.macro-watermark-tag {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 0.68rem;
  color: var(--text-dim);
  background: rgba(3, 7, 18, 0.6);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  pointer-events: none;
}

/* Sketchfab Viewport */
.sketchfab-viewport {
  position: relative;
  width: 100%;
  height: 410px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: #000;
}

#sketchfab-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.sketchfab-badge-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(3, 7, 18, 0.95) 40%);
  padding: 8px 14px;
  font-size: 0.7rem;
  color: var(--gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

/* Drillcore Viewport */
.drillcore-viewport {
  position: relative;
  width: 100%;
  height: 410px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: #030712;
}

.drillcore-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drillcore-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(3, 7, 18, 0.95) 30%);
  padding: 16px 20px;
}

/* Floating Cockpit Controls Overlay */
.cockpit-controls-overlay {
  position: absolute;
  top: 110px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
}

.btn-cockpit-tool {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-fa);
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-cockpit-tool:hover, .btn-cockpit-tool.active {
  color: #fff;
  border-color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.15);
}

.btn-cockpit-tool:active {
  transform: scale(0.94);
}

/* Specimen Switcher Dock */
.cockpit-specimen-bar {
  margin-top: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.specimen-bar-title {
  display: block;
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.specimen-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.specimen-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.specimen-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.specimen-chip.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: 0 0 15px -3px rgba(245, 158, 11, 0.4);
}

.specimen-chip:active {
  transform: scale(0.96);
}

.chip-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.gold-dot { background: #fbbf24; }
.cyan-dot { background: #00f0ff; }
.copper-dot { background: #10b981; }
.purple-dot { background: #c084fc; }
.white-dot { background: #f8fafc; }

/* ==========================================================================
   NEXT-GEN INTERACTIVE BENTO MATRIX
   ========================================================================== */
.bento-section {
  position: relative;
  z-index: 10;
  padding: 60px 0 80px;
}

.section-head-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--gold-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.section-monumental-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

[dir="rtl"] .section-monumental-title {
  font-family: var(--font-fa);
}

.section-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
}

.bento-grid-matrix {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-cell {
  position: relative;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 28px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-spring);
}

.bento-cell:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-3px);
}

.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }
.bento-span-8 { grid-column: span 8; }
.bento-span-12 { grid-column: span 12; }

/* Spotlight Radial Shine on Cards */
.card-spotlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(245, 158, 11, 0.12), transparent 80%);
  opacity: 0.85;
}

/* WIDGET 1: GOOGLE MAPS & SATELLITE GIS EXPLORER */
.gis-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gis-header {
  margin-bottom: 16px;
}

.gis-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid var(--border-medium);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: #38bdf8;
}

.gis-layer-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.gis-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.gis-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.gis-tab-btn.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: 0 0 15px -3px rgba(245, 158, 11, 0.35);
}

.gis-tab-btn:active {
  transform: scale(0.96);
}

.gis-map-viewport {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: #030712;
  margin-bottom: 16px;
}

.gis-map-layer {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.gis-map-layer.active {
  display: block;
  animation: fadeInLayer 0.3s ease-out;
}

@keyframes fadeInLayer {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

.google-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.05) brightness(0.95);
}

.gis-static-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gis-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(3, 7, 18, 0.9) 60%);
  padding: 10px 14px;
  font-size: 0.7rem;
  color: #e2e8f0;
}

.gis-map-pins-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.gis-pin-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  color: #fff;
  font-family: var(--font-fa);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  transition: transform 0.2s;
}

.gis-pin-chip:hover {
  transform: translateY(-2px) scale(1.05);
}

.gis-pin-chip.pin-gold {
  border-color: rgba(245, 158, 11, 0.6);
  color: #fde68a;
}
.gis-pin-chip.pin-gold .pin-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.gis-pin-chip.pin-trq {
  border-color: rgba(0, 240, 255, 0.6);
  color: #a5f3fc;
}
.gis-pin-chip.pin-trq .pin-dot {
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
}

.gis-pin-chip.pin-cpr {
  border-color: rgba(16, 185, 129, 0.6);
  color: #a7f3d0;
}
.gis-pin-chip.pin-cpr .pin-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.pin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.gis-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.gis-telemetry-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.gis-tele-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.btn-gis-nav {
  padding: 8px 18px;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* WIDGET 2: SPLIT-SCREEN COMPARISON SLIDER */
.split-slider-widget {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  border: 1px solid var(--border-medium);
}

.split-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.split-layer-base {
  background-image: url('assets/kohezar-natural-rough-turquoise-gemstones-showcase.jpg');
}

.split-layer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  background-image: url('assets/rough-turquoise.jpg');
  background-size: cover;
  background-position: center;
}

.split-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00f0ff;
  color: #030712;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.8);
  pointer-events: none;
  z-index: 10;
}

.split-badge {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid var(--border-subtle);
  color: #fff;
  z-index: 5;
}

.split-badge.badge-left { left: 12px; }
.split-badge.badge-right { right: 12px; }

/* WIDGET 3: HISTORICAL MANUSCRIPT MAGNIFIER LENS */
.lens-widget-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: crosshair;
}

.manuscript-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inspection-lens {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
  background-image: url('assets/kohezar-trench-exploration-mining-site.jpg');
  background-repeat: no-repeat;
  background-size: 350%;
  z-index: 20;
}

/* WIDGET 4: CERTIFIED ICP-OES SPECTRUM BARS */
.spectrum-bars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.spectrum-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spectrum-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.spectrum-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.spectrum-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 1s var(--ease-spring);
}

.fill-gold { background: linear-gradient(90deg, #f59e0b, #fbbf24); width: 88%; }
.fill-copper { background: linear-gradient(90deg, #10b981, #34d399); width: 74%; }
.fill-silver { background: linear-gradient(90deg, #38bdf8, #7dd3fc); width: 45%; }
.fill-silica { background: linear-gradient(90deg, #a855f7, #c084fc); width: 62%; }

/* CONCESSIONS LUXURY CARDS */
.concessions-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.concession-luxury-card {
  position: relative;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease-spring);
}

.concession-luxury-card:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-4px);
}

.concession-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.concession-badge-pill {
  font-size: 0.72rem;
  color: var(--gold-light);
}

.concession-cert-stamp {
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.concession-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.concession-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.concession-luxury-card:hover .concession-thumb-img {
  transform: scale(1.05);
}

.media-sheen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 7, 18, 0.85) 100%);
}

.media-hover-lens-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-medium);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.2s var(--ease-out);
}

.concession-luxury-card:hover .media-hover-lens-btn {
  opacity: 1;
  transform: translateY(0);
}

.concession-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.concession-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

[dir="rtl"] .concession-title {
  font-family: var(--font-fa);
}

.concession-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.concession-spec-table {
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  gap: 8px;
}

.spec-label {
  color: var(--text-dim);
}

.spec-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

.btn-card-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-action:hover {
  background: var(--gold-primary);
  border-color: var(--gold-light);
  color: #030712;
}

.btn-card-action:active {
  transform: scale(0.96);
}

/* ==========================================================================
   FLOATING LUXURY COMMAND DOCK (RAYCAST / APPLE VISION TIER)
   ========================================================================== */
.floating-command-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px -5px rgba(245, 158, 11, 0.3);
}

.dock-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

.dock-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-highlight);
}

.dock-btn.active {
  background: var(--gold-primary);
  color: #030712;
  border-color: var(--gold-light);
}

.dock-btn:active {
  transform: scale(0.94);
}

.dock-divider {
  width: 1px;
  height: 22px;
  background: var(--border-medium);
}

/* MODAL DIALOGS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 3, 7, 0.85);
  backdrop-filter: blur(16px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}

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

.modal-glass-card {
  position: relative;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.95);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s var(--ease-spring);
}

.modal-overlay.active .modal-glass-card {
  transform: scale(1) translateY(0);
}

.btn-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

[dir="rtl"] .btn-modal-close {
  right: auto;
  left: 20px;
}

.bespoke-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.form-field-group input, .form-field-group select {
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid var(--border-medium);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-field-group input:focus, .form-field-group select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px -3px rgba(245, 158, 11, 0.35);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .hero-stage-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-7, .bento-span-5, .bento-span-4, .bento-span-8 {
    grid-column: span 12;
  }
  .concessions-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links-center {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-hud-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .concessions-grid-layout {
    grid-template-columns: 1fr;
  }
  .calc-metrics-grid {
    grid-template-columns: 1fr;
  }
  .hero-canvas-viewport {
    height: 320px;
  }
  .floating-command-dock {
    width: 92%;
    justify-content: space-around;
    padding: 6px 10px;
  }
  .floating-command-dock .dock-btn span {
    display: none;
  }
}

/* ==========================================================================
   BID MOHAMMAD HASSAN COPPER SHOWCASE SECTION (300M VEIN & MALACHITE)
   ========================================================================== */
.copper-section {
  position: relative;
  padding: 70px 0 90px;
  background: radial-gradient(circle at 85% 25%, rgba(16, 185, 129, 0.09) 0%, transparent 60%),
              radial-gradient(circle at 15% 75%, rgba(5, 150, 105, 0.07) 0%, transparent 60%);
}

.copper-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 0 15px -3px rgba(16, 185, 129, 0.25);
}

.copper-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 36px;
}

.copper-media-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px -10px rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(20px);
}

.copper-media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(3, 7, 18, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.copper-view-tabs {
  display: flex;
  gap: 6px;
  background: rgba(15, 23, 42, 0.9);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.copper-tab-btn {
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  font-family: var(--font-fa);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.copper-tab-btn:hover {
  color: #fff;
}

.copper-tab-btn.active {
  background: rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.copper-viewport {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #030712;
}

.copper-viewport-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
  display: block;
}

.copper-media-card:hover .copper-viewport-img {
  transform: scale(1.02);
}

.copper-pins-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.copper-pin {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(3, 7, 18, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  transition: all 0.2s;
  transform: translate(-50%, -50%);
}

.copper-pin:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(6, 78, 59, 0.95);
  border-color: #34d399;
}

.copper-pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.copper-media-footer {
  padding: 14px 20px;
  background: rgba(3, 7, 18, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copper-authority-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(20px);
}

.copper-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.copper-kpi-box {
  background: rgba(3, 7, 18, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.copper-kpi-box:hover {
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.copper-kpi-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 2px;
}

.copper-kpi-lbl {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

@media (max-width: 1100px) {
  .copper-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   OFFICIAL FIELD ARCHIVE & GEOLOGICAL GALLERY (NEW FOLDER ASSETS)
   ========================================================================== */

.field-archive-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 40px;
}

.field-tab-btn {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
}

.field-tab-btn:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.field-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.3) 100%);
  border-color: #f59e0b;
  color: #fbbf24;
  box-shadow: 0 4px 20px -4px rgba(245, 158, 11, 0.35);
}

.field-tab-count {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.field-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.field-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}

.field-card:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(245, 158, 11, 0.15);
}

.field-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.field-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.field-card-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.field-pill-mineral {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.field-pill-gold {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.field-pill-trench {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.field-pill-map {
  background: rgba(168, 85, 247, 0.25);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.5);
}

.field-card-zoom-hint {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s;
  backdrop-filter: blur(8px);
}

.field-card:hover .field-card-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.field-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.field-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.field-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.field-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.field-card-source {
  color: #fbbf24;
  font-weight: 600;
}

/* Lightbox Modal */
.field-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(28px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.field-lightbox.active {
  display: flex;
}

.field-lightbox-wrap {
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 158, 11, 0.15);
  animation: scaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.field-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: rgba(3, 7, 18, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.field-lightbox-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.field-lightbox-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.field-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg);
}

.field-lightbox-media-area {
  flex: 1;
  min-height: 350px;
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617;
  overflow: auto;
  position: relative;
  padding: 16px;
}

.field-lightbox-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.field-lightbox-info-bar {
  padding: 18px 24px;
  background: rgba(3, 7, 18, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   MOBILE-NATIVE ARCHITECTURE & RESPONSIVE POLISH (LINEAR / APPLE TIER)
   ========================================================================== */

/* Mobile Hamburger Toggle Button */
.mobile-hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  margin-left: 8px;
  transition: all 0.22s var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

[dir="rtl"] .mobile-hamburger-btn {
  margin-left: 0;
  margin-right: 8px;
}

.mobile-hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

.mobile-hamburger-btn:active {
  transform: scale(0.92);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #f8fafc;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-hamburger-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-hamburger-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-hamburger-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 3, 7, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Drawer Panel */
.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 380px);
  background: rgba(6, 12, 24, 0.96);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border-left: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: -15px 0 60px rgba(0, 0, 0, 0.95);
  z-index: 999;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

[dir="rtl"] .mobile-drawer-panel {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: 15px 0 60px rgba(0, 0, 0, 0.95);
  transform: translateX(-105%);
}

.mobile-drawer-panel.active {
  transform: translateX(0);
}

.mobile-drawer-inner {
  padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 16px;
}

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

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.drawer-brand-text {
  display: flex;
  flex-direction: column;
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.drawer-sub {
  font-size: 0.62rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
}

.mobile-drawer-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.mobile-drawer-close:active {
  transform: scale(0.92);
}

.mobile-drawer-telemetry {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold-light);
}

/* Drawer Navigation Items */
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.drawer-nav-item:hover, .drawer-nav-item.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateX(-2px);
}

[dir="rtl"] .drawer-nav-item:hover, [dir="rtl"] .drawer-nav-item.active {
  transform: translateX(2px);
}

.drawer-nav-item:active {
  transform: scale(0.98);
}

.drawer-icon-wrap {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-item-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.drawer-item-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

[dir="rtl"] .drawer-item-title {
  font-family: var(--font-fa);
}

.drawer-item-desc {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.drawer-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-cta-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  color: #030712;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s var(--ease-spring);
  touch-action: manipulation;
}

.drawer-cta-action:active {
  transform: scale(0.97);
}

.drawer-call-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
  touch-action: manipulation;
}

.drawer-call-action:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.97);
}

/* Mobile Floating Quick Dock (Fixed Bottom) */
.mobile-floating-dock {
  display: none;
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(94vw, 420px);
  background: rgba(6, 12, 24, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 6px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 24px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mobile-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-dock-btn:active {
  transform: scale(0.94);
}

.mobile-dock-btn.dock-btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  color: #030712;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  flex: 1.2;
}

.mobile-dock-btn.dock-btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  flex: 1;
}

.mobile-dock-btn.dock-btn-icon-only {
  flex: 0 0 auto;
  padding: 10px 12px;
}

/* ==========================================================================
   BREAKPOINTS: SYSTEMATIC RESPONSIVE OVERRIDES
   ========================================================================== */

/* Laptop / Medium Tablets (< 1100px) */
@media (max-width: 1100px) {
  .nav-item-link {
    font-size: 0.76rem;
    padding: 6px 9px;
  }
  .nav-badge-pill {
    display: none;
  }
  .hero-stage-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .copper-showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .concessions-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid-matrix {
    grid-template-columns: 1fr;
  }
  .bento-span-7, .bento-span-5, .bento-span-4, .bento-span-8 {
    grid-column: span 1;
  }
}

/* Tablets & Mobile Screens (< 880px) */
@media (max-width: 880px) {
  .floating-command-dock {
    display: none !important;
  }
  .header-floating {
    top: 8px;
  }
  .header-container {
    padding: 0 12px;
  }
  .header-glass-card {
    height: 52px;
    padding: 0 6px 0 14px;
    border-radius: var(--radius-pill);
  }
  .nav-links-center {
    display: none !important;
  }
  .brand-sep, .brand-meta-tag {
    display: none;
  }
  .brand-emblem {
    height: 28px;
  }
  .header-cta-btn {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  .mobile-hamburger-btn {
    display: flex;
  }
  .mobile-floating-dock {
    display: flex;
  }
  body {
    padding-bottom: 74px; /* Space for sticky bottom dock */
  }
}

/* Mobile Devices (< 640px) */
@media (max-width: 640px) {
  /* Telemetry Bar */
  .telemetry-bar {
    height: 34px;
    font-size: 0.72rem;
  }
  .telemetry-inner {
    padding: 0 12px;
  }
  .telemetry-direct-call {
    display: none; /* Avoid crowding on small phones */
  }
  .telemetry-stream-wrap {
    margin: 0 12px;
  }

  /* Stage & Container */
  .stage-container {
    padding: 0 16px;
  }
  .hero-stage {
    padding: 20px 0 36px;
  }

  /* Hero Typography & HUD */
  .hero-monumental-headline {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 16px;
  }
  .hero-lead-paragraph {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .hero-hud-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }
  .hud-metric-card {
    padding: 10px;
  }
  .hud-metric-val {
    font-size: 1.05rem;
  }

  /* 3D Holographic Cockpit Mobile Polish */
  .cockpit-glass-frame {
    padding: 14px;
    border-radius: var(--radius-lg);
  }
  .hero-canvas-viewport {
    height: 250px !important;
  }
  .specimen-chips-wrap {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .specimen-chips-wrap::-webkit-scrollbar {
    display: none;
  }
  .specimen-chip-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Section Titles */
  .section-monumental-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important;
  }
  .section-subtext {
    font-size: 0.9rem !important;
  }

  /* 5 Concessions Grid */
  .concessions-grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .concession-card-glass {
    border-radius: var(--radius-lg);
  }
  .card-media-hero {
    height: 220px;
  }

  /* Field Archive Atlas */
  .field-archive-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .atlas-filter-dock {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    justify-content: flex-start;
  }
  .atlas-filter-dock::-webkit-scrollbar {
    display: none;
  }
  .atlas-filter-tab {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  /* Bid Hassan Copper Section */
  .copper-section {
    padding: 40px 0;
  }
  .copper-viewport-box {
    height: 240px;
  }
  .copper-kpi-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Laboratory & Assays Table */
  .lab-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }

  /* Modals */
  .modal-glass-card {
    width: 95% !important;
    padding: 20px !important;
    border-radius: var(--radius-lg) !important;
  }
  .field-lightbox-wrap {
    width: 95% !important;
    max-height: 92vh !important;
  }
  .field-lightbox-media-area {
    min-height: 240px !important;
    max-height: 50vh !important;
  }
}

/* Very Small Smartphones (< 400px) */
@media (max-width: 400px) {
  .header-cta-btn span {
    display: none;
  }
  .header-cta-btn {
    padding: 8px 10px;
    border-radius: var(--radius-pill);
  }
  .hero-hud-metrics {
    grid-template-columns: 1fr;
  }
  .dock-btn {
    font-size: 0.72rem;
    padding: 8px 10px;
  }
}

/* Touch Device Specific Adjustments */
@media (hover: none) and (pointer: coarse) {
  input, textarea, select {
    font-size: 16px !important; /* Prevent iOS automatic zoom */
  }
  .btn-shimmer, .btn-card-action, .dock-btn, .drawer-nav-item {
    min-height: 44px; /* Apple HIG minimum tap target */
  }
}


