/* ==========================================================================
   WhatComp Design System — Fonts: Big Sexy Sans, PP Neue Montreal & Mono
   ========================================================================== */

@font-face {
  font-family: 'Big Sexy Sans';
  src: url('fonts/BigSexySans.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pangram Sans Rounded';
  src: url('fonts/PPPangramSansRounded-Extrabold.woff2') format('woff2'),
       url('fonts/PPPangramSansRounded-Extrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontrealText-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal Mono';
  src: url('fonts/PPNeueMontrealMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal Mono';
  src: url('fonts/PPNeueMontrealMono-Medium.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal Mono';
  src: url('fonts/PPNeueMontrealMono-Bold.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-logo: 'Big Sexy Sans', 'PP Neue Montreal', sans-serif;
  --font-display: 'Pangram Sans Rounded', 'PP Neue Montreal', sans-serif;
  --font-sans: 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'PP Neue Montreal Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --cobalt: #0057FF;
  --cobalt-deep: #003ECA;
  --sky: #2ED3FF;
  --yellow: #FFEE00;
  --green: #00CF3E;
  --pink: #FF72C6;
  --coral: #FF4F2E;
  --violet: #9526FF;

  --studio-bg: #F4F6FA;
  --surface-white: #FFFFFF;
  --ink: #090A0E;
  --ink-soft: #131620;
  --text-muted: #525B70;
  --border-subtle: rgba(9, 10, 14, 0.09);

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--studio-bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--cobalt);
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.mono-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* ==========================================================================
   Floating Studio Pill Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 0 16px;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  overflow: visible;
  pointer-events: auto;
  width: min(1120px, 100%);
  margin: 0 auto;
  min-height: 62px;
  padding: 8px 14px 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(9, 10, 14, 0.08);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 32px rgba(9, 10, 14, 0.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(1.34rem, 2.2vw, 1.68rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand-text {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transform: translateY(0.105em);
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  transform: rotate(-4deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.nav-mascot-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 76px;
  margin: -14px 2px -14px -8px;
  flex-shrink: 0;
  pointer-events: none;
}

.nav-mascot-3d-canvas {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  display: block;
  pointer-events: none;
}

.nav-mascot-spill {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(0, 42, 130, 0.24));
  transition: opacity 0.2s ease;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cobalt);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--cobalt);
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 6px 18px rgba(0, 87, 255, 0.28);
}

.nav-cta:hover {
  background: var(--cobalt-deep);
  transform: translateY(-1px);
}

/* ==========================================================================
   Stage 1 + Stage 2: Continuous FSP-Inspired Atmospheric Gradient Fog Flowing Into Features
   ========================================================================== */

.hero-features-atmosphere {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #09008a 0%,
    #1949f2 24%,
    #636bff 48%,
    #3548df 68%,
    rgba(244, 246, 250, 0.72) 86%,
    var(--studio-bg) 97%,
    var(--studio-bg) 100%
  );
}

.hero-fog-stage {
  position: relative;
  padding: 138px 0 58px;
  color: #fff;
}

/* Interactive Cursor-Reactive WebGL Fog Shader Canvas */
.hero-fog-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  display: block;
}

/* Fallback / Base Iridescent Fog Clouds (disabled automatically when WebGL fog is active for GPU/battery savings) */
html.has-webgl-fog .fog-layer {
  display: none;
}

.fog-layer {
  position: absolute;
  inset: -8% -10%;
  z-index: -2;
  pointer-events: none;
  filter: blur(64px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 96%);
}

.fog-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.88;
  will-change: transform;
}

.fog-blob.coral {
  width: 58vw;
  height: 52vw;
  max-width: 780px;
  max-height: 700px;
  top: -12%;
  right: -8%;
  background: radial-gradient(circle at 40% 40%, #ff5a1f 0%, #ff2e55 38%, rgba(255, 79, 46, 0) 74%);
  animation: fogDriftA 18s ease-in-out infinite alternate;
}

.fog-blob.violet {
  width: 62vw;
  height: 52vw;
  max-width: 820px;
  max-height: 700px;
  top: 22%;
  left: -10%;
  background: radial-gradient(circle at 50% 50%, #7d5cff 0%, #9526ff 38%, rgba(112, 117, 255, 0) 74%);
  animation: fogDriftB 22s ease-in-out infinite alternate;
}

.fog-blob.cyan {
  width: 50vw;
  height: 44vw;
  max-width: 680px;
  max-height: 580px;
  top: 12%;
  left: 24%;
  background: radial-gradient(circle at 50% 50%, rgba(46, 211, 255, 0.58) 0%, rgba(0, 87, 255, 0.25) 45%, rgba(0, 87, 255, 0) 75%);
  animation: fogDriftA 24s ease-in-out infinite alternate-reverse;
}

.fog-blob.amber {
  width: 66vw;
  height: 42vw;
  max-width: 900px;
  max-height: 560px;
  bottom: 4%;
  left: -6%;
  background: radial-gradient(circle at 45% 55%, rgba(255, 168, 38, 0.92) 0%, rgba(255, 118, 46, 0.55) 42%, rgba(255, 168, 38, 0) 75%);
  animation: fogDriftB 20s ease-in-out infinite alternate-reverse;
}

@keyframes fogDriftA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-28px, 24px, 0) scale(1.06); }
}

@keyframes fogDriftB {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(30px, -22px, 0) scale(1.05); }
}

