/* ============================================================
   UseAlibi landing — pink brand theme
   ============================================================ */
:root {
  --bg: #0a0c11;
  --bg-raised: #0d0e13;
  --card: #14151b;
  --card-border: rgba(255, 255, 255, 0.10);
  --text: #f8f8f2;
  --muted: #a6abb5;
  --accent: #d8528f;        /* primary pink */
  --accent-bright: #ff7ab0; /* bright pink (accents, gradients) */
  --accent-soft: rgba(216, 82, 143, 0.35);
  --pink: #d8528f;
  --pink-dim: #7a3358;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  color: var(--accent-bright);
}

/* ============ NAV ============ */
.nav-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 0 16px;
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              margin-top 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* condensed floating pill once the user scrolls down */
.nav-wrap.scrolled .nav {
  max-width: 860px;
  margin-top: 12px;
  padding: 8px 12px 8px 18px;
  background: rgba(13, 14, 19, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.logo-img { display: block; border-radius: 7px; }

.logo-word {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.logo-accent { color: var(--pink); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-link:hover { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-ghost {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.15s, border-color 0.15s;
}

.nav-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 10px;
  background: #fff;
  color: #0a0c11;
  border: 1px solid #fff;
  transition: background 0.15s, border-color 0.15s;
}

.nav-cta:hover { background: var(--accent-bright); border-color: var(--accent-bright); }

/* ============ HERO ============ */
.hero {
  position: relative;
  text-align: center;
  padding: 140px 24px 90px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  height: 560px;
  background-image:
    linear-gradient(rgba(216, 82, 143, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 82, 143, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 65% 90% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 65% 90% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-title {
  position: relative;
  font-size: clamp(2.4rem, 5.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.accent { color: var(--accent); }

.hero-sub {
  position: relative;
  margin: 24px auto 0;
  max-width: 560px;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-ctas {
  position: relative;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-req {
  position: relative;
  margin-top: 16px;
  font-size: 0.74rem;
  color: var(--muted);
  opacity: 0.85;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn-arrow { font-size: 0.95em; transform: translateY(-1px); }

.btn-solid-pink {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  border: 1px solid var(--pink-dim);
  color: #fff;
  box-shadow: 0 8px 28px rgba(216, 82, 143, 0.35);
}
.btn-solid-pink:hover { box-shadow: 0 8px 36px rgba(216, 82, 143, 0.55); }

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.07); }

.btn-outline-pink {
  border: 1px solid rgba(216, 82, 143, 0.55);
  color: var(--text);
}
.btn-outline-pink:hover { background: var(--pink); border-color: var(--pink); }

.btn-outline-accent {
  border: 1px solid var(--accent-soft);
  color: var(--text);
}
.btn-outline-accent:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============ HERO PREVIEW (placeholder + island crossfade) ============ */
.hero-preview {
  position: relative;
  max-width: 860px;
  margin: 60px auto 0;
  aspect-ratio: 16 / 10;
  text-align: left;
}

#appPreviewRoot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

#appPreviewRoot .ua-app { font-family: var(--font); }

.hero-preview.live #appPreviewRoot { opacity: 1; }
.hero-preview.live .app-window { opacity: 0; }

/* --- instant canvas placeholder, styled like the real chrome --- */
.app-window {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: var(--bg);
  box-shadow: 0 40px 120px -20px rgba(216, 82, 143, 0.35), 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.6s ease;
}

.app-titlebar {
  position: relative;
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  background: var(--bg-raised);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tb-logo {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
}

.titlebar-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #cdd1d9;
}

.titlebar-controls {
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.tb-btn { font-size: 0.7rem; color: rgba(255, 255, 255, 0.3); line-height: 1; }

.app-map {
  position: relative;
  flex: 1;
  background: var(--bg);
  overflow: hidden;
}

#mapCanvas {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  height: 190%;
  transform: translate(-50%, -54%) perspective(700px) rotateX(38deg) scale(1.05);
  transform-origin: center;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -90%);
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.ph-rail {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(20, 21, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  backdrop-filter: blur(18px);
}

.ph-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  width: 46%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ph-mode {
  display: flex;
  border-radius: 16px;
  padding: 5px;
  background: rgba(20, 21, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

.ph-mode span {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.ph-mode span.on {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  box-shadow: 0 6px 18px rgba(216, 82, 143, 0.4);
}

.ph-search {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 14px;
  padding: 11px 14px;
  background: rgba(20, 21, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
  font-size: 0.8rem;
  color: #8b909b;
}

.ph-search kbd {
  margin-left: auto;
  font-size: 0.62rem;
  color: #6b7280;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 2px 6px;
}

.ph-status {
  position: absolute;
  right: 16px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.ph-conn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(20, 21, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

.ph-conn i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39d98a;
  box-shadow: 0 0 10px #39d98a;
}

.ph-coord {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  color: #cdd1d9;
  font-variant-numeric: tabular-nums;
  background: rgba(20, 21, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

/* ============ SHARED SECTION BITS ============ */
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.18;
}

.section-sub {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ PILLARS (trio) ============ */
.trio {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.trio-icon { width: 26px; height: 26px; color: var(--accent); }

.trio-item h3 {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.trio-item p {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ============ TRIP MODE ============ */
.trip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.trip-list {
  margin-top: 26px;
  list-style: none;
}

.trip-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.trip-list li b { color: var(--text); font-weight: 600; }

.trip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(216, 82, 143, 0.7);
}

.trip-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: var(--bg-raised);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

#tripSvg { display: block; width: 100%; height: auto; }

.trip-grid line { stroke: rgba(216, 82, 143, 0.10); stroke-width: 1; }

#tripRoute {
  stroke: #bfe0ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#tripRouteGlow {
  stroke: #4aa8ff;
  stroke-width: 14;
  stroke-opacity: 0.22;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: blur(4px);
}

.trip-stop { fill: #14151b; stroke-width: 3; }
.trip-stop.start { stroke: #39d98a; }
.trip-stop.mid { stroke: #f5c04e; }
.trip-stop.end { stroke: var(--accent-bright); }

#tripDot {
  fill: var(--accent-bright);
  stroke: #fff;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(255, 122, 176, 0.9));
}

#tripLight {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2;
  transition: fill 0.2s, stroke 0.2s;
}

#tripLight.red {
  fill: #ff5d6a;
  stroke: rgba(255, 93, 106, 0.4);
  filter: drop-shadow(0 0 10px rgba(255, 93, 106, 0.9));
}

.trip-eta {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(20, 21, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}

.eta-row { font-size: 0.82rem; }
.eta-row b { font-size: 1.05rem; font-weight: 700; }
.eta-row.muted { color: var(--muted); font-size: 0.76rem; }

.eta-row.speed {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.eta-row.speed i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39d98a;
  box-shadow: 0 0 8px #39d98a;
}

.trip-chips {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(20, 21, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}

.trip-chips span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.trip-chips span.on {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  box-shadow: 0 4px 14px rgba(216, 82, 143, 0.4);
}

.trip-chips span.mph {
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-variant-numeric: tabular-nums;
}

.trip-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffd3d7;
  background: rgba(90, 20, 26, 0.85);
  border: 1px solid rgba(255, 93, 106, 0.5);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: opacity 0.25s;
}

.trip-flag.show { opacity: 1; }

.trip-playbar {
  margin-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============ FEATURES ============ */
.features {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 40px;
}

.feature-item h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 700;
}

.f-icon { width: 17px; height: 17px; color: var(--accent); flex: none; }

.feature-item p {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

.features-title { position: sticky; top: 120px; }

.features-sub {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============ PRIVACY ============ */
.privacy {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.privacy-visual svg { width: 100%; max-width: 420px; display: block; margin: 0 auto; }

.pv-shape { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 2; }
.pv-screen { fill: rgba(216, 82, 143, 0.08); stroke: rgba(216, 82, 143, 0.35); stroke-width: 1.5; }

.pv-cable { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 5 7; }

.pv-pulse {
  fill: var(--accent-bright);
  filter: drop-shadow(0 0 6px rgba(255, 122, 176, 0.9));
  animation: pv-travel 2.4s linear infinite;
}

@keyframes pv-travel {
  0% { cx: 106; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { cx: 234; opacity: 0; }
}

.check-list {
  margin-top: 24px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 0.85rem;
  color: var(--muted);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--accent-bright);
  font-weight: 700;
}

/* ============ SETUP ============ */
.setup {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px 60px;
  text-align: center;
}

.setup .section-sub { max-width: 520px; }

.setup-steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

.setup-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  box-shadow: 0 6px 16px rgba(216, 82, 143, 0.4);
}

.setup-step h4 {
  margin-top: 16px;
  font-size: 0.87rem;
  font-weight: 700;
}

.setup-step p {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.setup-note {
  margin: 28px auto 0;
  max-width: 520px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============ FEATURES PAGE ============ */
.fpage-hero {
  position: relative;
  text-align: center;
  padding: 150px 24px 30px;
}

.fpage-hero .hero-sub { margin-top: 18px; }

.fcat {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 10px;
}

.fcat-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.fcat-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--accent-bright);
  background: rgba(216, 82, 143, 0.12);
  border: 1px solid rgba(216, 82, 143, 0.32);
  box-shadow: 0 8px 24px rgba(216, 82, 143, 0.18);
}

.fcat-icon svg { width: 21px; height: 21px; }

.fcat-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
}

.fcat-blurb {
  margin-top: 3px;
  font-size: 0.78rem;
  color: var(--muted);
}

.fcat-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 40px;
}

.fpage-cta {
  padding: 90px 24px 110px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.features-all-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-bright);
  transition: gap 0.15s;
}

.features-all-link:hover { gap: 11px; }

/* ============ PRICING ============ */
.pricing {
  text-align: center;
  padding: 110px 24px 40px;
}

.pricing-avail {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.os-chips {
  margin-top: 10px;
  display: inline-flex;
  gap: 8px;
}

.os-chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.plans {
  margin: 44px auto 0;
  max-width: 660px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}

.plan-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--card-border);
  border-left: 2px solid var(--pink-dim);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-head h3 { font-size: 0.95rem; font-weight: 700; }

.badge-popular {
  position: absolute;
  top: -11px;
  right: 20px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #ffd9ea;
  background: #3a1c2b;
  border: 1px solid var(--pink-dim);
  padding: 4px 13px;
  border-radius: var(--radius-pill);
}

.plan-price {
  margin-top: 16px;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-price .per {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-note {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--muted);
}

.plan-card .btn { margin-top: 18px; }

.plan-fine {
  margin-top: 20px;
  list-style: none;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ============ FAQ ============ */
.faq {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px 100px;
}

.faq-title {
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
}

.faq-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 90px;
}

.faq-item h4 { font-size: 0.9rem; font-weight: 600; }

.faq-item p {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.faq-cta {
  margin-top: 70px;
  text-align: center;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-raised);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 40px;
}

.footer-copy {
  margin-top: 18px;
  font-size: 0.72rem;
  color: var(--muted);
}

.footer-disclaimer {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--text); }

.footer-social {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #cfd4d9;
}

.footer-social a { opacity: 0.85; transition: opacity 0.15s; }
.footer-social a:hover { opacity: 1; }

/* ============ LOGIN OVERLAY ============ */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.92);
  animation: overlay-in 0.25s ease;
}

@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.login-overlay iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 101;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(16, 17, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s;
}

.login-close:hover { background: rgba(216, 82, 143, 0.5); }

/* ============ CUSTOMER PORTAL ============ */
.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 28px;
  background: rgba(10, 12, 17, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-crumb {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-email { font-size: 0.78rem; color: var(--muted); }

.portal {
  max-width: 1020px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.portal-title {
  font-size: 1.6rem;
  font-weight: 700;
}

.portal-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.portal-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pc-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.pc-head h2 svg { width: 18px; height: 18px; color: var(--accent); }

.pc-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.pc-badge.active {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b8f5d6;
  background: rgba(57, 217, 138, 0.12);
  border: 1px solid rgba(57, 217, 138, 0.35);
}

.pc-badge.active i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39d98a;
  box-shadow: 0 0 8px #39d98a;
}

.pc-badge.ver {
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-variant-numeric: tabular-nums;
}

.pc-rows { display: flex; flex-direction: column; gap: 0; }

.pc-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pc-rows dt { font-size: 0.78rem; color: var(--muted); }
.pc-rows dd { font-size: 0.8rem; font-weight: 500; text-align: right; }
.pc-rows dd.mono { font-family: ui-monospace, Consolas, monospace; font-size: 0.75rem; }

.pc-mini {
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--accent-bright);
  background: rgba(216, 82, 143, 0.12);
  border: 1px solid rgba(216, 82, 143, 0.35);
  border-radius: 7px;
  padding: 3px 9px;
  margin-left: 8px;
  cursor: pointer;
}

.pc-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pc-sub {
  margin-top: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pc-table { width: 100%; margin-top: 10px; border-collapse: collapse; }

.pc-table td {
  padding: 9px 0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pc-table td:nth-child(2) { font-variant-numeric: tabular-nums; }
.pc-table td:last-child { text-align: right; }
.pc-table a { color: var(--accent-bright); font-weight: 600; font-size: 0.74rem; }

.pc-paid {
  font-size: 0.66rem;
  font-weight: 700;
  color: #b8f5d6;
  background: rgba(57, 217, 138, 0.12);
  border: 1px solid rgba(57, 217, 138, 0.3);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}

.pc-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.pc-fine {
  margin-top: 18px;
  list-style: none;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.9;
}

.pc-fine a { color: var(--accent-bright); font-weight: 600; }

.pc-links { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

.pc-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: border-color 0.15s, background 0.15s;
}

.pc-link:hover {
  border-color: rgba(216, 82, 143, 0.45);
  background: rgba(216, 82, 143, 0.05);
}

.pc-link-title { font-size: 0.82rem; font-weight: 700; }
.pc-link-sub { font-size: 0.72rem; color: var(--muted); }

.portal-footer {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.7rem;
  color: var(--muted);
}

/* ============ DOCS ============ */
.docs-body { background: #0a0b0f; }

.docs-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 24px;
  background: rgba(10, 11, 15, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid rgba(216, 82, 143, 0.4);
  border-radius: 6px;
  padding: 2px 7px;
  margin-left: 4px;
}

.docs-search {
  flex: 1;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
}

.docs-search:hover { border-color: rgba(255, 255, 255, 0.2); }

.docs-search svg { width: 15px; height: 15px; flex: none; }

.docs-search kbd {
  margin-left: auto;
  font-size: 0.62rem;
  color: #6b7280;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 2px 6px;
}

.docs-shell {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 220px;
  gap: 40px;
  padding: 0 24px;
}

.docs-side {
  position: sticky;
  top: 57px;
  height: calc(100vh - 57px);
  overflow-y: auto;
  padding: 28px 8px 40px 0;
}

.docs-side h6 {
  font-size: 0.74rem;
  font-weight: 700;
  margin: 22px 0 6px;
}

.docs-side h6:first-child { margin-top: 0; }

.docs-side a {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 9px;
  transition: color 0.12s, background 0.12s;
}

.docs-side a:hover { color: var(--text); }

.docs-side a.on {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
}

.docs-main {
  padding: 34px 0 60px;
  min-width: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

/* client-side page swap (js/docs-nav.js) */
.docs-main.leaving { opacity: 0; transform: translateY(8px); }
.docs-main.entering { opacity: 0; transform: translateY(-6px); transition: none; }

@media (prefers-reduced-motion: reduce) {
  .docs-main { transition: none; }
  .docs-main.leaving, .docs-main.entering { opacity: 1; transform: none; }
}

.docs-crumb {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.docs-main h1 {
  margin-top: 6px;
  font-size: 2rem;
  font-weight: 700;
}

.docs-main h2 {
  margin-top: 36px;
  font-size: 1.15rem;
  font-weight: 700;
}

.docs-main p {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #c7ccd4;
  line-height: 1.7;
  max-width: 640px;
}

.docs-cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.docs-card {
  display: block;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.docs-card:hover {
  border-color: rgba(216, 82, 143, 0.5);
  background: rgba(216, 82, 143, 0.04);
  transform: translateY(-2px);
}

.docs-card svg { width: 22px; height: 22px; color: var(--accent-bright); }

.docs-card h3 {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
}

.docs-card p {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

.docs-next {
  margin-top: 44px;
  display: flex;
  justify-content: flex-end;
}

.docs-next a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.docs-next a:hover { color: var(--accent-bright); }

.docs-footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
}

.docs-toc {
  position: sticky;
  top: 57px;
  height: calc(100vh - 57px);
  padding: 34px 0 40px;
}

.docs-toc h6 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.docs-toc h6 svg { width: 14px; height: 14px; color: var(--muted); }

.docs-toc a {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  padding: 4px 0;
}

.docs-toc a.on, .docs-toc a:hover { color: var(--text); }

/* ============ PORTAL LAUNCH GATE ============ */
.portal-gate { display: none; }

/* locked: hide the (mock) dashboard, show the gate */
.portal-locked .portal-topbar,
.portal-locked .portal-shell,
.portal-locked .portal-footer { display: none; }

.portal-locked .portal-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  justify-content: center;
  gap: 4px;
  padding: 40px 24px;
}

.portal-gate .nav-logo { margin-bottom: 24px; }

.portal-gate h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  max-width: 620px;
}

.portal-gate > p {
  margin-top: 14px;
  max-width: 480px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.portal-gate > p b { color: var(--accent-bright); }

.portal-gate-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.portal-gate-fine {
  margin-top: 22px;
  font-size: 0.75rem;
  color: var(--muted);
}

.portal-gate-fine a { color: var(--accent-bright); }

/* ============ PORTAL TABS ============ */
.portal-shell {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.portal-tabs {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ptab {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid transparent;
  transition: color 0.12s, background 0.12s, border-color 0.12s;
}

.ptab svg { width: 17px; height: 17px; flex: none; }

.ptab:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.ptab.on {
  color: var(--text);
  background: rgba(216, 82, 143, 0.10);
  border-color: rgba(216, 82, 143, 0.35);
}

.ptab.on svg { color: var(--accent-bright); }

.ptab-panel { display: none; }
.ptab-panel.on { display: block; }

.ptab-panel .portal-card { margin-top: 22px; }

.ov-tiles {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ov-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.ov-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ov-value { font-size: 1.15rem; font-weight: 700; }

.ov-sub { font-size: 0.72rem; color: var(--muted); }

/* ============ DOCS CONTENT EXTRAS ============ */
.docs-ul {
  margin-top: 12px;
  list-style: none;
}

.docs-ul li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 0.85rem;
  color: #c7ccd4;
  line-height: 1.6;
  max-width: 640px;
}

.docs-ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.docs-ul b, .docs-steps b { color: var(--text); }

.docs-steps {
  margin: 16px 0 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.docs-steps li {
  position: relative;
  counter-increment: step;
  padding: 7px 0 7px 40px;
  font-size: 0.85rem;
  color: #c7ccd4;
  line-height: 1.6;
  max-width: 640px;
}

.docs-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
}

.docs-callout {
  margin-top: 20px;
  max-width: 640px;
  padding: 14px 18px;
  font-size: 0.82rem;
  color: #d9cfd6;
  line-height: 1.6;
  background: rgba(216, 82, 143, 0.07);
  border: 1px solid rgba(216, 82, 143, 0.3);
  border-radius: var(--radius-md);
}

.docs-callout b { color: var(--accent-bright); }

.docs-main a { color: var(--accent-bright); font-weight: 500; }
.docs-main .docs-card { color: inherit; font-weight: 400; }
.docs-main .docs-card h3 { color: var(--text); }

.docs-prevnext {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.docs-pn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  min-width: 180px;
  transition: border-color 0.15s;
}

.docs-pn:hover { border-color: rgba(216, 82, 143, 0.5); }

.docs-pn.next { text-align: right; margin-left: auto; }

.docs-pn span { font-size: 0.68rem; color: var(--muted) !important; font-weight: 600; }
.docs-pn b { font-size: 0.85rem; color: var(--text); }

/* ============ DOCS SEARCH MODAL ============ */
.dsearch-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12vh 20px 20px;
}

/* `display: flex` above would otherwise override the hidden attribute */
.dsearch-overlay[hidden] { display: none; }

.dsearch-box {
  width: 100%;
  max-width: 560px;
  background: #101116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.dsearch-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dsearch-bar svg { width: 17px; height: 17px; color: var(--muted); flex: none; }

.dsearch-bar input {
  flex: 1;
  background: none;
  border: 0;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}

.dsearch-bar input::placeholder { color: #6b7280; }

.dsearch-bar kbd {
  font-size: 0.62rem;
  color: #6b7280;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 2px 6px;
}

.dsearch-results {
  max-height: 46vh;
  overflow-y: auto;
  padding: 8px;
}

.dsearch-hint {
  padding: 18px 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

.dsearch-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.dsearch-item:hover, .dsearch-item.sel {
  background: rgba(216, 82, 143, 0.10);
  border-color: rgba(216, 82, 143, 0.35);
}

.dsr-section {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.dsr-title { font-size: 0.88rem; font-weight: 700; color: var(--text); }

.dsr-snippet {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dsr-snippet mark {
  background: rgba(255, 122, 176, 0.25);
  color: var(--accent-bright);
  border-radius: 3px;
  padding: 0 2px;
}

/* ============ HERO LAUNCH LINE ============ */
.hero-launch {
  position: relative;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text);
}

.hero-launch b { color: var(--accent-bright); font-weight: 700; }

/* glowing launch date */
.launch-date {
  color: var(--accent-bright);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 122, 176, 0.75), 0 0 28px rgba(216, 82, 143, 0.45);
  animation: date-glow 2.6s ease-in-out infinite;
}

@keyframes date-glow {
  0%, 100% { text-shadow: 0 0 12px rgba(255, 122, 176, 0.6), 0 0 26px rgba(216, 82, 143, 0.35); }
  50% { text-shadow: 0 0 18px rgba(255, 122, 176, 0.95), 0 0 40px rgba(216, 82, 143, 0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .launch-date { animation: none; }
}

/* ============ COUNTDOWN ============ */
.countdown {
  position: relative;
  margin: 18px auto 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  padding: 12px 10px;
  border-radius: var(--radius-md);
  background: rgba(216, 82, 143, 0.08);
  border: 1px solid rgba(216, 82, 143, 0.28);
}

.cd-num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.cd-label {
  margin-top: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cd-sep {
  align-self: center;
  padding-top: 4px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-soft);
}

.countdown.big .cd-unit { min-width: 74px; padding: 16px 12px; }
.countdown.big .cd-num { font-size: 2rem; }

.countdown.mini { margin-top: 16px; }
.countdown.mini .cd-unit { min-width: 46px; padding: 8px 8px; background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.10); }
.countdown.mini .cd-num { font-size: 1.1rem; }
.countdown.mini .cd-sep { font-size: 1rem; }

/* ============ GOOGLE BUTTON ============ */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-google:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.btn-google svg { flex: none; }

/* ============ DASHBOARD (logged-in states) ============ */
.portal-authed .portal-gate { display: none; }

.portal-intro {
  margin-top: 10px;
  max-width: 560px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.launch-card {
  margin-top: 24px;
  text-align: center;
  background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(216, 82, 143, 0.12), rgba(255, 255, 255, 0.02));
  border-color: rgba(216, 82, 143, 0.3);
}

.launch-card .pc-badge { margin: 0 auto; }

.launch-head {
  margin-top: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
}

.launch-card .countdown { margin-top: 18px; }

.launch-sub {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted);
}

.ov-email { font-size: 0.92rem; word-break: break-all; }

.lock-note {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.lock-note svg { width: 20px; height: 20px; flex: none; color: var(--accent-bright); }

.dash-plans { margin-top: 22px; max-width: none; }

.dash-plans .btn[disabled] {
  width: 100%;
  justify-content: center;
  opacity: 0.55;
  cursor: not-allowed;
}

.pc-actions .btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.gate-countdown { margin: 24px auto 6px; }

/* terms agreement in the join modal / sign-in gate */
.wl-terms {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.wl-terms input {
  margin-top: 2px;
  flex: none;
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
}

.wl-terms a { color: var(--accent-bright); }

.gate-terms { max-width: 360px; }

/* logged-in CTA state */
.is-waitlisted {
  background: rgba(57, 217, 138, 0.12) !important;
  border-color: rgba(57, 217, 138, 0.4) !important;
  color: #b8f5d6 !important;
  box-shadow: none !important;
}

.nav-cta.is-waitlisted { background: rgba(57, 217, 138, 0.14) !important; }

/* ============ COMPATIBILITY (apps) ============ */
.apps {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px 60px;
  text-align: center;
}

.apps-sub { max-width: 560px; }

.apps-grid {
  margin: 40px auto 0;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.apps-grid span {
  font-size: 0.8rem;
  font-weight: 500;
  color: #c7ccd4;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, color 0.15s;
}

.apps-grid span:hover {
  border-color: rgba(216, 82, 143, 0.45);
  color: var(--text);
}

.apps-note {
  margin: 28px auto 0;
  max-width: 560px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============ LEGAL PAGES ============ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 100px;
}

.legal h1 { font-size: 2rem; font-weight: 700; }

.legal-date {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.legal h2 {
  margin-top: 40px;
  font-size: 1.05rem;
  font-weight: 700;
}

.legal p {
  margin-top: 12px;
  font-size: 0.87rem;
  color: #c7ccd4;
  line-height: 1.7;
}

.legal ul {
  margin-top: 12px;
  padding-left: 22px;
}

.legal li {
  font-size: 0.87rem;
  color: #c7ccd4;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal a { color: var(--accent-bright); font-weight: 500; }
.legal b { color: var(--text); }

/* ============ WAITLIST MODAL ============ */
.waitlist-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlay-in 0.25s ease;
}

.waitlist-overlay[hidden] { display: none; }

.waitlist-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #101116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 34px 30px 26px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(216, 82, 143, 0.15);
}

.waitlist-box h3 { font-size: 1.25rem; font-weight: 700; }

.waitlist-box > p {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.waitlist-box > p b { color: var(--accent-bright); }

.waitlist-box form {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.waitlist-box input {
  flex: 1;
  min-width: 0;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  outline: none;
  transition: border-color 0.15s;
}

.waitlist-box input:focus { border-color: rgba(216, 82, 143, 0.6); }
.waitlist-box input::placeholder { color: #6b7280; }

.waitlist-msg {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #ffb3c4;
}

.waitlist-msg.ok { color: #b8f5d6; }

.waitlist-fine {
  margin-top: 14px;
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.8;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-center { display: none; }
  .trip { grid-template-columns: 1fr; gap: 44px; }
  .features { grid-template-columns: 1fr; gap: 44px; }
  .features-title { position: static; text-align: center; }
  .privacy { grid-template-columns: 1fr; gap: 44px; }
  .privacy-visual { order: 1; }
  .setup-steps { grid-template-columns: 1fr 1fr; }
  .fcat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
  .setup-steps { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .ph-bottom { width: 70%; }
  .fcat-grid { grid-template-columns: 1fr; }
  .fpage-cta { flex-direction: column; align-items: center; }
}

@media (max-width: 1100px) {
  .docs-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .docs-toc { display: none; }
}

@media (max-width: 820px) {
  .docs-shell { grid-template-columns: 1fr; }
  .docs-side { display: none; }
  .docs-search { display: none; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-crumb { display: none; }
  .portal-shell { grid-template-columns: 1fr; gap: 20px; }
  .portal-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .ptab { white-space: nowrap; }
  .ov-tiles { grid-template-columns: 1fr 1fr; }
}
