/* =========================================================
   Brandsap Apps — apps.brandsap.com
   Stylesheet
   ========================================================= */

:root {
  --bg: #fbfaf7;
  --bg-tint: #f5f3ee;
  --bg-lav: #f5f2fb;
  --ink: #14140f;
  --ink-2: #2a2a24;
  --ink-3: #5c5c54;
  --ink-4: #8a8a80;
  --line: rgba(20, 20, 15, 0.08);
  --line-2: rgba(20, 20, 15, 0.14);
  --card: rgba(255, 255, 255, 0.62);
  --card-solid: #ffffff;

  --accent: #4f46e5;       /* indigo */
  --accent-2: #c84a8d;     /* magenta */
  --accent-3: #f08a3e;     /* coral */
  --accent-4: #06b6d4;     /* soft blue */
  --accent-5: #1f8a5b;     /* soft green */
  --accent-ink: #ffffff;
  --accent-soft: rgba(79, 70, 229, 0.08);

  --android: #1f8a5b;
  --ios: #14140f;
  --beta: #b45309;
  --soon: #5c5c54;
  --live: #1f8a5b;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(20,20,15,0.04), 0 1px 1px rgba(20,20,15,0.03);
  --shadow: 0 1px 2px rgba(20,20,15,0.04), 0 8px 24px -8px rgba(20,20,15,0.08);
  --shadow-lg: 0 1px 2px rgba(20,20,15,0.04), 0 24px 64px -16px rgba(20,20,15,0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' on, 'cv11' on;
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input { font-family: inherit; }

/* ============== Gradient mesh background ============== */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mesh-bg::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 36% at 18% 22%, rgba(255, 192, 173, 0.55), transparent 60%),
    radial-gradient(36% 32% at 82% 18%, rgba(199, 184, 255, 0.55), transparent 60%),
    radial-gradient(40% 34% at 70% 78%, rgba(173, 230, 210, 0.5), transparent 60%),
    radial-gradient(30% 28% at 22% 80%, rgba(255, 220, 184, 0.45), transparent 60%);
  animation: meshDrift 28s ease-in-out infinite alternate;
  filter: blur(8px);
}
.mesh-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251,250,247,0) 0%, rgba(251,250,247,0.4) 50%, var(--bg) 90%),
    radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,0.4), transparent 70%);
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -1.5%, 0) scale(1.05); }
  100% { transform: translate3d(-1%, 1.5%, 0) scale(1.02); }
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Soft pastel blobs for depth */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.45;
  z-index: -1;
}