/* Soft FSP-style bottom dissolve into Studio Off-White */
.hero-fog-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(244, 246, 250, 0) 0%,
    rgba(244, 246, 250, 0.45) 45%,
    rgba(244, 246, 250, 0.88) 78%,
    var(--studio-bg) 100%
  );
}

.hero-editorial-head {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 30px;
}

.fog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.fog-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.headline-line {
  display: block;
  white-space: nowrap;
}

.hero-display {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5.15vw, 4.45rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 12px 38px rgba(9, 0, 80, 0.28);
}

.hero-display .accent-word {
  color: var(--yellow);
}

.hero-lead {
  margin: 0 auto 24px;
  max-width: 690px;
  font-size: clamp(1.12rem, 1.85vw, 1.38rem);
  font-weight: 500;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.94);
}

.hero-lead strong {
  color: #fff;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-fog-white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(9, 0, 90, 0.25);
}

.btn-fog-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.btn-fog-outline:hover {
  background: #fff;
  color: var(--ink);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky) 0%, var(--cobalt) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 87, 255, 0.28);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(9, 10, 14, 0.18);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(255, 238, 0, 0.35);
}

.hero-metrics-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(9, 10, 14, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
  font-weight: 600;
}

.metric-chip .mono-num {
  color: var(--yellow);
  font-weight: 700;
}

/* ==========================================================================
   3D Glassmorphic Foldable iPhone Duo Stage
   Exact Duo cover (~19.5:9) -> open (~4:3 tablet) dimensions + 3D butterfly wing
   ========================================================================== */

.duo-stage-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.duo-controls-bar {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: rgba(9, 10, 14, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.duo-state-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.16s ease, background-color 0.2s ease;
}

.duo-state-toggle:hover {
  transform: scale(1.03);
}

.duo-state-toggle .state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cobalt);
}

.duo-replay-btn {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.duo-replay-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.grail-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.grail-btn {
  border: none;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.90);
  transition: all 0.18s ease;
}

.grail-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.grail-btn.active {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

/* Physical 3D Book-Unfold Three.js Stage (canvas overscans stage so mid-swing flap never masks) */
.duo-3d-stage {
  width: min(1040px, 100%);
  height: clamp(460px, 64vw, 720px);
  max-height: 80dvh;
  position: relative;
  z-index: 2;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: pan-y;
}

.duo-webgl-canvas {
  position: absolute;
  left: -24%;
  top: -26%;
  width: 148%;
  height: 152%;
  display: block;
  pointer-events: none;
}

.sr-hidden-video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 3D Perspective Stage */
.duo-3d-scene {
  perspective: 2200px;
  perspective-origin: 50% 42%;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 0 18px;
  position: relative;
}

/* Volumetric Glass Cast Shadow */
.duo-3d-scene::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(6, 6, 36, 0.52) 0%, rgba(6, 6, 36, 0) 74%);
  filter: blur(12px);
  transition: width 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.duo-stage-wrap.is-open .duo-3d-scene::after {
  width: min(680px, 85vw);
}

