/* ============================================================
   WhaleRadr Landing — mobile-first AI/tech framework
   Placeholders: [BRACKET] + data-copy="..."
   ============================================================ */

:root {
  --bg: #05060f;
  --bg-elev: #0b0d1a;
  --bg-card: rgba(16, 20, 40, 0.55);
  --border: rgba(120, 160, 255, 0.14);
  --border-strong: rgba(0, 245, 255, 0.35);
  --text: #e8ecff;
  --text-muted: #8b93b8;
  --cyan: #00f5ff;
  --violet: #a855f7;
  --magenta: #ff2bd6;
  --green: #22d3a6;
  --amber: #fbbf24;
  --congress: #60a5fa;
  --whale: #22d3a6;
  --trader: #f472b6;
  --hedge: #a78bfa;
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow-glow: 0 0 40px rgba(0, 245, 255, 0.15), 0 0 80px rgba(168, 85, 247, 0.1);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

.mono { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.02em; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Background layers ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
  animation: gridDrift 40s linear infinite;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.bg-glow-a {
  width: 55vw;
  height: 55vw;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.22), transparent 70%);
  animation: glowFloat 12s ease-in-out infinite alternate;
}

.bg-glow-b {
  width: 45vw;
  height: 45vw;
  top: 10%;
  right: -15%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28), transparent 70%);
  animation: glowFloat 16s ease-in-out infinite alternate-reverse;
}

.bg-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
  opacity: 0.35;
  mix-blend-mode: multiply;
}

/* Soft Milky Way — vertical smoky band (Starlink-like, softer) */
.bg-milkyway {
  position: absolute;
  inset: -15% -20%;
  background:
    /* vertical galactic core, shifted slightly right */
    linear-gradient(
      96deg,
      transparent 0%,
      transparent 40%,
      rgba(160, 175, 210, 0.055) 48%,
      rgba(200, 205, 220, 0.14) 54%,
      rgba(235, 230, 240, 0.2) 56%,
      rgba(185, 175, 215, 0.15) 58%,
      rgba(140, 160, 200, 0.075) 64%,
      transparent 74%,
      transparent 100%
    ),
    radial-gradient(ellipse 22% 70% at 54% 45%, rgba(190, 195, 220, 0.175), transparent 72%),
    radial-gradient(ellipse 18% 45% at 58% 28%, rgba(210, 200, 230, 0.125), transparent 70%),
    radial-gradient(ellipse 16% 40% at 50% 62%, rgba(150, 170, 210, 0.11), transparent 70%),
    radial-gradient(ellipse 12% 28% at 56% 55%, rgba(220, 200, 180, 0.065), transparent 65%);
  filter: blur(3px) saturate(0.9);
  opacity: 0.96;
  transform: rotate(4deg);
  animation: milkyDrift 60s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes milkyDrift {
  from { transform: rotate(3deg) translate(-0.8%, 0.4%); opacity: 0.88; }
  to   { transform: rotate(5deg) translate(0.8%, -0.4%); opacity: 1; }
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  mix-blend-mode: screen;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}

@keyframes glowFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 6%) scale(1.08); }
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 7vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.35rem); }
h3 { font-size: 1.05rem; font-weight: 700; }

.text-gradient {
  background: linear-gradient(120deg, var(--cyan), var(--violet) 50%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 36rem;
  margin-top: 0.65rem;
}

.section-closer {
  text-align: center;
  margin-top: 1.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.section-slogan {
  text-align: center;
  margin-top: 0.65rem;
  color: var(--cyan);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  max-width: 36rem;
  margin-inline: auto;
}

.section-head {
  margin-bottom: 1.75rem;
  text-align: center;
}

.section-head .section-sub {
  margin-inline: auto;
}

/* ---------- Glass / cards ---------- */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.glow-border {
  position: relative;
}

.glow-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--magenta), var(--cyan));
  background-size: 300% 300%;
  animation: borderGlow 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 1.55rem; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, #00d4e0, #7c3aed);
  color: #fff;
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0, 245, 255, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: rgba(0, 245, 255, 0.06);
  transform: translateY(-2px);
}

/* ---------- Pulse ---------- */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 211, 166, 0.6);
  animation: pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 166, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 166, 0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: min(100% - 1.25rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  z-index: 2;
}

.logo-img {
  width: 75px;
  height: 75px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.32);
}

.footer-brand .logo-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  box-shadow: 0 0 14px rgba(0, 245, 255, 0.22);
}

