/* ==========================================================================
   ANERA STORE — JG & ZYKE INSPIRED LAYOUT IN ANERA OBSIDIAN GLASSMORPHISM
   Uses Anera Design System tokens from web/css/style.css (#0c1017, cyan, green)
   ========================================================================== */

/* Shared Store Utilities */
.store-btn-compact {
  padding: 0.65rem 1.35rem;
  font-size: 0.86rem;
  border-radius: 10px;
}

.nav-actions .store-btn-compact {
  padding: 0.56rem 1.05rem;
  font-size: 0.84rem;
  line-height: 1.2;
  white-space: nowrap;
}

.store-pill-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.28);
  color: var(--text-cyan);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-pill-eyebrow.green {
  background: rgba(0, 255, 135, 0.1);
  border-color: rgba(0, 255, 135, 0.28);
  color: var(--text-green);
}

.store-section {
  padding: 3.75rem 0;
}

.store-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.store-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: 0.02em;
  margin-top: 0.45rem;
}

.store-head-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-cyan);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.store-head-link:hover {
  color: var(--text-pure);
  transform: translateX(3px);
}

/* ==========================================================================
   STORE FRONTPAGE HERO (Centered JG + Zyke Interactive Showcase Stage)
   ========================================================================== */
.store-front-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 210, 255, 0.14);
}

.store-front-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 8%, rgba(0, 210, 255, 0.18), transparent 65%),
    radial-gradient(ellipse 50% 45% at 80% 25%, rgba(0, 255, 135, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(12, 16, 23, 0.6) 0%, #0c1017 100%);
  pointer-events: none;
}

.store-hero-centered {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.store-hero-centered .hero-title {
  font-size: clamp(2.15rem, 4.4vw, 3.65rem);
  line-height: 1.07;
  margin: 1rem auto 1rem;
}

.store-hero-centered .hero-subtitle {
  margin: 0 auto 1.75rem;
  max-width: 60ch;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.store-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Zyke-inspired Interactive Product Stage + JG Floating UI Panels */
.hero-stage-shell {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.24);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-stage-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.stage-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 14, 22, 0.75);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stage-pill-btn:hover {
  color: var(--text-pure);
  border-color: rgba(0, 210, 255, 0.4);
}

.stage-pill-btn[aria-pressed="true"] {
  background: rgba(0, 210, 255, 0.16);
  border-color: var(--primary-cyan);
  color: var(--text-cyan);
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.22);
}

.hero-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1rem;
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 25%, rgba(0, 210, 255, 0.13), transparent 55%),
    rgba(8, 12, 19, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stage-info {
  padding: 0.5rem 0.75rem;
  display: grid;
  gap: 0.9rem;
}

.hero-stage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-stage-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.18;
}

.hero-stage-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-stage-bullets {
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.hero-stage-bullets li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.87rem;
  color: var(--text-primary);
}

.hero-stage-bullets i {
  color: var(--text-green);
  font-size: 0.78rem;
}

.hero-stage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.hero-stage-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-cyan);
  margin-right: 0.4rem;
}

/* Simulated Floating Obsidian NUI Mockup Window */
.nui-preview-frame {
  position: relative;
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(155deg, rgba(16, 23, 36, 0.95), rgba(9, 13, 21, 0.98));
  border: 1px solid rgba(0, 210, 255, 0.28);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
}

.nui-preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nui-preview-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-pure);
}

.nui-preview-brand img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nui-status-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.3);
  color: var(--text-green);
}

.nui-preview-rows {
  display: grid;
  gap: 0.55rem;
}

.nui-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}

.nui-preview-row span:first-child {
  color: var(--text-secondary);
}

.nui-preview-row span:last-child {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-cyan);
}

/* ==========================================================================
   JG-STYLE VISUAL SCRIPT CARDS (16:9 UI Preview Header + Clean Card Body)
   ========================================================================== */
.store-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}

.store-grid-3:has(> :only-child) {
  grid-template-columns: minmax(320px, 480px);
  justify-content: center;
}