/* 3D Glassmorphic Sheet Chassis: Folded 308x626 (cover ~20:9) -> Unfolded 746x582 (~4:3 Duo sheet) */
.iphone-duo-shell {
  --duo-rx: 6deg;
  --duo-ry: -7deg;
  width: 308px;
  max-width: 100%;
  height: 626px;
  padding: 11px;
  border-radius: 44px;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: rotateX(var(--duo-rx)) rotateY(var(--duo-ry)) translateZ(0);
  /* Translucent glassmorphic chassis slab */
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.30) 0%,
    rgba(195, 212, 255, 0.14) 28%,
    rgba(14, 18, 34, 0.56) 62%,
    rgba(255, 255, 255, 0.22) 100%
  );
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, 0.44);
  box-shadow:
    0 34px 72px rgba(4, 6, 32, 0.52),
    0 10px 24px rgba(10, 14, 48, 0.32),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.65),
    inset 0 -1.5px 2px rgba(255, 255, 255, 0.22),
    inset 2px 0 8px rgba(160, 210, 255, 0.22);
  transition:
    width 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    height 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.9s ease;
}

/* Sideways 3D extruded glass thickness lip */
.iphone-duo-shell::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 47px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.48), rgba(145, 196, 255, 0.12) 45%, rgba(255, 255, 255, 0.30));
  transform: translateZ(-12px);
  filter: blur(1px);
  opacity: 0.72;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Diagonal Glass Sheet Specular Glare overlay */
.iphone-duo-shell::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(255, 255, 255, 0.04) 28%,
    rgba(255, 255, 255, 0) 52%,
    rgba(190, 225, 255, 0.09) 100%
  );
  pointer-events: none;
  z-index: 20;
}

.iphone-duo-shell.is-unfolded {
  --duo-rx: 4deg;
  --duo-ry: 0deg;
  width: min(760px, calc(100vw - 28px));
  height: 590px;
  border-radius: 36px;
}

.iphone-duo-shell.is-unfolded::before {
  border-radius: 39px;
}

.iphone-duo-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: rgba(11, 14, 24, 0.90);
  overflow: hidden;
  display: flex;
  position: relative;
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.iphone-duo-shell.is-unfolded .iphone-duo-screen {
  border-radius: 26px;
}

/* Left Wing: Whatnot Live Stream (Full cover width folded -> 50% unfolded) */
.whatnot-pane {
  flex: 1 1 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 10px 12px 12px;
  background: radial-gradient(circle at 50% 42%, #242144 0%, #11121d 60%, #090a10 100%);
  transition: flex-basis 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.iphone-duo-shell.is-unfolded .whatnot-pane {
  flex: 1 1 50%;
}

/* Real Screen Recording Video Layer (activated cleanly when assets/media/*.mp4 are supplied) */
.pane-video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: none;
  background: #090a10;
}

.pane-video-layer.is-active {
  display: block;
}

.whatnot-pane > *:not(.pane-video-layer) {
  position: relative;
  z-index: 3;
}

.whatnot-pane.has-live-video .whatnot-sim-backdrop {
  opacity: 0;
  pointer-events: none;
}

/* Status Bar + Dynamic Island inside Folded View */
.ios-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 4;
}

.ios-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  padding-top: 3px;
}

.ios-status-icons {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.84);
  padding-top: 3px;
}

/* Live Dynamic Island Pill */
.duo-dynamic-island {
  position: relative;
  margin: 4px auto 8px;
  width: 100%;
  background: rgba(4, 6, 12, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 9px 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
  transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  max-height: 150px;
}

.iphone-duo-shell.is-unfolded .duo-dynamic-island {
  width: 120px;
  padding: 5px 10px;
  border-radius: 999px;
  max-height: 26px;
  margin-bottom: 4px;
}

.di-compact-camera {
  display: none;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--green);
}

