/* Layout: a bright "classroom wall" — sunny ground, deep-ink type, big rounded cards. One light look on purpose (kids' product). */
:root {
  --sun: #FFD54A;
  --sun-soft: #FFF3C4;
  --ground: #FFFBEF;
  --ink: #1F2547;
  --ink-soft: #565C7E;
  --teal: #13858C;
  --pom: #E5484D;
  --card: #FFFFFF;
  --line: #EADFB8;
  --display: "Lalezar", "Baloo Bhaijaan 2", system-ui, sans-serif;
  --body: "Baloo Bhaijaan 2", "Geeza Pro", "Noto Sans Arabic", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px;
  background: var(--pom); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 #B8323A; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #B8323A; }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: 0 4px 0 var(--line); border: 2px solid var(--line); }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; display: flex; align-items: center; gap: 18px; padding: 10px 16px;
  background: rgba(255, 251, 239, .94); backdrop-filter: blur(8px); border-bottom: 2px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 46px; height: 46px; border-radius: 14px; background: var(--sun); display: grid; place-items: center; font-family: var(--display); font-size: 30px; color: var(--pom); }
.brand b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.brand small { color: var(--ink-soft); font-size: 13px; }
.top nav { display: flex; gap: 18px; margin-inline-start: auto; }
.top nav a { text-decoration: none; font-weight: 700; color: var(--ink-soft); }
.top nav a:hover { color: var(--ink); }
.who { display: flex; align-items: center; gap: 8px; }
.who .email { font-size: 14px; color: var(--ink-soft); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; }
.pill { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--sun-soft); }
.pill.on { background: #CDEFD6; color: #1F7A38; }

main { max-width: 1100px; margin: 0 auto; padding-inline: 16px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding-block: 44px 28px; }
.eyebrow { display: inline-block; margin: 0 0 8px; background: var(--sun); padding: 2px 14px; border-radius: 999px; font-weight: 800; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 58px); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.lead { color: var(--ink-soft); max-width: 46ch; margin: 0 0 22px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; border: 0; padding: 0; border-radius: 28px; overflow: hidden; background: var(--sun); box-shadow: 0 10px 0 var(--line); }
.hero-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
a.card, a.hero-media { display: block; text-decoration: none; color: inherit; } a.card { display: flex; }
.play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--pom); display: grid; place-items: center; font-size: 34px; padding-inline-start: 6px; }
.tag { position: absolute; top: 12px; right: 12px; background: var(--card); padding: 2px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.tag.free { background: #2FA44F; color: #fff; }

.block { padding-block: 34px; border-top: 2px dashed var(--line); }
.head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.head h2 { font-family: var(--display); font-weight: 400; font-size: 36px; margin: 0; }
.head p { margin: 0; color: var(--ink-soft); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; text-align: start; border: 0; padding: 0 0 14px; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: 0 6px 0 var(--line); display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.card img, .card .ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 8px; }
.card b { font-family: var(--display); font-weight: 400; font-size: 24px; padding-inline: 14px; }
.card small { color: var(--ink-soft); padding-inline: 14px; font-size: 15px; }
.card.soon { opacity: .75; }
.ph { display: grid; place-items: center; font-family: var(--display); font-size: 48px; color: #fff; }
.ph.letters { background: var(--pom); }
.ph.numbers { background: var(--teal); }

.frame { border-radius: 24px; overflow: hidden; background: #E6F3FA; box-shadow: 0 6px 0 var(--line); }
.frame iframe { width: 100%; height: 720px; border: 0; display: block; }
.frame.tall iframe { height: 820px; }
.locked { background: var(--card); border-radius: 24px; padding: 40px 20px; text-align: center; box-shadow: 0 6px 0 var(--line); }
.big-lock { font-size: 48px; }

.plan { background: var(--card); border-radius: 28px; padding: 28px; box-shadow: 0 8px 0 var(--line); display: grid; grid-template-columns: auto 1fr; gap: 10px 36px; align-items: center; }
.amount { display: flex; align-items: center; gap: 8px; }
.amount b { font-family: var(--display); font-weight: 400; font-size: 84px; line-height: 1; color: var(--pom); }
.amount span { font-weight: 800; line-height: 1.3; }
.plan ul { margin: 0; padding-inline-start: 22px; }
.pay { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--ink-soft); margin: 0; flex-basis: 100%; }
.status { grid-column: 1 / -1; margin: 0; font-weight: 700; }

.foot { text-align: center; color: var(--ink-soft); padding: 30px 16px 40px; font-size: 14px; }

.modal { position: fixed; inset: 0; z-index: 20; background: rgba(20, 22, 40, .7); display: grid; place-items: center; padding: 16px; }
.sheet { position: relative; background: var(--card); border-radius: 24px; padding: 26px; width: min(440px, 100%); display: flex; flex-direction: column; gap: 10px; }
.sheet h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0; }
.sheet p { margin: 0; color: var(--ink-soft); }
.sheet input { font: inherit; padding: 10px 14px; border-radius: 12px; border: 2px solid var(--line); }
.x { position: absolute; top: 10px; left: 10px; border: 0; background: var(--sun-soft); width: 36px; height: 36px; border-radius: 50%; z-index: 2; }
.video-sheet { width: min(1000px, 100%); padding: 0; background: #000; overflow: hidden; }
.video-wrap { position: relative; }
.video-wrap video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }
.mark-wm { position: absolute; top: 12%; left: 8%; color: rgba(255,255,255,.35); font-size: 13px; pointer-events: none; direction: ltr; transition: top 2s, left 2s; text-shadow: 0 1px 2px rgba(0,0,0,.3); }

@media (max-width: 820px) {
  .top nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 24px; }
  .cards { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; }
  .frame iframe { height: 640px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
