/* ============================================================
   TellTours - App Showcase (phone screens)
   ============================================================ */

/* ── Stage ── */
.showcase-stage {
  display: flex;
  justify-content: center;
  gap: 24px;
  perspective: 1200px;
  align-items: flex-end;
  min-height: 700px;
  padding: 40px 0 20px;
}

/* ── Shared mini-phone ── */
.ss-phone {
  position: relative;
  width: 230px; height: 480px;
  background: linear-gradient(160deg, #2A2D33, #18191D, #0E1012);
  border-radius: 44px;
  padding: 9px;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1.2px rgba(255,255,255,0.09),
    inset 0 0 0 1.2px rgba(255,255,255,0.04),
    0 40px 72px -18px rgba(0,0,0,0.72);
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1), box-shadow 0.45s;
  will-change: transform;
}
.ss-phone:hover {
  /* lift only (no scale) - scaling re-samples the screenshot bitmap and makes
     it blurry during the animation until the browser re-rasterizes. */
  transform: translateY(-16px) !important;
  box-shadow:
    0 0 0 1.2px rgba(255,255,255,0.13),
    inset 0 0 0 1.2px rgba(255,255,255,0.05),
    0 50px 90px -22px rgba(0,0,0,0.8),
    0 0 60px rgba(52,161,96,0.28);
}

/* Fan arrangement (5 phones) */
.ss-phone:nth-child(1) {
  transform: translateX(42px) rotate(-11deg) translateY(38px);
  z-index: 1;
  box-shadow:
    0 0 0 1.2px rgba(255,255,255,0.08),
    0 40px 72px -18px rgba(0,0,0,0.7);
}
.ss-phone:nth-child(2) {
  transform: translateX(22px) rotate(-5.5deg) translateY(14px);
  z-index: 2;
}
.ss-phone:nth-child(3) {
  transform: translateX(0) rotate(0deg) translateY(0);
  z-index: 3;
}
.ss-phone:nth-child(4) {
  transform: translateX(-22px) rotate(5.5deg) translateY(14px);
  z-index: 4;
}
.ss-phone:nth-child(5) {
  transform: translateX(-42px) rotate(11deg) translateY(38px);
  z-index: 5;
  box-shadow:
    0 0 0 1.2px rgba(255,255,255,0.09),
    0 40px 72px -18px rgba(0,0,0,0.7),
    0 0 60px rgba(52,161,96,0.3);
}

.ss-screen {
  width: 100%; height: 100%;
  background: var(--surface);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}
/* App screen image for the phone frame. */
.ss-shot {
  position: absolute; inset: 0; z-index: 45;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: inherit; display: block;
}
.ss-island { display: none; }
.ss-status {
  position: relative; z-index: 15;
  padding: 14px 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff; font-size: 11px; font-weight: 600;
}
.ss-icsgroup { display: flex; gap: 4px; align-items: center; }