.iphone-duo-shell.is-unfolded .di-compact-camera {
  display: flex;
}

.iphone-duo-shell.is-unfolded .di-folded-body {
  display: none;
}

.di-folded-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.di-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.di-mini-thumb {
  width: 24px;
  height: 32px;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.di-card-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.di-card-set {
  font-size: 0.62rem;
  color: #9ba5be;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.di-variant-tag {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 700;
  white-space: nowrap;
}

.di-island-ladder {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.di-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: 5px 2px;
  text-align: center;
}

.di-pill.nm {
  background: rgba(0, 207, 62, 0.20);
  border-color: rgba(0, 207, 62, 0.55);
}

.di-pill span {
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  color: #9ba5be;
}

.di-pill.nm span { color: var(--green); }
.di-pill.lp span { color: var(--sky); }
.di-pill.mp span { color: var(--yellow); }
.di-pill.hp span { color: var(--coral); }
.di-pill.dmg span { color: var(--pink); }

.di-pill strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}

/* Whatnot Stream Stage inside Left Pane */
.whatnot-sim-backdrop {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.35s ease;
}

.whatnot-stream-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.whatnot-seller {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
}

.seller-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
}

.whatnot-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 46, 85, 0.92);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
}

.whatnot-card-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 4px 0 6px;
}

.holo-card-frame {
  width: 138px;
  height: 192px;
  border-radius: 14px;
  padding: 9px;
  background: linear-gradient(135deg, #ffe566 0%, #7cf0ff 36%, #b27dff 70%, #ff82c4 100%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
  transform: rotate(-3deg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.holo-card-inner {
  flex: 1;
  border-radius: 9px;
  background: linear-gradient(160deg, #1b2240 0%, #101324 100%);
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.holo-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.64rem;
  font-weight: 700;
}

.holo-card-art {
  flex: 1;
  margin: 6px 0;
  border-radius: 6px;
  background: radial-gradient(circle at 35% 30%, rgba(46, 211, 255, 0.55), rgba(149, 38, 255, 0.45) 55%, rgba(9, 10, 14, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  position: relative;
  overflow: hidden;
}

.holo-card-art::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: rotate(12deg);
}

.holo-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: rgba(255, 255, 255, 0.85);
}

.scan-lock-badge {
  position: absolute;
  bottom: 4px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 207, 62, 0.22);
  border: 1px solid rgba(0, 207, 62, 0.65);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.whatnot-chat-feed {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 6px;
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.80);
}

.whatnot-chat-feed div strong {
  color: #fff;
  margin-right: 4px;
}

.whatnot-bid-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.whatnot-bid-meta small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--coral);
  font-weight: 700;
}

.whatnot-bid-meta strong {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #fff;
}

.whatnot-bid-btn {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Center Glassmorphic Hinge Spine (Unfolds open in 3D) */
.duo-hinge {
  width: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(16, 20, 32, 0.95) 0%, rgba(210, 224, 255, 0.55) 48%, rgba(16, 20, 32, 0.95) 100%);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.75);
  transition: width 1.05s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  flex-shrink: 0;
  z-index: 6;
}

.iphone-duo-shell.is-unfolded .duo-hinge {
  width: 7px;
  opacity: 1;
}

/* ==========================================================================
   Right Wing: Faithful Real WhatComp iOS App UI (matches ContentView.swift!)
   ========================================================================== */
.whatcomp-pane {
  width: 0;
  flex: 0 0 0%;
  opacity: 0;
  overflow: hidden;
  background: #F2F2F7;
  color: #0B0D14;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transform-origin: left center;
  transform: rotateY(72deg);
  transition:
    flex-basis 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    width 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease 0.18s;
  padding: 0;
}

.iphone-duo-shell.is-unfolded .whatcomp-pane {
  flex: 1 1 50%;
  width: 50%;
  opacity: 1;
  transform: rotateY(0deg);
}

