@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cairo-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cairo-arabic-700-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/cairo-arabic-800-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cairo-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cairo-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/cairo-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #231433;
  --muted: #6f6280;
  --deep: #4c1d95;
  --orange: #f97316;
  --paper: #fff8f3;
  --card: #ffffff;
  --line: rgba(76, 29, 149, 0.12);
  color: var(--ink);
  font-family: "Cairo", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(700px 480px at -10% 20%, rgba(249, 115, 22, 0.22), transparent 55%),
    radial-gradient(640px 420px at 80% 70%, rgba(56, 189, 248, 0.16), transparent 60%),
    var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { font-family: inherit; }

.wash { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.wash i {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite;
}
.wash i:nth-child(1) { width: 280px; height: 280px; background: #c4b5fd; top: 12%; left: -80px; }
.wash i:nth-child(2) { width: 220px; height: 220px; background: #fdba74; top: 38%; right: -60px; animation-duration: 20s; }
.wash i:nth-child(3) { width: 180px; height: 180px; background: #7dd3fc; bottom: 18%; left: 12%; animation-duration: 18s; }
.wash i:nth-child(4) { width: 240px; height: 240px; background: #f9a8d4; bottom: -40px; right: 18%; animation-duration: 22s; }
.nav, main, footer { position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
  background: rgba(255, 248, 243, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; mix-blend-mode: multiply; }
.nav nav { display: flex; gap: 18px; align-items: center; }
.nav nav a { text-decoration: none; font-weight: 700; }
.menu {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin: 22px 4vw 8px;
  padding: 42px 4vw;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,237,213,0.9) 42%, rgba(237,233,254,0.92));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 24px 60px rgba(76, 29, 149, 0.08);
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0;
}
h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.15;
  animation: rise 0.8s both;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--deep), #8b5cf6 45%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: 18px; line-height: 1.9; color: var(--muted); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  border: 0;
  border-radius: 16px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}
.solid {
  color: white;
  background: linear-gradient(100deg, var(--deep), #7c3aed 55%, var(--orange));
  box-shadow: 0 14px 30px rgba(76, 29, 149, 0.22);
}
.ghost { background: white; border: 1px solid var(--line); color: var(--deep); }
.apk-note { color: var(--deep); font-weight: 700; }

.lockup {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.lockup img {
  width: min(280px, 70vw);
  mix-blend-mode: multiply;
  animation: pop 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.lockup b { letter-spacing: 0.45em; color: var(--deep); }
.ring {
  position: absolute;
  width: min(360px, 78vw);
  height: min(360px, 78vw);
  border-radius: 50%;
  border: 1px dashed rgba(76, 29, 149, 0.35);
  animation: spin 36s linear infinite;
}
.ring.delay { width: min(280px, 62vw); height: min(280px, 62vw); animation-duration: 26s; animation-direction: reverse; border-style: solid; border-color: rgba(249, 115, 22, 0.45); }

.identity, #subjects, #teachers, .path { padding: 36px 6vw; }
.identity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.identity article:nth-child(1) { background: linear-gradient(180deg, #fff, #f5f3ff); }
.identity article:nth-child(2) { background: linear-gradient(180deg, #fff, #fff7ed); }
.identity article:nth-child(3) { background: linear-gradient(180deg, #fff, #ecfeff); }
#subjects { background: linear-gradient(180deg, rgba(237, 233, 254, 0.65), rgba(255, 248, 243, 0)); }
#teachers { background: linear-gradient(180deg, rgba(255, 237, 213, 0.85), rgba(255, 248, 243, 0.2)); }
.path { background: linear-gradient(180deg, rgba(224, 242, 254, 0.7), transparent); }
.identity article, .subject, .step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(76, 29, 149, 0.05);
}
.identity strong { color: var(--orange); }
.section-head h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 46px); }
.subjects, .teachers { display: grid; gap: 14px; }
.subjects { grid-template-columns: repeat(4, 1fr); }
.subject {
  min-height: 140px;
  color: white;
  border: 0;
  transform: translateY(18px);
  opacity: 0;
}
.subject.show { animation: rise 1.3s cubic-bezier(0.16, 1, 0.3, 1) both; }
.subject b { display: block; font-size: 22px; margin-top: 8px; }
.teachers { grid-template-columns: repeat(4, 1fr); }
.teacher {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
}
.teacher.show { animation: rise 1.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.teacher:hover { transform: translateY(-8px); transition: transform 0.8s ease; }
.teacher img { width: 100%; height: auto; object-fit: contain; background: white; }
.teacher figcaption { padding: 12px 14px 16px; text-align: center; }
.teacher b { display: block; }
.teacher span { color: var(--muted); }
.mono {
  height: 280px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(180deg, #4c1d95, #fb923c);
  font-size: 42px;
  font-weight: 800;
}
.path ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0 0 20px;
}
.path li {
  background: white;
  border-radius: 24px;
  padding: 18px;
  border: 1px solid var(--line);
}
.path span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3e8ff;
  color: var(--deep);
  font-weight: 800;
}
.path b { display: block; margin: 10px 0 4px; font-size: 20px; }
.path small { color: var(--muted); line-height: 1.7; }

.download {
  margin: 20px 6vw 40px;
  padding: 28px;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: center;
  color: white;
  background: linear-gradient(120deg, #2e1064, #6d28d9 55%, #f97316);
}
.download .eyebrow { color: #ffd7bf; }
.phone {
  justify-self: center;
  width: min(220px, 70%);
  min-height: 280px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  animation: floaty 7s ease-in-out infinite;
}
.phone-bar { width: 70px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.7); margin-bottom: 24px; }
.phone em { font-style: normal; opacity: 0.85; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding: 28px 6vw 40px;
  border-top: 1px solid var(--line);
}
footer img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
footer div:first-child { display: flex; align-items: center; gap: 8px; }
footer span { letter-spacing: 0.28em; color: var(--muted); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-weight: 700; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 50% { transform: translate(36px, -28px) scale(1.06); } }
@keyframes floaty { 50% { transform: translateY(-12px); } }

@media (max-width: 980px) {
  .hero, .identity, .subjects, .teachers, .path ol, .download { grid-template-columns: 1fr 1fr; }
  .hero { margin: 16px 4vw; }
  .path ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu { display: inline-block; }
  .nav nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 6vw;
    left: 6vw;
    background: white;
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 16px 40px rgba(36, 20, 51, 0.12);
  }
  .nav nav.open { display: flex; }
  .hero, .identity, .subjects, .teachers, .path ol, .download { grid-template-columns: 1fr; }
  .teacher img { height: auto; }
  .lockup { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
  .subject, .teacher { opacity: 1; transform: none; }
}
