/* ═══════════════════════════════════════════════════════
   SECTION 5 · SHOWCASE — one framed card at a time
   ═══════════════════════════════════════════════════════ */

#section-5.vxg-section {
  isolation: isolate;
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--v2-color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 2rem 2rem;
  box-sizing: border-box;
}

/* ── Background image for section 5 ── */
.vxg-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  filter: saturate(0.9) contrast(1.02);
}
.vxg-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg,
    rgba(5,5,5,0.55) 0%,
    rgba(5,5,5,0.35) 40%,
    rgba(5,5,5,0.65) 100%);
  pointer-events: none;
}


/* Section-level tint — covers the whole section, never scales with card swaps */
.vxg-section-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(5,5,5,0.4) 0%,
    rgba(5,5,5,0.2) 50%,
    rgba(5,5,5,0.4) 100%
  );
}

/* Cards sit above the tint */
.vxg-stage,
.vxg-header,
.vxg-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 2.6rem;
  flex-shrink: 0;
}


/* ═══ Ambient background ═══ */
.vxg-bg-glow {
  position: absolute;
  top: 15%; left: 20%;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(199,166,85,0.08) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
  animation: vxg-orb 12s ease-in-out infinite;
}
.vxg-bg-glow--2 {
  top: auto; left: auto;
  bottom: -10%; right: -10%;
  background: radial-gradient(ellipse at center, rgba(155,184,210,0.06) 0%, transparent 60%);
  animation: vxg-orb 15s ease-in-out infinite reverse;
}
@keyframes vxg-orb {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.12); }
}
.vxg-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none; z-index: 0; opacity: 0.6;
}

/* ═══ Header ═══ */
.vxg-header {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 1.6rem;
  padding: 0 1rem;
  flex-shrink: 0;
}
.vxg-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 0.9rem;
}
.vxg-eyebrow__line {
  display: inline-block; width: 36px; height: 1.5px;
  background: var(--v2-gold-400); opacity: 0.7;
}
.vxg-eyebrow__text {
  font-family: var(--v2-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--v2-gold-300);
  font-weight: 500;
}
.vxg-title {
  margin: 0;
  font-family: var(--v2-font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--v2-text-primary);
}
.vxg-title em {
  font-style: italic;
  font-weight: 700;
  background: var(--v2-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ═══ Stage ═══ */
.vxg-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  flex: 1;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px var(--v2-color-line) inset;
}
.vxg-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ═══ Card ═══ */
.vxg-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: linear-gradient(135deg, var(--v2-color-canvas) 0%, #0a0b0d 100%);
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition:
    opacity 1.05s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1.05s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  padding: clamp(2.2rem, 3.5vw, 3.5rem) clamp(2rem, 4vw, 4rem) clamp(2.5rem, 4vw, 4rem);
  box-sizing: border-box;
  overflow: hidden;
  align-items: flex-end;
  justify-content: flex-start;
}

/* Background image layer — set from data-bg via JS */
.vxg-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.4s cubic-bezier(0.19, 1, 0.22, 1),
    transform 8s cubic-bezier(0.19, 1, 0.22, 1);
}
.vxg-card.is-active .vxg-card__bg {
  opacity: 0.92;
  transform: scale(1);
}

/* Dark tint over image so text stays readable */

.vxg-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Blur glow removed — photos should look crisp */
.vxg-card__glow { display: none; }

.vxg-card__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

/* Number removed */

.vxg-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 540px;
  align-items: flex-start;
  text-align: left;
  padding: 1.6rem 1.8rem;
  border-radius: 14px;
  background: rgba(10, 11, 13, 0.62);
  box-shadow:
    0 18px 44px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}
.vxg-card__meta {
  font-family: var(--v2-font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--v2-gold-300);
  font-weight: 500;
}
.vxg-card__title {
  margin: 0;
  font-family: var(--v2-font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--v2-text-primary);
}
.vxg-card__title em {
  font-style: italic;
  font-weight: 700;
  background: var(--v2-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.vxg-card__text {
  margin: 0;
  font-family: var(--v2-font-body);
  font-size: clamp(0.82rem, 0.95vw, 0.92rem);
  font-weight: 300;
  line-height: 1.68;
  color: var(--v2-text-secondary);
  max-width: 42ch;
}
/* Points removed — text is now the whole column */

/* Visual mock removed */

/* ═══ Browser mock ═══ */








/* ═══ Dashboard mock ═══ */

  50%      { opacity: 1; }
}

/* ═══ QR mock ═══ */


/* ═══ Phone mock ═══ */







/* ═══ Nav ═══ */
.vxg-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 1.6rem;
  flex-shrink: 0;
}
.vxg-nav__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--v2-gold-glow);
  background: rgba(14,16,20,0.7);
  color: var(--v2-gold-300);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition:
    background 0.28s var(--v2-transition-base),
    border-color 0.28s var(--v2-transition-base),
    color 0.28s var(--v2-transition-base),
    transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