.store-controls-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* 5-card scrollable coverflow carousel (1 big center + 2 on each side) */
.shot-carousel-wrap {
  position: relative;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot-carousel-stage {
  position: relative;
  width: 100%;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.carousel-shot-card {
  position: absolute;
  width: min(560px, 68vw);
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(12, 18, 30, 0.94);
  border: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, border-color 0.22s ease;
}

.carousel-shot-card[data-offset="0"] {
  z-index: 5;
  transform: translateX(0) scale(1);
  opacity: 1;
  border-color: rgba(0, 255, 135, 0.45);
}

.carousel-shot-card[data-offset="-1"] {
  z-index: 4;
  transform: translateX(-42%) scale(0.82);
  opacity: 0.84;
}

.carousel-shot-card[data-offset="1"] {
  z-index: 4;
  transform: translateX(42%) scale(0.82);
  opacity: 0.84;
}

.carousel-shot-card[data-offset="-2"] {
  z-index: 3;
  transform: translateX(-74%) scale(0.66);
  opacity: 0.56;
}

.carousel-shot-card[data-offset="2"] {
  z-index: 3;
  transform: translateX(74%) scale(0.66);
  opacity: 0.56;
}

.carousel-shot-card:hover {
  border-color: rgba(0, 255, 135, 0.65);
}

.carousel-shot-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #080d17;
}

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

.carousel-shot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-pure);
}

.shot-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 210, 255, 0.35);
  background: rgba(10, 15, 25, 0.88);
  color: var(--text-pure);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.shot-carousel-nav:hover {
  border-color: rgba(0, 255, 135, 0.6);
  background: rgba(16, 24, 38, 0.96);
}

.shot-carousel-nav.prev { left: 8px; }
.shot-carousel-nav.next { right: 8px; }

@media (max-width: 820px) {
  .shot-carousel-stage { height: 270px; }
  .carousel-shot-card { width: 82vw; }
  .carousel-shot-card[data-offset="-2"],
  .carousel-shot-card[data-offset="2"] { opacity: 0; pointer-events: none; }
}

/* Future preview video slot */
.video-placeholder-card {
  aspect-ratio: 16 / 9;
  max-height: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  border: 1px dashed rgba(0, 210, 255, 0.32);
  border-radius: 16px;
}

.video-placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--text-cyan);
  background: rgba(0, 210, 255, 0.14);
  border: 1px solid rgba(0, 210, 255, 0.35);
}

.video-placeholder-card h3 {
  font-size: 1.15rem;
  color: var(--text-pure);
}

.video-placeholder-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.video-frame-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 210, 255, 0.22);
}

.video-frame-wrap iframe,
.video-frame-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0B0F17;
  object-fit: cover;
}

@media (max-width: 820px) {
  .gallery-5-grid {
    grid-template-columns: 1fr;
  }
  .gallery-shot-card,
  .gallery-shot-card:nth-child(1),
  .gallery-shot-card:nth-child(2) {
    grid-column: span 1;
  }
}

.script-card {
  container-type: inline-size;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  border-radius: 16px;
  background: rgba(18, 25, 39, 0.78);
  border: 1px solid rgba(0, 210, 255, 0.16);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.script-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 135, 0.42);
  box-shadow: var(--shadow-card-hover);
}

/* 16:10 Live NUI Screenshot Header matching full 1440x890 NUI proportions */
.script-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  text-decoration: none;
  background: #070b12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.script-card-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.script-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 17, 0.56) 0%, transparent 32%, rgba(6, 10, 17, 0.28) 100%);
  pointer-events: none;
  z-index: 1;
}

.script-card:hover .script-card-shot {
  transform: scale(1.035);
}

.script-visual-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.script-badge-tag {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(6, 14, 20, 0.84);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 255, 135, 0.48);
  color: var(--text-green);
}

.script-version-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--text-primary);
  background: rgba(6, 10, 17, 0.84);
  backdrop-filter: blur(6px);
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Tilted Mini Obsidian Terminal Overlay inside card visual */
.script-mini-terminal {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  background: rgba(8, 12, 20, 0.86);
  border: 1px solid rgba(0, 210, 255, 0.22);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transform: translateY(4px);
  transition: transform var(--transition-smooth);
}

.script-card:hover .script-mini-terminal {
  transform: translateY(0);
}

.script-mini-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.script-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(0, 210, 255, 0.14);
  color: var(--text-cyan);
  font-size: 0.98rem;
  flex-shrink: 0;
}

.script-card[data-accent="green"] .script-mini-icon {
  background: rgba(0, 255, 135, 0.14);
  color: var(--text-green);
}

.script-mini-slug {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.script-mini-sql {
  font-size: 0.7rem;
  color: var(--text-green);
}

.script-card-body {
  padding: 1.15rem 1.25rem 0.65rem;
  display: grid;
  gap: 0.55rem;
}

.script-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.script-card-title-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-pure);
  text-decoration: none;
  line-height: 1.25;
}