/* ── Screen 1: Explore ── */
.ss-explore {
  position: absolute; inset: 42px 0 0;
  background: var(--surface); overflow: hidden;
}
.ss-explore .halo {
  position: absolute; top: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(180deg, rgba(52,161,96,0.26) 0%, transparent 100%);
  pointer-events: none;
}
.ss-explore .body {
  position: relative; z-index: 1;
  padding: 12px 14px 0;
  overflow: hidden; height: calc(100% - 60px);
}
.ss-explore .hrow { display: flex; justify-content: space-between; align-items: flex-start; }
.ss-explore .ew { font-size: 8px; font-weight: 800; color: var(--green-light); letter-spacing: 0.14em; }
.ss-explore .eg {
  font-family: var(--serif); font-size: 25px; color: var(--ink);
  line-height: 1.05; margin-top: 3px;
}
.ss-explore .eg em { font-style: italic; }
.ss-explore .el { width: 22px; height: 28px; object-fit: contain; }
/* primary cards */
.ss-prow { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.ss-pc {
  height: 115px; border-radius: 16px; padding: 11px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ss-pc .glyph {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255,255,255,0.2); display: grid; place-items: center;
}
.ss-pc .t { font-family: var(--serif); font-size: 14px; color: #fff; }
.ss-pc .s { font-size: 8px; color: rgba(255,255,255,0.82); line-height: 1.3; }
.ss-pc .c { display: flex; align-items: center; gap: 3px; font-size: 8px; font-weight: 800; color: #fff; }
.ss-live-dot { position: absolute; top: 8px; right: 8px; display: flex; align-items: center; gap: 3px; background: rgba(0,0,0,0.3); padding: 2px 6px; border-radius: 99px; }
.ss-live-dot .d { width: 4px; height: 4px; border-radius: 50%; background: #5BE090; }
.ss-live-dot span { font-size: 8px; color: #fff; font-weight: 800; }
/* divider */
.ss-div { display: flex; align-items: center; gap: 5px; margin: 10px 0 0; }
.ss-div .l { flex: 1; height: 1px; background: rgba(255,255,255,0.07); }
.ss-div .t2 { font-size: 7px; font-weight: 800; color: var(--ink-dim); letter-spacing: 0.1em; }
/* chips */
.ss-chips { display: flex; gap: 5px; margin-top: 9px; overflow: hidden; }
.ss-chip { padding: 0 9px; height: 22px; border-radius: 99px; font-size: 8px; font-weight: 700; display: flex; align-items: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: var(--ink); white-space: nowrap; }
.ss-chip.a { background: var(--grad-primary); color: #fff; border-color: transparent; }
/* section head */
.ss-sh { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.ss-sh .t { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.ss-sh .l { font-size: 8px; font-weight: 800; color: var(--green-light); }
/* tour card */
.ss-tc { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 13px; padding: 7px; margin-top: 7px; }
.ss-tt { width: 48px; height: 48px; border-radius: 10px; position: relative; overflow: hidden; flex-shrink: 0; }
.ss-tt .b { position: absolute; right: 3px; bottom: 3px; width: 14px; height: 14px; border-radius: 4px; background: rgba(0,0,0,0.4); display: grid; place-items: center; }
.ss-tag { font-size: 7px; font-weight: 800; color: var(--green-light); letter-spacing: 0.1em; }
.ss-tn { font-size: 10.5px; font-weight: 800; color: var(--ink); margin-top: 1px; }
.ss-ts { font-size: 8.5px; color: var(--ink-mid); margin-top: 1px; }
.ss-arr { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; color: var(--green-light); flex-shrink: 0; }

/* ── Screen 2: Tour (map) ── */
.ss-tour {
  position: absolute; inset: 42px 0 0;
  background: var(--map-base);
  overflow: hidden;
}
.ss-map-bg { position: absolute; inset: 0; background: var(--map-base); overflow: hidden; }
/* mode pill */
.ss-mode-pill {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  background: rgba(11,14,17,0.82);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 9px; font-weight: 700;
  padding: 5px 12px; border-radius: 99px;
}
/* radius + filter pills */
.ss-tb { position: absolute; top: 10px; left: 8px; display: flex; gap: 5px; z-index: 5; }
.ss-tbp {
  background: rgba(11,14,17,0.82); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 8px; font-weight: 700; padding: 5px 9px; border-radius: 99px;
  display: flex; align-items: center; gap: 4px;
}
/* controls */
.ss-ctrl { position: absolute; right: 8px; top: 40px; display: flex; flex-direction: column; gap: 5px; z-index: 5; }
.ss-cbtn {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(20,26,22,0.84); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; line-height: 1;
}
.ss-cbtn.g { background: var(--green); border-color: transparent; }
/* narration card */
.ss-narr {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  background: rgba(14,20,16,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 10px; z-index: 5;
}
.ss-nhead { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.ss-nthumb {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: var(--grad-primary);
  display: grid; place-items: center;
}
.ss-nname { font-size: 10px; font-weight: 800; color: #fff; }
.ss-nmeta { font-size: 8px; color: var(--ink-mid); margin-top: 1px; }
.ss-npill { display: inline-flex; align-items: center; gap: 5px; background: rgba(52,161,96,0.08); border: 1px solid rgba(52,161,96,0.36); color: var(--green-light); font-size: 8px; font-weight: 700; padding: 4px 8px; border-radius: 99px; margin-bottom: 7px; }
.ss-ctrl-row { display: flex; align-items: center; gap: 8px; }
.ss-sp-row { display: flex; align-items: center; gap: 5px; }
.ss-sptog { width: 22px; height: 13px; border-radius: 99px; background: var(--green); position: relative; flex-shrink: 0; }
.ss-sptog::after { content: ""; position: absolute; right: 2px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.ss-spl { font-size: 8px; font-weight: 700; color: var(--ink); }
.ss-plays { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ss-pp { width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 0 14px rgba(52,161,96,0.5); }

/* ── Screen 3: Visited ── */
.ss-visited {
  position: absolute; inset: 42px 0 0;
  background: var(--surface); overflow: hidden;
}
.ss-visited .halo {
  position: absolute; top: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(180deg, rgba(52,161,96,0.22) 0%, transparent 100%);
}
.ss-visited .body { position: relative; z-index: 1; padding: 12px 14px 0; }
.sv-ew { font-size: 8px; font-weight: 800; color: var(--green-light); letter-spacing: 0.14em; }
.sv-title { font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1.04; margin-top: 3px; }
.sv-title em { font-style: italic; }
.sv-sec { font-size: 8px; font-weight: 800; color: var(--ink-mid); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 14px; margin-bottom: 6px; }
.sv-row { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 13px; padding: 9px; margin-bottom: 6px; }
.sv-thumb { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: var(--green-soft); border: 1px solid rgba(52,161,96,0.25); display: grid; place-items: center; color: var(--green-light); }
.sv-name { font-size: 11px; font-weight: 800; color: var(--ink); }
.sv-meta { font-size: 8px; color: var(--ink-mid); margin: 2px 0 4px; }
.sv-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 8px; font-weight: 800; padding: 2px 7px; border-radius: 99px; }
.sv-badge.h { background: var(--green-soft); color: var(--green-light); }
.sv-badge.n { background: rgba(255,255,255,0.06); color: var(--ink-dim); }
.sv-x { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; color: var(--green-light); flex-shrink: 0; }

/* ── Screen 4: Simulator ── */
.ss-simulator {
  position: absolute; inset: 42px 0 0;
  background: var(--surface); overflow: hidden;
}
.ss-simulator .halo {
  position: absolute; top: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(180deg, rgba(52,161,96,0.22) 0%, transparent 100%);
}
.ss-simulator .body { position: relative; z-index: 1; padding: 12px 14px 0; }
.ss-sim-ew { font-size: 8px; font-weight: 800; color: var(--green-light); letter-spacing: 0.14em; }
.ss-sim-title { font-family: var(--serif); font-size: 24px; color: var(--ink); line-height: 1.05; margin-top: 3px; }
.ss-sim-title em { font-style: italic; }

.ss-sim-sec { font-size: 8px; font-weight: 800; color: var(--ink); margin-top: 10px; margin-bottom: 6px; }
.ss-sim-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 4px; display: flex; gap: 4px; }
.ss-sim-pill { flex: 1; text-align: center; padding: 8px 0; border-radius: 99px; font-size: 9px; font-weight: 700; color: var(--ink-mid); }
.ss-sim-pill.active { background: var(--green); color: #fff; }

.ss-sim-map { height: 90px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); margin-top: 12px; overflow: hidden; position: relative; background: var(--map-base); }
.ss-sim-map svg { width: 100%; height: 100%; }

.ss-sim-udot { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--user-dot); border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(45,125,246,0.25); }
.ss-sim-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 99px; margin-top: 10px; }
.ss-sim-dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; }
.ss-sim-dot.idle { background: var(--ink-dim); }
.ss-sim-badgetxt { font-size: 8px; font-weight: 800; color: var(--ink); letter-spacing: 0.05em; }

.ss-sim-routes { margin-top: 12px; }
.ss-sim-rcard { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 10px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ss-sim-rcard.playing { border-color: #22C55E; border-width: 1.5px; }
.ss-sim-ricon { width: 32px; height: 32px; border-radius: 8px; background: var(--green-soft); display: grid; place-items: center; color: var(--green-light); }
.ss-sim-rinfo { flex: 1; }
.ss-sim-rname { font-size: 11px; font-weight: 700; color: var(--ink); }
.ss-sim-rdesc { font-size: 8px; color: var(--ink-mid); margin-top: 1px; }
.ss-sim-rmeta { font-size: 7.5px; color: var(--ink-dim); margin-top: 2px; }
.ss-sim-rprog { background: #22C55E; color: #fff; font-size: 8px; font-weight: 800; padding: 2px 6px; border-radius: 99px; }

.ss-sim-progsec { margin-top: 6px; }
.ss-sim-progbg { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.ss-sim-progfill { height: 100%; width: 45%; background: var(--grad-primary); border-radius: 2px; }
.ss-sim-proglbl { display: flex; justify-content: space-between; font-size: 7px; color: var(--ink-mid); margin-top: 4px; font-family: monospace; }

.ss-sim-ctrls { display: flex; gap: 6px; margin-top: 12px; }
.ss-sim-cbtn { flex: 1; background: var(--grad-primary); border-radius: 8px; padding: 8px 0; display: flex; justify-content: center; align-items: center; gap: 4px; color: #fff; font-size: 10px; font-weight: 700; }
.ss-sim-cbtn.pause { background: linear-gradient(180deg, #F59E0B, #D97706); }
.ss-sim-cbtn.stop { background: linear-gradient(180deg, #EF4444, #DC2626); }

/* ── Screen 5: Profile ── */
.ss-profile {
  position: absolute; inset: 42px 0 0;
  background: var(--surface); overflow: hidden;
}
.ss-profile .halo {
  position: absolute; top: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(180deg, rgba(52,161,96,0.24) 0%, transparent 100%);
}
.ss-profile .body { position: relative; z-index: 1; padding: 12px 14px 0; }
.sp-ew { font-size: 8px; font-weight: 800; color: var(--green-light); letter-spacing: 0.14em; }
.sp-irow { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.sp-av {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #FFB678, #E76F51, #6A2E63);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; color: #fff;
  position: relative;
}
.sp-av::after {
  content: "✦"; position: absolute; bottom: -3px; right: -3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: linear-gradient(135deg, #4AD082, #34A160);
  font-size: 8px; display: grid; place-items: center;
  border: 2px solid var(--surface);
}
.sp-name { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.sp-sub { font-size: 9px; color: var(--ink-mid); margin-top: 2px; }
/* stats */
.sp-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 10px 0; }
.sp-stat { text-align: center; }
.sp-sv { font-family: var(--serif); font-size: 18px; color: var(--ink); display: block; }
.sp-sl { font-size: 7px; font-weight: 800; color: var(--ink-dim); display: block; margin-top: 1px; letter-spacing: 0.08em; }
/* badge grid */
.sp-bsec { font-family: var(--serif); font-size: 14px; color: var(--ink); margin-top: 12px; }
.sp-bgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 8px; }
.sp-bc { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sp-bi { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.sp-bn { font-size: 7.5px; font-weight: 800; color: var(--ink); text-align: center; line-height: 1.1; }
.sp-bc.locked { opacity: 0.5; }
.sp-bc.locked .sp-bi { background: rgba(255,255,255,0.08); color: var(--ink-dim); }
/* preferences list */
.sp-prefs { margin-top: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 13px; overflow: hidden; }
.sp-pref { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.sp-pref + .sp-pref { border-top: 1px solid rgba(255,255,255,0.06); }
.sp-pi { width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; background: var(--green-soft); color: var(--green-light); display: grid; place-items: center; }
.sp-pl { flex: 1; font-size: 9.5px; font-weight: 700; color: var(--ink); }
.sp-pv { font-size: 8.5px; font-weight: 600; color: var(--ink-mid); }
.sp-pc { color: var(--ink-dim); }
.sp-toggle { width: 24px; height: 14px; border-radius: 99px; background: var(--green); position: relative; flex-shrink: 0; }
.sp-toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
/* pro card */
.sp-pro { margin-top: 12px; border-radius: 14px; overflow: hidden; background: var(--grad-pro); padding: 14px; }
.sp-proew { font-size: 8px; font-weight: 800; letter-spacing: 0.14em; color: #FFB678; }
.sp-prot { font-family: var(--serif); font-size: 14px; color: #fff; line-height: 1.2; margin-top: 5px; }
.sp-prot em { font-style: italic; }
.sp-procta { margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(to bottom, #FFE9B0, #FFB678); color: #1A1635; font-size: 9px; font-weight: 800; padding: 6px 12px; border-radius: 99px; }

/* ── Phone labels under each phone ── */
.showcase-labels { display: flex; justify-content: center; gap: 24px; margin-top: 26px; }
.showcase-labels span { width: 230px; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-mid); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .showcase-stage { gap: 10px; }
  .ss-phone { width: 180px; height: 380px; border-radius: 34px; }
  .showcase-labels span { width: 180px; font-size: 11px; }
}
@media (max-width: 820px) {
  .showcase-stage { gap: 8px; }
  .ss-phone { width: 156px; height: 330px; border-radius: 28px; padding: 6px; }
  .ss-island { width: 68px; height: 20px; }
  .showcase-labels span { width: 156px; font-size: 10px; }
}
@media (max-width: 640px) {
  .showcase-stage { overflow-x: auto; padding-bottom: 14px; justify-content: flex-start; padding-left: 24px; }
  .showcase-stage::-webkit-scrollbar { display: none; }
}