.nav-links {
  display: none;
  gap: 1.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links a:hover { color: var(--cyan); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  width: 40px;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(8, 10, 22, 0.96);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  backdrop-filter: blur(16px);
}

.nav-drawer[hidden] { display: none; }

.nav-drawer a {
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0;
}

.nav-drawer .btn { margin-top: 0.35rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  background: radial-gradient(circle, rgba(0, 245, 255, 0.18), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  animation: heroPulse 5s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(34, 211, 166, 0.08);
  border: 1px solid rgba(34, 211, 166, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1.1rem;
}

.hero-brand {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cyan);
  opacity: 0.85;
  letter-spacing: 0.01em;
  max-width: 34rem;
}

.hero-sub {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 34rem;
}

.hero-compare {
  margin-top: 1.35rem;
  gap: 0.5rem;
  max-width: 34rem;
  margin-inline: 0;
}

.hero-trust {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 500;
  opacity: 0.9;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stat-window {
  grid-column: 1 / -1;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan, #22d3ee);
  opacity: 0.9;
}


.stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  display: block;
}

.stat-total {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.stat-total-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ff6b3d;
  letter-spacing: 0.02em;
}
.stat-total-num {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--mono);
  color: #ff5a2a;
  letter-spacing: -0.02em;
}
/* Hero phone mockups (simulated app UI) */
.hero-cards {
  position: relative;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.hero-phones {
  position: relative;
  width: 100%;
  max-width: min(100%, 380px);
  margin-inline: auto;
}

.hero-phones picture {
  display: block;
  width: 100%;
}

.hero-phone-hero {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1177 / 1700;
  object-fit: contain;
  filter: drop-shadow(0 28px 56px rgba(0, 245, 255, 0.16))
          drop-shadow(0 12px 32px rgba(168, 85, 247, 0.18));
  user-select: none;
  pointer-events: none;
}

/* Mobile: one large phone; force tall ratio so Chrome DevTools doesn't keep desktop 1177×1700 hint */
@media (max-width: 767px) {
  .hero-phones {
    max-width: min(100%, 380px);
    margin-top: 0.75rem;
  }
  .hero-phone-hero {
    width: 100%;
    aspect-ratio: 1354 / 2760;
  }
}

/* Legacy float-stack / metric-card kept for safety if referenced elsewhere */
.float-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metric-card {
  display: none;
}

/* Smoke dissolve (duration set via --smoke-dur, 0.8–1.2s) */
.event-card.smoke-out {
  animation: smokeOut var(--smoke-dur, 1s) ease-out forwards !important;
  pointer-events: none;
  will-change: opacity, filter, transform;
}
.event-card.smoke-in {
  animation: smokeIn 0.75s ease-out both;
  will-change: opacity, filter, transform;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes smokeOut {
  0% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translateY(0) scale(1);
  }
  35% {
    opacity: 0.55;
    filter: blur(4px) saturate(0.85);
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    opacity: 0;
    filter: blur(14px) saturate(0.4);
    transform: translateY(-18px) scale(1.06);
  }
}

@keyframes smokeIn {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px) scale(0.98);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.event-card .tag {
  grid-row: 1 / 3;
  align-self: start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

.tag-congress { background: rgba(96, 165, 250, 0.15); color: var(--congress); border: 1px solid rgba(96, 165, 250, 0.35); }
.tag-whale { background: rgba(34, 211, 166, 0.15); color: var(--whale); border: 1px solid rgba(34, 211, 166, 0.35); }
.tag-trader { background: rgba(244, 114, 182, 0.15); color: var(--trader); border: 1px solid rgba(244, 114, 182, 0.35); }
.tag-hedge { background: rgba(167, 139, 250, 0.15); color: var(--hedge); border: 1px solid rgba(167, 139, 250, 0.35); }

.event-main {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.event-main .who { color: var(--text); }
.event-main .action { color: var(--text-muted); font-weight: 500; }
.event-main .asset {
  font-family: var(--mono);
  color: var(--cyan);
  font-weight: 600;
}

.event-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

.event-meta .size { color: var(--amber); }

/* Feed inject animation */
.event-card.inject-in {
  animation: cardIn 0.55s var(--ease);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.97);
    box-shadow: 0 0 0 0 rgba(0, 245, 255, 0.4);
  }
  40% {
    box-shadow: 0 0 28px rgba(0, 245, 255, 0.25);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- Ticker ---------- */
.ticker-section {
  display: flex;
  align-items: stretch;
  border-block: 1px solid var(--border);
  background: rgba(8, 10, 22, 0.85);
  overflow: hidden;
  min-height: 44px;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(34, 211, 166, 0.08);
  border-right: 1px solid var(--border);
  z-index: 2;
}

.ticker {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: tickerScroll 55s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.8rem;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  color: var(--text-muted);
}

.ticker-item .asset { color: var(--cyan); font-family: var(--mono); font-weight: 600; }
.ticker-item .size { color: var(--amber); font-family: var(--mono); font-size: 0.72rem; }
.ticker-item .tag {
  font-size: 0.62rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.04), transparent);
}

/* ---------- Live feed ---------- */
.feed-panel {
  padding: 1rem 1rem 0.5rem;
  max-width: 640px;
  margin-inline: auto;
  overflow: hidden;
}

.feed-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0 0.25rem;
  gap: 0.75rem;
}

.feed-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}