.script-card-title-link:hover {
  color: var(--text-cyan);
}

.script-card-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-cyan);
  white-space: nowrap;
}

.script-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.script-card-deps {
  padding: 0 1.25rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-content: flex-start;
}

.store-dep-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.52rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
}

.store-dep-pill.sql {
  background: rgba(0, 255, 135, 0.08);
  border-color: rgba(0, 255, 135, 0.24);
  color: var(--text-green);
}

.script-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--border-glass-subtle);
  background: rgba(10, 14, 22, 0.45);
}

/* ==========================================================================
   FILTER TOOLBAR & BUNDLES
   ========================================================================== */
.store-toolbar {
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.store-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.store-filter-tabs::-webkit-scrollbar {
  display: none;
}

.store-tab-btn {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.52rem 0.95rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.store-tab-btn:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.04);
}

.store-tab-btn[aria-pressed="true"] {
  color: var(--text-cyan);
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.28);
}

.store-tab-btn[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  inset: auto 0.65rem -1px;
  border-block-end: 3px solid var(--primary-cyan);
  border-radius: 2px;
}

.store-tab-count {
  font-size: 0.72rem;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.store-controls-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.store-search-wrap {
  position: relative;
  min-width: 240px;
}

.store-search-wrap i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.store-input,
.store-select {
  height: 38px;
  background: rgba(10, 14, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.86rem;
}

.store-input {
  width: 100%;
  padding: 0 0.85rem 0 2.25rem;
}

.store-select {
  padding: 0 0.8rem;
  cursor: pointer;
}

.store-results-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.store-tier-switch {
  display: inline-flex;
  padding: 0.22rem;
  border-radius: 10px;
  background: rgba(10, 14, 22, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0.2rem;
}

.store-tier-btn {
  padding: 0.38rem 0.78rem;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.store-tier-btn[aria-pressed="true"] {
  background: rgba(0, 210, 255, 0.18);
  color: var(--text-cyan);
}

/* Guarantee 4-column Strip (JG Pattern) */
.store-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem;
}

.guarantee-card {
  padding: 1.35rem;
}

.guarantee-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.24);
  color: var(--text-cyan);
  margin-bottom: 0.85rem;
}

.guarantee-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.guarantee-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Topographic Obsidian Banner (Zyke Stats/CTA Aesthetic in Anera Palette) */
.anera-wave-banner {
  position: relative;
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 255, 135, 0.18), transparent 48%),
    radial-gradient(circle at 12% 75%, rgba(0, 210, 255, 0.22), transparent 50%),
    linear-gradient(135deg, #0d1c2e 0%, #09131f 100%);
  border: 1px solid rgba(0, 210, 255, 0.3);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55);
}

.anera-wave-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: repeating-radial-gradient(circle at 82% 40%, transparent 0, transparent 22px, rgba(0, 210, 255, 0.35) 23px, transparent 24px);
  pointer-events: none;
}

.anera-banner-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.banner-metric-val {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.1;
}

.banner-metric-label {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: var(--text-cyan);
  font-weight: 600;
}

/* Bundles */
.store-bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.bundle-card {
  padding: 1.45rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  background: linear-gradient(155deg, rgba(22, 32, 50, 0.84), rgba(14, 20, 32, 0.9));
}

.bundle-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.bundle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 255, 135, 0.14);
  border: 1px solid rgba(0, 255, 135, 0.35);
  color: var(--text-green);
}

.bundle-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-top: 0.45rem;
}

.bundle-price-old {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-align: right;
}

.bundle-price-now {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-cyan);
  text-align: right;
}

.bundle-includes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bundle-includes a {
  text-decoration: none;
  font-size: 0.76rem;
  padding: 0.26rem 0.56rem;
  border-radius: 6px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.22);
  color: var(--text-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.bundle-includes a:hover {
  border-color: var(--primary-cyan);
  color: var(--text-cyan);
}

.bundle-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-glass-subtle);
}

/* ==========================================================================
   SCRIPT DETAIL PAGE (script.html?id=... — JG + Zyke Product Page)
   ========================================================================== */
.script-hero {
  position: relative;
  padding: 3rem 0 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 210, 255, 0.16);
  background:
    radial-gradient(ellipse 68% 58% at 50% 0%, rgba(0, 210, 255, 0.19), transparent 68%),
    radial-gradient(ellipse 46% 42% at 85% 15%, rgba(0, 255, 135, 0.1), transparent 60%),
    linear-gradient(180deg, #0f1826 0%, #0c1017 100%);
}