.whatcomp-pane.has-live-video .wc-app-scroll,
.whatcomp-pane.has-live-video .wc-recent-dock {
  opacity: 0;
  pointer-events: none;
}

.wc-app-scroll {
  height: calc(100% - 54px);
  padding: 9px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 310px;
  overflow: hidden;
}

/* 1. compactStreamControlsCard (ContentView.swift lines 1147-1172) */
.wc-ios-controls-card {
  background: #FFFFFF;
  border-radius: 13px;
  padding: 7px 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wc-ios-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
}

.wc-ios-status-left {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #0B0D14;
}

.wc-ios-green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00CF3E;
}

.wc-ios-tier-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: #00A832;
}

.wc-ios-broadcast-pill {
  width: 100%;
  padding: 6px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF3B30, #FF5E3A);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
}

/* 2. activeCardHeroPage (ContentView.swift lines 513-701) */
.wc-ios-hero-card {
  background: #FFFFFF;
  border-radius: 15px;
  padding: 8px 10px 9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wc-ios-match-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.55rem;
}

.wc-ios-close-matches {
  color: #6E6E73;
  font-weight: 700;
}

.wc-ios-close-matches strong {
  color: #0057FF;
}

.wc-ios-hero-art-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 0;
}

.wc-ios-card-thumb {
  width: 62px;
  height: 86px;
  border-radius: 7px;
  padding: 4px;
  background: linear-gradient(135deg, #ffe566, #7cf0ff, #b27dff);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  display: flex;
}

.wc-ios-card-thumb-inner {
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(160deg, #1b2240, #101324);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
}

.wc-ios-hero-pills-right {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.wc-ios-best-match {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 87, 255, 0.14);
  color: #0057FF;
  font-size: 0.54rem;
  font-weight: 700;
}

.wc-ios-matrix-btn {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(110, 110, 115, 0.14);
  color: #1C1C1E;
  font-size: 0.54rem;
  font-weight: 600;
}

.wc-ios-hero-meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}

.wc-ios-card-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0B0D14;
  line-height: 1.15;
}

.wc-ios-card-set {
  font-size: 0.6rem;
  color: #6E6E73;
  margin: 1px 0 4px;
}

.wc-ios-badge-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.wc-ios-rarity-pill {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(149, 38, 255, 0.14);
  color: #7E1EE6;
  font-size: 0.52rem;
  font-weight: 700;
}

.wc-ios-stamp-pill {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 149, 0, 0.16);
  color: #C96900;
  font-size: 0.52rem;
  font-weight: 700;
}

.wc-ios-price-callout {
  text-align: right;
  flex-shrink: 0;
}

.wc-ios-price-callout small {
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  color: #6E6E73;
}

.wc-ios-price-callout strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.08rem;
  font-weight: 700;
  color: #00A832;
  line-height: 1.05;
}

.wc-ios-ebay-avg {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 600;
  color: #E06D00;
}

/* 3. conditionAndVariantControlSection (ContentView.swift lines 705-816) */
.wc-ios-condition-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 7px 9px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wc-ios-cond-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.58rem;
  font-weight: 700;
  color: #6E6E73;
}

.wc-ios-autonm-pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(110, 110, 115, 0.12);
  color: #6E6E73;
  font-size: 0.54rem;
  font-weight: 600;
}

.wc-ios-ladder-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.wc-ios-tier {
  border-radius: 9px;
  padding: 5px 2px;
  text-align: center;
  border: 1px solid transparent;
}

.wc-ios-tier.nm {
  background: #00CF3E;
  border-color: #00CF3E;
  color: #0B0D14;
}

.wc-ios-tier.lp {
  background: rgba(46, 211, 255, 0.12);
  border-color: rgba(46, 211, 255, 0.38);
}

.wc-ios-tier.mp {
  background: rgba(255, 232, 0, 0.14);
  border-color: rgba(224, 195, 0, 0.40);
}

.wc-ios-tier.hp {
  background: rgba(255, 79, 46, 0.11);
  border-color: rgba(255, 79, 46, 0.34);
}

