/* ==========================================================================
   OMNIFLONEX AI — 2026 MASTER SHOWROOM HERO STYLESHEET
   Surgically crafted to match the exact 8K Exhibition Atrium Masterpiece
   ========================================================================== */

/* 0. LUXURY FROSTED CAPSULE NAVBAR */
.nav-wrapper {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  padding: 0.55rem 2rem !important;
  background: rgba(255, 255, 255, 0.94) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  display: flex !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

[data-theme="dark"] .nav-wrapper {
  background: rgba(8, 20, 16, 0.92) !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15) !important;
}

.nav-capsule {
  width: 100% !important;
  max-width: 1600px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.nav-capsule .brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-capsule .brand-emblem-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-capsule .brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0b1f1a !important;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .nav-capsule .brand-name {
  color: #f1f5f9 !important;
}

.nav-capsule .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-capsule .nav-link {
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  padding: 0.4rem 0.2rem !important;
}

[data-theme="dark"] .nav-capsule .nav-link {
  color: #cbd5e1 !important;
}

.nav-capsule .nav-link:hover {
  color: #059669 !important;
}

.nav-capsule .nav-link.active {
  color: #059669 !important;
  font-weight: 700 !important;
  /* fix: components.css ka green background + green text = invisible label */
  background: rgba(5, 150, 105, 0.08) !important;
  box-shadow: none !important;
}

.nav-capsule .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #059669;
  border-radius: 2px;
}

/* ==========================================================================
   1. MASTER SHOWROOM HERO SECTION (MATCHING 7 DEDICATED PORTFOLIOS)
   ========================================================================== */
.category-hero-section {
  min-height: 72vh;
  padding: 7.5rem 0 4rem;
  background: radial-gradient(circle at 65% 35%, var(--mint-light, rgba(0, 229, 255, 0.08)) 0%, var(--bg-primary, #ffffff) 70%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .category-hero-section {
  background: radial-gradient(circle at 65% 35%, rgba(0, 229, 255, 0.08) 0%, #031410 75%);
}

.category-hero-title {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.15rem;
  color: var(--text-primary);
}

.category-hero-manifesto {
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.showroom-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* 2. STATS KPI ROW */
.showroom-hero-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.showroom-stat-item {
  display: flex;
  flex-direction: column;
}

.showroom-stat-val {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.showroom-stat-lbl {
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

.showroom-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-light);
}

/* Hero Section Grid Rebalance (Expansive 3D Panoramic Stage) */
.category-hero-section {
  padding: 6.75rem 0 2.5rem !important;
  min-height: 0 !important;
}

.category-hero-grid {
  grid-template-columns: 1fr 1.25fr !important;
  gap: 2.75rem !important;
  align-items: center !important;
}

@media (max-width: 991px) {
  .category-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* 3. INTERACTIVE 3D ROTUNDA SHOWCASE STAGE */
.hero-showroom-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 780px !important;
  margin: 0 auto;
  perspective: 1000px;
}

/* Ambient Dual Emerald & Gold Glow */
.showroom-ambient-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(212, 175, 55, 0.1) 45%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
}

[data-theme="dark"] .showroom-ambient-glow {
  background: radial-gradient(circle, rgba(0, 229, 255, 0.16) 0%, rgba(16, 185, 129, 0.14) 40%, rgba(212, 175, 55, 0.08) 60%, transparent 75%);
  filter: blur(52px);
}

/* Luxury 3D Exhibition Frame */
.showroom-stage-frame {
  position: relative;
  z-index: 3;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface, #ffffff);
  border: 1.5px solid rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 24px 60px rgba(16, 185, 129, 0.12), 0 8px 25px rgba(212, 175, 55, 0.15) !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
  will-change: transform;
}

[data-theme="dark"] .showroom-stage-frame {
  background: rgba(8, 20, 16, 0.75);
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55), 0 0 35px rgba(16, 185, 129, 0.2) !important;
}

.hero-showroom-stage:hover .showroom-stage-frame {
  box-shadow: 0 30px 70px rgba(16, 185, 129, 0.22), 0 0 45px rgba(212, 175, 55, 0.25) !important;
}

/* Rotunda Showcase Visual */
.hero-showroom-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Floating Corner Badges - Clean Luxury Pills (Zero Black Patches) */
.stage-corner-pill {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.94) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: #064e3b !important;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: auto;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.stage-corner-pill.top-left {
  top: 1rem;
  left: 1rem;
}

.stage-corner-pill.top-right {
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.95), rgba(16, 185, 129, 0.9)) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  color: #ffffff !important;
}

.stage-corner-pill.top-right:hover {
  background: #047857 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45) !important;
}

[data-theme="dark"] .stage-corner-pill.top-left {
  background: rgba(8, 28, 22, 0.9) !important;
  color: #ecfdf5 !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
}

/* Floor Contact Shadows (Warm Gold & Emerald Luminous Reflection, Zero Black Smudge) */
.showroom-shadow-wrapper {
  position: relative;
  width: 85% !important;
  height: 24px;
  margin-top: -12px;
  pointer-events: none;
  z-index: 2;
}

.showroom-floor-shadow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.2) 0%, rgba(16, 185, 129, 0.1) 45%, transparent 75%) !important;
  filter: blur(14px) !important;
  border-radius: 50%;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

[data-theme="dark"] .showroom-floor-shadow {
  background: radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.25) 0%, rgba(212, 175, 55, 0.15) 50%, transparent 75%) !important;
  filter: blur(16px) !important;
}

/* Floating Studio Spec Tag */
.showroom-stage-tag {
  position: relative;
  z-index: 4;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-gold, rgba(212, 175, 55, 0.4));
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

[data-theme="dark"] .showroom-stage-tag {
  background: rgba(4, 38, 33, 0.85);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.showroom-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold, #d4af37);
  box-shadow: 0 0 8px var(--gold, #d4af37);
  animation: tagPulse 2s infinite;
}

.showroom-tag-title {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.showroom-tag-sep {
  color: var(--border-subtle, rgba(0, 0, 0, 0.2));
  margin: 0 0.25rem;
}

.showroom-tag-spec {
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: 0.74rem;
  color: var(--emerald, #059669);
  font-weight: 600;
}

.val-emerald {
  color: var(--emerald, #059669);
}

.val-gold {
  color: var(--gold, #d4af37);
}

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

@media (max-width: 991px) {
  .category-hero-section {
    padding: 7rem 0 3rem;
  }
  .showroom-hero-stats {
    justify-content: center;
  }
}

/* 7. 8K FULLSCREEN LIGHTBOX MODAL */
.showroom-8k-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(6, 17, 14, 0.96);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
  box-sizing: border-box;
}

.showroom-8k-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-8k-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-8k-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-8k-close:hover {
  opacity: 1;
  transform: scale(1.15) rotate(90deg);
  color: #10b981;
}

.modal-8k-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 60px rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.modal-8k-caption {
  margin-top: 1rem;
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: 0.82rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

/* 8. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .btn-8k-immersion-pill {
    top: 0.5rem;
    right: 1rem;
    font-size: 0.68rem;
    padding: 0.35rem 0.8rem;
  }
  .nav-capsule .nav-links {
    display: none;
  }
}
