/* =========================================================
   RK Soft — custom theme
   ========================================================= */
:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --text: #0f172a;
  --muted: #5b6478;
  --border: #e3e7f0;
  --brand: #4f46e5;
  --brand-2: #9333ea;
  --accent: var(--brand);
  --accent-2: var(--brand-2);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .28);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --font: "Plus Jakarta Sans", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d14; --surface: #131722; --surface-2: #1a1f2e; --text: #eef1f8;
    --muted: #9aa3b8; --border: #252b3b;
    --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d14; --surface: #131722; --surface-2: #1a1f2e; --text: #eef1f8;
  --muted: #9aa3b8; --border: #252b3b;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.grad-text {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: .9rem; font-weight: 800;
  box-shadow: 0 6px 16px -6px var(--brand);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .95rem; transition: .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); display: grid; place-items: center; cursor: pointer; transition: .2s;
}
.icon-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.icon-btn svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .nav-links a.hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: .2s; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 24px -10px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--accent); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 14px;
  background: #0b0d14; color: #fff; border: 1px solid #2a2f3e; transition: .2s; min-width: 190px;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0,0,0,.5); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: .68rem; opacity: .75; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.store-btn b { display: block; font-size: 1.08rem; line-height: 1.2; }
.store-btn.disabled { opacity: .55; pointer-events: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; z-index: -1;
}
.hero::before { width: 520px; height: 520px; background: var(--brand); top: -200px; left: -120px; }
.hero::after { width: 460px; height: 460px; background: var(--brand-2); top: -120px; right: -140px; opacity: .25; }
.hero-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--muted);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.pill .dot { width: 22px; height: 22px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; color: #fff; }
.pill .dot svg { width: 12px; height: 12px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.hero-stats span { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; margin: 0; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }

/* ---------- Spotlight ---------- */
.spotlight {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
  padding: 48px; border-radius: 32px; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow-lg);
  transition: transform .3s;
}
.spotlight:hover { transform: translateY(-4px); }
.spotlight::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.28), transparent 45%),
              radial-gradient(circle at 10% 110%, rgba(0,0,0,.25), transparent 50%);
}
.spotlight > * { position: relative; z-index: 1; }
.spotlight .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: .78rem; font-weight: 700; margin-bottom: 18px; letter-spacing: .04em; }
.spotlight h3 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 10px; }
.spotlight p { opacity: .92; font-size: 1.08rem; max-width: 460px; }
.spotlight .row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.spotlight .btn { background: #fff; color: #0f172a; margin-top: 10px; }
.spotlight .phones { display: flex; justify-content: center; gap: 16px; transform: translateY(30px); margin-bottom: -60px; }
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; padding: 32px 24px; }
  .spotlight .phones { margin-bottom: -90px; }
}

