/* Babil website — same design language as the app:
   cloud background, Duolingo-green energy, rounded everything. */
:root {
  --green: #58CC02;
  --green-dark: #58A700;
  --gold: #FFC800;
  --teal: #1CB0F6;
  --red: #FF4B4B;
  --purple: #CE82FF;
  --ink: #3C3C3C;
  --ink-soft: #777777;
  --cloud: #F7F7F7;
  --line: #E5E5E5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Baloo 2', 'Baloo Bhaijaan 2', system-ui, sans-serif;
  background: var(--cloud);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
.arabic { font-family: 'Baloo Bhaijaan 2', 'Baloo 2', sans-serif; direction: rtl; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,247,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 44px; height: 44px; border-radius: 12px; }
.logo span { font-size: 24px; font-weight: 800; color: var(--ink); }
.nav a.btn-small {
  background: var(--green); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px;
  padding: 9px 20px; border-radius: 14px;
  box-shadow: 0 3px 0 var(--green-dark);
  transition: transform .15s;
}
.nav a.btn-small:hover { transform: translateY(-2px); }

/* ── Hero ── */
.hero { padding: 64px 0 40px; text-align: center; position: relative; }
.hero .mascot { width: 190px; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.hero h1 {
  font-size: clamp(34px, 6vw, 56px); font-weight: 800; line-height: 1.15;
  margin: 18px 0 6px;
}
.hero h1 .hl { color: var(--green); }
.hero .ar-line { font-size: clamp(22px, 4vw, 32px); color: var(--ink-soft); font-weight: 600; }
.hero p.sub {
  font-size: 19px; color: var(--ink-soft); max-width: 560px; margin: 16px auto 30px;
}
.badge-row { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 12px 26px; border-radius: 16px; font-weight: 700; font-size: 17px;
  box-shadow: 0 4px 0 #222;
  transition: transform .15s;
}
.appstore-badge:hover { transform: translateY(-2px); }
.appstore-badge svg { width: 26px; height: 26px; }
.soon-pill {
  background: var(--gold); color: var(--ink); font-weight: 800; font-size: 14px;
  padding: 8px 18px; border-radius: 999px;
}

/* floating confetti dots */
.dot { position: absolute; border-radius: 50%; opacity: .5; }
.d1 { width: 18px; height: 18px; background: var(--gold);   top: 12%; left: 8%;  animation: bob 4s ease-in-out infinite; }
.d2 { width: 12px; height: 12px; background: var(--teal);   top: 30%; right: 10%; animation: bob 5s ease-in-out infinite .5s; }
.d3 { width: 14px; height: 14px; background: var(--purple); top: 62%; left: 13%; animation: bob 4.5s ease-in-out infinite 1s; }
.d4 { width: 10px; height: 10px; background: var(--red);    top: 50%; right: 16%; animation: bob 3.5s ease-in-out infinite .2s; }

/* ── Screenshots ── */
.shots { padding: 30px 0 10px; }
.shots-row {
  display: flex; gap: 26px; justify-content: center; align-items: flex-end; flex-wrap: wrap;
}
.phone {
  border-radius: 34px; overflow: hidden;
  border: 5px solid var(--ink);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  width: 230px; background: #fff;
}
.phone img { width: 100%; display: block; }
.phone.mid { width: 260px; transform: translateY(-14px); }
@media (max-width: 700px) { .phone { width: 180px } .phone.mid { width: 200px } }

/* ── Sections ── */
section.block { padding: 58px 0; }
section.block h2 {
  text-align: center; font-size: clamp(28px, 4.5vw, 38px); font-weight: 800; margin-bottom: 8px;
}
section.block p.lead {
  text-align: center; color: var(--ink-soft); font-size: 18px;
  max-width: 620px; margin: 0 auto 38px;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: #fff; border-radius: 22px; padding: 26px;
  border: 2px solid var(--line);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.card .emoji { font-size: 40px; display: block; margin-bottom: 10px; }
.card img.pose { width: 90px; margin-bottom: 10px; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* parents band */
.band {
  background: #fff; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line);
}
.checks { max-width: 560px; margin: 0 auto; list-style: none; }
.checks li {
  font-size: 17px; padding: 10px 0 10px 38px; position: relative;
}
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}

/* CTA */
.cta { text-align: center; padding: 70px 0; }
.cta .mascot { width: 130px; }
.cta h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 14px 0 22px; }

/* ── Footer ── */
footer {
  background: var(--ink); color: #ddd;
  padding: 34px 0; font-size: 15px;
}
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer a { color: #fff; text-decoration: none; font-weight: 600; margin-left: 22px; }
footer a:hover { text-decoration: underline; }
footer .foot-logo { display: flex; align-items: center; gap: 8px; }
footer .foot-logo img { width: 30px; height: 30px; border-radius: 8px; }

/* ── Inner pages (privacy / support) ── */
.page { max-width: 720px; margin: 0 auto; padding: 50px 24px 70px; }
.page h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.page h2 { font-size: 22px; font-weight: 800; margin: 30px 0 8px; }
.page p, .page li { color: #555; font-size: 16.5px; }
.page ul { padding-left: 22px; }
.page .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; }
.page .highlight {
  background: #fff; border: 2px solid var(--green); border-radius: 18px;
  padding: 18px 22px; font-weight: 700; font-size: 17px; color: var(--ink);
  margin: 18px 0;
}
.mailbtn {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 26px; border-radius: 14px; margin-top: 10px;
  box-shadow: 0 3px 0 #0e8fd0;
}