.wc-ios-tier.dmg {
  background: rgba(255, 114, 198, 0.12);
  border-color: rgba(255, 114, 198, 0.36);
}

.wc-ios-tier span {
  display: block;
  font-size: 0.54rem;
  font-weight: 800;
  color: #0B0D14;
}

.wc-ios-tier strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.6rem;
  font-weight: 700;
}

.wc-ios-tier.nm strong  { color: rgba(11, 13, 20, 0.90); }
.wc-ios-tier.lp strong  { color: #008BB3; }
.wc-ios-tier.mp strong  { color: #9A7C00; }
.wc-ios-tier.hp strong  { color: #D93014; }
.wc-ios-tier.dmg strong { color: #C22585; }

/* 4. marketplaceListingsSection (ContentView.swift lines 820-989) */
.wc-ios-listings-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 7px 9px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wc-ios-listings-head {
  font-size: 0.6rem;
  font-weight: 700;
  color: #0B0D14;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wc-ios-quick-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.wc-ios-qbtn {
  border-radius: 8px;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  font-size: 0.54rem;
  font-weight: 700;
}

.wc-ios-qbtn small {
  font-size: 0.48rem;
  font-weight: 600;
  color: #6E6E73;
}

.wc-ios-qbtn.tcg { background: rgba(0, 87, 255, 0.10); border: 1px solid rgba(0, 87, 255, 0.25); color: #0057FF; }
.wc-ios-qbtn.eb  { background: rgba(0, 207, 62, 0.10); border: 1px solid rgba(0, 207, 62, 0.26); color: #008F2B; }
.wc-ios-qbtn.sol { background: rgba(255, 149, 0, 0.10); border: 1px solid rgba(255, 149, 0, 0.26); color: #CC6B00; }

.wc-ios-listing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 9px;
  background: rgba(120, 120, 128, 0.08);
  font-size: 0.58rem;
}

.wc-ios-src-pill {
  padding: 1px 4px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 800;
  margin-right: 4px;
}

.wc-ios-src-pill.tcg  { background: rgba(0, 87, 255, 0.16); color: #0057FF; }
.wc-ios-src-pill.ebay { background: rgba(255, 149, 0, 0.18); color: #C96900; }

.wc-ios-list-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #00A832;
}

/* 5. Sticky Bottom Recent Scans Dock (ContentView.swift lines 1176-1277) */
.wc-recent-dock {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 5px 10px 6px;
  min-width: 310px;
}

.wc-recent-dock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.54rem;
  font-weight: 700;
  color: #6E6E73;
  margin-bottom: 3px;
}

.wc-recent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.6rem;
}

.wc-recent-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.wc-recent-rank {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 700;
  color: #6E6E73;
}

.wc-recent-mini-art {
  width: 17px;
  height: 23px;
  border-radius: 3px;
  background: linear-gradient(135deg, #2ed3ff, #9526ff);
  flex-shrink: 0;
}

.wc-recent-name {
  font-weight: 700;
  color: #0B0D14;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-recent-price {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: #00A832;
}

/* Cover Stream Countdown & Caption Bar */
.duo-status-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.duo-countdown-track {
  width: 240px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
  transition: opacity 0.35s ease;
}

.duo-stage-wrap.is-open .duo-countdown-track {
  opacity: 0;
  pointer-events: none;
}

.duo-countdown-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--green));
}

.duo-countdown-fill.running {
  animation: duoOpenProgress var(--auto-open-ms, 3600ms) linear forwards;
}

@keyframes duoOpenProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

.duo-caption-hint {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(9, 10, 14, 0.78);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(9, 10, 14, 0.08);
}

/* ==========================================================================
   Stage 2: Atmospheric Gradient Flows Behind App Features & Fades to Off-White
   ========================================================================== */

.features-offwhite-stage {
  position: relative;
  z-index: 2;
  padding: 28px 0 92px;
  background: transparent;
}

.features-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 87, 255, 0.08);
  color: var(--cobalt);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.features-header h2,
.pricing-header h2,
.section-heading h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 4.1vw, 2.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.features-header .section-kicker {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
}

.features-header h2 {
  color: #fff;
  text-shadow: 0 10px 30px rgba(9, 0, 80, 0.24);
}

.features-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.08rem, 1.65vw, 1.32rem);
  line-height: 1.48;
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: 0 12px 30px rgba(9, 10, 14, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 87, 255, 0.09);
}

