/* LittleQuest marketing site — Neelo-inspired (sky + clouds), LittleQuest theme */
:root {
  color-scheme: light;
  --font-display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sky: #d6ecfb;        /* page background — soft sky blue */
  --sky-deep: #c4e3fa;
  --sky-tint: #eaf5fe;
  --purple: #7c4dff;     /* LittleQuest app-theme primary */
  --purple-deep: #6a3df0;
  --coral: #ff8a5c;
  --green: #22c979;
  --blue: #3f9bff;
  --gold: #ffc23c;
  --pink: #ff6b8b;
  --ink: #262a63;        /* deep navy-indigo headings */
  --ink-soft: #5c6088;
  --card: #ffffff;
  --line: #e4ebf5;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 24px 54px rgba(38, 42, 99, 0.16);
  --shadow-sm: 0 10px 26px rgba(38, 42, 99, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}
/* Display font for headings + logo; body/UI stays on Inter (clean sans).
   Bold (700) reserved for page/hero titles + logo where it's truly needed;
   section titles and sub-headings are semibold (600); body stays regular (400). */
h1, h2, h3, .section-title, .brand { font-family: var(--font-display); }
h2, h3, .section-title { font-weight: 600; }
h1, .brand { font-weight: 700; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ── Top nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(214, 236, 251, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand {
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.4rem; color: var(--ink);
  background: #fff; padding: 8px 16px 8px 10px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand .b-little { color: var(--purple); }
.brand .b-quest { color: var(--coral); }
.nav-links { margin-left: auto; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--purple); text-decoration: none; }
.nav-cta {
  background: var(--purple); color: #fff !important; padding: 11px 22px;
  border-radius: 999px; font-weight: 600; box-shadow: 0 8px 18px rgba(124,77,255,0.34);
  transition: transform .18s ease, box-shadow .18s ease;
}
.nav-cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(124,77,255,0.42); }

/* ── Clouds ──────────────────────────────────────────────── */
.cloud { position: absolute; z-index: 0; pointer-events: none; }
.cloud svg { display: block; width: 100%; height: auto; }
.c-a { width: 150px; top: 60px; left: 4%; }
.c-b { width: 210px; top: 30px; right: 5%; }
.c-c { width: 120px; bottom: 120px; left: 8%; opacity: 0.9; }
.c-d { width: 180px; bottom: 40px; right: 7%; opacity: 0.9; }
.float-slow { animation: drift 9s ease-in-out infinite; }
.float-slow.alt { animation-delay: 2.5s; }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ── Hero (centered, Neelo-style) ────────────────────────── */
.hero { position: relative; text-align: center; padding: 56px 0 40px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); padding: 8px 18px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.3rem); line-height: 1.07; letter-spacing: -0.8px;
  margin: 0 auto 18px; color: var(--ink); font-weight: 700; max-width: 720px;
}
.hero h1 .hl { color: var(--purple); }
.hero .tag { font-size: clamp(1.05rem, 1.9vw, 1.22rem); color: var(--ink-soft); margin: 0 auto 30px; max-width: 560px; line-height: 1.6; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-micro { color: var(--ink-soft); font-size: 0.92rem; margin: 4px 0 0; }

/* device frame holding the hero illustration */
.device {
  position: relative; z-index: 2; max-width: 760px; margin: 46px auto 0;
  background: #fff; border-radius: 26px; padding: 12px; box-shadow: var(--shadow);
}
.device-screen { border-radius: 16px; overflow: hidden; }
.device-screen img { display: block; width: 100%; height: auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--purple); color: #fff !important;
  padding: 16px 38px; border-radius: 999px; font-weight: 600; font-size: 1.12rem;
  box-shadow: 0 14px 28px rgba(124,77,255,0.36); transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 36px rgba(124,77,255,0.46); }