.feed-hint { color: var(--text-muted); opacity: 0.7; }

.feed-updated {
  color: var(--text-muted);
  opacity: 0.85;
  font-size: 0.72rem;
  flex: 1;
  text-align: center;
}

.feed-stream {
  position: relative;
  /* Locked by JS to exactly FEED_KEEP cards so append/remove never changes page height */
  height: 520px;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 8%, #000 78%, transparent);
  padding-bottom: 0;
  contain: layout;
}

.feed-track {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  will-change: transform;
}

.feed-stream .event-card {
  animation: none;
  flex-shrink: 0;
}

.feed-stream .event-card.inject-in {
  animation: cardIn 0.45s var(--ease) both;
}

.feed-stream .feed-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 132;
  object-fit: contain;
  object-position: left center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: transparent;
}

.feed-stream .feed-card-img.inject-in {
  animation: cardIn 0.45s var(--ease) both;
}


.feed-more {
  display: block;
  text-align: center;
  padding: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
}

.feed-more:hover { text-decoration: underline; }

.section-cta {
  display: block;
  width: fit-content;
  max-width: min(36rem, 100%);
  margin: 1.25rem auto 0;
  padding: 0.35rem 0.5rem;
  text-align: center;
  line-height: 1.45;
  white-space: normal;
}

/* Distinct accent per section CTA (live feed keeps cyan) */
.cta-tone-trader { color: var(--trader); }
.cta-tone-amber { color: var(--amber); }
.cta-tone-green { color: var(--green); }
.cta-tone-violet { color: var(--violet); }
.cta-tone-congress { color: var(--congress); }


/* ---------- Who we track — image wall ---------- */
.who-visual {
  max-width: 920px;
  margin: 0 auto 0.5rem;
}
.who-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}
.who-cat-img,
.who-board-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}
.who-cat-img {
  aspect-ratio: 720 / 340;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.who-board {
  display: none !important;
}
.who-board-img {
  aspect-ratio: 1080 / 820;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
@media (min-width: 520px) and (max-width: 767px) {
  .who-cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}
/* Exclusive: never show category grid + board together */
@media (min-width: 768px) {
  .who-cat-grid { display: none !important; }
  .who-board { display: block !important; }
}

/* ---------- Compare ---------- */
.compare-rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 720px;
  margin-inline: auto;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 1rem;
}

.compare-side p {
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.compare-side.them p { color: var(--text-muted); font-weight: 500; }

.compare-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.compare-badge.muted { color: var(--text-muted); }

.compare-arrow {
  color: var(--violet);
  font-weight: 700;
  opacity: 0.7;
}

.compare-row--compact {
  padding: 0.55rem 0.7rem;
  gap: 0.35rem;
}

.compare-row--compact .compare-side p {
  font-size: 0.78rem;
  margin-top: 0.15rem;
  font-weight: 600;
  line-height: 1.25;
}

.compare-row--compact .compare-badge {
  font-size: 0.55rem;
}

/* ---------- Speed case cards (timeline images) ---------- */
.case-rows {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  max-width: 840px;
  margin-inline: auto;
}

.case-card {
  padding: 0.55rem 0.55rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow: hidden;
}

.case-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  cursor: pointer;
  text-align: left;
}

.case-thumb-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.case-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 840 / 620;
  object-fit: contain;
  object-position: center top;
  border-radius: 12px;
}

.case-source-plain {
  margin: 0;
  padding: 0 0.35rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .case-rows { max-width: 100%; }
  .case-card { padding: 0.4rem 0.4rem 0.55rem; }
  .case-source-plain { font-size: 0.7rem; }
}

/* ---------- Stories ---------- */
.story-grid {
  display: grid;
  gap: 1rem;
}

.story-card {
  padding: 0.55rem 0.55rem 0.75rem;
  transition: transform 0.25s var(--ease), border-color 0.25s;
  overflow: hidden;
}

.story-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.story-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  cursor: pointer;
  text-align: left;
}