.vxg-nav__btn:hover {
  background: var(--v2-gold-glow);
  border-color: var(--v2-gold-400);
  color: var(--v2-gold-200);
  transform: scale(1.1);
}
.vxg-nav__btn:active { transform: scale(0.94); }
.vxg-nav__dots {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.vxg-nav__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--v2-text-faint);
  cursor: pointer; padding: 0;
  transition:
    width 0.42s cubic-bezier(0.34,1.56,0.64,1),
    background 0.32s var(--v2-transition-base),
    box-shadow 0.32s var(--v2-transition-base);
}
.vxg-nav__dot:hover { background: var(--v2-text-muted); }
.vxg-nav__dot.is-active {
  width: 28px;
  border-radius: 4px;
  background: var(--v2-gold-400);
  box-shadow: 0 0 12px var(--v2-gold-glow);
}

/* ═══ Responsive ═══ */
/* Responsive — visual removed, text is the whole content */

@media (max-width: 960px) {
  .vxg-card__inner {
    gap: 1.6rem;
    text-align: left;
  }
}
@media (max-width: 560px) {
  #section-5.vxg-section { padding: 1.5rem 1rem 1rem; }
  .vxg-header { padding: 0; }
  .vxg-title { font-size: 1.4rem; }
  .vxg-stage { border-radius: 14px; }
  .vxg-card { padding: 1.4rem; }
  /* num removed */
  .vxg-card__title { font-size: 1.5rem; }
  .vxg-card__text { font-size: 0.85rem; }
  .vxg-card__visual { min-height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .vxg-card, .vxg-bg-glow,
}

/* FORCED NAV ROW — beat any conflicting rule */
.vxg-section .vxg-nav,
#section-5 .vxg-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.6rem !important;
  margin-top: 2.6rem !important;
}
.vxg-section .vxg-nav__btn,
#section-5 .vxg-nav__btn {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  position: static !important;
  width: 40px !important;
  height: 40px !important;
}
.vxg-section .vxg-nav__dots,
#section-5 .vxg-nav__dots {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
}
/* ── Datastrip (shared across all sections) ── */
.h-datastrip {
  position: absolute; bottom: 5px; left: 0; right: 0;
  height: clamp(3rem, 5vh, 3.8rem);
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: rgba(5,5,5,0.62);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--v2-gold-glow);
  z-index: 30; overflow: hidden;
}
.h-datastrip__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.1rem; padding: 0 clamp(0.4rem, 1vw, 1rem);
  opacity: 0; transform: translateY(8px);
  animation: statsFadeIn var(--v2-transition-base) forwards;
  transition: transform 0.3s ease;
}
.h-datastrip__item:hover { transform: translateY(-2px); }
.h-datastrip__item:nth-child(1) { animation-delay: 0.30s; }
.h-datastrip__item:nth-child(3) { animation-delay: 0.46s; }
.h-datastrip__item:nth-child(5) { animation-delay: 0.62s; }
.h-datastrip__item:nth-child(7) { animation-delay: 0.78s; }
@keyframes statsFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.h-datastrip__num {
  font-family: var(--v2-font-display);
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  font-weight: 700; color: var(--v2-gold-300); letter-spacing: -0.01em; line-height: 1;
  transition: text-shadow 0.3s ease;
}
.h-datastrip__item:hover .h-datastrip__num { text-shadow: 0 0 14px var(--v2-gold-glow); }
.h-datastrip__lbl {
  font-family: var(--v2-font-mono);
  font-size: clamp(0.42rem, 0.6vw, 0.52rem);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--v2-text-faint);
}
.h-datastrip__div { width: 1px; height: 1.6rem; background: var(--v2-color-line); flex-shrink: 0; }

@media (max-width: 480px) {
  .h-datastrip { flex-wrap: wrap; height: auto; min-height: 2.8rem; padding: 0.4rem 0; }
  .h-datastrip__item { min-width: 45%; padding: 0.25rem 0.4rem; }
  .h-datastrip__div { display: none; }
  .h-datastrip__div:nth-child(2),
  .h-datastrip__div:nth-child(6) { display: block; height: 1px; width: 80%; margin: 0 auto; }
}
@media (max-height: 620px) {
  .h-datastrip { height: 2.4rem; }
}
@media (hover: none) and (pointer: coarse) {
  .h-datastrip__item:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .h-datastrip__item { transition: none !important; animation: none !important; opacity: 1 !important; }
}
/* ── Gold bar (pinned at panel bottom) ── */
#section-5 .h-gold-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: var(--v2-gold-gradient);
  z-index: 40;
  pointer-events: none;
  box-shadow: 0 0 20px var(--v2-gold-glow), 0 0 50px var(--v2-gold-glow);
}