/* ---------- Toolbar (search + filters) ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search {
  display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 0 16px; height: 44px; min-width: 240px; flex: 1; max-width: 320px;
}
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; width: 100%; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-weight: 600; font-size: .9rem; cursor: pointer; font-family: inherit; transition: .2s;
}
.chip:hover { color: var(--text); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- App cards ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.app-card {
  --accent: var(--c1); --accent-2: var(--c2);
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
  isolation: isolate;
}
.app-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: -1; opacity: .16;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); transition: opacity .25s;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent);
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.app-card:hover::before { opacity: .22; }
.app-card .top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-card h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 2px; }
.app-card .cat { font-size: .8rem; font-weight: 700; color: var(--accent); }
.app-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.app-card .meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--border); font-size: .88rem; font-weight: 600; color: var(--muted); }
.app-card .meta .stars { color: #f59e0b; display: inline-flex; align-items: center; gap: 4px; }
.app-card .meta .stars svg { width: 15px; height: 15px; }
.app-card .go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.app-card .go svg { width: 16px; height: 16px; transition: transform .2s; }
.app-card:hover .go svg { transform: translateX(4px); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); grid-column: 1 / -1; }

/* ---------- App icon ---------- */
.app-icon {
  flex: none; width: 60px; height: 60px; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 800; font-size: 1.5rem;
  box-shadow: 0 10px 22px -10px var(--accent), inset 0 1px 0 rgba(255,255,255,.35);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon.lg { width: 96px; height: 96px; border-radius: 26px; font-size: 2.4rem; }
.app-icon.xl { width: 120px; height: 120px; border-radius: 32px; font-size: 3rem; }
.app-icon.on-color { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }

/* ---------- Phone mockup ---------- */
.phone {
  --w: 210px; width: var(--w); aspect-ratio: 9 / 19.5; border-radius: calc(var(--w) * .16); padding: calc(var(--w) * .035);
  background: #0b0d14; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), inset 0 0 0 2px #2b3040; flex: none;
}
.phone .screen {
  position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .13); overflow: hidden;
  background: var(--surface);
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; background: #0b0d14; border-radius: 999px; z-index: 2; }
.phone.sm { --w: 170px; }
.phone.tilt-l { transform: rotate(-6deg) translateY(20px); }
.phone.tilt-r { transform: rotate(6deg) translateY(20px); }
/* fake UI inside placeholder screens */
.mock { padding: 38px 12px 12px; height: 100%; display: flex; flex-direction: column; gap: 9px; color: var(--text); }
.mock .hdr { height: 74px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 10px; color: #fff; }
.mock .hdr i { display: block; height: 7px; width: 45%; background: rgba(255,255,255,.6); border-radius: 9px; margin-bottom: 8px; }
.mock .hdr b { display: block; height: 14px; width: 70%; background: #fff; border-radius: 9px; }
.mock .row { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: var(--surface-2); }
.mock .row .c { width: 22px; height: 22px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 35%, transparent); flex: none; }
.mock .row .l { flex: 1; }
.mock .row .l i, .mock .row .l u { display: block; height: 6px; border-radius: 9px; background: var(--border); }
.mock .row .l u { width: 55%; margin-top: 5px; opacity: .7; }
.mock .bars { display: flex; align-items: end; gap: 6px; height: 70px; padding: 8px; border-radius: 12px; background: var(--surface-2); }
.mock .bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--accent), var(--accent-2)); opacity: .85; }
.mock .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock .tiles span { height: 50px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }

/* ---------- Real screenshots / banners ---------- */
.hero-shots { display: flex; justify-content: center; align-items: center; padding: 10px 0; }
.hero-shots .shot { height: 460px; width: auto; border-radius: 26px; box-shadow: var(--shadow-lg); object-fit: cover; }
.hero-shots .shot:nth-child(1) { position: relative; z-index: 2; transform: rotate(-4deg); }
.hero-shots .shot:nth-child(2) { margin-left: -70px; transform: rotate(6deg) translateY(30px); }
.hero-shots.sm .shot { height: 330px; border-radius: 20px; }
.hero-banner { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-banner img { width: 100%; height: auto; }
.spotlight .hero-shots { margin: -10px 0 -110px; }
.spotlight .hero-shots .shot { box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.spotlight .row .sub { display: block; opacity: .85; font-weight: 600; margin-top: -4px; }
.spot-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.spot-stats span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 700; font-size: .88rem; }
@media (max-width: 860px) {
  .spotlight .hero-shots { margin: 10px 0 -120px; }
  .spotlight .hero-shots.sm .shot { height: 260px; }
}
@media (max-width: 900px) { .hero-shots .shot { height: 380px; } }
@media (max-width: 480px) {
  .hero-shots .shot { height: 300px; border-radius: 18px; }
  .hero-shots .shot:nth-child(2) { margin-left: -60px; }
}
.shots .shot { height: 440px; width: auto; flex: none; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); cursor: zoom-in; scroll-snap-align: start; transition: transform .2s; background: var(--surface-2); }
.shots .shot:hover { transform: translateY(-4px); }
@media (max-width: 600px) { .shots .shot { height: 340px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 7, 12, .88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: fade .2s ease; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .icon-btn { position: absolute; top: 16px; right: 16px; }
@keyframes fade { from { opacity: 0; } }

.app-hero .name-en { display: block; font-weight: 700; color: var(--muted); margin-top: 4px; }
.app-card .dl { display: inline-flex; align-items: center; gap: 6px; }
.app-card .dl svg { width: 15px; height: 15px; }
.chip .n { opacity: .55; font-size: .8em; margin-left: 2px; }
.foot-grid ul.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 16px; }

/* ---------- Generic cards (about etc.) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 1.12rem; font-weight: 800; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.feat-ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.feat-ic svg { width: 22px; height: 22px; }

/* ---------- CTA band ---------- */
.cta {
  border-radius: 32px; padding: 56px 32px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.25), transparent 50%); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
