/* =================================================================== */
/* ELAVATEX DESIGN STYLES SHOWCASE EXTENSION STYLESHEET                */
/* Designed to natively integrate with style.css & ElavateX ecosystem */
/* =================================================================== */

/* Main Container & Section Spacing */
.styles-page-main {
  padding-top: 130px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .styles-page-main {
    padding-top: 110px;
  }
}

/* ------------------------------------------------------------------- */
/* DEDICATED GRAPHITE & SUNSHINE YELLOW HEADER INTEGRATION             */
/* Seamless luxury header matching #1C1D20 & #FFC928 (Eliminates white gap) */
/* ------------------------------------------------------------------- */
.styles-hub-page .styles-page-main {
  padding-top: 0 !important;
}

.styles-hub-page .top-offer-ticker-bar {
  background: #141518 !important;
  border-bottom: 1px solid rgba(255, 201, 40, 0.22) !important;
  color: #F2F4F1 !important;
}

.styles-hub-page .top-offer-ticker-bar .offer-pill {
  background: rgba(255, 201, 40, 0.14) !important;
  color: #FFC928 !important;
  border: 1px solid rgba(255, 201, 40, 0.35) !important;
}

.styles-hub-page .top-offer-ticker-bar .offer-text {
  color: #F2F4F1 !important;
}

.styles-hub-page .top-offer-ticker-bar .offer-text strong {
  color: #FFC928 !important;
}

.styles-hub-page .top-offer-ticker-bar .offer-action-btn {
  background: rgba(255, 201, 40, 0.18) !important;
  color: #FFC928 !important;
  border: 1px solid rgba(255, 201, 40, 0.45) !important;
}

.styles-hub-page .top-offer-ticker-bar .offer-action-btn:hover {
  background: #FFC928 !important;
  color: #141518 !important;
  box-shadow: 0 0 14px rgba(255, 201, 40, 0.6) !important;
}

.styles-hub-page .navbar-header {
  background: rgba(28, 29, 32, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(242, 244, 241, 0.08) !important;
}

.styles-hub-page .navbar-header.scrolled {
  background: rgba(22, 23, 26, 0.97) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65) !important;
}

.styles-hub-page .brand-logo .logo-text {
  color: #F2F4F1 !important;
}

.styles-hub-page .brand-logo .accent-x {
  color: #FFC928 !important;
  text-shadow: 0 0 14px rgba(255, 201, 40, 0.6) !important;
}

.styles-hub-page .nav-links {
  background: rgba(24, 25, 28, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.styles-hub-page .nav-links .nav-link {
  color: #F2F4F1 !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

.styles-hub-page .nav-links .nav-link:hover {
  color: #FFC928 !important;
}

.styles-hub-page .nav-links .nav-link.active {
  color: #FFC928 !important;
  font-weight: 750 !important;
  text-shadow: 0 0 14px rgba(255, 201, 40, 0.4) !important;
}

.styles-hub-page .mobile-drawer {
  background: #1C1D20 !important;
  border-left: 1px solid rgba(255, 201, 40, 0.25) !important;
}

.styles-hub-page .mobile-drawer .drawer-links .drawer-link {
  color: #F2F4F1 !important;
}

.styles-hub-page .mobile-drawer .drawer-links .drawer-link:hover,
.styles-hub-page .mobile-drawer .drawer-links .drawer-link.active {
  color: #FFC928 !important;
}

.styles-hub-page .mobile-drawer .drawer-close {
  color: #F2F4F1 !important;
}

.styles-hub-page .mobile-drawer .drawer-header {
  border-bottom: 1px solid rgba(242, 244, 241, 0.1) !important;
}

.styles-hub-page .nav-dropdown-trigger {
  color: rgba(242, 244, 241, 0.82) !important;
}

.styles-hub-page .nav-dropdown-trigger:hover {
  color: #FFC928 !important;
}

.styles-hub-page .nav-dropdown-menu {
  background: #1C1D20 !important;
  border: 1px solid rgba(255, 201, 40, 0.3) !important;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 201, 40, 0.15) !important;
}

.styles-hub-page .nav-dropdown-menu::before {
  background: linear-gradient(90deg, #FFC928, #f59e0b, #FFC928) !important;
  box-shadow: 0 0 14px rgba(255, 201, 40, 0.6) !important;
}

.styles-hub-page .dropdown-header-kicker {
  color: #FFC928 !important;
}

.styles-hub-page .nav-dropdown-item {
  color: #F2F4F1 !important;
}

.styles-hub-page .nav-dropdown-item:hover {
  background: rgba(255, 201, 40, 0.08) !important;
}

.styles-hub-page .nav-dropdown-item .dropdown-item-info strong {
  color: #F2F4F1 !important;
}

.styles-hub-page .nav-dropdown-item .dropdown-item-info span {
  color: rgba(242, 244, 241, 0.65) !important;
}

.styles-hub-page .dropdown-footer-link {
  color: #FFC928 !important;
  background: rgba(255, 201, 40, 0.1) !important;
  border-color: rgba(255, 201, 40, 0.3) !important;
}

.styles-hub-page .nav-actions .btn-primary {
  background: #FFC928 !important;
  color: #1C1D20 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(255, 201, 40, 0.4) !important;
}

.styles-hub-page .nav-actions .btn-primary:hover {
  background: #ffe066 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255, 201, 40, 0.55) !important;
}

.styles-hub-page .theme-toggle-btn {
  border-color: rgba(242, 244, 241, 0.2) !important;
  color: #F2F4F1 !important;
}

.styles-hub-page .theme-toggle-btn:hover {
  border-color: #FFC928 !important;
  color: #FFC928 !important;
}

.styles-hub-page .mobile-toggle .bar {
  background: #F2F4F1 !important;
}

/* ------------------------------------------------------------------- */
/* 1. EDITORIAL GRAPHITE HERO BANNER (Graphite #1C1D20 & Yellow #FFC928) */
/* ------------------------------------------------------------------- */
.editorial-hero {
  background: #1C1D20;
  color: #F2F4F1;
  min-height: calc(100vh - 20px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(38px + 72px + 1.2rem) 0 2rem;
  border-bottom: 1px solid rgba(242, 244, 241, 0.08);
}

/* Background Textured Stage & Sunlight Beam */
.editorial-bg-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.editorial-graphite-wall {
  position: absolute;
  inset: 0;
  background: #1C1D20;
  background-image: 
    radial-gradient(circle at 75% 25%, rgba(255, 201, 40, 0.06) 0%, transparent 55%),
    radial-gradient(circle at 20% 75%, rgba(28, 29, 32, 0.9) 0%, #161719 100%);
}

.editorial-spotlight-cone {
  position: absolute;
  top: -20%;
  right: 15%;
  width: 520px;
  height: 140%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 201, 40, 0.09) 35%, transparent 70%);
  transform: rotate(18deg);
  filter: blur(40px);
  pointer-events: none;
}

.editorial-dust-canvas-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-main) 100%);
  pointer-events: none;
}

/* Vertical Scroll Indicator on Right Edge */
.editorial-scroll-track {
  position: absolute;
  right: 2.2rem;
  top: 50%;
  transform: translateY(-50%);
  height: 220px;
  width: 2px;
  background: rgba(242, 244, 241, 0.12);
  z-index: 10;
  display: block;
}

.editorial-track-line {
  display: block;
  width: 100%;
  height: 100%;
}

.editorial-track-thumb {
  position: absolute;
  top: 35%;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFC928;
  box-shadow: 0 0 12px #FFC928;
  animation: scrollThumbBob 3s ease-in-out infinite;
}

@keyframes scrollThumbBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(30px); }
}

@media (max-width: 1100px) {
  .editorial-scroll-track { display: none; }
}

/* 2-Column Split Grid Layout */
.editorial-hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.editorial-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

/* ------------------------------------------------------------------- */
/* LEFT COLUMN: EDITORIAL TYPOGRAPHY & CTAS                            */
/* ------------------------------------------------------------------- */
.editorial-text-col {
  text-align: left;
}

.editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F2F4F1;
  margin-bottom: 0.8rem;
}

.kicker-words {
  color: rgba(242, 244, 241, 0.9);
}

.kicker-bar {
  width: 36px;
  height: 2px;
  background: #FFC928;
  border-radius: 1px;
}

