/* PurityApps homepage — gold-system visual language.
   Linked from index.html / es/index.html. Product pages keep their own CSS. */
:root {
  --navy: #10283f;
  --navy-dark: #071420;
  --navy-mid: #16324e;
  --navy-light: #1e3f5e;
  --teal: #0e8f8b;
  --teal-dark: #0a6e6b;
  --teal-light: #7ee8e2;
  --gold: #d4a962;
  --gold-light: #ebcc93;
  --gold-deep: #9d7332;
  --play: #01875f;
  --play-dark: #016b4b;
  --bg: #f6f1e8;
  --bg2: #efe8db;
  --paper: #fffdf8;
  --text: #12202c;
  --muted: #5d6b78;
  --border: #e4d9c6;
  --white: #ffffff;
  --r: 20px;
  --shadow: 0 18px 50px rgba(7, 20, 32, .08);
  --shadow-lg: 0 28px 70px rgba(7, 20, 32, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(212, 169, 98, .12), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(14, 143, 139, .08), transparent 50%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10000;
  background: #fff;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-light); }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 8px 22px rgba(14, 143, 139, .22); }
.btn-teal:hover { background: #12a8a3; }
.btn-gold { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-learn, .btn-visit { background: transparent; color: var(--teal-dark); border-color: rgba(14, 143, 139, .45); }
.btn-learn:hover, .btn-visit:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-soon { background: #f3eee4; color: #7a6f62; border-color: #e8dfd0; }
.btn-soon:hover { background: #ebe4d6; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-apk { background: #2d7a4f; color: #fff; border-color: #2d7a4f; }
.btn-apk:hover { background: #1a4d2e; }
.btn-ios { background: #4b5563; color: #fff; border-color: #4b5563; }
.btn-ios:hover { background: #374151; }
.btn-play {
  background: var(--play);
  color: #fff;
  border-color: var(--play);
  box-shadow: 0 8px 20px rgba(1, 135, 95, .22);
}
.btn-play:hover { background: var(--play-dark); }

/* ---------- Language (non-blocking toast, not a gate) ---------- */
#lang-overlay {
  position: fixed;
  inset: auto 20px 20px auto;
  z-index: 9999;
  width: min(360px, calc(100vw - 32px));
  background: rgba(7, 20, 32, .94);
  border: 1px solid rgba(212, 169, 98, .4);
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(16px);
}
#lang-overlay.show { display: flex; }
#lang-overlay.hidden { opacity: 0; pointer-events: none; display: none; }
.lo-logo { margin-bottom: 8px; }
.lo-logo svg { height: 40px; }
.lo-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.lo-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
  margin-bottom: 16px;
}
.lo-btns { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
.lo-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.lo-btn:hover, .lo-btn:focus-visible {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.lo-label { display: block; font-size: 12px; font-weight: 500; opacity: .7; margin-top: 3px; }

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(7, 20, 32, .72);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
nav.scrolled {
  background: rgba(7, 20, 32, .94);
  border-bottom-color: rgba(212, 169, 98, .18);
  box-shadow: 0 10px 30px rgba(7, 20, 32, .28);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -.02em;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--gold-light); }
.nav-lang { display: flex; gap: 6px; padding: 3px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.nlbtn {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  display: inline-block;
  text-decoration: none;
  transition: all .2s;
}
.nlbtn.active { background: var(--gold); color: var(--navy-dark); }
.nlbtn:hover:not(.active) { color: #fff; }
.nav-cta {
  padding: 9px 18px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--gold-light); color: var(--navy-dark); }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(7, 20, 32, .97);
  padding: 16px 24px 24px;
  z-index: 499;
  border-bottom: 1px solid rgba(212, 169, 98, .18);
  backdrop-filter: blur(16px);
}
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button {
  display: block;
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
  cursor: pointer;
}
.mobile-lang { display: flex; gap: 10px; padding: 14px 0; }

/* ---------- Hero ---------- */
.hero {
  color: #fff;
  padding: 56px 0 72px;
  text-align: left;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(212, 169, 98, .16), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(14, 143, 139, .2), transparent 50%),
    linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 58%, #0c3a3a 100%);
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero-mesh, .hero-mesh::before, .hero-mesh::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.hero-mesh {
  inset: auto;
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(212, 169, 98, .18);
  animation: drift 16s ease-in-out infinite;
}
.hero-mesh::before {
  width: 320px;
  height: 320px;
  left: -280px;
  bottom: -80px;
  background: rgba(14, 143, 139, .18);
  animation: drift 22s ease-in-out infinite reverse;
}
.hero-mesh::after {
  width: 260px;
  height: 260px;
  left: 40%;
  top: 40%;
  background: rgba(255, 255, 255, .05);
  animation: drift 18s ease-in-out infinite 1s;
}
.hero-spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px 280px at var(--spot-x, 70%) var(--spot-y, 40%), rgba(212, 169, 98, .14), transparent 60%);
  transition: background .12s linear;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
.hero-mark { display: none; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(212, 169, 98, .35);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 400;
  line-height: 1.06;
  margin-bottom: 18px;
  letter-spacing: -.03em;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  opacity: .84;
  max-width: 520px;
  margin: 0 0 14px;
  line-height: 1.7;
}
.hero-playline {
  font-size: 14px;
  color: rgba(255, 255, 255, .62);
  margin: 0 0 28px;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px;
}
.hero-trust li { min-width: 88px; }
.hero-trust .num, .hero-stat .num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  color: var(--gold-light);
  display: block;
  line-height: 1.1;
}
.hero-trust .lbl, .hero-stat .lbl {
  font-size: 11px;
  opacity: .62;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}
.hero-stats { display: none; }

/* Featured stage */
.hero-stage { position: relative; }
.stage-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0a1826;
  border: 1px solid rgba(212, 169, 98, .28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  min-height: 340px;
}
.stage-frame img {
  display: block;
  width: auto;
  max-width: 220px;
  height: 220px;
  margin: 28px auto 8px;
  object-fit: contain;
  object-position: center;
  border-radius: 32px;
  background: rgba(255,255,255,.04);
  transform: none;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.stage-frame.is-swap img { opacity: 0; transform: scale(1.06); }
.stage-meta {
  padding: 18px 22px 22px;
  background: linear-gradient(180deg, rgba(7, 20, 32, .2), rgba(7, 20, 32, .96));
}
.stage-live {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5ee0b5;
  margin-bottom: 4px;
}
.stage-name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  letter-spacing: -.02em;
}
.stage-tag {
  font-size: 13px;
  color: rgba(255, 255, 255, .68);
  margin: 6px 0 14px;
  line-height: 1.55;
  min-height: 2.4em;
}
.stage-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-picks {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.stage-pick {
  flex: 1;
  min-width: 72px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.stage-pick img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
}
.stage-pick:hover { border-color: var(--gold); color: #fff; }
.stage-pick.is-on {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 16px) scale(1.08); }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg) 70%); }
.section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.section-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--navy);
}
.section-sub { font-size: 16px; color: var(--muted); max-width: 580px; line-height: 1.7; }

/* ---------- Finder + search ---------- */
.finder {
  margin: 36px 0 8px;
  padding: 22px 22px 18px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.finder-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.finder-q { font-size: 15px; font-weight: 700; color: var(--navy); }
.app-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.app-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 169, 98, .18);
}
.app-search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.app-search input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
  color: var(--text);
}
.finder-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-pick {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.finder-pick:hover { border-color: var(--gold); transform: translateY(-1px); }
.finder-pick[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.finder-result {
  margin-top: 16px;
  display: none;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.finder-result.show { display: block; }
.finder-rec {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
.finder-apps { display: flex; flex-wrap: wrap; gap: 10px; }
.finder-app {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  min-width: 210px;
  flex: 1;
  transition: border-color .2s, transform .2s;
}
.finder-app:hover { border-color: var(--gold); transform: translateY(-1px); }
.finder-app strong { display: block; color: var(--navy); font-size: 14px; }
.finder-app span { font-size: 12px; color: var(--muted); }

/* ---------- Filters + cards ---------- */
.apps-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 8px);
  z-index: 40;
  padding: 10px 0 6px;
  background: linear-gradient(180deg, var(--bg) 70%, transparent);
}
.apps-tools.is-stuck {
  background: rgba(246, 241, 232, .94);
  backdrop-filter: blur(12px);
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 16px;
}
.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  flex: 1;
}
.filter-chip {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.filter-chip:hover { border-color: var(--gold); }
.filter-chip[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.apps-count {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.filter-empty {
  display: none;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
}
.filter-empty.show { display: block; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
  margin-top: 20px;
}
.app-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
}
.app-card:hover {
  border-color: rgba(212, 169, 98, .55);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.app-card.is-hidden { display: none; }
.app-card[data-cats~="play"] { padding-top: 18px; }
.app-card-shot {
  border-radius: 14px;
  overflow: hidden;
  margin: 6px 0 14px;
  height: 132px;
  background: var(--navy-dark);
}
.app-card-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.app-card:hover .app-card-shot img { transform: scale(1.04); }
.app-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.app-card-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--play);
  margin-bottom: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.app-card-web {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 40, 63, .12);
}
.app-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.app-icon-bleed img { object-fit: cover; }
.app-icon-pad {
  background: #fff;
  padding: 6px;
}
.app-icon-pad img { object-fit: contain; }
.app-icon svg { width: 28px; height: 28px; display: block; }
.app-icon-sm { width: 32px; height: 32px; border-radius: 9px; margin: 0; padding: 3px; box-shadow: none; }
.app-icon-sm svg { width: 15px; height: 15px; }
.finder-app .app-icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; padding: 3px; }
.finder-app .app-icon svg { width: 18px; height: 18px; }
.app-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  border-radius: 16px;
  margin: 6px 0 14px;
  background:
    radial-gradient(120px 80px at 50% 40%, rgba(212, 169, 98, .18), transparent 70%),
    var(--navy-dark);
}
.app-card-logo img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 26px;
  background: #fff;
  padding: 8px;
}
.app-name { font-size: 21px; font-weight: 800; margin-bottom: 6px; color: var(--navy); letter-spacing: -.02em; }
.app-tagline { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.app-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.app-btns .btn { padding: 8px 15px; font-size: 12px; }
.app-card[data-cats~="soon"]:not([data-cats~="play"]) {
  background: #fbf8f2;
}
.app-card[data-cats~="soon"]:not([data-cats~="play"]) .app-icon { opacity: .9; }

/* ---------- Plus ---------- */
.plus-section {
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(212, 169, 98, .18), transparent 55%),
    linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 50%, #0c3a3a 100%);
  padding: 92px 0;
  color: #fff;
}
.plus-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.plus-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 169, 98, .16);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.plus-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.plus-sub { font-size: 16px; opacity: .76; max-width: 520px; line-height: 1.7; margin-bottom: 28px; }
.plus-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.plus-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  font-weight: 700;
  transition: border-color .2s, transform .2s;
}
.plus-pill:hover { border-color: var(--gold); transform: translateY(-2px); }
.plus-pricing {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(212, 169, 98, .45);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}
.plus-price {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}
.plus-price-sub { font-size: 14px; opacity: .7; margin-top: 6px; margin-bottom: 16px; }
.plus-savings {
  display: inline-block;
  background: rgba(212, 169, 98, .18);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(212, 169, 98, .3);
}
.plus-features { list-style: none; margin-bottom: 22px; }
.plus-features li {
  padding: 9px 0;
  font-size: 14px;
  opacity: .88;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.plus-features li:last-child { border-bottom: none; }
.plus-features li::before { content: "✓"; color: var(--gold-light); font-weight: 900; flex-shrink: 0; }
.plus-soon-note {
  display: inline-block;
  background: rgba(212, 169, 98, .14);
  border: 1px dashed rgba(212, 169, 98, .5);
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 22px;
  border-radius: 14px;
}

/* ---------- Philosophy ---------- */
.phil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.phil-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 26px;
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s;
}
.phil-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.phil-icon { width: 40px; height: 40px; margin-bottom: 12px; color: var(--navy); display: flex; align-items: center; }
.phil-icon svg { width: 28px; height: 28px; display: block; }
.phil-title { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.phil-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.phil-feedback {
  cursor: pointer;
  border-color: rgba(14, 143, 139, .45);
  background: linear-gradient(160deg, #ffffff, #effcfb);
}
.phil-feedback:hover { box-shadow: 0 16px 36px rgba(14, 143, 139, .16); }

/* ---------- Downloads (kept in DOM, hidden) ---------- */
.dl-section { background: var(--navy); color: #fff; padding: 88px 0; }
.dl-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.dl-sub { font-size: 16px; opacity: .7; max-width: 540px; line-height: 1.7; margin-bottom: 48px; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.dl-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.dl-card-top { display: flex; align-items: center; gap: 12px; }
.dl-card-icon { font-size: 32px; line-height: 1; }
.dl-card-name { font-size: 16px; font-weight: 800; color: #fff; }
.dl-card-desc { font-size: 13px; color: rgba(255, 255, 255, .55); }
.dl-card-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-install-note { margin-top: 40px; background: rgba(14, 143, 139, .15); border: 1px solid rgba(14, 143, 139, .3); border-radius: 14px; padding: 24px; }
.dl-install-title { font-size: 16px; font-weight: 800; color: var(--teal-light); margin-bottom: 8px; }
.dl-install-text { font-size: 14px; opacity: .75; line-height: 1.7; }

/* ---------- Footer ---------- */
footer { background: var(--navy-dark); color: rgba(255, 255, 255, .75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-desc { font-size: 13px; line-height: 1.85; opacity: .58; max-width: 280px; }
.footer-col h4 {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(212, 169, 98, .16);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: .5;
  flex-wrap: wrap;
  gap: 8px;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 169, 98, .45);
  background: rgba(7, 20, 32, .9);
  color: var(--gold-light);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.to-top.show { display: flex; }
.to-top:hover { background: var(--navy); }

/* ---------- Modals ---------- */
#pwa-modal {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0, 0, 0, .7);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
#pwa-modal.open { display: flex; }
.pwa-sheet {
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px 36px;
  width: 100%;
  max-width: 480px;
  animation: slideUp .3s var(--ease);
}
@keyframes slideUp { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.pwa-handle { width: 36px; height: 4px; background: #e2e8f0; border-radius: 2px; margin: 0 auto 20px; }
.pwa-title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.pwa-app-name { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.pwa-steps { list-style: none; margin-bottom: 28px; }
.pwa-step { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.pwa-step:last-child { border-bottom: none; }
.pwa-step-num {
  width: 30px; height: 30px; background: var(--navy); color: #fff; border-radius: 50%;
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pwa-step-text { font-size: 14px; line-height: 1.6; }
.pwa-step-text strong { color: var(--navy); }
.pwa-close {
  width: 100%;
  padding: 14px;
  background: var(--bg);
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.pwa-close:hover { background: var(--bg2); }

#fb-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(7, 20, 32, .6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
#fb-modal.open { display: flex; }
.fb-sheet {
  background: #fff;
  border-radius: 22px;
  padding: 30px 26px 28px;
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: slideUp .3s var(--ease);
  margin: auto;
}
.fb-x { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.fb-x:hover { color: var(--navy); }
.fb-title { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; padding-right: 24px; }
.fb-sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; line-height: 1.6; }
.fb-label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.fb-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
  background: #fff;
}
.fb-input:focus { outline: none; border-color: var(--gold); }
.fb-textarea { min-height: 110px; resize: vertical; line-height: 1.55; overflow: hidden; }
.fb-reassure { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: -8px 0 18px; background: var(--bg2); border-radius: 10px; padding: 10px 12px; }
.fb-submit { width: 100%; justify-content: center; font-size: 15px; padding: 14px; }
.fb-submit:disabled { opacity: .6; cursor: default; }
.fb-status { margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; min-height: 20px; }
.fb-status.ok { color: var(--teal-dark); }
.fb-status.err { color: #c2410c; }
.fb-success { text-align: center; padding: 12px 0; }
.fb-success .fb-check { font-size: 52px; line-height: 1; margin-bottom: 12px; }
.fb-success .fb-thanks { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.fb-success .fb-thanks-sub { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }

/* ---------- Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .08s; }
[data-reveal].d2 { transition-delay: .16s; }
[data-reveal].d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { min-height: 0; padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .stage-frame img { height: 180px; max-width: 180px; }
  .plus-layout { grid-template-columns: 1fr; }
  .phil-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 36px 0 44px; text-align: center; }
  .hero-sub, .hero-playline { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-btns .btn { width: 100%; }
  .section { padding: 56px 0; }
  .plus-section { padding: 56px 0; }
  .phil-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .finder { padding: 16px; }
  .finder-top { align-items: stretch; }
  .app-search { max-width: none; }
  .apps-tools { top: var(--nav-h); }
  .stage-picks { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .app-card:hover, .phil-card:hover { transform: none; }
}