.cta p { opacity: .9; max-width: 560px; margin: 0 auto 26px; font-size: 1.08rem; }
.cta .btn { background: #fff; color: #0f172a; }
.cta .stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- App brand page ---------- */
.app-hero { position: relative; padding: 60px 0 80px; overflow: hidden; isolation: isolate; }
.app-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 20%, var(--bg)), var(--bg) 70%);
}
.app-hero::after {
  content: ""; position: absolute; width: 600px; height: 600px; right: -150px; top: -150px; border-radius: 50%;
  background: var(--accent-2); filter: blur(110px); opacity: .25; z-index: -1;
}
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 30px; transition: .2s; }
.back:hover { color: var(--text); gap: 10px; }
.back svg { width: 16px; height: 16px; }
.app-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.app-hero .title-row { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.app-hero .cat-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); margin-bottom: 6px; }
.app-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.035em; margin: 0; }
.app-hero .tagline { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 700; margin-bottom: 14px; }
.app-hero .short { color: var(--muted); font-size: 1.08rem; max-width: 520px; margin-bottom: 28px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.app-stats { display: flex; gap: 0; margin-top: 34px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; max-width: 520px; }
.app-stats div { flex: 1; text-align: center; padding: 14px 8px; border-right: 1px solid var(--border); }
.app-stats div:last-child { border-right: 0; }
.app-stats b { display: block; font-size: 1.2rem; font-weight: 800; }
.app-stats span { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.hero-phones { display: flex; justify-content: center; align-items: center; }
.hero-phones .phone:nth-child(1) { z-index: 2; }
.hero-phones .phone:nth-child(2) { margin-left: -50px; transform: rotate(8deg) translateY(30px); z-index: 1; }
@media (max-width: 900px) {
  .app-hero-grid { grid-template-columns: 1fr; }
  .hero-phones { margin-top: 20px; }
}
@media (max-width: 480px) {
  .phone { --w: 170px; }
  .hero-phones .phone:nth-child(2) { margin-left: -60px; }
}

.about-app { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.about-app .body p { font-size: 1.08rem; color: var(--muted); }
@media (max-width: 800px) { .about-app { grid-template-columns: 1fr; gap: 10px; } }

.shots { display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots .phone { scroll-snap-align: start; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; transition: .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.more-apps .app-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---------- Legal / privacy ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 50px 20px 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.legal h2 { font-size: 1.3rem; font-weight: 800; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--accent); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 50px 0 30px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid ul a { color: var(--text); font-weight: 500; opacity: .85; }
.foot-grid ul a:hover { opacity: 1; color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* =========================================================
   v2 — hero icon wall, featured carousel, visual app cards
   ========================================================= */

/* ---------- Hero: two columns ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { text-align: left; }
.hero-copy h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
.hero-copy p.lead { margin: 0 0 30px; max-width: 540px; }
.hero-copy .hero-actions { justify-content: flex-start; }
.hero-copy .hero-stats { justify-content: flex-start; gap: 0; margin-top: 40px; }
.hero-copy .hero-stats div { text-align: left; padding: 0 28px; border-left: 1px solid var(--border); }
.hero-copy .hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-copy .hero-stats b { font-variant-numeric: tabular-nums; }

.icon-wall { position: relative; display: flex; justify-content: center; align-items: center; gap: 20px; height: 520px; }
.icon-wall::before {
  content: ""; position: absolute; inset: 12% 10%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%); filter: blur(30px);
}
.wall-col { display: flex; flex-direction: column; gap: 20px; animation: wallFloat 8s ease-in-out infinite; }
.wall-col.c0 { margin-top: 70px; animation-delay: -2s; }
.wall-col.c2 { margin-top: 110px; animation-delay: -5s; }
.wall-tile {
  width: 108px; height: 108px; border-radius: 30px; overflow: hidden; background: var(--surface);
  box-shadow: 0 20px 40px -16px color-mix(in srgb, var(--c1) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--border) 60%, transparent);
  transition: transform .3s ease;
}
.wall-tile:hover { transform: scale(1.06) rotate(-3deg); }
.wall-tile img { width: 100%; height: 100%; object-fit: cover; }
.wall-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); box-shadow: var(--shadow); font-size: .9rem; animation: wallFloat 6s ease-in-out infinite;
}
.wall-chip svg { width: 18px; height: 18px; color: #f59e0b; flex: none; }
.wall-chip.chip-b svg { color: var(--brand); }
.wall-chip b { font-weight: 800; }
.wall-chip span { color: var(--muted); font-weight: 600; }
.wall-chip.chip-a { top: 9%; left: 0; animation-delay: -1s; }
.wall-chip.chip-b { bottom: -2%; right: 4%; animation-delay: -3s; }
@keyframes wallFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .icon-wall { height: 400px; gap: 14px; }
  .wall-col { gap: 14px; }
  .wall-tile { width: 84px; height: 84px; border-radius: 24px; }
}
@media (max-width: 480px) {
  .hero-copy .hero-stats div { padding: 0 16px; }
  .icon-wall { height: 330px; gap: 12px; }
  .wall-col { gap: 12px; }
  .wall-col.c0 { margin-top: 50px; }
  .wall-col.c2 { margin-top: 80px; }
  .wall-tile { width: 68px; height: 68px; border-radius: 20px; }
  .wall-chip { font-size: .8rem; padding: 8px 12px; }
}

/* ---------- Featured carousel ---------- */
.spot-track { display: grid; }
.spot-slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: scale(.985);
  transition: opacity .6s ease, transform .6s ease, visibility .6s;
}
.spot-slide.active { opacity: 1; visibility: visible; transform: none; }
.spot-slide.active:hover { transform: translateY(-4px); }
.spot-nav { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.spot-tab {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: inherit; font-weight: 700; font-size: .88rem;
  cursor: pointer; overflow: hidden; transition: color .2s, border-color .2s, box-shadow .2s;
}
.spot-tab img { width: 30px; height: 30px; border-radius: 10px; }
.spot-tab:hover { color: var(--text); }
.spot-tab.active { color: var(--text); border-color: color-mix(in srgb, var(--c1) 55%, var(--border)); box-shadow: var(--shadow-sm); }
.spot-tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.spot-tab.run .bar { animation: spotBar 6s linear forwards; }
.spot-wrap.paused .spot-tab .bar { animation-play-state: paused; }
@keyframes spotBar { to { width: 100%; } }

/* ---------- App cards with screenshot preview ---------- */
.app-grid { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; }
@media (max-width: 980px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .app-grid { grid-template-columns: 1fr; } .app-card.wide { grid-column: auto; } }
.app-card { padding: 0; }
.app-card::before { display: none; }
@media (min-width: 641px) { .app-card.wide { grid-column: span 2; } }
.app-card .preview {
  position: relative; height: 150px; display: flex; gap: 10px; padding: 16px 16px 0; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 22%, var(--surface)), color-mix(in srgb, var(--c2) 18%, var(--surface)));
}
.app-card.wide .preview { height: 190px; }
.app-card .preview::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--surface) 70%, transparent));
}
.app-card .preview img {
  flex: 1; min-width: 0; height: 200px; object-fit: cover; object-position: top; border-radius: 12px 12px 0 0;
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, .45); transition: transform .35s ease;
}
.app-card.wide .preview img { height: 250px; }
.app-card:hover .preview img { transform: translateY(-6px); }
.app-card:hover .preview img:nth-child(2) { transition-delay: .04s; }
.app-card:hover .preview img:nth-child(3) { transition-delay: .08s; }
.app-card .preview.banner { padding: 0; }
.app-card .preview.banner img { flex: 1; height: 100%; border-radius: 0; box-shadow: none; object-position: center; }
.app-card:hover .preview.banner img { transform: scale(1.04); }
.app-card .preview.empty-preview::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--c2) 35%, transparent), transparent 55%);
}
.app-card .card-body { display: flex; flex-direction: column; flex: 1; padding: 0 22px 20px; }
.app-card .top { align-items: flex-start; margin-bottom: 12px; }
.app-card .top > div { margin-top: 36px; min-width: 0; }
.app-card .card-body .app-icon {
  margin-top: -30px; position: relative; z-index: 1; border: 4px solid var(--surface);
  box-shadow: 0 10px 22px -10px var(--accent);
}
.app-card .top h3 { margin-bottom: 0; }
