/* ── KidCare promo site ─────────────────────────────────────────────
   Brand: blue #5B9BD5 · green #7BC67E · accent #FFD166 · pink #FF8FAB
   Responsive: mobile-first, breakpoints at 700px and 1000px.          */

:root {
  --blue: #5B9BD5;
  --green: #7BC67E;
  --accent: #FFD166;
  --pink: #FF8FAB;
  --ink: #2D3748;
  --ink-soft: #718096;
  --bg: #F7F9FC;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(45, 55, 72, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; }
.container { width: min(1080px, 92%); margin-inline: auto; }
.center { text-align: center; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(45,55,72,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 11px; }
.brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: .3px; }
.brand-name .kid { color: var(--blue); }
.brand-name .care { color: var(--green); }

/* ── Buttons ── */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-small { background: var(--blue); color: #fff; padding: 8px 18px; font-size: .95rem; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; }
.btn-big { padding: 16px 32px; font-size: 1.15rem; box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(91,155,213,.35); }

/* ── Hero ── */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(123,198,126,.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(91,155,213,.18), transparent 60%),
    linear-gradient(180deg, #EAF4FB 0%, #F2F9F1 60%, var(--bg) 100%);
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.15; margin-bottom: 18px; }
.grad {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 26px; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.cta-note { color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
  background: #fff; border: 1px solid rgba(45,55,72,.08); border-radius: 999px;
  padding: 7px 14px; font-size: .9rem; font-weight: 600; box-shadow: 0 3px 10px rgba(45,55,72,.05);
}

/* ── Phone mockup ── */
.hero-phone { display: flex; justify-content: center; }
.phone {
  width: 290px; border-radius: 38px; padding: 12px;
  background: #1c2430;
  box-shadow: 0 30px 60px rgba(28,36,48,.35), inset 0 0 0 2px #2d3a4a;
  position: relative;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 20px; background: #1c2430; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen {
  border-radius: 28px; overflow: hidden; background: #F4F8FB;
  display: flex; flex-direction: column; min-height: 560px;
}
.mock-appbar {
  background: var(--blue); color: #fff; display: flex; align-items: center; gap: 8px;
  padding: 26px 14px 12px; font-weight: 800; letter-spacing: .3px;
}
.mock-appbar .kid-w { color: #fff; }
.mock-logo { width: 26px; height: 26px; border-radius: 8px; }
.mock-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mock-greet { color: var(--ink-soft); font-size: .8rem; font-weight: 600; }
.mock-card {
  background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 4px 14px rgba(45,55,72,.07); font-size: .8rem;
}
.mock-child { display: flex; gap: 10px; align-items: center;
  background: linear-gradient(120deg, var(--blue), var(--green)); color: #fff; }
.mock-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.25);
  display: grid; place-items: center; font-size: 1.3rem;
}
.mock-child-name { font-weight: 800; font-size: .95rem; }
.mock-child-age { font-size: .75rem; opacity: .9; }
.mock-chip {
  display: inline-block; margin-top: 3px; background: rgba(255,255,255,.22);
  border-radius: 999px; padding: 1px 8px; font-size: .65rem; font-weight: 700;
}
.mock-row { display: flex; gap: 10px; }
.mock-tile {
  flex: 1; border-radius: 12px; padding: 10px 12px; font-size: .78rem; font-weight: 700;
  box-shadow: 0 3px 10px rgba(45,55,72,.06); background: #fff;
}
.mock-tile.blue { background: #E3F2FD; }
.mock-tile.purple { background: #EDE7F6; }
.mock-tile.pink { background: #FCE4EC; }
.mock-tile.wide { flex: none; }
.mock-line { display: flex; justify-content: space-between; padding: 5px 0; color: var(--ink-soft); }
.mock-line b { color: var(--blue); font-size: .78rem; }
.mock-nav {
  display: flex; justify-content: space-around; padding: 10px 6px 14px;
  background: #fff; border-top: 1px solid rgba(45,55,72,.06); font-size: 1.05rem;
}
.mock-ai { filter: drop-shadow(0 0 6px rgba(91,155,213,.8)); }

/* ── Sections ── */
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 8px; text-align: center; }
.section-sub { color: var(--ink-soft); text-align: center; max-width: 40rem; margin: 0 auto 36px; }

/* ── Feature grid ── */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); transition: transform .18s ease;
}
.card:hover { transform: translateY(-4px); }
.card-emoji { font-size: 2rem; margin-bottom: 10px; }
.card h3 { margin-bottom: 6px; font-size: 1.08rem; }
.card p { color: var(--ink-soft); font-size: .95rem; }

/* ── Languages ── */
.langs { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.lang {
  background: var(--bg); border-radius: 999px; padding: 12px 24px;
  font-weight: 700; box-shadow: var(--shadow);
}

/* ── Download ── */
.download {
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(255,209,102,.25), transparent 60%),
    linear-gradient(180deg, var(--bg), #EAF4FB);
}
.stores { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.store-btn {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: #1c2430; color: #fff; border-radius: 14px; padding: 12px 20px;
  min-width: 200px; position: relative; box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn.apk { background: linear-gradient(135deg, var(--blue), var(--green)); }
.store-icon { font-size: 1.6rem; }
.store-text { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.store-text small { font-size: .72rem; opacity: .85; }
.store-text strong { font-size: 1.05rem; }
.store-btn.soon { opacity: .55; cursor: default; }
.badge {
  position: absolute; top: -8px; right: -6px; background: var(--accent); color: #7a5b00;
  font-size: .65rem; font-weight: 800; border-radius: 999px; padding: 3px 9px;
}
.apk-note { color: var(--ink-soft); font-size: .85rem; max-width: 34rem; margin: 0 auto; }

/* ── Ads (collapse cleanly when unfilled) ── */
.ad-wrap { margin: 8px auto; min-height: 0; text-align: center; }
.adsbygoogle:not([data-ad-status="filled"]) { display: none !important; }

/* ── Footer ── */
.footer { background: #1c2430; color: #cbd5e0; padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.footer .brand-name .kid { color: #9cc4ea; }
.footer .brand-name .care { color: #a9dcab; }
.foot-note { font-size: .82rem; max-width: 36rem; opacity: .8; }
.copy { font-size: .8rem; opacity: .6; }

/* ── Breakpoints ── */
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 72px 0 56px; }
}