.kicker-chip {
  background: rgba(255, 201, 40, 0.12);
  color: #FFC928;
  border: 1px solid rgba(255, 201, 40, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.editorial-headline {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 850;
  line-height: 1.08;
  margin: 0.5rem 0 0.8rem;
  color: #F2F4F1;
  letter-spacing: -0.035em;
}

.highlight-yellow {
  color: #FFC928;
  font-weight: 900;
  text-shadow: 0 0 35px rgba(255, 201, 40, 0.4);
}

.editorial-rotator-deck {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(242, 244, 241, 0.6);
  margin-bottom: 1rem;
}

.rotator-prefix {
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: rgba(242, 244, 241, 0.5);
}

.styles-hero-rotator {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  height: 1.3em;
  overflow: hidden;
}

.rotator-word {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  color: #FFC928;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255, 201, 40, 0.5);
}

.rotator-word.active {
  opacity: 1;
  transform: translateY(0);
}

.editorial-subtext {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.58;
  color: rgba(242, 244, 241, 0.82);
  max-width: 520px;
  margin-bottom: 1.8rem;
}

/* Action CTAs (Matching reference design) */
.editorial-cta-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.editorial-btn-journey {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #F2F4F1;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 650;
  transition: all 0.25s ease;
}

.btn-play-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 244, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFC928;
  background: rgba(28, 29, 32, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-btn-journey:hover .btn-play-circle {
  border-color: #FFC928;
  background: rgba(255, 201, 40, 0.15);
  box-shadow: 0 0 20px rgba(255, 201, 40, 0.4);
  transform: scale(1.08);
}

.editorial-btn-journey:hover span:last-child {
  color: #FFC928;
}

.editorial-btn-start {
  background: transparent;
  border: 1.5px solid rgba(255, 201, 40, 0.65);
  color: #FFC928;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 750;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.editorial-btn-start:hover {
  background: #FFC928;
  color: #1C1D20;
  box-shadow: 0 10px 30px rgba(255, 201, 40, 0.4);
  transform: translateY(-2px);
}

/* Bottom Strip Meta (Matching reference) */
.editorial-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 530px;
  border-top: 1px solid rgba(242, 244, 241, 0.1);
  padding-top: 1.1rem;
  color: rgba(242, 244, 241, 0.65);
  font-family: var(--font-primary);
  font-size: 0.84rem;
}

.editorial-scroll-prompt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(242, 244, 241, 0.7);
}

.prompt-bar {
  width: 2px;
  height: 16px;
  background: #FFC928;
  border-radius: 1px;
}

.editorial-slider-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.slider-counter {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #F2F4F1;
  letter-spacing: 0.1em;
}

.slider-arrows {
  display: flex;
  gap: 0.5rem;
}

.slider-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(242, 244, 241, 0.22);
  background: transparent;
  color: #F2F4F1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.slider-arrow-btn:hover {
  border-color: #FFC928;
  color: #FFC928;
  background: rgba(255, 201, 40, 0.1);
  transform: scale(1.06);
}

/* ------------------------------------------------------------------- */
/* RIGHT COLUMN: SURREAL 3D SPOTLIGHT STAGE                            */
/* Organic unboxed visual merging seamlessly into #1C1D20 backdrop     */
/* ------------------------------------------------------------------- */
.editorial-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.surreal-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 630px;
  border-radius: 28px;
  overflow: visible;
  perspective: 1200px;
}

.surreal-art-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
  border: none;
  background: transparent;
  /* Organic vignette edge blending so concrete floor & yellow splash flow seamlessly */
  -webkit-mask-image: radial-gradient(ellipse 95% 88% at 50% 50%, black 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 95% 88% at 50% 50%, black 70%, transparent 100%);
}

.surreal-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.95));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.surreal-stage-wrapper:hover .surreal-hero-img {
  transform: scale(1.02);
}