.story-thumb-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.story-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 420;
  object-fit: contain;
  object-position: center top;
  border-radius: 12px;
  transition: transform 0.25s var(--ease), filter 0.25s;
}

.story-thumb-btn:hover .story-card-img {
  filter: brightness(1.06);
  transform: scale(1.01);
}

.story-source-plain {
  display: block;
  margin: 0.55rem 0.35rem 0.1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* legacy text styles kept unused (images replace body copy) */
.story-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.story-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.story-actor {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--violet);
}

.story-action {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text);
}

.story-action strong {
  color: var(--cyan);
  font-weight: 700;
}

.story-result {
  margin-top: 0.65rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.story-result strong {
  color: #ff6b3d;
  font-weight: 700;
}

.story-insight {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cyan);
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}


/* ---------- Process / Boundary images ---------- */
.process-visual,
.boundary-visual {
  margin: 0.35rem 0 0.15rem;
}

.process-step-grid {
  display: grid;
  gap: 0.75rem;
}

.process-step-img,
.process-board-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: contain;
  object-position: center top;
}

.process-step-img {
  aspect-ratio: 720 / 300;
}

.process-board-img {
  aspect-ratio: 1080 / 460;
}

.boundary-img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 520;
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 16px;
}
@media (max-width: 767px) {
  .boundary-img {
    aspect-ratio: 720 / 580;
  }
}

/* Exclusive: never show stacked steps + board together (iPad was duplicating) */
.process-board {
  display: none !important;
}

@media (min-width: 768px) {
  .process-step-grid {
    display: none !important;
  }
  .process-board {
    display: block !important;
  }
}

.boundary-visual {
  max-width: 900px;
  margin-inline: auto;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: none;
}

.step {
  padding: 1.35rem 1.2rem;
  position: relative;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--violet);
  display: block;
  margin-bottom: 0.5rem;
}

.step h3 { margin-bottom: 0.35rem; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Trust ---------- */
.trust-panel {
  padding: 2rem 1.35rem;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.trust-list {
  text-align: left;
  max-width: 28rem;
  margin: 1.25rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- CTA + FAQ ---------- */
.cta-section { padding-bottom: 2rem; }

.cta-panel {
  text-align: center;
  padding: 2.5rem 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(0, 245, 255, 0.08), rgba(168, 85, 247, 0.12));
  border: 1px solid var(--border);
  margin-bottom: 3rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.cta-panel:hover,
.cta-panel:focus-visible {
  border-color: rgba(0, 245, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.25), 0 12px 40px rgba(0, 245, 255, 0.12);
  outline: none;
}
.cta-panel:focus-visible {
  outline: 2px solid rgba(0, 245, 255, 0.7);
  outline-offset: 3px;
}

.cta-panel h2 {
  margin-bottom: 0.65rem;
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.25;
}
.cta-panel .cta-sub {
  color: var(--text-muted);
  margin: 0 auto 1.35rem;
  max-width: 36rem;
  line-height: 1.5;
}
.cta-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.cta-btn-logo {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}
.cta-fine {
  font-size: 0.75rem !important;
  opacity: 0.7;
  margin-top: 1rem !important;
  margin-bottom: 0.35rem !important;
  color: var(--text-muted);
}
.cta-privacy {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  margin: 0.15rem 0 0 !important;
  opacity: 0.85;
}
.cta-social {
  font-size: 0.72rem !important;
  color: var(--text-muted) !important;
  margin: 0.85rem 0 0 !important;
  opacity: 0.9;
  letter-spacing: 0.01em;
  line-height: 1.45;
}
.cta-social [data-stat="total"] {
  color: #ff6b3d;
  font-weight: 700;
}

.faq-title {
  text-align: center;
  margin-bottom: 1.25rem;
}

.accordion {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.15rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 52rem;
  line-height: 1.55;
}


.footer-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
  max-width: 52rem;
  margin: 0.25rem 0 0.15rem;
  text-align: left;
}

.footer-trust-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.95rem 1rem;
}

.footer-trust-title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-trust-list {
  margin: 0;
  padding-left: 1.05rem;
  list-style: disc;
}

.footer-trust-list li {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0.2rem 0;
}

@media (min-width: 768px) {
  .footer-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }
}

.footer-sources,
.footer-contact {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 40rem;
  line-height: 1.5;
  margin: 0;
}

.footer-contact p {
  margin: 0;
}

.footer-contact p + p {
  margin-top: 0.35rem;
}

.footer-contact a {
  color: var(--cyan);
  font-weight: 600;
}

.footer-contact a:hover { text-decoration: underline; }

.footer-status {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.9;
}