.btn.white { background: #fff; color: var(--purple) !important; box-shadow: 0 14px 28px rgba(0,0,0,0.16); }

/* ── Store badges ────────────────────────────────────────── */
.store-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #1a1c3d; color: #fff !important; padding: 12px 20px; border-radius: 15px;
  min-width: 186px; box-shadow: 0 12px 24px rgba(26,28,61,0.28); transition: transform .18s ease;
}
.store-badge:hover { text-decoration: none; transform: translateY(-2px); }
.badge-ico { width: 26px; height: 26px; fill: #fff; flex: none; }
.store-badge small { display: block; font-size: 0.7rem; opacity: 0.85; font-weight: 400; line-height: 1.2; }
.store-badge b { font-size: 1.08rem; line-height: 1.15; }
/* Compact store badges on mobile everywhere (homepage + download) — not stretched */
@media (max-width: 600px) {
  .store-row { gap: 10px; }
  .store-row .store-badge { flex: 0 1 auto; min-width: 0; padding: 9px 14px; gap: 9px; }
  .store-row .badge-ico { width: 21px; height: 21px; }
  .store-row .store-badge small { font-size: 0.62rem; }
  .store-row .store-badge b { font-size: 0.94rem; }
}

/* ── Safety strip ────────────────────────────────────────── */
.safety { background: var(--ink); color: #fff; }
.safety .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.safety span { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 1rem; }
.safety span::before { content: "✓"; color: #7be3ac; font-weight: 800; }

/* ── Sections ────────────────────────────────────────────── */
section { padding: 78px 0; position: relative; }
.on-white { background: #fff; }
.on-sky { background: var(--sky); }
.on-tint { background: var(--sky-tint); }
.eyebrow {
  display: block; text-align: center; text-transform: uppercase; letter-spacing: 1.6px;
  font-size: 0.82rem; font-weight: 600; color: var(--purple); margin-bottom: 10px;
}
.section-title { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.25rem); margin: 0 0 12px; letter-spacing: -0.4px; color: var(--ink); }
.section-lede { text-align: center; color: var(--ink-soft); max-width: 620px; margin: 0 auto 46px; font-size: 1.06rem; }

/* cloud divider between sections */
.cloud-sep { display: block; width: 100%; height: 64px; margin-bottom: -1px; }

/* ── Categories ──────────────────────────────────────────── */
.cats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cat {
  border-radius: var(--radius); padding: 32px 22px; text-align: center; color: #fff;
  box-shadow: var(--shadow-sm); transition: transform .2s ease;
  min-height: 120px; display: flex; flex-direction: column; justify-content: center;
}
.cat:hover { transform: translateY(-6px); }
.cat h3 { margin: 0 0 6px; font-size: 1.24rem; }
.cat p { margin: 0; font-size: 0.94rem; opacity: 0.96; }
.cat.c1 { background: linear-gradient(150deg, #2fd08a, #1eb673); }
.cat.c2 { background: linear-gradient(150deg, #ff86a4, #ff6182); }
.cat.c3 { background: linear-gradient(150deg, #9a7bff, #7c4dff); }
.cat.c4 { background: linear-gradient(150deg, #56abff, #3f8bff); }
.cat.c5 { background: linear-gradient(150deg, #ffcf5c, #f5a623); }

/* ── Steps ───────────────────────────────────────────────── */
.steps { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.step { text-align: center; background: #fff; border-radius: var(--radius); padding: 30px 22px; box-shadow: var(--shadow-sm); }
.step .num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  font-weight: 700; font-size: 1.35rem; color: #fff; background: var(--purple); box-shadow: var(--shadow-sm);
}
.step:nth-child(2) .num { background: var(--coral); }
.step:nth-child(3) .num { background: var(--blue); }
.step:nth-child(4) .num { background: var(--green); }
.step h3 { margin: 0 0 6px; font-size: 1.14rem; color: var(--ink); }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ── Feature cards ───────────────────────────────────────── */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  border-top: 5px solid var(--line);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card.c-green { border-top-color: #22c979; } .card.c-purple { border-top-color: var(--purple); }
.card.c-coral { border-top-color: var(--coral); } .card.c-gold { border-top-color: var(--gold); }
.card.c-blue { border-top-color: var(--blue); } .card.c-pink { border-top-color: var(--pink); }
.card h3 { margin: 0 0 10px; font-size: 1.22rem; }
.card.c-green h3 { color: #1aa363; } .card.c-purple h3 { color: var(--purple); }
.card.c-coral h3 { color: #e06a37; } .card.c-gold h3 { color: #cf9412; }
.card.c-blue h3 { color: #2f83e8; } .card.c-pink h3 { color: #e05579; }
.card p { margin: 0; color: var(--ink-soft); }

/* ── Parent section (split) ──────────────────────────────── */
.split { display: flex; align-items: center; gap: 54px; }
.split-copy { flex: 1 1 400px; }
.split-copy .section-title, .split-copy .section-lede { text-align: left; margin-left: 0; }
.split-art { flex: 1 1 420px; }
.mini-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; max-width: 420px; }
.mini-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-row:last-child { border-bottom: 0; }
.mini-dot { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.mini-label { font-weight: 600; }
.mini-sub { color: var(--ink-soft); font-size: 0.88rem; }
.mini-bar { margin-left: auto; width: 78px; height: 9px; border-radius: 999px; background: #eef1f8; overflow: hidden; }
.mini-bar span { display: block; height: 100%; border-radius: 999px; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list .ck { color: #fff; background: var(--green); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; font-size: 0.8rem; }

/* ── Promise band ────────────────────────────────────────── */
.promise-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-width: 860px; margin: 0 auto; }
.promise-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-weight: 500; box-shadow: var(--shadow-sm); }
.promise-item .check { color: #fff; font-weight: 800; background: var(--green); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 0.85rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: var(--card); margin: 12px 0; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--purple); font-weight: 800; font-size: 1.2rem; }
.faq[open] summary::after { content: "\2013"; }
.faq .body { padding: 0 22px 18px; color: var(--ink-soft); }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band { position: relative; background: linear-gradient(135deg, #8b5cff, #6a4dff); color: #fff; border-radius: var(--radius-lg); padding: 60px 30px; text-align: center; box-shadow: var(--shadow); overflow: hidden; }
.cta-band .section-title, .cta-band .section-lede { color: #fff; }
.cta-band .section-lede { opacity: 0.95; }
.cta-band .wrap { position: relative; z-index: 2; }

/* ── Reveal-on-scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Doc pages ───────────────────────────────────────────── */
.doc { background: #fff; padding: 46px 0 76px; }
.doc h1 { font-size: 2.1rem; color: var(--ink); }
.doc h2 { font-size: 1.32rem; margin-top: 2em; color: var(--ink); }
.doc h3 { font-size: 1.04rem; margin-top: 1.5em; color: #3c3f6e; }
.callout { background: #e7f9ef; border: 1px solid #bce9cf; border-radius: 16px; padding: 16px 22px; margin: 22px 0; }
.summary-box { background: var(--sky-tint); border: 1px solid #cfe6fa; border-radius: 16px; padding: 18px 22px; margin: 24px 0; }
.placeholder { background: #fff2cc; border: 1px dashed #d6ab00; border-radius: 5px; padding: 1px 6px; font-size: 0.92em; }
.doc-hero { position: relative; background: var(--sky); color: var(--ink); padding: 56px 0 62px; text-align: center; overflow: hidden; }
.doc-hero .wrap { position: relative; z-index: 2; }
.doc-hero h1 { margin: 0 0 10px; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--ink); }
.doc-hero .tag { color: var(--ink-soft); max-width: 560px; margin: 0 auto; font-size: 1.12rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: #1b1d40; color: #c3c6e6; padding: 52px 0 36px; }
.footer a { color: #c3c6e6; }
.footer a:hover { color: #fff; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 30px 60px; }
.footer-cols .brand { color: #fff; background: none; padding: 0; box-shadow: none; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { border-top: 1px solid #34375f; margin-top: 30px; padding-top: 20px; font-size: 0.85rem; color: #8b8fbd; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .split { flex-direction: column; gap: 34px; }
  .split-copy .section-title, .split-copy .section-lede { text-align: center; margin-left: auto; margin-right: auto; }
  .mini-card { margin: 0 auto; }
}
@media (max-width: 640px) {
  .nav-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px 16px; justify-content: center; }
  .brand { font-size: 1.24rem; }
  .nav-links { margin-left: 0; width: 100%; justify-content: center; gap: 16px; }
}
@media (max-width: 600px) {
  .cloud { display: none; }
  section { padding: 58px 0; }
  .cats, .grid, .steps, .promise-list { grid-template-columns: 1fr; }
  .hero { padding: 34px 0 28px; }
  .hero h1 { font-size: 2.15rem; }
  .device { margin-top: 32px; }
  .cta-band { padding: 46px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-slow { animation: none; }
  .reveal { transition: none; }
}
