/* ============================================================
   Stay Vault Days — Phone frames, app screens & remaining sections
   ============================================================ */

/* ---------- Phone frame ---------- */
.phone {
  width: 300px;
  aspect-ratio: 300 / 620;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #20243a, #0c0e1c 60%);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  position: relative;
  flex: none;
}
.phone::after {
  content: "";
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 30px;
  background: #05060d;
  border-radius: 0 0 18px 18px;
  z-index: 4;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(79,108,255,0.18), transparent 60%),
    linear-gradient(180deg, #0a0c1a, #06070f);
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.scr-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px 6px;
  font-size: 12px; font-weight: 700; color: var(--text);
}
.scr-status .dots { display: flex; gap: 4px; align-items: center; }
.scr-status .dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--text); opacity: 0.8; }
.scr-body { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.scr-title { font-family: var(--font-display); font-size: 19px; }
.scr-sub { font-size: 12px; color: var(--muted); }

/* mini cards inside app screens */
.mini {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 13px 14px;
}
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini .flag { font-size: 20px; }
.mini .c-name { font-size: 13px; font-weight: 700; }
.mini .c-meta { font-size: 11px; color: var(--muted); }
.mini .c-days { font-family: var(--font-display); font-size: 18px; }
.bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 9px; }
.bar > i { display: block; height: 100%; border-radius: 4px; }
.fill-green { background: linear-gradient(90deg, #4cc6a0, var(--green)); }
.fill-amber { background: linear-gradient(90deg, #e89a3e, var(--amber)); }
.fill-indigo { background: linear-gradient(90deg, var(--indigo), var(--indigo-soft)); }
.fill-red { background: linear-gradient(90deg, #d83a3a, var(--red)); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: 999px;
}
.pill-green { color: var(--green); background: rgba(95,208,163,0.12); }
.pill-amber { color: var(--amber); background: rgba(242,179,94,0.12); }
.pill-gold { color: var(--gold); background: rgba(242,200,121,0.12); }

.big-stat {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  font-weight: 500;
}
.scr-cta {
  margin-top: auto;
  background: linear-gradient(135deg, #f7d894, var(--gold));
  color: #2a1d05; font-weight: 700; font-size: 13px;
  text-align: center; padding: 12px; border-radius: 12px;
}

/* photo import filmstrip */
.filmstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.filmstrip .frame { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #1a1e36, #2a2f52); position: relative; overflow: hidden; }
.filmstrip .frame::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 6px, transparent 6px 12px); }
.filmstrip .frame.gps { outline: 1px solid rgba(242,200,121,0.5); }
.filmstrip .frame.gps::before { content: "📍"; position: absolute; bottom: 4px; right: 4px; font-size: 11px; z-index: 2; }

/* source mini */
.src-mini { display: flex; gap: 10px; align-items: flex-start; }
.src-mini .seal { font-size: 22px; }
.src-link { font-size: 10px; color: var(--indigo-soft); word-break: break-all; }

/* what-if calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .d { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,0.04); display: grid; place-items: center; font-size: 10px; color: var(--muted); }
.cal .d.trip { background: rgba(242,200,121,0.22); color: var(--gold); font-weight: 700; }

/* ---------- Globe showcase ---------- */
.globe-section { padding: 120px 0; overflow: hidden; }
.globe-stage {
  position: relative;
  height: 70vh;
  min-height: 520px;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(79,108,255,0.12), transparent 70%),
    linear-gradient(180deg, #06070f, #04050c);
}
#showcaseGlobe { position: absolute; inset: 0; }
.globe-overlay {
  position: absolute;
  top: 26px; left: 26px;
  z-index: 5;
  width: 250px;
  max-width: calc(100% - 52px);
}
.float-card {
  background: rgba(10, 12, 26, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.float-card .fc-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.float-card .fc-num { font-family: var(--font-display); font-size: 40px; line-height: 1.1; margin: 6px 0; }
.float-card .fc-sub { font-size: 12px; color: var(--muted); }
.globe-hint {
  position: absolute;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  font-size: 12px; color: var(--muted);
  background: rgba(10,12,26,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 16px; border-radius: 999px;
  backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 8px;
}
.globe-loading {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  color: var(--muted); font-size: 14px;
  transition: opacity 0.6s var(--ease);
}
.globe-loading.hide { opacity: 0; pointer-events: none; }
.globe-loading .ring {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(242,200,121,0.2);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
  margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ledger below globe */
.ledger {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.ledger-card {
  flex: none;
  width: 200px;
  padding: 16px 18px;
  cursor: pointer;
}
.ledger-card.active { border-color: var(--card-border-hover); background: rgba(242,200,121,0.06); }
.ledger-card .lc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ledger-card .flag { font-size: 26px; }
.ledger-card .lc-name { font-size: 14px; font-weight: 700; }
.ledger-card .lc-days { font-family: var(--font-display); font-size: 24px; }
.ledger-card .lc-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.globe-cta { text-align: center; margin-top: 34px; font-size: 17px; color: var(--muted); }
.globe-cta a { color: var(--gold); font-weight: 700; }

/* ===== Phone mockup runs on a DARK screen — force light text inside it ===== */
/* The site's --text/--muted are dark (for the light page); inside .phone-screen
   they'd be near-black on #0b0d14 and unreadable. Override within the screen. */
.phone-screen .scr-status { color: rgba(255,255,255,0.65); }
.phone-screen .scr-title { color: #ffffff; }
.phone-screen .scr-sub { color: rgba(255,255,255,0.75); }
.phone-screen .c-name { color: #ffffff; }
.phone-screen .c-meta { color: rgba(255,255,255,0.78); }
.phone-screen .c-days { color: #ffffff; }