.footer-status::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--green, #22d3a6);
  box-shadow: 0 0 8px rgba(34, 211, 166, 0.55);
  vertical-align: 0.05rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-copy {
  color: var(--text-muted);
  opacity: 0.6;
  font-size: 0.72rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .bg-grid, .bg-glow, .bg-milkyway, .hero-glow, .particles { animation: none !important; }
  .pulse-dot { animation: none; box-shadow: none; }
  .event-card.float-1,
  .event-card.float-2,
  .event-card.float-3,
  .metric-card.float-1,
  .metric-card.float-2,
  .metric-card.float-3 { animation: none; }
  .event-card.smoke-out,
  .event-card.smoke-in { animation: none !important; filter: none; opacity: 1; }
  .glow-border::before { animation: none; }
}

/* ---------- Tablet+ ---------- */
@media (min-width: 640px) {
  .story-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .compare-row { padding: 1.15rem 1.35rem; gap: 1rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 4.5rem 0; }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-drawer { display: none !important; }
  .nav-actions .btn-sm { display: inline-flex; }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
  }

  .hero-phones { max-width: 480px; }

  .float-stack {
    perspective: 800px;
  }

  .event-card.float-2,
  .metric-card.float-2 {
    transform: translateX(12px);
  }

  .event-card.float-3,
  .metric-card.float-3 {
    transform: translateX(24px);
  }
}

@media (min-width: 1024px) {
  :root { --nav-h: 72px; }

  .hero-phones { max-width: 540px; }

  .stat-num { font-size: 1.6rem; }

  /* feed height locked by JS lockFeedViewport(); do not override with max-height */
}

/* Placeholder highlight (dev aid — subtle) */
[data-copy] {
  /* markers for copy swap; no visual noise in production */
}



/* ---------- Proof lightbox ---------- */
.proof-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.proof-modal[hidden] { display: none !important; }
.proof-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 12, 0.82);
  backdrop-filter: blur(10px);
}
.proof-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(92vh, 960px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(18, 24, 48, 0.98), rgba(8, 10, 22, 0.99));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.08), 0 28px 70px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.proof-modal-chrome {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(120, 160, 255, 0.14);
}
.proof-modal-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.proof-modal-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(120, 160, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.proof-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}
.proof-modal-scroll {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.65rem;
}
.proof-modal-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
body.proof-modal-open { overflow: hidden; }

/* ---------- Download / APK install modal ---------- */
.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.dl-modal[hidden] { display: none !important; }
.dl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 12, 0.72);
  backdrop-filter: blur(8px);
}
.dl-modal-dialog {
  position: relative;
  width: min(100%, 420px);
  z-index: 1;
}
.dl-modal-card {
  background: linear-gradient(165deg, rgba(18, 24, 48, 0.96), rgba(8, 10, 22, 0.98));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 1.35rem 1.25rem 1.2rem;
  box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(168, 85, 247, 0.12);
}
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 211, 166, 0.14);
  border: 1px solid rgba(34, 211, 166, 0.35);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.dl-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.dl-modal-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.dl-steps {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.dl-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(120, 160, 255, 0.12);
}
.dl-steps li:last-child { border-bottom: 1px solid rgba(120, 160, 255, 0.12); }
.dl-step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.25);
}
.dl-step-body { min-width: 0; }
.dl-step-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}
.dl-step-body strong { color: #fff; font-weight: 700; }
.dl-step-sub {
  margin-top: 0.2rem !important;
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
}
.dl-got-it {
  width: 100%;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: #041018;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--green));
  background-size: 160% 100%;
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.28);
  transition: transform 0.2s var(--ease), filter 0.2s, background-position 0.35s;
}
.dl-got-it:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  background-position: 100% 0;
}
.dl-got-it:active { transform: translateY(0); }
body.dl-modal-open { overflow: hidden; }

/* FREE accent badge / buttons */
.free-accent {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(34, 211, 166, 0.45);
}

.btn-free {
  background: rgba(34, 211, 166, 0.14);
  color: var(--green);
  border: 1px solid rgba(34, 211, 166, 0.55);
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 0 18px rgba(34, 211, 166, 0.22);
}
.btn-free:hover {
  background: rgba(34, 211, 166, 0.24);
  color: #b8ffe8;
  border-color: var(--green);
  box-shadow: 0 0 28px rgba(34, 211, 166, 0.35);
}

.btn-hero-free {
  min-width: min(100%, 20.5rem);
  padding-inline: 1.85rem;
  justify-content: center;
}

.cta-social .free-accent {
  font-size: 0.82rem;
}

.step .step-value {
  margin-top: 0.55rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.45;
}

