/* Smart Kids Land — marketing site */
:root {
  --sky-1: #4facfe;
  --sky-2: #8fd3ff;
  --ink: #1f2a44;
  --ink-soft: #51607f;
  --sun: #ffc531;
  --coral: #ff6f61;
  --mint: #34d1a5;
  --grape: #9b6ef3;
  --card: #ffffff;
  --bg: #f4f9ff;
  --radius: 26px;
  --shadow: 0 14px 40px rgba(31, 42, 68, 0.10);
  --shadow-soft: 0 6px 18px rgba(31, 42, 68, 0.08);
  --font-head: "Baloo 2", "Baloo Bhaijaan 2", system-ui, sans-serif;
  --font-body: "Nunito", "Baloo Bhaijaan 2", system-ui, sans-serif;
}
[dir="rtl"] {
  --font-head: "Baloo Bhaijaan 2", "Baloo 2", system-ui, sans-serif;
  --font-body: "Baloo Bhaijaan 2", "Nunito", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 42, 68, 0.06);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-soft); }
.nav-links { display: flex; gap: 22px; margin-inline-start: auto; font-weight: 700; font-size: 0.95rem; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.lang-box { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  border: 2px solid rgba(31, 42, 68, 0.12); background: #fff;
  border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 0.88rem;
  font-family: var(--font-body); color: var(--ink); cursor: pointer;
}
.lang-btn:hover { border-color: var(--sky-1); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  padding: 8px; display: none; grid-template-columns: 1fr 1fr; gap: 2px;
  min-width: 320px; max-height: 70vh; overflow: auto; z-index: 60;
}
.lang-menu.open { display: grid; }
.lang-menu button {
  border: 0; background: none; text-align: start; padding: 9px 12px;
  border-radius: 12px; font-family: var(--font-body); font-size: 0.92rem;
  font-weight: 700; color: var(--ink); cursor: pointer; white-space: nowrap;
}
.lang-menu button:hover { background: var(--bg); }
.lang-menu button.active { background: #e8f4ff; color: #0b6fc2; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--sky-1) 0%, var(--sky-2) 58%, #d8f1ff 100%);
  color: #fff; overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding: 84px 0 110px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px; padding: 7px 16px; font-weight: 800; font-size: 0.9rem;
  margin-bottom: 20px; backdrop-filter: blur(6px);
}
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800;
  text-shadow: 0 3px 14px rgba(13, 60, 110, 0.25); margin-bottom: 18px;
}
.hero h1 .accent { color: var(--sun); }
.hero p.sub { font-size: 1.13rem; max-width: 560px; opacity: 0.96; margin-bottom: 30px; font-weight: 600; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0b1526; color: #fff; border-radius: 16px; padding: 12px 22px;
  box-shadow: 0 10px 26px rgba(11, 21, 38, 0.35);
  transition: transform 0.15s ease;
}
.store-btn:hover { transform: translateY(-2px) scale(1.02); }
.store-btn .apple { font-size: 1.9rem; line-height: 1; }
.store-btn .small { font-size: 0.68rem; opacity: 0.8; font-weight: 600; letter-spacing: 0.3px; }
.store-btn .big { font-size: 1.12rem; font-weight: 800; margin-top: 1px; }
.soon-chip {
  background: var(--sun); color: #5b3c00; font-weight: 800; font-size: 0.8rem;
  border-radius: 999px; padding: 5px 13px; box-shadow: var(--shadow-soft);
}
.hero-note { margin-top: 18px; font-weight: 700; font-size: 0.92rem; opacity: 0.92; }

/* phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(460px, 92%);
  border-radius: 40px; background: #0d1b2e; padding: 13px;
  box-shadow: 0 30px 70px rgba(10, 40, 80, 0.35);
  transform: rotate(-2.5deg);
}
.phone img { border-radius: 29px; }
.float-emoji { position: absolute; font-size: 2.4rem; filter: drop-shadow(0 6px 10px rgba(13, 60, 110, 0.25)); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-wave { display: block; width: 100%; margin-top: -1px; }

/* ---------- Stats ---------- */
.stats { margin-top: -58px; position: relative; z-index: 5; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 30px;
}
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--sky-1); }
.stat .lbl { font-weight: 700; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.sec-head p { color: var(--ink-soft); font-weight: 600; font-size: 1.05rem; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-card {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-soft); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat-emoji {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.85rem; margin-bottom: 16px;
}
.feat-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.feat-card p { color: var(--ink-soft); font-size: 0.94rem; font-weight: 600; }

.worlds { background: linear-gradient(180deg, #eaf6ff 0%, var(--bg) 100%); }
.worlds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.world {
  border-radius: var(--radius); padding: 26px 20px; text-align: center; color: #fff;
  box-shadow: var(--shadow-soft); transition: transform 0.18s ease;
}
.world:hover { transform: translateY(-6px) scale(1.02); }
.world .w-emoji { font-size: 2.6rem; margin-bottom: 8px; }
.world h3 { font-size: 1.15rem; font-weight: 800; }
.world .w-count { font-weight: 800; font-size: 0.85rem; opacity: 0.92; background: rgba(255,255,255,0.22); border-radius: 999px; padding: 3px 12px; display: inline-block; margin-top: 8px; }

.screens-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.screen-frame { border-radius: 30px; background: #0d1b2e; padding: 10px; box-shadow: var(--shadow); transition: transform 0.18s ease; }
.screen-frame:hover { transform: translateY(-6px); }
.screen-frame img { border-radius: 22px; }

.price-card {
  max-width: 660px; margin: 0 auto; text-align: center;
  background: linear-gradient(150deg, #fff 60%, #fff8e6 100%);
  border-radius: 34px; box-shadow: var(--shadow); padding: 52px 40px;
  border: 3px solid #ffe9ad;
}
.price-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.price-card .p-sub { color: var(--ink-soft); font-weight: 600; margin-bottom: 26px; }
.price-num { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; color: var(--coral); line-height: 1; }
.price-once { font-weight: 800; color: var(--ink-soft); margin-bottom: 16px; }
.price-note { font-weight: 700; font-size: 0.92rem; color: var(--mint); }

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border-radius: 20px; box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 24px; font-weight: 800;
  font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-head); font-size: 1.5rem; color: var(--sky-1); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--ink-soft); font-weight: 600; }

.cta-band {
  background: linear-gradient(140deg, var(--sky-1), var(--grape));
  border-radius: 34px; color: #fff; text-align: center; padding: 58px 30px;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 22px; }

/* ---------- Footer ---------- */
footer { background: #0f1c33; color: #c6d4ee; padding: 54px 0 34px; margin-top: 90px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 34px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.15rem; }
.foot-brand img { width: 38px; height: 38px; border-radius: 10px; }
.foot-tag { margin-top: 10px; font-weight: 600; font-size: 0.93rem; opacity: 0.8; }
.foot-links { display: grid; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.foot-links a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 20px; font-size: 0.85rem; opacity: 0.7; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* ---------- Legal pages ---------- */
.legal-hero { background: linear-gradient(160deg, var(--sky-1), var(--sky-2)); color: #fff; padding: 64px 0 48px; }
.legal-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
.legal-hero .updated { margin-top: 10px; font-weight: 700; opacity: 0.9; font-size: 0.95rem; }
.legal-body { max-width: 820px; margin: 0 auto; padding: 56px 24px 30px; }
.legal-body p.intro { font-size: 1.08rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 34px; }
.legal-body h2 { font-size: 1.25rem; font-weight: 800; margin: 30px 0 10px; }
.legal-body p { color: var(--ink-soft); font-weight: 600; }
.contact-chip {
  display: inline-block; margin-top: 10px; background: #e8f4ff; color: #0b6fc2;
  font-weight: 800; border-radius: 999px; padding: 8px 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .worlds-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 90px; text-align: center; }
  .hero p.sub { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .phone { transform: rotate(0); width: min(420px, 88%); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .screens-row { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .lang-menu { min-width: 270px; }
}