.script-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.script-breadcrumb a {
  color: var(--text-cyan);
  text-decoration: none;
}

.script-breadcrumb a:hover {
  text-decoration: underline;
}

.script-hero-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.script-hero-title {
  font-family: var(--font-hero);
  font-size: clamp(2.15rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.08;
  margin: 0.75rem 0 0.85rem;
}

.script-hero-tagline {
  color: var(--text-secondary);
  font-size: 1.06rem;
  max-width: 58ch;
  margin: 0 auto 1.3rem;
}

.script-hero-price-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.script-hero-price {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-pure);
}

.script-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Fanned-Out Real NUI Screenshot Collage (JG Mechanic hero signature) */
.script-hero-collage {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.9fr;
  gap: 1rem;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 0.5rem;
}

.collage-panel {
  border-radius: 16px 16px 0 0;
  padding: 1.1rem;
  background: rgba(14, 21, 34, 0.94);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-bottom: none;
  box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.55);
}

.collage-shot-panel {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem 0.55rem 0.65rem;
  border-radius: 14px 14px 0 0;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.28s ease;
}

.collage-panel.left {
  transform: perspective(1000px) rotateY(7deg) translateY(8px);
}

.collage-panel.center {
  border-color: rgba(0, 255, 135, 0.38);
  background: linear-gradient(160deg, rgba(16, 26, 42, 0.96), rgba(10, 15, 24, 0.98));
  z-index: 2;
}

.collage-panel.right {
  transform: perspective(1000px) rotateY(-7deg) translateY(8px);
}

.collage-shot-panel:hover {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 28px rgba(0, 210, 255, 0.22);
}

.collage-shot-panel.left:hover {
  transform: perspective(1000px) rotateY(3deg) translateY(2px);
}

.collage-shot-panel.center:hover {
  transform: translateY(-4px);
}

.collage-shot-panel.right:hover {
  transform: perspective(1000px) rotateY(-3deg) translateY(2px);
}

.collage-shot-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #060a11;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.collage-shot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.collage-shot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.1rem 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.collage-shot-zoom {
  color: var(--text-cyan);
  font-size: 0.72rem;
}

dialog.store-dialog.store-lightbox-dialog {
  width: min(1160px, 90vw);
  max-width: 90vw;
  max-height: 90dvh;
}

.store-lightbox-body {
  padding: 0.85rem;
  background: #060a11;
}

.store-lightbox-body img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Trust Strip below script hero (Zyke pattern) */
.script-trust-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(14, 19, 30, 0.65);
  padding: 1rem 0;
}

.script-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.25rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.script-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.script-trust-list i {
  color: var(--text-green);
}

/* Script Overview + Sticky Right Specs Sidebar */
.script-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.85fr);
  gap: 2.25rem;
  align-items: start;
}

.script-overview-copy p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.72;
  margin-bottom: 1.25rem;
}

.script-code-note {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(0, 255, 135, 0.06);
  border: 1px solid rgba(0, 255, 135, 0.24);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.script-specs-card {
  padding: 1.4rem;
  position: sticky;
  top: 96px;
}

.script-specs-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-cyan);
  margin-bottom: 1rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.88rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-key {
  color: var(--text-muted);
}

.spec-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-pure);
  text-align: right;
}

/* Zyke Key Features 2-Column Icon Cards */
.key-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.key-feature-card {
  padding: 1.45rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.key-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.28);
  color: var(--text-cyan);
  font-size: 1.05rem;
}

.key-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.key-feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* JG Alternating Modular Showcase Rows */
.deep-dive-stack {
  display: grid;
  gap: 3rem;
}

.deep-dive-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
  align-items: center;
}

.deep-dive-row.reverse .deep-dive-copy {
  order: 2;
}

.deep-dive-copy h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  color: var(--text-pure);
  margin: 0.55rem 0 0.8rem;
}

.deep-dive-copy p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* Zyke SETUP & Ecosystem Bundle Grid */
.setup-ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: start;
}

.setup-card {
  padding: 1.5rem;
}

.install-timeline {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.install-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 11px;
  background: rgba(10, 14, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.install-step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-cyan);
  font-size: 0.95rem;
}

.ecosystem-progress-wrap {
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.24);
  margin-bottom: 1rem;
}