.surreal-light-glare {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 201, 40, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Interactive Fun Hotspot Pins */
.surreal-pin {
  position: absolute;
  z-index: 15;
  transform: translate(-50%, -50%);
}

.pin-marker {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1C1D20;
  border: 2px solid #FFC928;
  color: #FFC928;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(255, 201, 40, 0.65), 0 8px 16px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.pin-marker:hover,
.surreal-pin.active .pin-marker {
  background: #FFC928;
  color: #1C1D20;
  transform: scale(1.15);
  box-shadow: 0 0 28px rgba(255, 201, 40, 0.9);
}

.pin-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid #FFC928;
  animation: pinPulseRing 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes pinPulseRing {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.pin-card {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 270px;
  background: rgba(28, 29, 32, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 201, 40, 0.4);
  border-radius: 16px;
  padding: 1.1rem;
  color: #F2F4F1;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 201, 40, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
  font-size: 0.84rem;
  text-align: left;
}

.surreal-pin:hover .pin-card,
.surreal-pin.active .pin-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.pin-card-header {
  margin-bottom: 0.5rem;
}

.pin-badge {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFC928;
  background: rgba(255, 201, 40, 0.12);
  border: 1px solid rgba(255, 201, 40, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.3rem;
}

.pin-card-header strong {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 750;
  color: #F2F4F1;
}

.pin-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(242, 244, 241, 0.82);
}

/* Floating helper pill */
.surreal-badge-pill {
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(28, 29, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 244, 241, 0.14);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(242, 244, 241, 0.85);
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.badge-dot-yellow {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFC928;
  box-shadow: 0 0 10px #FFC928;
}

/* ------------------------------------------------------------------- */
/* MOBILE RESPONSIVE ENGINE                                            */
/* ------------------------------------------------------------------- */
@media (max-width: 992px) {
  .editorial-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .editorial-text-col {
    text-align: center;
  }
  .editorial-kicker {
    justify-content: center;
  }
  .editorial-subtext {
    margin: 0 auto 2rem;
  }
  .editorial-rotator-deck {
    justify-content: center;
  }
  .editorial-cta-row {
    justify-content: center;
  }
  .editorial-bottom-strip {
    margin: 0 auto;
  }
  .surreal-stage-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .editorial-hero {
    padding: 2.8rem 1rem 2.8rem;
    min-height: auto;
  }
  .editorial-kicker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
  }
  .kicker-bar {
    display: none;
  }
  .editorial-headline {
    font-size: clamp(2.2rem, 8.5vw, 3.2rem);
    line-height: 1.12;
  }
  .editorial-subtext {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.8rem;
  }
  .editorial-cta-row {
    gap: 1rem;
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .editorial-btn-start {
    width: 100%;
  }
  .pin-card {
    width: 220px;
    font-size: 0.76rem;
  }
  .surreal-badge-pill {
    position: static;
    transform: none;
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* ------------------------------------------------------------------- */
/* 2. FILTER & SEARCH COMMAND DECK                                     */
/* ------------------------------------------------------------------- */
.filter-command-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.5rem;
  margin: 1.5rem auto 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 5;
}

[data-theme="dark"] .filter-command-panel {
  background: rgba(24, 27, 36, 0.85);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.filter-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.search-field-box {
  flex: 1;
  min-width: 280px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-field-icon {
  position: absolute;
  left: 1.1rem;
  font-size: 1.1rem;
  opacity: 0.6;
  pointer-events: none;
}

.search-field-input {
  width: 100%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1.1rem 0.85rem 2.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.search-field-input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.industry-select-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
}

.industry-select-label {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
}

.industry-select-dropdown {
  flex: 1;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.industry-select-dropdown:focus {
  border-color: var(--accent-cyan);
}

.pills-scroll-track {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.pills-scroll-track::-webkit-scrollbar {
  height: 4px;
}

.pills-scroll-track::-webkit-scrollbar-thumb {
  background: var(--border-glass);
  border-radius: 4px;
}

.style-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.style-filter-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-purple);
  transform: translateY(-1px);
}

.style-filter-btn.active {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

/* ------------------------------------------------------------------- */
/* 3. MASTER MORPHING LIVE SANDBOX STAGE                               */
/* ------------------------------------------------------------------- */
.sandbox-deck-wrap {
  margin-bottom: 5rem;
}

.browser-window-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-smooth);
}

[data-theme="dark"] .browser-window-frame {
  background: #12141c;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.browser-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-glass);
  flex-wrap: wrap;
}

.browser-dots-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-url-pill {
  flex: 1;
  max-width: 480px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-actions-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.viewport-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.viewport-toggle-btn:hover,
.viewport-toggle-btn.active {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: transparent;
}

/* Master Stage Canvas Container */
.sandbox-stage {
  padding: 3.5rem 2.5rem;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.sandbox-stage.mobile-view {
  max-width: 400px;
  margin: 1.5rem auto;
  border: 4px solid #334155;
  border-radius: 36px;
  padding: 2rem 1.5rem;
}

.stage-inner-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .stage-inner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.sandbox-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  opacity: 0.95;
}

.sandbox-heading {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.sandbox-desc {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 1.8rem;
}

.sandbox-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.morph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.morph-card {
  padding: 1.8rem;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.morph-form-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.morph-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: all var(--transition-fast);
}

/* ------------------------------------------------------------------- */
/* ------------------------------------------------------------------- */
/* 4. THE 18 THEME STYLES (Scoped Typography, WCAG Contrast & Aesthetics)*/
/* ------------------------------------------------------------------- */

/* Base Reset: Ensure elements inside themed stages inherit theme colors */
.sandbox-stage h1, .sandbox-stage h2, .sandbox-stage h3, .sandbox-stage h4, .sandbox-stage h5, .sandbox-stage h6,
.card-preview-viewport h1, .card-preview-viewport h2, .card-preview-viewport h3, .card-preview-viewport h4, .card-preview-viewport h5, .card-preview-viewport h6,
.modal-body-viewport h1, .modal-body-viewport h2, .modal-body-viewport h3, .modal-body-viewport h4, .modal-body-viewport h5, .modal-body-viewport h6 {
  color: inherit;
}

.sandbox-stage p,
.card-preview-viewport p,
.modal-body-viewport p {
  color: inherit;
}

/* 1. GLASSMORPHISM */
.theme-glassmorphism {
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.45), rgba(15, 23, 42, 0.96) 70%);
  color: #ffffff;
}
.theme-glassmorphism h1,
.theme-glassmorphism h2,
.theme-glassmorphism h3,
.theme-glassmorphism h4,
.theme-glassmorphism h5,
.theme-glassmorphism h6,
.theme-glassmorphism .sandbox-heading {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.theme-glassmorphism .sandbox-tag {
  color: #38bdf8 !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}
.theme-glassmorphism .sandbox-desc,
.theme-glassmorphism p,
.theme-glassmorphism label {
  color: rgba(255, 255, 255, 0.9) !important;
}
.theme-glassmorphism #sandbox-stat1-lbl,
.theme-glassmorphism #sandbox-stat2-lbl,
.theme-glassmorphism .sandbox-stat-lbl {
  color: rgba(255, 255, 255, 0.8) !important;
}
.theme-glassmorphism .morph-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  color: #ffffff;
}
.theme-glassmorphism .morph-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.theme-glassmorphism .morph-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.18) 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 240, 255, 0.35);
  border-color: rgba(0, 240, 255, 0.7);
  color: #ffffff !important;
}
.theme-glassmorphism .morph-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
}
.theme-glassmorphism .morph-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

/* 2. BENTO GRID UI */
.theme-bento {
  background: #090b10;
  color: #f8fafc;
}
.theme-bento h1,
.theme-bento h2,
.theme-bento h3,
.theme-bento h4,
.theme-bento h5,
.theme-bento h6,
.theme-bento .sandbox-heading {
  color: #f8fafc !important;
}
.theme-bento .sandbox-tag {
  color: #38bdf8 !important;
}
.theme-bento .sandbox-desc,
.theme-bento p,
.theme-bento label {
  color: #94a3b8 !important;
}
.theme-bento #sandbox-stat1-lbl,
.theme-bento #sandbox-stat2-lbl,
.theme-bento .sandbox-stat-lbl {
  color: #64748b !important;
}
.theme-bento .morph-card {
  background: #111520;
  border: 1px solid #1e2638;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 35px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}
.theme-bento .morph-btn {
  background: #171d2b;
  border: 1px solid #2a364f;
  color: #38bdf8 !important;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}
.theme-bento .morph-btn:hover {
  background: #1e273a;
  border-color: #38bdf8;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35), inset 0 0 10px rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
}
.theme-bento .morph-input {
  background: #161b26;
  border: 1px solid #283144;
  color: #f8fafc !important;
  font-family: var(--font-mono);
}
.theme-bento .morph-input::placeholder {
  color: #64748b;
}

/* 3. NEO-BRUTALISM */
.theme-neobrutalism {
  background: #fff8eb;
  color: #000000;
}
.theme-neobrutalism h1,
.theme-neobrutalism h2,
.theme-neobrutalism h3,
.theme-neobrutalism h4,
.theme-neobrutalism h5,
.theme-neobrutalism h6,
.theme-neobrutalism .sandbox-heading {
  color: #000000 !important;
  font-weight: 900 !important;
}
.theme-neobrutalism .sandbox-tag {
  color: #000000 !important;
  background: #bef264;
  border: 2px solid #000000;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 900;
}
.theme-neobrutalism .sandbox-desc,
.theme-neobrutalism p,
.theme-neobrutalism label {
  color: #111111 !important;
  font-weight: 600;
}
.theme-neobrutalism #sandbox-stat1-lbl,
.theme-neobrutalism #sandbox-stat2-lbl,
.theme-neobrutalism .sandbox-stat-lbl {
  color: #000000 !important;
  font-weight: 700;
}
.theme-neobrutalism .morph-card {
  background: #ffffff;
  border: 3.5px solid #000000;
  box-shadow: 8px 8px 0px #000000;
  border-radius: 12px;
  color: #000000;
}
.theme-neobrutalism .morph-btn {
  background: #bef264;
  border: 3.5px solid #000000;
  box-shadow: 6px 6px 0px #000000;
  color: #000000 !important;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}
.theme-neobrutalism .morph-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px #000000;
  color: #000000 !important;
}
.theme-neobrutalism .morph-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0px #000000;
}
.theme-neobrutalism .morph-input {
  background: #ffffff;
  border: 3px solid #000000;
  color: #000000 !important;
  font-weight: 700;
}
.theme-neobrutalism .morph-input::placeholder {
  color: #555555;
}

/* 4. MINIMALISM */
.theme-minimalism {
  background: #ffffff;
  color: #0f172a;
}
.theme-minimalism h1,
.theme-minimalism h2,
.theme-minimalism h3,
.theme-minimalism h4,
.theme-minimalism h5,
.theme-minimalism h6,
.theme-minimalism .sandbox-heading {
  color: #0a0a0a !important;
}
.theme-minimalism .sandbox-tag {
  color: #525252 !important;
}
.theme-minimalism .sandbox-desc,
.theme-minimalism p,
.theme-minimalism label {
  color: #404040 !important;
}
.theme-minimalism #sandbox-stat1-lbl,
.theme-minimalism #sandbox-stat2-lbl,
.theme-minimalism .sandbox-stat-lbl {
  color: #737373 !important;
}
.theme-minimalism .morph-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0px;
  box-shadow: none;
  color: #0f172a;
}
.theme-minimalism .morph-btn {
  background: #0f172a;
  border: 1px solid #0f172a;
  color: #ffffff !important;
  border-radius: 0px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.theme-minimalism .morph-btn:hover {
  background: transparent;
  color: #0f172a !important;
}
.theme-minimalism .morph-input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 0;
  color: #0f172a !important;
}
.theme-minimalism .morph-input::placeholder {
  color: #94a3b8;
}

/* 5. MAXIMALISM */
.theme-maximalism {
  background: linear-gradient(135deg, #f43f5e 0%, #8b5cf6 50%, #06b6d4 100%);
  color: #ffffff;
}
.theme-maximalism h1,
.theme-maximalism h2,
.theme-maximalism h3,
.theme-maximalism h4,
.theme-maximalism h5,
.theme-maximalism h6,
.theme-maximalism .sandbox-heading {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.theme-maximalism .sandbox-tag {
  color: #facc15 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.theme-maximalism .sandbox-desc,
.theme-maximalism p,
.theme-maximalism label {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.theme-maximalism #sandbox-stat1-lbl,
.theme-maximalism #sandbox-stat2-lbl,
.theme-maximalism .sandbox-stat-lbl {
  color: #fef08a !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.theme-maximalism .morph-card {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  border: 3px dashed #facc15;
  border-radius: 28px;
  color: #ffffff;
}
.theme-maximalism .morph-btn {
  background: linear-gradient(90deg, #ec4899, #f59e0b, #10b981, #06b6d4, #ec4899);
  background-size: 300% 100%;
  color: #ffffff !important;
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-weight: 900;
  animation: rainbowFlow 4s linear infinite;
}
.theme-maximalism .morph-btn:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 15px 35px rgba(236, 72, 153, 0.6);
  color: #ffffff !important;
}
.theme-maximalism .morph-input {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid #ffffff;
  color: #ffffff !important;
}
.theme-maximalism .morph-input::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

/* 6. NEUMORPHISM */
.theme-neumorphism {
  background: #e6ecf4;
  color: #334155;
}
.theme-neumorphism h1,
.theme-neumorphism h2,
.theme-neumorphism h3,
.theme-neumorphism h4,
.theme-neumorphism h5,
.theme-neumorphism h6,
.theme-neumorphism .sandbox-heading {
  color: #1e293b !important;
  font-weight: 800;
}
.theme-neumorphism .sandbox-tag {
  color: #475569 !important;
}
.theme-neumorphism .sandbox-desc,
.theme-neumorphism p,
.theme-neumorphism label {
  color: #334155 !important;
}
.theme-neumorphism #sandbox-stat1-lbl,
.theme-neumorphism #sandbox-stat2-lbl,
.theme-neumorphism .sandbox-stat-lbl {
  color: #64748b !important;
}
.theme-neumorphism .morph-card {
  background: #e6ecf4;
  border-radius: 28px;
  box-shadow: 14px 14px 28px #c2c9d2, -14px -14px 28px #ffffff;
  border: none;
  color: #334155;
}
.theme-neumorphism .morph-btn {
  background: #e6ecf4;
  border-radius: 18px;
  box-shadow: 8px 8px 16px #c2c9d2, -8px -8px 16px #ffffff;
  color: #1e293b !important;
  border: none;
}
.theme-neumorphism .morph-btn:hover {
  box-shadow: 10px 10px 20px #b5bcc5, -10px -10px 20px #ffffff;
  transform: translateY(-2px);
  color: #1e293b !important;
}
.theme-neumorphism .morph-btn:active {
  box-shadow: inset 6px 6px 12px #c2c9d2, inset -6px -6px 12px #ffffff;
  transform: translateY(0);
}
.theme-neumorphism .morph-input {
  background: #e6ecf4;
  border: none;
  box-shadow: inset 5px 5px 10px #c2c9d2, inset -5px -5px 10px #ffffff;
  color: #1e293b !important;
}
.theme-neumorphism .morph-input::placeholder {
  color: #94a3b8;
}

/* 7. CLAYMORPHISM */
.theme-claymorphism {
  background: #e0f2fe;
  color: #0369a1;
}
.theme-claymorphism h1,
.theme-claymorphism h2,
.theme-claymorphism h3,
.theme-claymorphism h4,
.theme-claymorphism h5,
.theme-claymorphism h6,
.theme-claymorphism .sandbox-heading {
  color: #0c4a6e !important;
  font-weight: 800;
}
.theme-claymorphism .sandbox-tag {
  color: #0284c7 !important;
}
.theme-claymorphism .sandbox-desc,
.theme-claymorphism p,
.theme-claymorphism label {
  color: #0369a1 !important;
}
.theme-claymorphism #sandbox-stat1-lbl,
.theme-claymorphism #sandbox-stat2-lbl,
.theme-claymorphism .sandbox-stat-lbl {
  color: #0284c7 !important;
}
.theme-claymorphism .morph-card {
  background: #bae6fd;
  border-radius: 36px;
  box-shadow: 15px 15px 30px rgba(14, 165, 233, 0.25), inset -8px -8px 16px rgba(2, 132, 199, 0.3), inset 8px 8px 16px rgba(255, 255, 255, 0.85);
  border: none;
  color: #0369a1;
}
.theme-claymorphism .morph-btn {
  background: #38bdf8;
  color: #ffffff !important;
  border-radius: 999px;
  box-shadow: 8px 8px 20px rgba(14, 165, 233, 0.35), inset -5px -5px 10px rgba(2, 132, 199, 0.4), inset 5px 5px 10px rgba(255, 255, 255, 0.8);
  border: none;
}
.theme-claymorphism .morph-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 12px 14px 25px rgba(14, 165, 233, 0.45);
  color: #ffffff !important;
}
.theme-claymorphism .morph-input {
  background: #e0f2fe;
  border: none;
  box-shadow: inset 5px 5px 10px rgba(14, 165, 233, 0.25), inset -5px -5px 10px #ffffff;
  color: #0c4a6e !important;
}
.theme-claymorphism .morph-input::placeholder {
  color: #38bdf8;
}

/* 8. BRUTALISM */
.theme-brutalism {
  background: #111111;
  color: #e5e5e5;
  font-family: var(--font-mono);
}
.theme-brutalism h1,
.theme-brutalism h2,
.theme-brutalism h3,
.theme-brutalism h4,
.theme-brutalism h5,
.theme-brutalism h6,
.theme-brutalism .sandbox-heading {
  color: #ffffff !important;
  font-family: var(--font-mono) !important;
}
.theme-brutalism .sandbox-tag {
  color: #a3e635 !important;
  font-family: var(--font-mono) !important;
}
.theme-brutalism .sandbox-desc,
.theme-brutalism p,
.theme-brutalism label {
  color: #d4d4d4 !important;
  font-family: var(--font-mono) !important;
}
.theme-brutalism #sandbox-stat1-lbl,
.theme-brutalism #sandbox-stat2-lbl,
.theme-brutalism .sandbox-stat-lbl {
  color: #a3a3a3 !important;
  font-family: var(--font-mono) !important;
}
.theme-brutalism .morph-card {
  background: #000000;
  border: 1px solid #444444;
  border-radius: 0;
  color: #e5e5e5;
}
.theme-brutalism .morph-btn {
  background: #ffffff;
  color: #000000 !important;
  border-radius: 0;
  border: 2px solid #ffffff;
  font-family: var(--font-mono);
  font-weight: 800;
}
.theme-brutalism .morph-btn:hover {
  background: #000000;
  color: #ffffff !important;
}
.theme-brutalism .morph-input {
  background: #111111;
  border: 1px solid #444444;
  color: #ffffff !important;
}
.theme-brutalism .morph-input::placeholder {
  color: #737373;
}

/* 9. SKEUOMORPHISM */
.theme-skeuomorphism {
  background: #18191d;
  color: #f3f4f6;
}
.theme-skeuomorphism h1,
.theme-skeuomorphism h2,
.theme-skeuomorphism h3,
.theme-skeuomorphism h4,
.theme-skeuomorphism h5,
.theme-skeuomorphism h6,
.theme-skeuomorphism .sandbox-heading {
  color: #f3f4f6 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 -1px 0 rgba(255, 255, 255, 0.15) !important;
}
.theme-skeuomorphism .sandbox-tag {
  color: #9ca3af !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}
.theme-skeuomorphism .sandbox-desc,
.theme-skeuomorphism p,
.theme-skeuomorphism label {
  color: #d1d5db !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
}
.theme-skeuomorphism #sandbox-stat1-lbl,
.theme-skeuomorphism #sandbox-stat2-lbl,
.theme-skeuomorphism .sandbox-stat-lbl {
  color: #9ca3af !important;
}
.theme-skeuomorphism .morph-card {
  background: linear-gradient(180deg, #2a2c33 0%, #1a1b1f 100%);
  border: 1px solid #3d404b;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 15px 35px rgba(0, 0, 0, 0.7);
  color: #f3f4f6;
}
.theme-skeuomorphism .morph-btn {
  background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
  border: 1px solid #1f2937;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 12px rgba(0, 0, 0, 0.5);
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
.theme-skeuomorphism .morph-btn:hover {
  background: linear-gradient(180deg, #5b6575 0%, #475161 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 18px rgba(0, 0, 0, 0.7);
  color: #ffffff !important;
}
.theme-skeuomorphism .morph-btn:active {
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.8);
  transform: translateY(1px);
}
.theme-skeuomorphism .morph-input {
  background: #141518;
  border: 1px solid #32353e;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
  color: #ffffff !important;
}
.theme-skeuomorphism .morph-input::placeholder {
  color: #9ca3af;
}

/* 10. FLAT DESIGN */
.theme-flat {
  background: #f1f5f9;
  color: #1e293b;
}
.theme-flat h1,
.theme-flat h2,
.theme-flat h3,
.theme-flat h4,
.theme-flat h5,
.theme-flat h6,
.theme-flat .sandbox-heading {
  color: #0f172a !important;
  font-weight: 800;
}
.theme-flat .sandbox-tag {
  color: #0284c7 !important;
}
.theme-flat .sandbox-desc,
.theme-flat p,
.theme-flat label {
  color: #334155 !important;
}
.theme-flat #sandbox-stat1-lbl,
.theme-flat #sandbox-stat2-lbl,
.theme-flat .sandbox-stat-lbl {
  color: #64748b !important;
}
.theme-flat .morph-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: none;
  border: 2px solid #e2e8f0;
  color: #1e293b;
}
.theme-flat .morph-btn {
  background: #0284c7;
  color: #ffffff !important;
  border-radius: 6px;
  border: none;
  font-weight: 700;
}
.theme-flat .morph-btn:hover {
  background: #0369a1;
  color: #ffffff !important;
}
.theme-flat .morph-input {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  color: #0f172a !important;
}
.theme-flat .morph-input::placeholder {
  color: #94a3b8;
}

/* 11. MATERIAL 3 */
.theme-material {
  background: #f7f9fc;
  color: #1a1c1e;
}
.theme-material h1,
.theme-material h2,
.theme-material h3,
.theme-material h4,
.theme-material h5,
.theme-material h6,
.theme-material .sandbox-heading {
  color: #1a1c1e !important;
  font-weight: 800;
}
.theme-material .sandbox-tag {
  color: #006494 !important;
}
.theme-material .sandbox-desc,
.theme-material p,
.theme-material label {
  color: #41474d !important;
}
.theme-material #sandbox-stat1-lbl,
.theme-material #sandbox-stat2-lbl,
.theme-material .sandbox-stat-lbl {
  color: #71787e !important;
}
.theme-material .morph-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e1e3e8;
  color: #1a1c1e;
}
.theme-material .morph-btn {
  background: #006494;
  color: #ffffff !important;
  border-radius: 999px;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 100, 148, 0.25);
}
.theme-material .morph-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 100, 148, 0.35);
  transform: translateY(-2px);
  color: #ffffff !important;
}
.theme-material .morph-input {
  background: #eef2f6;
  border: 1px solid #c4c7cf;
  border-radius: 12px;
  color: #1a1c1e !important;
}
.theme-material .morph-input::placeholder {
  color: #8e9199;
}

/* 12. Y2K CYBER */
.theme-y2k {
  background: linear-gradient(135deg, #e0e7ff 0%, #fbcfe8 100%);
  color: #4338ca;
}
.theme-y2k h1,
.theme-y2k h2,
.theme-y2k h3,
.theme-y2k h4,
.theme-y2k h5,
.theme-y2k h6,
.theme-y2k .sandbox-heading {
  color: #3730a3 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}
.theme-y2k .sandbox-tag {
  color: #ec4899 !important;
}
.theme-y2k .sandbox-desc,
.theme-y2k p,
.theme-y2k label {
  color: #4338ca !important;
}
.theme-y2k #sandbox-stat1-lbl,
.theme-y2k #sandbox-stat2-lbl,
.theme-y2k .sandbox-stat-lbl {
  color: #6366f1 !important;
}
.theme-y2k .morph-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(224, 231, 255, 0.8) 100%);
  border: 2px solid #818cf8;
  border-radius: 32px;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.25);
  color: #4338ca;
}
.theme-y2k .morph-btn {
  background: linear-gradient(180deg, #ffffff 0%, #d8b4fe 40%, #c084fc 60%, #ec4899 100%);
  color: #ffffff !important;
  border-radius: 999px;
  border: 2px solid #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.theme-y2k .morph-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
  color: #ffffff !important;
}
.theme-y2k .morph-input {
  background: #ffffff;
  border: 2px solid #c084fc;
  color: #4338ca !important;
}
.theme-y2k .morph-input::placeholder {
  color: #a855f7;
}

/* 13. RETRO SYNTHWAVE */
.theme-retro {
  background: #11052c;
  color: #f1f5f9;
}
.theme-retro h1,
.theme-retro h2,
.theme-retro h3,
.theme-retro h4,
.theme-retro h5,
.theme-retro h6,
.theme-retro .sandbox-heading {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(236, 72, 153, 0.8), 0 0 25px rgba(236, 72, 153, 0.4) !important;
}
.theme-retro .sandbox-tag {
  color: #06b6d4 !important;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.8) !important;
}
.theme-retro .sandbox-desc,
.theme-retro p,
.theme-retro label {
  color: #f1f5f9 !important;
}
.theme-retro #sandbox-stat1-lbl,
.theme-retro #sandbox-stat2-lbl,
.theme-retro .sandbox-stat-lbl {
  color: #cbd5e1 !important;
}
.theme-retro .morph-card {
  background: #1c0a3e;
  border: 1px solid #ec4899;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.4);
  color: #f1f5f9;
}
.theme-retro .morph-btn {
  background: #170836;
  border: 2px solid #ec4899;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.6), inset 0 0 8px rgba(6, 182, 212, 0.5);
  color: #ffffff !important;
}
.theme-retro .morph-btn:hover {
  box-shadow: 0 0 25px #ec4899, inset 0 0 12px #06b6d4;
  transform: translateY(-2px);
  color: #ffffff !important;
}
.theme-retro .morph-input {
  background: #090217;
  border: 1px solid #06b6d4;
  color: #ffffff !important;
}
.theme-retro .morph-input::placeholder {
  color: #94a3b8;
}

/* 14. CYBERPUNK 2077 */
.theme-cyberpunk {
  background: #0d0f14;
  color: #fcee0a;
  font-family: var(--font-mono);
}
.theme-cyberpunk h1,
.theme-cyberpunk h2,
.theme-cyberpunk h3,
.theme-cyberpunk h4,
.theme-cyberpunk h5,
.theme-cyberpunk h6,
.theme-cyberpunk .sandbox-heading {
  color: #fcee0a !important;
  font-family: var(--font-mono) !important;
  text-shadow: 0 0 10px rgba(252, 238, 10, 0.4) !important;
}
.theme-cyberpunk .sandbox-tag {
  color: #00f0ff !important;
  font-family: var(--font-mono) !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6) !important;
}
.theme-cyberpunk .sandbox-desc,
.theme-cyberpunk p,
.theme-cyberpunk label {
  color: #e2e8f0 !important;
  font-family: var(--font-mono) !important;
}
.theme-cyberpunk #sandbox-stat1-lbl,
.theme-cyberpunk #sandbox-stat2-lbl,
.theme-cyberpunk .sandbox-stat-lbl {
  color: #94a3b8 !important;
  font-family: var(--font-mono) !important;
}
.theme-cyberpunk .morph-card {
  background: #161922;
  border-left: 4px solid #fcee0a;
  border-top: 1px solid #00f0ff;
  border-right: 1px solid #00f0ff;
  border-bottom: 4px solid #00f0ff;
  border-radius: 0px;
  color: #ffffff;
}
.theme-cyberpunk .morph-btn {
  background: #fcee0a;
  color: #000000 !important;
  border-radius: 0px;
  font-family: var(--font-mono);
  font-weight: 900;
  border: none;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.theme-cyberpunk .morph-btn:hover {
  filter: drop-shadow(-3px 0 #00f0ff) drop-shadow(3px 0 #ff0055);
  transform: translateY(-2px);
  color: #000000 !important;
}
.theme-cyberpunk .morph-input {
  background: #0d0f14;
  border: 1px solid #fcee0a;
  color: #fcee0a !important;
}
.theme-cyberpunk .morph-input::placeholder {
  color: #64748b;
}

/* 15. EDITORIAL SWISS */
.theme-editorial {
  background: #faf8f4;
  color: #1c1917;
  font-family: 'Playfair Display', serif;
}
.theme-editorial h1,
.theme-editorial h2,
.theme-editorial h3,
.theme-editorial h4,
.theme-editorial h5,
.theme-editorial h6,
.theme-editorial .sandbox-heading {
  color: #1c1917 !important;
  font-family: 'Playfair Display', serif !important;
}
.theme-editorial .sandbox-tag {
  color: #854d0e !important;
}
.theme-editorial .sandbox-desc,
.theme-editorial p,
.theme-editorial label {
  color: #292524 !important;
}
.theme-editorial #sandbox-stat1-lbl,
.theme-editorial #sandbox-stat2-lbl,
.theme-editorial .sandbox-stat-lbl {
  color: #78716c !important;
}
.theme-editorial .morph-card {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 0px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
  color: #1c1917;
}
.theme-editorial .morph-btn {
  background: #1c1917;
  color: #ffffff !important;
  border-radius: 0px;
  border: 1px solid #1c1917;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  padding: 0.8rem 2.2rem;
}
.theme-editorial .morph-btn:hover {
  background: #d4af37;
  border-color: #d4af37;
  color: #1c1917 !important;
  transform: translateY(-2px);
}
.theme-editorial .morph-input {
  background: #fafaf9;
  border: 1px solid #d6d3d1;
  color: #1c1917 !important;
}
.theme-editorial .morph-input::placeholder {
  color: #a8a29e;
}

/* 16. SPATIAL COMPUTING */
.theme-spatial {
  background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, #030712 100%);
  color: #ffffff;
}
.theme-spatial h1,
.theme-spatial h2,
.theme-spatial h3,
.theme-spatial h4,
.theme-spatial h5,
.theme-spatial h6,
.theme-spatial .sandbox-heading {
  color: #ffffff !important;
  text-shadow: 0 2px 15px rgba(255, 255, 255, 0.3) !important;
}
.theme-spatial .sandbox-tag {
  color: #818cf8 !important;
  text-shadow: 0 0 10px rgba(129, 140, 248, 0.5) !important;
}
.theme-spatial .sandbox-desc,
.theme-spatial p,
.theme-spatial label {
  color: #e0e7ff !important;
}
.theme-spatial #sandbox-stat1-lbl,
.theme-spatial #sandbox-stat2-lbl,
.theme-spatial .sandbox-stat-lbl {
  color: #a5b4fc !important;
}
.theme-spatial .morph-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  color: #ffffff;
}
.theme-spatial .morph-btn {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
  border-radius: 999px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.theme-spatial .morph-btn:hover {
  transform: translateZ(20px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  color: #ffffff !important;
}
.theme-spatial .morph-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}
.theme-spatial .morph-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* 17. STEALTH LUXURY */
.theme-luxury {
  background: #07080a;
  color: #f8fafc;
}
.theme-luxury h1,
.theme-luxury h2,
.theme-luxury h3,
.theme-luxury h4,
.theme-luxury h5,
.theme-luxury h6,
.theme-luxury .sandbox-heading {
  color: #f8fafc !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}
.theme-luxury .sandbox-tag {
  color: #d4af37 !important;
  letter-spacing: 0.12em !important;
}
.theme-luxury .sandbox-desc,
.theme-luxury p,
.theme-luxury label {
  color: #cbd5e1 !important;
}
.theme-luxury #sandbox-stat1-lbl,
.theme-luxury #sandbox-stat2-lbl,
.theme-luxury .sandbox-stat-lbl {
  color: #94a3b8 !important;
}
.theme-luxury .morph-card {
  background: #0e1015;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border-radius: 18px;
  color: #f8fafc;
}
.theme-luxury .morph-btn {
  background: linear-gradient(135deg, #d4af37 0%, #aa8214 100%);
  color: #07080a !important;
  border: 1px solid #f7df8c;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
}
.theme-luxury .morph-btn:hover {
  background: linear-gradient(135deg, #f7df8c 0%, #d4af37 100%);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
  color: #07080a !important;
}
.theme-luxury .morph-input {
  background: #141720;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #f8fafc !important;
}
.theme-luxury .morph-input::placeholder {
  color: #64748b;
}

/* 18. CUSTOMIZED 3D EXPERIENTIAL */
.theme-customized {
  background: radial-gradient(circle at 30% 70%, #312e81 0%, #0f172a 70%);
  color: #ffffff;
}
.theme-customized h1,
.theme-customized h2,
.theme-customized h3,
.theme-customized h4,
.theme-customized h5,
.theme-customized h6,
.theme-customized .sandbox-heading {
  color: #ffffff !important;
}
.theme-customized .sandbox-tag {
  color: #a78bfa !important;
}
.theme-customized .sandbox-desc,
.theme-customized p,
.theme-customized label {
  color: #e2e8f0 !important;
}
.theme-customized #sandbox-stat1-lbl,
.theme-customized #sandbox-stat2-lbl,
.theme-customized .sandbox-stat-lbl {
  color: #94a3b8 !important;
}
.theme-customized .morph-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}
.theme-customized .morph-btn {
  background: var(--grad-primary);
  color: #ffffff !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}
.theme-customized .morph-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(168, 85, 247, 0.5);
  color: #ffffff !important;
}
.theme-customized .morph-input {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}
.theme-customized .morph-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}


/* ------------------------------------------------------------------- */
/* 5. SHOWCASE DIRECTORY GRID & CARDS                                  */
/* ------------------------------------------------------------------- */
.styles-grid-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-glass);
}

.section-intro-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.styles-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .styles-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.style-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .style-item-card {
  background: rgba(24, 27, 36, 0.85);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.style-item-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 45px rgba(99, 102, 241, 0.2);
}

.card-preview-viewport {
  height: 180px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.mini-preview-component {
  width: 100%;
  max-width: 250px;
  text-align: center;
  padding: 1.2rem;
}

.mini-preview-component h5 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: inherit !important;
}

.mini-preview-component p {
  font-size: 0.72rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
  color: inherit !important;
}

.mini-preview-btn {
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
}

.card-content-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tags-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.mini-tag {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.tag-industry {
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.3);
}

.card-style-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.style-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-style-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-specs-list li {
  margin-bottom: 0.45rem;
  display: flex;
  justify-content: space-between;
}

.card-specs-list li span {
  font-weight: 700;
  color: var(--text-main);
}

.card-actions-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-launch-demo {
  flex: 1;
  background: var(--grad-primary);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-launch-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.btn-book-style {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-book-style:hover {
  background: #10b981;
  color: #ffffff;
}

/* ------------------------------------------------------------------- */
/* 6. COMPARISON MATRIX SECTION                                        */
/* ------------------------------------------------------------------- */
.matrix-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-glass);
}

.matrix-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .matrix-table-wrap {
  background: rgba(24, 27, 36, 0.85);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.matrix-table th {
  background: var(--bg-surface-subtle);
  padding: 1.1rem 1.4rem;
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

.matrix-table td {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.matrix-table tr:hover td {
  background: rgba(99, 102, 241, 0.04);
  color: var(--text-main);
}

/* ------------------------------------------------------------------- */
/* 7. STYLE MATCHMAKER QUIZ                                            */
/* ------------------------------------------------------------------- */
.matchmaker-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-glass);
}

.quiz-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .quiz-card {
  background: rgba(24, 27, 36, 0.85);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

.quiz-opt-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.quiz-opt-btn:hover {
  border-color: var(--accent-purple);
  color: var(--text-main);
}

.quiz-opt-btn.selected {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

/* ------------------------------------------------------------------- */
/* 8. FULL SCREEN INTERACTIVE DEMO MODAL                               */
/* ------------------------------------------------------------------- */
.demo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.demo-modal-backdrop.active {
  display: flex;
}

.modal-window {
  width: 100%;
  max-width: 1200px;
  height: 92vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.modal-header-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-glass);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--accent-amber);
}

.modal-body-viewport {
  flex: 1;
  overflow-y: auto;
  padding: 3rem 2rem;
  transition: max-width 0.3s ease;
}

/* =================================================================== */
/* 9. FLAGSHIP SHOWCASE: 2026 VIRTUAL CLOSET E-COMMERCE STUDIO         */
/* Inspired by high-fashion 3D horizontal rail e-commerce              */
/* =================================================================== */

.closet-section {
  padding: 5.5rem 0 4.5rem;
  border-top: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.closet-telemetry-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

.closet-studio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
  margin-top: 2.5rem;
  position: relative;
}

[data-theme="dark"] .closet-studio-card {
  background: #090b10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Studio Header */
.closet-studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 1rem;
}

.closet-brand-title {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.closet-brand-logo {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.closet-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.closet-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.closet-view-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.closet-view-code-btn:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}

.closet-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.closet-cart-pill.cart-bump {
  animation: cartBump 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cartBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

/* 3D Rail Viewport */
.closet-rail-viewport {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 3rem 0 2rem;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}

[data-theme="light"] .closet-rail-viewport {
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #f1f5f9 100%);
}

/* Metallic Clothes Rail */
.closet-metallic-rail {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #475569 0%, #cbd5e1 15%, #ffffff 50%, #cbd5e1 85%, #475569 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.rail-left-mount,
.rail-right-mount {
  position: absolute;
  top: -8px;
  width: 24px;
  height: 24px;
  background: #334155;
  border-radius: 4px;
  border: 1px solid #64748b;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}
.rail-left-mount { left: 0; }
.rail-right-mount { right: 0; }

/* Sliding Hangers Track - Anchor-Centric Engine */
.closet-hangers-track {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 30px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  left: 0;
  margin: 0;
  z-index: 2;
  will-change: transform;
  padding-top: 35px;
  width: max-content;
}

.closet-garment-wrapper {
  flex-shrink: 0;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  perspective: 1200px;
  user-select: none;
}

.closet-garment-wrapper.garment-active {
  transform: scale(1.15) translateY(12px);
  filter: blur(0px) !important;
  opacity: 1 !important;
  z-index: 10;
}

.closet-garment-wrapper.garment-step-1 {
  transform: scale(0.88) translateY(-4px);
  filter: blur(2px);
  opacity: 0.72;
  z-index: 5;
}

.closet-garment-wrapper.garment-step-2 {
  transform: scale(0.76) translateY(-14px);
  filter: blur(4.5px);
  opacity: 0.42;
  z-index: 2;
}

/* Photorealistic Atelier Wooden Hanger & Swivel Hook */
.closet-hanger-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -12px;
  position: relative;
  z-index: 4;
}

.hanger-metal-hook {
  width: 18px;
  height: 32px;
  border: 3px solid #cbd5e1;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  position: relative;
  margin-bottom: -4px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
  background: linear-gradient(90deg, #94a3b8 0%, #ffffff 50%, #64748b 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hanger-wooden-body {
  width: 185px;
  height: 22px;
  background: linear-gradient(180deg, #b45309 0%, #78350f 45%, #451a03 100%);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(254, 215, 170, 0.6);
  position: relative;
}

.hanger-wooden-notch {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fde68a 0%, #b45309 60%, #451a03 100%);
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.6);
}

/* Garment Texture 3D Card */
.garment-flipper {
  width: 240px;
  height: 320px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.45));
}

.closet-garment-wrapper.is-back-view .garment-flipper {
  transform: rotateY(180deg);
}

.garment-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.garment-face.face-back {
  transform: rotateY(180deg);
}

.garment-svg-wrap {
  width: 100%;
  height: 100%;
}

/* Hanging Color Tags On String */
.hanging-tags-cluster {
  position: absolute;
  top: 60px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 12;
}

.tag-assembly {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.tag-thread {
  width: 1.5px;
  height: 28px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .tag-thread {
  background: rgba(0, 0, 0, 0.4);
}

.tag-badge {
  padding: 3px 7px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.tag-badge.tag-black { background: #0a0a0a; border: 1px solid rgba(255,255,255,0.3); }
.tag-badge.tag-blue { background: #1d4ed8; border: 1px solid rgba(255,255,255,0.4); }
.tag-badge.tag-emerald { background: #059669; border: 1px solid rgba(255,255,255,0.4); }

.tag-assembly:hover .tag-badge {
  transform: translateY(2px) scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

.tag-assembly.active-tag .tag-badge {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 1px;
}

.tag-assembly.swinging {
  animation: tagSwing 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tagSwing {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(18deg); }
  50% { transform: rotate(-14deg); }
  75% { transform: rotate(8deg); }
  100% { transform: rotate(0deg); }
}

/* Rail Navigation Arrow Buttons */
.closet-rail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.closet-rail-arrow:hover {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.closet-rail-arrow.arrow-left { left: 1.5rem; }
.closet-rail-arrow.arrow-right { right: 1.5rem; }

/* Product Tray Controls & Micro-Interactions */
.closet-product-tray {
  padding: 2rem 2.5rem;
  background: var(--bg-surface-subtle);
  border-top: 1px solid var(--border-glass);
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .closet-product-tray {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.closet-tags-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.closet-pill-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.closet-stock-alert {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.closet-product-title {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.closet-product-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.control-sublabel {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.closet-controls-cluster {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hanging-color-tags {
  display: flex;
  gap: 0.5rem;
}

.tray-color-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tray-color-pill.active {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
}

.perspective-toggle-group {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 2px;
}

.perspective-btn {
  background: transparent;
  border: none;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.perspective-btn.active {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.size-pill-group {
  display: flex;
  gap: 0.4rem;
}

.size-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.size-btn:hover,
.size-btn.active {
  border-color: var(--text-main);
  background: var(--text-main);
  color: var(--bg-dark);
}

.closet-action-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.closet-price-display {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.price-val {
  font-family: var(--font-primary);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-main);
}

.price-inr {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.closet-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.closet-add-bag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  border: none;
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
  transition: all var(--transition-fast);
}

.closet-add-bag-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.5);
}

.closet-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.closet-whatsapp-btn:hover {
  background: #10b981;
  color: #ffffff;
}

/* Motion Code Drawer */
.closet-code-drawer {
  background: #05070e;
  border-top: 1px solid var(--border-glass);
  padding: 1.5rem 2rem;
}

.code-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.code-badge-jsx {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
}

.code-badge-tech {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.closet-code-snippet {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.55;
  overflow-x: auto;
}

/* =================================================================== */
/* 10. FLAGSHIP SHOWCASE: GLASSY LIQUID NAVIGATION LAB (V5)            */
/* Inspired by viral Glassy Navigation Tabs V5 with dynamic spotlights */
/* =================================================================== */

.glassy-lab-section {
  padding: 5.5rem 0 4.5rem;
  border-top: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.glassy-nav-selector-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.glassy-arch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.glassy-arch-btn .arch-number {
  padding: 0.15rem 0.45rem;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-main);
}

.glassy-arch-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-main);
  transform: translateY(-2px);
}

.glassy-arch-btn.active {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
}

.glassy-arch-btn.active .arch-number {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 2-Column Interactive Device Stage */
.glassy-interactive-stage {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
}

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

/* Smartphone Chassis */
.glassy-device-chassis {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  height: 640px;
  background: #0f121a;
  border: 10px solid #1e2433;
  border-radius: 46px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.device-notch-bar {
  padding: 0.75rem 1.4rem 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 20;
  color: #ffffff;
}

.device-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.device-speaker-notch {
  width: 90px;
  height: 18px;
  background: #000000;
  border-radius: 12px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
}

.device-status-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Living Room Backdrop (Matches Video References) */
.device-wallpaper-screen {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #181b24 0%, #10121a 40%, #0d0e14 100%);
  background-size: cover;
  background-position: center;
}

/* Ambient Visual Backdrop Texture simulating living room / media unit */
.device-wallpaper-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.device-screen-content {
  flex: 1;
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
  position: relative;
  z-index: 5;
}

/* Dynamic Screen Cards */
.mini-dashboard-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.stat-pill-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.stat-main-number {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.device-home-pill {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
}

/* Glassy Bar Container at Bottom of Phone */
.glassy-bar-container {
  padding: 0 1rem 1.8rem;
  position: relative;
  z-index: 15;
}

/* ------------------------------------------------------------- */
/* ARCHITECTURE 1: NEO-ARC CENTER CURVE (NEON CYAN)              */
/* ------------------------------------------------------------- */
.glass-tab-bar-v1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(24, 27, 36, 0.65);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.65rem 0.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.v1-tab-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.68rem;
  font-weight: 700;
}

.v1-tab-btn:hover,
.v1-tab-btn.active {
  color: #ffffff;
}

.v1-center-arc-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid #00f0ff;
  color: #00f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -24px;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.75), inset 0 0 10px rgba(0, 240, 255, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.v1-center-arc-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #00f0ff;
}

/* ------------------------------------------------------------- */
/* ARCHITECTURE 2: HOLOGRAPHIC SPOTLIGHT FOCUS (From Images 1&2) */
/* ------------------------------------------------------------- */
.glass-tab-bar-v2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(20, 23, 31, 0.75);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.75rem 0.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  overflow: visible;
}

.holographic-light-cone {
  position: absolute;
  top: -26px;
  width: 58px;
  height: 52px;
  clip-path: polygon(36% 0%, 64% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.65) 0%, rgba(0, 240, 255, 0.08) 80%, transparent 100%);
  pointer-events: none;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
}

.v2-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

.v2-tab-btn:hover,
.v2-tab-btn.active {
  color: #ffffff;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.8));
}

/* ------------------------------------------------------------- */
/* ARCHITECTURE 3: LIQUID DROPLET MORPH                          */
/* ------------------------------------------------------------- */
.glass-tab-bar-v3 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.65rem 0.5rem;
}

.liquid-droplet-pill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.25);
  border: 1px solid #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
  pointer-events: none;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------- */
/* ARCHITECTURE 4: CHAMPAGNE FLOATING ISLAND                     */
/* ------------------------------------------------------------- */
.glass-tab-bar-v4 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(235, 222, 206, 0.45);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.65rem 0.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.v4-tab-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #451a03;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
}

.v4-floating-orb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #78350f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -22px;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 16px rgba(120, 53, 15, 0.4);
  cursor: pointer;
}

/* Glassy Specs Sidebar */
.glassy-specs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ------------------------------------------------------------- */
/* VIRAL REEL 4-STACK SHOWCASE CONTAINER (Matching Instagram)     */
/* ------------------------------------------------------------- */
.glassy-viral-reel-wrapper {
  max-width: 980px;
  margin: 0 auto 3.2rem;
}

.glassy-viral-card {
  background: linear-gradient(145deg, #161822 0%, #0d0f15 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 2.5rem 2rem 2.8rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.glassy-viral-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.viral-reel-tag {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.viral-reel-title {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 850;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.viral-reel-title .highlight-cyan {
  color: #00f0ff;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.viral-reel-sub {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto 2.2rem;
  line-height: 1.55;
}

/* 4 Bars Stack */
.glassy-bars-showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 580px;
  margin: 0 auto;
}

.glassy-stack-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.4rem;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.glassy-stack-item:hover,
.glassy-stack-item.active {
  transform: scale(1.02);
}

.stack-item-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  padding-left: 1.5rem;
  transition: color 0.2s ease;
}

.glassy-stack-item:hover .stack-item-label,
.glassy-stack-item.active .stack-item-label {
  color: #00f0ff;
}

.tab-notification-dot {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
}

/* ------------------------------------------------------------- */
/* SPECS DASHBOARD & BLUEPRINT CARD (Right Column)              */
/* ------------------------------------------------------------- */
.spec-kicker-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

[data-theme="dark"] .spec-kicker-pill,
body.dark-theme .spec-kicker-pill {
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
}

.spec-heading {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.spec-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

/* 3-Card Bulletproof Specs Grid */
.glassy-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.spec-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.spec-stat-card .spec-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.spec-stat-card .spec-val {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 800;
  color: #0284c7;
}

[data-theme="dark"] .spec-stat-card .spec-val,
body.dark-theme .spec-stat-card .spec-val {
  color: #00f0ff;
}

.spec-stat-card .spec-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Code Box Header Dots & Copy Button */
.code-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.code-filename {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #cbd5e1;
}

.btn-copy-code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: rgba(0, 240, 255, 0.15);
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.4);
}

.glassy-code-box {
  background: #05070e;
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  overflow: hidden;
}

.code-box-header {
  padding: 0.75rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #38bdf8;
}

.code-tag-react {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.glassy-code-pre {
  margin: 0;
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
  overflow-x: auto;
}

.glassy-consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
  transition: all var(--transition-fast);
}

.glassy-consult-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
}

.glassy-viral-action-row {
  margin-top: 2.2rem;
  text-align: center;
  display: flex;
  justify-content: center;
}

/* ------------------------------------------------------------- */
/* MOBILE RESPONSIVE ENGINE FOR CLOSET & GLASSY SHOWCASES        */
/* ------------------------------------------------------------- */
/* COMPREHENSIVE MOBILE RESPONSIVE ENGINE FOR STYLES SHOWCASE    */
/* ------------------------------------------------------------- */
.btn-mobile-text {
  display: none;
}

@media (max-width: 768px) {
  .btn-full-text {
    display: none !important;
  }
  .btn-mobile-text {
    display: inline !important;
  }

  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .styles-page-main {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  /* 1. HERO SECTION RESPONSIVENESS */
  .editorial-hero {
    padding: 2.2rem 0.5rem 2rem !important;
    overflow: hidden !important;
    min-height: auto !important;
  }

  .editorial-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .editorial-text-col {
    text-align: center !important;
    width: 100% !important;
  }

  .editorial-kicker {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.35rem !important;
    font-size: 0.72rem !important;
  }

  .kicker-bar {
    display: none !important;
  }

  .editorial-headline {
    font-size: clamp(2rem, 7.8vw, 2.75rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 0.85rem !important;
  }

  .editorial-rotator-deck {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    font-size: 0.78rem !important;
    margin-bottom: 1.25rem !important;
  }

  .editorial-subtext {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    margin: 0 auto 1.5rem !important;
    padding: 0 0.5rem !important;
  }

  .editorial-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-bottom: 1.8rem !important;
  }

  .editorial-btn-journey,
  .editorial-btn-start {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1.25rem !important;
    box-sizing: border-box !important;
  }

  .editorial-bottom-strip {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .surreal-stage-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    margin: 0 auto !important;
  }

  .surreal-art-frame {
    border-radius: 20px !important;
    width: 100% !important;
  }

  .pin-marker {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }

  .pin-card {
    width: min(240px, calc(100vw - 40px)) !important;
    max-width: min(240px, calc(100vw - 40px)) !important;
    font-size: 0.75rem !important;
    padding: 0.85rem !important;
    border-radius: 12px !important;
  }

  .surreal-badge-pill {
    position: static !important;
    transform: none !important;
    margin-top: 1rem !important;
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    box-sizing: border-box !important;
    padding: 0.5rem 0.85rem !important;
  }

  /* 2. FILTER & SEARCH COMMAND DECK */
  .filter-command-panel {
    padding: 1rem 0.85rem !important;
    margin: 1rem auto 2rem !important;
    border-radius: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .filter-top-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-bottom: 0.85rem !important;
  }

  .search-field-box {
    width: 100% !important;
    min-width: 0 !important;
    flex: unset !important;
  }

  .search-field-input {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.85rem !important;
    padding: 0.75rem 1rem 0.75rem 2.6rem !important;
  }

  .industry-select-wrap {
    width: 100% !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    flex: unset !important;
  }

  .industry-select-label {
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
  }

  .industry-select-dropdown {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.85rem !important;
    padding: 0.75rem 0.85rem !important;
  }

  .pills-scroll-track {
    padding-bottom: 0.5rem !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .style-filter-btn {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* 3. MASTER MORPHING LIVE SANDBOX */
  .sandbox-deck-wrap {
    margin-bottom: 3rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .browser-window-frame {
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .browser-titlebar {
    padding: 0.65rem 0.75rem !important;
    gap: 0.5rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .browser-dots-group {
    display: none !important;
  }

  .browser-url-pill {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.68rem !important;
    padding: 0.35rem 0.5rem !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .browser-actions-group {
    display: flex !important;
    width: 100% !important;
    gap: 4px !important;
    justify-content: space-between !important;
  }

  .viewport-toggle-btn {
    flex: 1 !important;
    padding: 0.4rem 0.25rem !important;
    font-size: 0.68rem !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sandbox-stage {
    padding: 1.5rem 1rem !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .sandbox-stage.mobile-view {
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
    padding: 1.25rem 0.85rem !important;
  }

  .stage-inner-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .sandbox-tag {
    font-size: 0.72rem !important;
    word-break: break-word !important;
    margin-bottom: 0.5rem !important;
  }

  .sandbox-heading {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem) !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    hyphens: auto !important;
    margin-bottom: 0.85rem !important;
  }

  .sandbox-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
  }

  .sandbox-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.6rem !important;
  }

  .morph-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
  }

  .morph-card {
    padding: 1.25rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
  }

  .morph-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .morph-form-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
  }

  .morph-input {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.82rem !important;
    padding: 0.6rem 0.85rem !important;
  }

  /* 4. 2026 VIRTUAL CLOSET E-COMMERCE SHOWCASE */
  .closet-section {
    padding: 3.5rem 0 3rem !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .closet-section .section-intro-head h2 {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
  }

  .closet-section .section-intro-head p {
    font-size: 0.88rem !important;
    padding: 0 0.5rem !important;
  }

  .closet-telemetry-strip {
    gap: 0.4rem !important;
    margin-top: 1rem !important;
  }

  .telemetry-badge {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.6rem !important;
  }

  .closet-studio-card {
    border-radius: 18px !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .closet-studio-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0.85rem 1rem !important;
    gap: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .closet-brand-title {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .closet-brand-logo {
    font-size: 1.1rem !important;
    letter-spacing: 0.06em !important;
  }

  .closet-brand-sub {
    font-size: 0.7rem !important;
    white-space: nowrap !important;
  }

  .closet-header-actions {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
  }

  .closet-view-code-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 0.45rem 0.6rem !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
  }

  .closet-cart-pill {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }

  .closet-rail-viewport {
    min-height: 380px !important;
    padding: 1.8rem 0 1.2rem !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .closet-metallic-rail {
    top: 48px !important;
    height: 6px !important;
  }

  .closet-rail-arrow {
    width: 36px !important;
    height: 36px !important;
    z-index: 25 !important;
  }

  .closet-rail-arrow.arrow-left {
    left: 8px !important;
  }

  .closet-rail-arrow.arrow-right {
    right: 8px !important;
  }

  .closet-hangers-track {
    gap: 20px !important;
    padding-top: 22px !important;
    margin: 0 !important;
    left: 0 !important;
  }

  .closet-garment-wrapper {
    width: 180px !important;
    flex-shrink: 0 !important;
  }

  .garment-flipper {
    width: 180px !important;
    height: 240px !important;
  }

  .hanger-wooden-body {
    width: 140px !important;
    height: 18px !important;
  }

  .hanger-metal-hook {
    width: 14px !important;
    height: 26px !important;
  }

  .closet-hanger-head {
    margin-bottom: -8px !important;
  }

  .closet-product-tray {
    padding: 1.25rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .closet-product-title {
    font-size: clamp(1.15rem, 5vw, 1.4rem) !important;
    margin-bottom: 0.4rem !important;
  }

  .closet-product-desc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .closet-controls-cluster {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .hanging-color-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
  }

  .perspective-toggle-group {
    display: flex !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .perspective-btn {
    flex: 1 !important;
    padding: 0.45rem !important;
    font-size: 0.75rem !important;
    text-align: center !important;
  }

  .size-pill-group {
    display: flex !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .size-btn {
    flex: 1 !important;
    padding: 0.45rem !important;
    font-size: 0.78rem !important;
    text-align: center !important;
  }

  .closet-action-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .closet-price-display {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .closet-btn-group {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
  }

  .closet-add-bag-btn,
  .closet-whatsapp-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.88rem !important;
  }

  /* 5. GLASSY LIQUID NAVIGATION LAB */
  .glassy-lab-section {
    padding: 3.5rem 0 3rem !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .glassy-nav-selector-pills {
    gap: 0.45rem !important;
    margin: 1.25rem 0 !important;
  }

  .glassy-arch-btn {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.74rem !important;
  }

  .glassy-interactive-stage {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .glassy-device-chassis {
    width: 100% !important;
    max-width: min(320px, calc(100vw - 2rem)) !important;
    height: clamp(520px, 120vw, 580px) !important;
    border-width: 7px !important;
    border-radius: 36px !important;
    margin: 0 auto !important;
  }

  .device-screen-content {
    padding: 0.85rem 0.75rem !important;
  }

  .glassy-bar-container {
    padding: 0 0.5rem 1rem !important;
  }

  .v1-tab-btn,
  .v2-tab-btn,
  .v4-tab-btn {
    font-size: 0.62rem !important;
    padding: 0.25rem !important;
  }

  .v1-center-arc-btn {
    width: 40px !important;
    height: 40px !important;
    margin-top: -18px !important;
  }

  /* 6. SHOWCASE DIRECTORY GRID & MATRIX & QUIZ */
  .styles-grid-section {
    padding: 3.5rem 0 !important;
    width: 100% !important;
  }

  .styles-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }

  .style-item-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .matrix-section {
    padding: 3.5rem 0 !important;
    width: 100% !important;
  }

  .matrix-table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .matrix-table {
    min-width: 580px !important;
  }

  .matchmaker-section {
    padding: 3.5rem 0 !important;
    width: 100% !important;
  }

  .quiz-card {
    padding: 1.5rem 1rem !important;
    border-radius: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .quiz-options-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  .quiz-opt-btn {
    padding: 0.65rem 0.5rem !important;
    font-size: 0.78rem !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .quiz-options-grid {
    grid-template-columns: 1fr !important;
  }

  .editorial-headline {
    font-size: 1.95rem !important;
  }

  .sandbox-heading {
    font-size: 1.35rem !important;
  }

  .viewport-toggle-btn {
    font-size: 0.62rem !important;
    padding: 0.35rem 0.2rem !important;
  }

  .browser-url-pill {
    font-size: 0.64rem !important;
  }
}