/* ============== Layout shell ============== */
.page { position: relative; z-index: 2; }
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
}

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(251, 250, 247, 0.65);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 247, 0.85);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
  flex-shrink: 0;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.logo .slash { color: var(--ink-4); font-family: 'Geist Mono', monospace; margin-left: 6px; font-size: 13px; font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-3);
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--ink); background: rgba(20,20,15,0.04); }
.nav-cta {
  margin-left: 6px;
  padding: 9px 16px;
  background: var(--ink);
  color: #fbfaf7;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: transform 0.15s, background 0.15s;
}
.nav-cta:hover { background: #000; transform: translateY(-1px); }
.nav-home {
  padding: 7px 14px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-home:hover { background: var(--ink); color: #fbfaf7; }
@media (max-width: 880px) {
  .nav-links .nav-link { display: none; }
}

/* ============== Smart banner ============== */
.smart-banner {
  background: linear-gradient(90deg, rgba(79,70,229,0.06), rgba(199,74,141,0.04));
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  overflow: hidden;
  animation: fadeSlideDown 0.6s 0.1s both;
}
.smart-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 28px;
  flex-wrap: wrap;
}
.smart-banner .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.15);
  animation: pulse 2s ease-in-out infinite;
}
.smart-banner code {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  background: rgba(20,20,15,0.05);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--ink);
}
.smart-banner .sb-link {
  color: var(--accent);
  font-weight: 500;
  margin-left: 4px;
}
.smart-banner .sb-link:hover { text-decoration: underline; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(79,70,229,0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(79,70,229,0.04); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.2s, background 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 8px 24px -8px rgba(20,20,15,0.4);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 14px 32px -10px rgba(20,20,15,0.5); }
.btn-secondary {
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: #fff; border-color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 10px 14px;
  font-size: 14px;
}
.btn-ghost:hover { color: var(--ink); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ============== Hero ============== */
.hero {
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden; /* prevent phone mockups from causing horizontal scroll */
}
@media (max-width: 880px) {
  .hero { padding: 40px 0 64px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.eyebrow .pip {
  width: 18px; height: 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px;
}
.eyebrow .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live);
  margin-left: 4px;
  box-shadow: 0 0 0 3px rgba(31,138,91,0.15);
  animation: pulseLive 2s infinite;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 500;
}
.hero h1 .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, #4f46e5 0%, #c84a8d 60%, #f08a3e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-cta-sub {
  margin-top: 14px;
  font-size: 13px;
  font-family: 'Geist Mono', monospace;
  color: var(--ink-4);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-cta-sub .heart { color: var(--accent-2); }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  color: var(--ink-3);
  font-size: 13px;
  flex-wrap: wrap;
}
.hero-meta .stat strong {
  display: block;
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-meta .divider { width: 1px; height: 28px; background: var(--line-2); }

/* ============== Phone stage with rotating mockups ============== */
.phone-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  max-width: 540px;
  margin: 0 auto;
  perspective: 1400px;
}
.phone-pile {
  position: absolute;
  inset: 0;
}
.phone {
  position: absolute;
  width: 60%;
  aspect-ratio: 9 / 19;
  border-radius: 38px;
  background: linear-gradient(160deg, #1a1a16 0%, #2a2a24 60%, #1a1a16 100%);
  box-shadow:
    0 1px 1px rgba(255,255,255,0.08) inset,
    0 30px 80px -20px rgba(20,20,15,0.4),
    0 10px 30px -10px rgba(20,20,15,0.25);
  padding: 9px;
  transform-style: preserve-3d;
  left: 50%;
  top: 50%;
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 22px;
  background: #0a0a08;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-tint);
  position: relative;
}
.phone-main {
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 3;
  animation: phoneFloatMain 9s ease-in-out infinite alternate;
}
.phone-side-l {
  transform: translate(-115%, -42%) rotate(-12deg) scale(0.78);
  opacity: 0.85;
  z-index: 2;
  animation: phoneFloatSide 10s -2s ease-in-out infinite alternate;
}
.phone-side-r {
  transform: translate(15%, -56%) rotate(8deg) scale(0.78);
  opacity: 0.85;
  z-index: 1;
  animation: phoneFloatSide2 10s -4s ease-in-out infinite alternate;
}
@keyframes phoneFloatMain {
  from { transform: translate(-50%, -50%) rotate(-4deg) translateY(0); }
  to   { transform: translate(-50%, -50%) rotate(-3deg) translateY(-12px); }
}
@keyframes phoneFloatSide {
  from { transform: translate(-115%, -42%) rotate(-12deg) scale(0.78) translateY(0); }
  to   { transform: translate(-115%, -42%) rotate(-11deg) scale(0.78) translateY(-8px); }
}
@keyframes phoneFloatSide2 {
  from { transform: translate(15%, -56%) rotate(8deg) scale(0.78) translateY(0); }
  to   { transform: translate(15%, -56%) rotate(9deg) scale(0.78) translateY(-10px); }
}

@media (max-width: 880px) {
  .phone-stage { max-width: 420px; }
  .phone { width: 54%; }
  .phone-side-l { transform: translate(-105%, -42%) rotate(-12deg) scale(0.65); }
  .phone-side-r { transform: translate(5%, -56%) rotate(8deg) scale(0.65); }
}

/* Hero floating label chips for current app preview */
.hero-label-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  animation: chipPop 0.5s cubic-bezier(.2,.7,.2,1.2);
  transform-origin: center;
  white-space: nowrap;
}
.hero-label-chip .label-ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.hero-label-chip .label-ic svg { width: 16px; height: 16px; }
.hero-label-chip .label-sub {
  display: block;
  font-size: 10px;
  font-family: 'Geist Mono', monospace;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}
.hero-label-chip.pos-tl { top: 6%;  left: 0; }
.hero-label-chip.pos-tr { top: 14%; right: 0; }
.hero-label-chip.pos-br { bottom: 14%; right: 4%; }
.hero-label-chip.pos-bl { bottom: 6%; left: 0; }

@keyframes chipPop {
  from { opacity: 0; transform: scale(0.9) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Pagination dots for hero rotation */
.hero-dots {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.hero-dot {
  width: 22px; height: 5px;
  border-radius: 999px;
  background: rgba(20,20,15,0.12);
  border: 0;
  transition: background 0.2s, width 0.3s;
  padding: 0;
  cursor: pointer;
}
.hero-dot.active { background: var(--ink); width: 32px; }
.hero-dot:hover { background: var(--ink-3); }

/* ============== Phone screen contents ============== */
.scr {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.scr.active { opacity: 1; }

/* PDFLite */
.scr-pdflite {
  background: linear-gradient(180deg, #fff 0%, #f6f4ef 100%);
  padding: 38px 14px 14px;
  color: var(--ink);
}
.scr-statbar {
  position: absolute; top: 16px; left: 24px; right: 24px;
  display: flex; justify-content: space-between;
  font-size: 9px; font-family: 'Geist Mono', monospace; color: var(--ink-2);
  z-index: 1;
}
.scr-statbar .right { display: inline-flex; gap: 3px; align-items: center; }
.scr-statbar .bat { width: 14px; height: 7px; border: 1px solid var(--ink-2); border-radius: 2px; position: relative; }
.scr-statbar .bat::after { content: ''; position: absolute; inset: 1px 6px 1px 1px; background: var(--ink-2); border-radius: 1px;}

.pdf-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pdf-greet { font-size: 10px; color: var(--ink-3); font-family: 'Geist Mono', monospace; }
.pdf-title { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.pdf-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #4f46e5, #c84a8d); }
.pdf-card {
  background: #14140f;
  color: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.pdf-card::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(40% 40% at 80% 20%, rgba(79,70,229,0.55), transparent 70%);
}
.pdf-card .label { font-size: 8px; font-family: 'Geist Mono', monospace; opacity: 0.6; letter-spacing: 0.08em; position: relative; z-index: 1;}
.pdf-card .ttl { font-size: 12px; font-weight: 500; margin-top: 6px; position: relative; z-index: 1; letter-spacing: -0.01em; }
.pdf-card .row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; position: relative; z-index: 1; font-size: 9px;}
.pdf-card .badge-ai { background: rgba(255,255,255,0.16); padding: 3px 6px; border-radius: 999px; font-family: 'Geist Mono', monospace; font-size: 8px;}
.pdf-list-title { font-size: 9px; font-family: 'Geist Mono', monospace; color: var(--ink-3); margin: 10px 4px 6px; letter-spacing: 0.06em; }
.pdf-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 5px;
  border: 1px solid var(--line);
}
.pdf-item .ic {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, #ff7a59, #c84a8d);
  flex-shrink: 0;
}
.pdf-item .ic.b { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.pdf-item .ic.c { background: linear-gradient(135deg, #1f8a5b, #6db38f); }
.pdf-item .meta { flex: 1; min-width: 0;}
.pdf-item .n { font-size: 10px; font-weight: 500; letter-spacing: -0.01em; }
.pdf-item .s { font-size: 8px; color: var(--ink-3); font-family: 'Geist Mono', monospace; }
.pdf-item .pct { font-size: 9px; font-family: 'Geist Mono', monospace; color: var(--ink-2);}

/* GlowTrack */
.scr-glow {
  background: linear-gradient(180deg, #ffe8dc 0%, #ffd6e2 100%);
  padding: 38px 14px 14px;
}
.glow-card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 18px;
  padding: 14px;
  text-align: center;
}
.glow-ring {
  width: 96px; height: 96px;
  margin: 12px auto;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #ff7a59 0%, #ff7a59 78%, rgba(255,255,255,0.4) 78%);
  display: grid;
  place-items: center;
  position: relative;
}
.glow-ring::before {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  background: #fff;
}
.glow-ring .v { position: relative; z-index: 1; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.glow-ring .v small { font-size: 9px; font-family: 'Geist Mono', monospace; color: var(--ink-3); display:block; margin-top: -2px;}
.glow-title { font-size: 12px; letter-spacing: -0.02em; font-weight: 500;}
.glow-sub { font-size: 9px; font-family: 'Geist Mono', monospace; color: var(--ink-3); margin-top: 2px;}
.glow-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 12px; }
.glow-stat { background: rgba(255,255,255,0.6); border-radius: 10px; padding: 8px 4px; }
.glow-stat .n { font-size: 13px; font-weight: 500;}
.glow-stat .l { font-size: 8px; font-family: 'Geist Mono', monospace; color: var(--ink-3); margin-top: 2px;}

/* Kundali */
.scr-kundali {
  background: linear-gradient(180deg, #1a1330 0%, #2a1f4a 100%);
  padding: 38px 14px 14px;
  color: #f7f0ff;
}
.scr-kundali .scr-statbar { color: #d0c4f0; }
.scr-kundali .scr-statbar .bat { border-color: #d0c4f0; }
.scr-kundali .scr-statbar .bat::after { background: #d0c4f0; }
.kun-head { font-size: 10px; font-family: 'Geist Mono', monospace; opacity: 0.6; letter-spacing: 0.06em; margin-bottom: 4px;}
.kun-title { font-size: 14px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px;}
.kun-chart {
  width: 130px; height: 130px;
  margin: 6px auto 12px;
  position: relative;
}
.kun-chart svg { width: 100%; height: 100%; overflow: visible; }
.kun-chart .center-dot {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 8px;
  color: #f08a3e;
  letter-spacing: 0.08em;
}
.kun-reading {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 12px;
}
.kun-reading .l { font-size: 8px; font-family: 'Geist Mono', monospace; opacity: 0.7; letter-spacing: 0.08em; margin-bottom: 4px;}
.kun-reading .t { font-size: 11px; line-height: 1.4; letter-spacing: -0.01em;}
.kun-tags { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.kun-tag {
  font-size: 8px;
  font-family: 'Geist Mono', monospace;
  padding: 3px 6px;
  background: rgba(240,138,62,0.18);
  border: 1px solid rgba(240,138,62,0.3);
  border-radius: 999px;
  color: #f08a3e;
}

/* HealUp */
.scr-healup {
  background: linear-gradient(180deg, #e6f7ef 0%, #d0eddf 50%, #d8e8e0 100%);
  padding: 38px 14px 14px;
}
.heal-greet { font-size: 9px; font-family: 'Geist Mono', monospace; color: var(--ink-3); letter-spacing: 0.06em; }
.heal-mood {
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.5));
  border-radius: 16px;
  padding: 14px;
  margin: 8px 0;
  border: 1px solid rgba(255,255,255,0.7);
}
.heal-mood .label { font-size: 9px; color: var(--ink-3); font-family: 'Geist Mono', monospace; letter-spacing: 0.06em;}
.heal-mood .ttl { font-size: 13px; letter-spacing: -0.01em; font-weight: 500; margin-top: 2px;}
.heal-mood .face { font-size: 26px; margin-top: 6px; text-align: center; }
.heal-mood .row { display: flex; gap: 4px; margin-top: 10px; justify-content: space-between; }
.heal-mood .pip {
  width: 26px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,0.6);
  font-size: 14px;
  display: grid; place-items: center;
}
.heal-mood .pip.act { background: var(--ink); color: #fff;}
.heal-habits-title { font-size: 9px; font-family: 'Geist Mono', monospace; color: var(--ink-3); margin: 8px 4px 4px; letter-spacing: 0.06em; }
.heal-habit {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 10px;
  margin-bottom: 4px;
  border: 1px solid rgba(255,255,255,0.6);
}
.heal-habit .chk {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-4);
  flex-shrink: 0;
}
.heal-habit.done .chk {
  background: var(--accent-5);
  border-color: var(--accent-5);
  position: relative;
}
.heal-habit.done .chk::after {
  content: '';
  position: absolute;
  left: 4px; top: 1.5px;
  width: 4px; height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.heal-habit .n { font-size: 10px; font-weight: 500;}
.heal-habit.done .n { text-decoration: line-through; color: var(--ink-4);}
.heal-habit .s { font-size: 8px; font-family: 'Geist Mono', monospace; color: var(--ink-3);}

/* VibeFit */
.scr-vibefit {
  background: linear-gradient(180deg, #e0f4fa 0%, #c8e1f3 100%);
  padding: 38px 14px 14px;
}
.vibe-card {
  background: #14140f;
  color: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.vibe-card::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(40% 40% at 80% 20%, rgba(6,182,212,0.55), transparent 70%);
}
.vibe-card .l { font-size: 8px; font-family: 'Geist Mono', monospace; opacity: 0.6; letter-spacing: 0.08em; position: relative; z-index: 1;}
.vibe-card .t { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; margin-top: 4px; position: relative; z-index: 1;}
.vibe-card .r { display: flex; justify-content: space-between; margin-top: 10px; font-size: 9px; position: relative; z-index: 1;}
.vibe-card .pill { background: rgba(255,255,255,0.16); padding: 3px 8px; border-radius: 999px; font-family: 'Geist Mono', monospace; font-size: 8px;}
.vibe-progress-title { font-size: 9px; font-family: 'Geist Mono', monospace; color: var(--ink-3); margin: 8px 4px 4px; letter-spacing: 0.06em;}
.vibe-bar {
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,0.7);
}
.vibe-bar .r { display: flex; justify-content: space-between; font-size: 10px; font-weight: 500;}
.vibe-bar .s { font-size: 8px; font-family: 'Geist Mono', monospace; color: var(--ink-3); margin-top: 1px;}
.vibe-bar .track {
  margin-top: 6px;
  height: 4px;
  background: rgba(20,20,15,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.vibe-bar .fill { height: 100%; background: linear-gradient(90deg, #06b6d4, #4f46e5); border-radius: 999px;}

/* Doc Scanner */
.scr-docscanner { background: #f5f4f0; padding: 38px 14px 14px; }
.dsc-head { font-size: 10px; font-weight: 700; font-family: 'Geist Mono', monospace; color: #4f46e5; margin-bottom: 8px; letter-spacing: .08em; }
.dsc-preview { border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.dsc-status { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dsc-badge { font-size: 9px; font-family: 'Geist Mono', monospace; font-weight: 600; color: #1f8a5b; background: #d1fae5; padding: 3px 8px; border-radius: 999px; }
.dsc-size { font-size: 9px; color: var(--ink-3); font-family: 'Geist Mono', monospace; }
.dsc-actions { display: flex; gap: 6px; }
.dsc-btn { flex: 1; text-align: center; font-size: 10px; font-weight: 600; padding: 8px; border-radius: 8px; background: #e8e7e0; color: var(--ink); }
.dsc-btn.primary { background: #4f46e5; color: #fff; }

/* PDFLite AI Scanner */
.scr-pdfscanner { background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%); padding: 38px 14px 10px; }
.pdfs-bar { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.pdfs-title { font-size: 11px; font-weight: 700; color: #c4b8ff; letter-spacing: .04em; }
.pdfs-doc { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 10px; margin-bottom: 8px; }
.pdfs-line { height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; margin-bottom: 5px; }
.pdfs-line.hi { background: rgba(250,204,21,0.6); }
.pdfs-chat { display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; }
.pdfs-bubble { font-size: 9px; line-height: 1.4; padding: 6px 9px; border-radius: 12px; max-width: 90%; }
.pdfs-bubble.user { background: #4f46e5; color: #fff; align-self: flex-end; border-radius: 12px 12px 2px 12px; }
.pdfs-bubble.ai { background: rgba(255,255,255,0.12); color: #e0e7ff; align-self: flex-start; border-radius: 12px 12px 12px 2px; }
.pdfs-input { font-size: 9px; color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); border-radius: 999px; padding: 7px 12px; }

/* NYC Eats */
.scr-nyceats { background: #fff8f3; padding: 38px 12px 12px; }
.nyc-search { display: flex; align-items: center; gap: 6px; background: #f0ede8; border-radius: 999px; padding: 7px 12px; margin-bottom: 10px; font-size: 10px; color: var(--ink-3); }
.nyc-ph { font-size: 10px; }
.nyc-section { font-size: 8px; font-weight: 700; font-family: 'Geist Mono', monospace; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 8px; }
.nyc-card { display: flex; gap: 8px; background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 8px; box-shadow: 0 1px 6px rgba(0,0,0,0.06); }
.nyc-img { width: 48px; height: 56px; flex-shrink: 0; }
.nyc-info { padding: 8px 8px 8px 0; flex: 1; }
.nyc-name { font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.nyc-meta { font-size: 8px; color: var(--ink-3); margin-bottom: 4px; font-family: 'Geist Mono', monospace; }
.nyc-tags { display: flex; gap: 4px; }
.nyc-tags span { font-size: 8px; background: #f0ede8; border-radius: 4px; padding: 2px 5px; }

/* Pantry App */
.scr-pantry { background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%); padding: 38px 14px 14px; }
.pan-head { font-size: 12px; font-weight: 700; color: #1f8a5b; margin-bottom: 8px; letter-spacing: .04em; font-family: 'Geist Mono', monospace; }
.pan-alert { font-size: 9px; background: #fef3c7; color: #92400e; border-radius: 6px; padding: 5px 8px; margin-bottom: 10px; font-weight: 500; }
.pan-item { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.7); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; }
.pan-icon { font-size: 18px; }
.pan-meta { flex: 1; }
.pan-name { font-size: 11px; font-weight: 600; }
.pan-exp { font-size: 8px; font-family: 'Geist Mono', monospace; color: var(--ink-3); margin-top: 1px; }
.pan-exp.exp { color: #dc2626; }
.pan-qty { font-size: 10px; font-weight: 600; color: #1f8a5b; font-family: 'Geist Mono', monospace; }
.pan-add { text-align: center; font-size: 11px; font-weight: 600; color: #1f8a5b; background: rgba(255,255,255,0.8); border-radius: 8px; padding: 10px; border: 1.5px dashed #1f8a5b; margin-top: 4px; }

/* Noylix */
.scr-noylix { background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); padding: 38px 14px 12px; }
.noy-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.noy-logo { font-size: 14px; font-weight: 700; color: #e2e8f0; }
.noy-badge { font-size: 8px; background: #4f46e5; color: #fff; padding: 3px 8px; border-radius: 999px; font-family: 'Geist Mono', monospace; }
.noy-stats { display: flex; gap: 6px; margin-bottom: 12px; }
.noy-stat { flex: 1; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 8px 6px; text-align: center; }
.noy-stat .v { font-size: 14px; font-weight: 700; color: #e2e8f0; }
.noy-stat .l { font-size: 8px; color: #64748b; font-family: 'Geist Mono', monospace; margin-top: 2px; }
.noy-section { font-size: 8px; font-weight: 700; font-family: 'Geist Mono', monospace; color: #475569; letter-spacing: .08em; margin-bottom: 8px; }
.noy-appt { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.04); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; }
.noy-time { font-size: 10px; font-weight: 700; color: #818cf8; font-family: 'Geist Mono', monospace; min-width: 36px; }
.noy-patient { font-size: 11px; font-weight: 600; color: #e2e8f0; }
.noy-dept { font-size: 8px; color: #64748b; font-family: 'Geist Mono', monospace; margin-top: 1px; }

/* ============== Section heading ============== */
.section {
  padding: 80px 0;
  position: relative;
}
@media (max-width: 880px) { .section { padding: 56px 0; } }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  font-weight: 500;
  max-width: 640px;
}
.section-head h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-head .sub {
  font-size: 14px;
  color: var(--ink-3);
  max-width: 340px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}
.section-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* section-label dash removed */

/* ============== Recommender ============== */
.recommender {
  padding-top: 60px;
  padding-bottom: 40px;
}
.recommender-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.recommender-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1), box-shadow 0.25s, border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(14px);
  min-height: 180px;
}
.recommender-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.45), transparent 50%);
  pointer-events: none;
}
.recommender-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
  background: rgba(255,255,255,0.92);
}
.recommender-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(20,20,15,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
}
.recommender-card .ic svg { width: 22px; height: 22px; }
.recommender-card .q {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  position: relative;
  text-wrap: pretty;
  font-weight: 500;
}
.recommender-card .a {
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.recommender-card .a .arrow {
  transition: transform 0.2s;
}
.recommender-card:hover .a .arrow {
  transform: translateX(3px);
}
.recommender-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(255,255,255,0.9));
  box-shadow: 0 0 0 4px rgba(79,70,229,0.15), var(--shadow-lg);
}

/* ============== Featured app ============== */
.featured {
  background: linear-gradient(135deg, #14140f 0%, #1c1c17 100%);
  color: #fbfaf7;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(79,70,229,0.35), transparent 65%),
    radial-gradient(40% 50% at 10% 100%, rgba(200,74,141,0.25), transparent 65%);
  pointer-events: none;
}
.featured-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .featured-inner { grid-template-columns: 1fr; padding: 36px 28px; gap: 36px; }
}
.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fbfaf7;
  margin-bottom: 24px;
}
.featured-tag .star {
  width: 14px; height: 14px;
  display: grid; place-items: center;
  color: #f08a3e;
}
.featured-icon-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.featured-icon {
  width: 76px; height: 76px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  box-shadow: 0 12px 32px -8px rgba(79,70,229,0.5), inset 0 1px 0 rgba(255,255,255,0.16);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.featured-icon svg { width: 38px; height: 38px; color: #fff; }
.featured-name { font-size: 28px; letter-spacing: -0.025em; margin: 0 0 4px; font-weight: 500;}
.featured-cat { font-size: 13px; color: rgba(251,250,247,0.6); font-family: 'Geist Mono', monospace; }
.featured h3 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 500;
}
.featured h3 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #c4b8ff;
  font-weight: 400;
}
.featured .desc {
  font-size: 16px;
  color: rgba(251,250,247,0.72);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 480px;
}
.featured-why {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.featured-why li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(251,250,247,0.88);
}
.featured-why .ck {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(79,70,229,0.25);
  border: 1px solid rgba(79,70,229,0.5);
  color: #c4b8ff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.featured-why .ck svg { width: 12px; height: 12px;}

.featured-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.featured-meta .m {
  font-size: 12px;
  color: rgba(251,250,247,0.5);
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.featured-meta .m strong {
  display: block;
  color: #fbfaf7;
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-top: 4px;
}
.featured-ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center;}
.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.18s;
  border: 1px solid transparent;
}
.btn-platform.android {
  background: #fbfaf7;
  color: #14140f;
}
.btn-platform.android:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px -6px rgba(0,0,0,0.3);}
.btn-platform.ios {
  background: rgba(255,255,255,0.08);
  color: #fbfaf7;
  border-color: rgba(255,255,255,0.16);
}
.btn-platform.ios:hover { background: rgba(255,255,255,0.14); }
.btn-platform.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.btn-platform.disabled:hover { transform: none; box-shadow: none; }
.btn-platform .store-sub {
  display: block;
  font-size: 10px;
  opacity: 0.7;
  font-family: 'Geist Mono', monospace;
  line-height: 1;
}
.btn-platform .store-main {
  font-size: 14px;
  line-height: 1.1;
  margin-top: 2px;
}
.btn-platform .ic { display: grid; place-items: center; flex-shrink: 0; }

.featured-phone-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  max-width: 380px;
  margin: 0 auto;
}
.featured-phone {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: linear-gradient(160deg, #2a2a24 0%, #14140f 100%);
  padding: 9px;
  box-shadow: 0 1px 1px rgba(255,255,255,0.1) inset, 0 30px 80px -10px rgba(0,0,0,0.55);
  transform: rotate(-4deg);
  animation: phoneFloatMain2 9s ease-in-out infinite alternate;
}
@keyframes phoneFloatMain2 {
  from { transform: rotate(-4deg) translateY(0); }
  to   { transform: rotate(-3deg) translateY(-10px); }
}
.featured-phone::before {
  content: ''; position: absolute; top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 22px;
  background: #050505;
  border-radius: 999px;
  z-index: 3;
}

/* ============== Filters ============== */
.filters {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.search-wrap {
  flex: 1;
  min-width: 220px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 4px;
}
.search-wrap svg { color: var(--ink-4); flex-shrink: 0; }
.search-wrap input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  padding: 8px 0;
}
.search-wrap input::placeholder { color: var(--ink-4); }
.filter-group {
  display: inline-flex;
  background: rgba(20,20,15,0.04);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.filter-chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.filter-chip:hover { color: var(--ink); }
.filter-chip.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(20,20,15,0.08);
}
.filter-chip .count {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  opacity: 0.6;
}
.filter-divider {
  width: 1px; height: 24px; background: var(--line-2);
}
@media (max-width: 640px) {
  .filter-divider { display: none; }
}

/* ============== App grid + cards ============== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.app-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}
.app-card.highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.18), var(--shadow-lg);
  animation: cardPulse 1.4s ease-out;
}
@keyframes cardPulse {
  0%   { box-shadow: 0 0 0 0 rgba(79,70,229,0.5), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 4px rgba(79,70,229,0.18), var(--shadow-lg); }
}
.app-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  position: relative;
}
.app-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(20,20,15,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.app-icon svg { width: 28px; height: 28px; position: relative; z-index: 1;}
.app-card-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.app-card-cat {
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-badge {
  position: absolute;
  top: -4px;
  right: 0;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-badge .dot { width: 5px; height: 5px; border-radius: 50%;}
.status-live { background: rgba(31,138,91,0.1); color: var(--live);}
.status-live .dot { background: var(--live); box-shadow: 0 0 0 3px rgba(31,138,91,0.15); animation: pulseLive 2s infinite;}
@keyframes pulseLive {
  0%, 100% { box-shadow: 0 0 0 3px rgba(31,138,91,0.15);}
  50%      { box-shadow: 0 0 0 5px rgba(31,138,91,0);}
}
.status-beta { background: rgba(180,83,9,0.1); color: var(--beta);}
.status-beta .dot { background: var(--beta);}
.status-soon { background: rgba(20,20,15,0.06); color: var(--soon);}
.status-soon .dot { background: var(--soon);}

.app-card-headline {
  font-size: 15.5px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: var(--ink-2);
  text-wrap: pretty;
  font-weight: 500;
}
.app-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  position: relative;
}
.feature-chip {
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  padding: 4px 9px;
  background: rgba(20,20,15,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.app-card-stats {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
  font-size: 12px;
  color: var(--ink-3);
  align-items: center;
}
.app-card-stats .star { color: var(--accent-3); }
.app-card-stats .v {
  font-weight: 500;
  color: var(--ink);
  font-family: 'Geist Mono', monospace;
}
.app-card-stats .sep {
  width: 3px; height: 3px;
  background: var(--ink-4);
  border-radius: 50%;
  opacity: 0.5;
}
.platform-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  position: relative;
}
.plat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  background: rgba(20,20,15,0.04);
  color: var(--ink-2);
}
.plat-badge.unavail { opacity: 0.45; }
.plat-badge svg { width: 12px; height: 12px;}

.app-card-cta-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  position: relative;
  flex-wrap: wrap;
}
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.18s;
  border: 1px solid transparent;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.card-btn.primary {
  background: var(--ink);
  color: var(--bg);
}
.card-btn.primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(20,20,15,0.4);}
.card-btn.secondary {
  background: rgba(20,20,15,0.04);
  color: var(--ink);
  border-color: var(--line);
  flex: 0 0 auto;
}
.card-btn.secondary:hover { background: rgba(20,20,15,0.08); }
.card-btn.android { background: var(--ink); color: var(--bg);}
.card-btn.android:hover { background: #000; transform: translateY(-1px);}
.card-btn.ios {
  background: rgba(20,20,15,0.04);
  color: var(--ink);
  border-color: var(--line);
}
.card-btn.ios:hover { background: rgba(20,20,15,0.07); }
.card-btn.disabled {
  background: rgba(20,20,15,0.04);
  color: var(--ink-4);
  cursor: not-allowed;
  border-color: transparent;
}
.card-btn.disabled:hover { transform: none; background: rgba(20,20,15,0.04);}
.card-btn svg { width: 14px; height: 14px;}

.app-card-tools {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  position: relative;
}
.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-3);
  border-radius: 999px;
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.02em;
  transition: all 0.15s;
  text-transform: uppercase;
}
.tool-btn:hover { color: var(--ink); border-color: var(--line-2); background: rgba(20,20,15,0.03);}
.tool-btn svg { width: 11px; height: 11px;}

.app-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  color: var(--ink-4);
  position: relative;
}
.app-card-foot .learn {
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
  cursor: pointer;
}
.app-card-foot .learn:hover { color: var(--accent);}

/* ============== Preview carousel ============== */
.preview-carousel {
  position: relative;
  margin-top: 20px;
}
.preview-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 14px 4px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.preview-track::-webkit-scrollbar { display: none; }
.preview-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1), box-shadow 0.25s;
}
.preview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.5), transparent 50%);
  pointer-events: none;
}
.preview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.preview-phone-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  margin-bottom: 16px;
  border-radius: 24px;
  overflow: hidden;
  background: #14140f;
  padding: 6px;
  box-shadow: 0 16px 40px -10px rgba(20,20,15,0.3);
}
.preview-phone-wrap .phone-screen { border-radius: 18px; }
.preview-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  position: relative;
}
.preview-card-head .pic {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.preview-card-head .pic svg { width: 18px; height: 18px;}
.preview-card-head .pn { font-size: 14px; font-weight: 500; letter-spacing: -0.01em;}
.preview-card-head .pc { font-size: 10px; font-family: 'Geist Mono', monospace; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.05em;}
.preview-card .pcap {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  position: relative;
  margin: 0;
}
.preview-arrows {
  display: flex;
  gap: 8px;
  position: absolute;
  top: -54px;
  right: 4px;
}
.preview-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: all 0.15s;
  backdrop-filter: blur(8px);
}
.preview-arrow:hover { background: var(--ink); color: var(--bg); border-color: var(--ink);}
.preview-arrow:disabled { opacity: 0.35; cursor: not-allowed; }

/* ============== How it works ============== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.how-step {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.how-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.45), transparent 50%);
  pointer-events: none;
}
.how-step .num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 64px;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 400;
  position: relative;
  display: inline-block;
}
.how-step .num::after {
  content: '';
  position: absolute;
  bottom: 8px; left: 100%;
  width: 28px; height: 1px;
  background: var(--ink-4);
  margin-left: 8px;
}
.how-step h4 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 500;
  position: relative;
}
.how-step p {
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
  position: relative;
}
.how-step .demo {
  margin-top: 18px;
  position: relative;
  height: 100px;
  border-radius: 14px;
  background: rgba(20,20,15,0.03);
  border: 1px dashed var(--line-2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.how-step .demo-inner {
  display: flex;
  gap: 8px;
  align-items: center;
}
.how-step .demo .app-tile {
  width: 38px; height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px -2px rgba(20,20,15,0.2);
}
.how-step .demo .plat-row {
  display: flex;
  gap: 6px;
}
.how-step .demo .plat-tile {
  padding: 7px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.how-step .demo .qr-tile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.how-step .demo .qr-mini {
  width: 56px; height: 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
}
.how-step .demo .arrow-pulse {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
}

/* ============== Trust block ============== */
.trust {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 60px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.trust-stat {
  text-align: left;
  position: relative;
}
.trust-stat .l {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.trust-stat .v {
  font-size: 38px;
  letter-spacing: -0.03em;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 4px;
}
.trust-stat .v em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.trust-stat .s {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  max-width: 240px;
}
.trust-testimonial {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-testimonial p {
  flex: 1;
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  line-height: 1.5;
  min-width: 240px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}
.trust-testimonial .avatars {
  display: flex;
  margin-right: 6px;
}
.trust-testimonial .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
}
.trust-testimonial .avatar:first-child { margin-left: 0; }
.trust-testimonial .meta {
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

/* ============== Modal ============== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,20,15,0.4);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
.modal {
  background: var(--bg);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  animation: modalUp 0.32s cubic-bezier(.2,.7,.2,1);
}
@keyframes modalUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98);}
  to   { opacity: 1; transform: translateY(0) scale(1);}
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  background: rgba(251,250,247,0.92);
  backdrop-filter: blur(12px);
  z-index: 2;
}
.modal-head .tag {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.modal-close {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(20,20,15,0.05);
  color: var(--ink-2);
  transition: all 0.15s;
}
.modal-close:hover { background: var(--ink); color: var(--bg); transform: rotate(90deg);}
.modal-body { padding: 36px 28px; }
.modal-hero {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  margin-bottom: 32px;
  align-items: flex-start;
}
@media (max-width: 720px) {
  .modal-hero { grid-template-columns: 1fr; }
}
.modal-hero-left { display: flex; gap: 22px; align-items: flex-start;}
.modal-icon {
  width: 96px; height: 96px;
  border-radius: 24px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 12px 36px -8px rgba(20,20,15,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.modal-icon svg { width: 44px; height: 44px;}
.modal-info { flex: 1; min-width: 0; }
.modal-info h2 { font-size: 30px; letter-spacing: -0.025em; margin: 0 0 4px; font-weight: 500;}
.modal-info .cat { font-size: 13px; color: var(--ink-3); font-family: 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.05em;}
.modal-info .headline {
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-top: 12px;
  margin-bottom: 0;
  font-weight: 500;
  text-wrap: pretty;
  line-height: 1.4;
}
.modal-info .meta-row { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap;}
.modal-info .meta-row span { font-size: 12px; color: var(--ink-3); font-family: 'Geist Mono', monospace;}
.modal-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px;}
.modal-cta-row .btn-platform.android { background: var(--ink); color: var(--bg); }
.modal-cta-row .btn-platform.android:hover { background: #000; transform: translateY(-1px);}
.modal-cta-row .btn-platform.ios {
  background: rgba(20,20,15,0.06);
  color: var(--ink);
  border: 1px solid var(--line);
}
.modal-cta-row .btn-platform.ios:hover { background: rgba(20,20,15,0.1);}
.modal-cta-row .btn-platform.disabled {
  background: rgba(20,20,15,0.05);
  color: var(--ink-4);
  cursor: not-allowed;
  border: 1px solid transparent;
}

.modal-qr-card {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.modal-qr-card .l {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.modal-qr-card .qr {
  margin: 0 auto 12px;
}
.modal-qr-card .h {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.modal-qr-card .s {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
  font-family: 'Geist Mono', monospace;
}

.modal-section { margin-top: 36px;}
.modal-section h4 {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-section h4::after {
  content: '';
  flex: 1; height: 1px; background: var(--line);
}
.features-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;}
@media (max-width: 600px) { .features-list { grid-template-columns: 1fr;} }
.features-list li {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  align-items: flex-start;
}
.features-list .ck {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.screenshot-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.screenshot {
  aspect-ratio: 9 / 19;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.7), rgba(245,243,238,0.7));
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-4);
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  padding: 12px;
}
.screenshot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, transparent 0, transparent 9px, rgba(20,20,15,0.03) 9px, rgba(20,20,15,0.03) 10px);
}
.screenshot span { position: relative; z-index: 1;}

/* ============== Footer ============== */
.footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 56px 0 36px 0;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px;}
}
.footer .logo { margin-bottom: 12px;}
.footer-tag {
  font-size: 14px;
  color: var(--ink-3);
  max-width: 280px;
  line-height: 1.55;
  margin: 0 0 12px;
}
.footer-main-link {
  font-size: 13px;
  color: var(--ink-2);
  font-family: 'Geist Mono', monospace;
  transition: color 0.15s;
}
.footer-main-link:hover { color: var(--accent); }
.footer h5 {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px;}
.footer li a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.footer li a:hover { color: var(--accent);}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  color: var(--ink-4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--ink);}

/* ============== Mobile sticky CTA ============== */
.mobile-cta {
  position: fixed;
  bottom: 16px;
  left: 16px; right: 16px;
  z-index: 80;
  background: rgba(20,20,15,0.95);
  color: var(--bg);
  border-radius: 16px;
  padding: 12px 14px;
  display: none;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-cta.visible { transform: translateY(0); opacity: 1;}
.mobile-cta-text { flex: 1; min-width: 0; }
.mobile-cta-text .n { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; }
.mobile-cta-text .s { font-size: 11px; color: rgba(255,255,255,0.6); font-family: 'Geist Mono', monospace; }
.mobile-cta .go {
  background: var(--bg);
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
}

/* ============== Toast ============== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 80px);
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 36px -8px rgba(0,0,0,0.4);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}
.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
.toast .ck {
  color: var(--accent-5);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(31,138,91,0.2);
  display: grid; place-items: center;
}

/* ============== QR ============== */
.qr-box {
  width: 120px; height: 120px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  display: inline-block;
}
.qr-box svg { width: 100%; height: 100%; display: block;}

/* ============== Reveal animation ============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.06s;}
.reveal.d2 { transition-delay: 0.12s;}
.reveal.d3 { transition-delay: 0.18s;}
.reveal.d4 { transition-delay: 0.24s;}
.reveal.d5 { transition-delay: 0.3s;}

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-3);
}
.empty .ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(20,20,15,0.04);
  display: grid; place-items: center;
  margin: 0 auto 16px;
  color: var(--ink-4);
}

/* ============== Reduced motion ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ============================================================
   Mobile — responsive overrides
   Breakpoints: 720px, 600px, 480px, 380px
   ============================================================ */

/* --- Nav --- */
@media (max-width: 640px) {
  .nav-home { display: none; }
}
@media (max-width: 480px) {
  .nav-inner { height: 56px; gap: 8px; }
  .logo { font-size: 15px; }
  .logo-mark { width: 26px; height: 26px; }
  .nav-cta { padding: 8px 12px; font-size: 13px; }
}

/* --- Smart banner --- */
@media (max-width: 480px) {
  .smart-banner-inner { padding: 8px 16px; gap: 6px; font-size: 12px; }
}

/* --- Hero --- */
@media (max-width: 480px) {
  .hero { padding: 24px 0 40px; }
  .hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .hero p.lede { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 16px; margin-top: 24px; }
}

/* --- Buttons --- */
@media (max-width: 480px) {
  .btn { padding: 12px 18px; font-size: 14px; }
}

/* Platform download buttons — full width stacked on mobile */
@media (max-width: 600px) {
  .featured-ctas { flex-direction: column; align-items: stretch; }
  .btn-platform { width: 100%; justify-content: center; }
  .modal-cta-row { flex-direction: column; align-items: stretch; }
  .modal-cta-row .btn-platform { width: 100%; justify-content: center; }
}

/* --- Filters --- */
@media (max-width: 640px) {
  .filters { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px; }
  .search-wrap { min-width: 0; width: 100%; }
  .filter-group { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
  .filter-chip { flex-shrink: 0; }
}

/* --- App grid --- */
@media (max-width: 720px) {
  .app-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .app-card { padding: 18px; min-height: unset; }
  /* Both CTA buttons share width equally on narrow screens */
  .app-card-cta-row { flex-wrap: nowrap; }
  .card-btn.secondary { flex: 1; }
}

/* --- Featured section --- */
@media (max-width: 480px) {
  .featured-inner { padding: 28px 20px; gap: 28px; }
  .featured-icon { width: 60px; height: 60px; border-radius: 16px; }
  .featured-icon svg { width: 30px; height: 30px; }
  .featured-name { font-size: 22px; }
}

/* --- Recommender cards --- */
@media (max-width: 480px) {
  .recommender-grid { grid-template-columns: 1fr; }
  .recommender-card { min-height: unset; }
}

/* --- How it works --- */
@media (max-width: 480px) {
  .how-grid { grid-template-columns: 1fr; }
}

/* --- Trust --- */
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-stat .v { font-size: 28px; }
  .trust-testimonial { padding: 20px; gap: 16px; }
  .trust-testimonial p { font-size: 15px; min-width: 0; }
}

/* --- Preview carousel --- */
@media (max-width: 480px) {
  .preview-card { flex: 0 0 calc(100vw - 56px); }
  .preview-arrows { top: -48px; }
}

/* --- Section spacing --- */
@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 28px; gap: 16px; }
  .section-head h2 { font-size: clamp(22px, 7vw, 32px); }
}

/* --- Modal --- */
@media (max-width: 600px) {
  .modal { border-radius: var(--radius-lg); }
  .modal-body { padding: 24px 18px; }
  .modal-head { padding: 14px 18px; }
  .modal-hero { gap: 20px; margin-bottom: 20px; }
  .modal-hero-left { flex-direction: column; gap: 14px; }
  .modal-icon { width: 72px; height: 72px; border-radius: 18px; }
  .modal-icon svg { width: 34px; height: 34px; }
  .modal-info h2 { font-size: 24px; }
  .modal-info .headline { font-size: 15px; }
  .modal-qr-card { display: none; } /* hide QR on mobile — user will tap download btn */
  .features-list { grid-template-columns: 1fr; }
}

/* --- Footer --- */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer { padding: 40px 0 28px; margin-top: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* --- Mobile sticky CTA — raise above safe area on notched phones --- */
@media (max-width: 720px) {
  .mobile-cta { bottom: max(16px, env(safe-area-inset-bottom, 16px)); }
}

/* --- Phone stage — avoid clipping on small screens --- */
@media (max-width: 480px) {
  .phone-stage { max-width: 300px; }
  .phone-side-l { transform: translate(-100%, -42%) rotate(-12deg) scale(0.58); }
  .phone-side-r { transform: translate(0%, -56%) rotate(8deg) scale(0.58); }
  .hero-label-chip { display: none; } /* too cramped on narrow phones */
}

/* --- Extra small (≤380px, e.g. iPhone SE) --- */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .nav-inner { gap: 8px; }
  .logo .slash { display: none; }
  .btn { padding: 11px 16px; font-size: 13px; }
  .card-btn { padding: 10px 10px; font-size: 12px; }
  .app-card { padding: 14px; }
  .featured-inner { padding: 22px 16px; }
}