.ecosystem-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: 0.55rem;
}

.ecosystem-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-green));
  transition: width var(--transition-smooth);
}

.pair-list {
  display: grid;
  gap: 0.75rem;
}

.pair-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(10, 14, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Zyke Numbered FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.35fr);
  gap: 2.25rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 14px;
  background: rgba(18, 25, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-pure);
}

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

.faq-q-left {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.faq-num {
  color: var(--text-cyan);
  font-size: 0.86rem;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  color: var(--text-cyan);
}

.faq-plus {
  transition: transform var(--transition-fast);
  color: var(--text-secondary);
}

.faq-answer {
  padding: 0 1.25rem 1.15rem 3.2rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Sticky Bottom Purchase Bar (Appears once scrolled past Hero CTA) */
.sticky-buy-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%);
  width: min(940px, calc(100vw - 1.5rem));
  z-index: 950;
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  background: rgba(12, 18, 29, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-buy-bar.is-visible {
  transform: translate(-50%, 0);
}

/* ==========================================================================
   NATIVE <dialog> QUOTE CART MODAL
   Follows modern-web-guidance 'dialog' & 'animate-to-from-top-layer'
   ========================================================================== */
dialog.store-dialog:modal {
  overscroll-behavior: contain;
}

dialog.store-dialog {
  margin: auto;
  width: min(680px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2.5rem);
  overflow-y: auto;
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: 18px;
  padding: 0;
  background: #101724;
  color: var(--text-primary);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.78);
  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.24s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-behavior: allow-discrete;
}

@media (prefers-reduced-motion: no-preference) {
  dialog.store-dialog {
    transform: translateY(10px) scale(0.97);
  }
}

dialog.store-dialog[open]:where(:not([data-closing])) {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  dialog.store-dialog[open]:where(:not([data-closing])) {
    transform: translateY(0) scale(1);
  }
}

@starting-style {
  dialog.store-dialog[open]:where(:not([data-closing])) {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @starting-style {
    dialog.store-dialog[open]:where(:not([data-closing])) {
      transform: translateY(10px) scale(0.97);
    }
  }
}

dialog.store-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(4, 7, 13, 0);
  backdrop-filter: blur(6px);
  transition-property: background-color, display, overlay;
  transition-duration: 0.24s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

dialog.store-dialog[open]:where(:not([data-closing]))::backdrop {
  background-color: rgba(4, 7, 13, 0.76);
}

@starting-style {
  dialog.store-dialog[open]:where(:not([data-closing]))::backdrop {
    background-color: rgba(4, 7, 13, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  dialog.store-dialog,
  dialog.store-dialog::backdrop {
    transition-duration: 0.1s;
  }
}

.store-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: rgba(14, 21, 34, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 2;
}

.store-dialog-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.store-dialog-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.store-dialog-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-pure);
}

.store-dialog-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.store-dialog-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-pure);
}

.store-dialog-body {
  padding: 1.35rem 1.5rem;
  display: grid;
  gap: 1rem;
}

.store-dialog-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 21, 34, 0.94);
}

.store-cart-items {
  display: grid;
  gap: 0.75rem;
}

.store-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 11px;
  background: rgba(8, 12, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-cart-row-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-pure);
}

.store-cart-row-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.store-cart-row-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-cart-summary {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(0, 255, 135, 0.06);
  border: 1px solid rgba(0, 255, 135, 0.22);
  display: grid;
  gap: 0.35rem;
}

.store-cart-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.store-cart-line.total {
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-pure);
}

.store-empty {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-secondary);
}

@media (max-width: 960px) {
  .hero-stage-grid,
  .store-toolbar,
  .script-overview-grid,
  .deep-dive-row,
  .setup-ecosystem-grid,
  .faq-grid,
    .key-features-grid {
    grid-template-columns: 1fr;
  }

  .deep-dive-row.reverse .deep-dive-copy {
    order: 0;
  }

  .script-hero-collage {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .collage-panel.left,
  .collage-panel.center,
  .collage-panel.right {
    transform: none;
    border-radius: 14px;
    border-bottom: 1px solid rgba(0, 210, 255, 0.25);
  }

  .script-specs-card {
    position: static;
  }
}

@media (max-width: 600px) {
  .nav-actions .js-open-quote-cart {
    display: none;
  }

  .store-front-hero {
    padding: 3rem 0 2.5rem;
  }

  .sticky-buy-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
}