.feature-card.highlight {
  border-color: rgba(0, 87, 255, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cobalt);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 1.05rem;
  color: #323a4e;
  line-height: 1.56;
}

.feature-stat {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.feature-stat-link {
  color: var(--cobalt);
  display: inline-block;
}

.feature-stat-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Stage 3: Pitch-Black Collectible Bento Cards ("Four Beats")
   ========================================================================== */

.black-bento-stage {
  background: var(--ink);
  color: #fff;
  padding: 84px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.section-heading p {
  margin: 0;
  max-width: 500px;
  color: #c2cce2;
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.48;
  font-weight: 500;
}

.collectible-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.collectible-card {
  border-radius: var(--radius-xl);
  padding: 26px 22px 24px;
  color: var(--ink);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease;
}

.collectible-card:hover {
  transform: translateY(-6px);
}

.collectible-card.green  { background: var(--green); }
.collectible-card.yellow { background: var(--yellow); }
.collectible-card.white  { background: #eef2f8; }
.collectible-card.pink   { background: var(--pink); }

.collectible-big-word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 2.55rem;
  line-height: 0.94;
  margin: 0 0 12px;
}

.collectible-mascot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 18px;
}

.card-buddy-svg {
  width: 54px;
  height: 64px;
  filter: drop-shadow(0 8px 14px rgba(9, 10, 14, 0.16));
}

.step-num-pill {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.collectible-card h3 {
  margin: 0 0 8px;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.collectible-card p {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.48;
  color: rgba(9, 10, 14, 0.88);
}

/* ==========================================================================
   Stage 4: Interactive 3D Privacy Diorama + Transparent Pricing
   ========================================================================== */

.collectibles-pricing-stage {
  padding: 84px 0 68px;
  background: linear-gradient(180deg, var(--studio-bg) 0%, #e7f2ff 100%);
}

.keychain-showcase-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #ddf6ff 0%, #2b8cff 52%, var(--cobalt) 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: #fff;
  margin-bottom: 68px;
  box-shadow: 0 24px 54px rgba(0, 87, 255, 0.20);
}

.privacy-3d-stage {
  position: relative;
  width: 100%;
  height: clamp(320px, 34vw, 430px);
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 38% 35%, #163b96 0%, #0b1846 68%, #070d29 100%);
  box-shadow: 0 18px 40px rgba(0, 26, 92, 0.28);
}

.privacy-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.privacy-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.privacy-mode-pills {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
  pointer-events: auto;
}

.privacy-mode-btn {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(9, 10, 14, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.92);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.privacy-mode-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.privacy-mode-btn.active {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.keychain-copy h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.22rem, 3.8vw, 2.3rem);
  line-height: 1.04;
}

.keychain-copy p {
  margin: 0 0 20px;
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  line-height: 1.54;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.96);
}

.pricing-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 38px;
}

.pricing-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.06rem, 1.45vw, 1.2rem);
  line-height: 1.5;
  font-weight: 500;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 14px 34px rgba(9, 10, 14, 0.05);
}

.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--cobalt);
  box-shadow: 0 22px 48px rgba(0, 87, 255, 0.22);
}

.save-sticker {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  transform: rotate(3deg);
  box-shadow: 0 6px 16px rgba(9, 10, 14, 0.18);
}

.plan-tier-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cobalt);
}

.price-card.featured .plan-tier-tag {
  color: var(--sky);
}

.price-amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 10px 0 4px;
}

.price-amount span {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  opacity: 0.72;
}

.price-sub {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.price-card.featured .price-sub {
  color: #a7b2cc;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.price-list li {
  padding: 7px 0;
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.price-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.iap-disclosure-box {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Legal & Support Pages
   ========================================================================== */

.legal-main {
  padding: 106px 0 76px;
}

.legal-container {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 42px;
  box-shadow: 0 18px 44px rgba(9, 10, 14, 0.05);
}

.legal-header {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border-subtle);
}

.legal-header h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.legal-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.legal-callout {
  background: rgba(0, 87, 255, 0.07);
  border: 1.5px solid rgba(0, 87, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 26px;
  font-size: 0.93rem;
}

.legal-section {
  margin-bottom: 26px;
}

.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.legal-section p,
.legal-section li {
  color: #2b3245;
  font-size: 0.95rem;
}

.legal-section ul {
  padding-left: 20px;
}

.legal-section li {
  margin-bottom: 8px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  background: #eef2f8;
  color: var(--cobalt-deep);
  padding: 2px 6px;
  border-radius: 6px;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 48px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #b4bdd3;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--yellow);
}

.disclaimer-fine {
  margin: 20px 0 0;
  font-size: 0.78rem;
  color: #7e88a2;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .keychain-showcase-banner {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 24px;
  }
  .collectible-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-links {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .nav-cta {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 720px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .iphone-duo-shell.is-unfolded {
    height: auto;
    min-height: 620px;
  }
  .iphone-duo-shell.is-unfolded .iphone-duo-screen {
    flex-direction: column;
  }
  .iphone-duo-shell.is-unfolded .duo-hinge {
    width: 100%;
    height: 8px;
  }
  .iphone-duo-shell.is-unfolded .whatnot-pane,
  .iphone-duo-shell.is-unfolded .whatcomp-pane {
    width: 100%;
    flex: none;
  }
  .wc-app-scroll,
  .wc-recent-dock {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }
  .site-header {
    top: 10px;
    padding: 0 12px;
  }
  .hero-fog-stage {
    padding: 108px 0 44px;
  }
  .nav-inner {
    min-height: 52px;
    border-radius: var(--radius-pill);
    padding: 6px 10px 6px 8px;
    gap: 8px;
  }
  .brand {
    font-size: 1.24rem;
    gap: 8px;
  }
  .nav-mascot-slot {
    width: 56px;
    height: 64px;
    margin: -12px 2px -12px -6px;
  }
  .privacy-3d-stage {
    height: clamp(290px, 76vw, 370px);
  }
  .duo-3d-stage {
    height: clamp(390px, 106vw, 520px);
    max-height: 68dvh;
  }
  .collectible-bento-grid {
    grid-template-columns: 1fr;
  }
  .keychain-showcase-banner {
    padding: 22px 18px;
  }
  .legal-container {
    padding: 26px 20px;
  }
}

@media (max-width: 400px) {
  .brand {
    font-size: 1.15rem;
    gap: 6px;
  }
  .brand-tag {
    padding: 3px 6px;
    font-size: 0.58rem;
  }
  .nav-cta {
    padding: 7px 11px;
    font-size: 0.78rem !important;
  }
  .nav-mascot-slot {
    width: 50px;
    height: 58px;
    margin: -10px 1px -10px -4px;
  }
}

@media (max-height: 540px) and (orientation: landscape) {
  .site-header {
    top: 8px;
    padding: 0 14px;
  }
  .nav-inner {
    min-height: 48px;
    padding: 5px 12px 5px 8px;
  }
  .nav-mascot-slot {
    width: 50px;
    height: 58px;
    margin: -10px 2px -10px -5px;
  }
  .hero-fog-stage {
    padding: 84px 0 36px;
  }
  .hero-editorial-head {
    margin-bottom: 18px;
  }
  .hero-display {
    font-size: clamp(1.5rem, 3.8vw, 2.5rem);
    margin-bottom: 10px;
  }
  .hero-lead {
    margin-bottom: 12px;
  }
  .duo-3d-stage {
    height: clamp(270px, 74dvh, 410px);
    max-height: 80dvh;
  }
  .hero-fog-fade {
    height: 96px;
  }
}
