* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Cairo", sans-serif;
  overflow-x: hidden;
  background: linear-gradient(180deg, #39c9ff 0%, #bff3ff 48%, #7ddd57 100%);
  color: #17324d;
}
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 36px) 15px;
  isolation: isolate;
}
.sun {
  position: fixed;
  top: 35px;
  left: 40px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: #fff36b;
  box-shadow: 0 0 45px #fff36b;
  animation: pulse 3s infinite ease-in-out;
  z-index: -3;
}
.cloud {
  position: fixed;
  width: 170px;
  height: 58px;
  background: white;
  border-radius: 80px;
  opacity: 0.88;
  z-index: -2;
  animation: float 8s infinite ease-in-out;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: white;
  border-radius: 50%;
}
.cloud::before {
  width: 78px;
  height: 78px;
  top: -35px;
  right: 26px;
}
.cloud::after {
  width: 92px;
  height: 92px;
  top: -47px;
  left: 28px;
}
.cloud.one {
  top: 90px;
  right: 8%;
}
.cloud.two {
  top: 250px;
  left: 7%;
  width: 125px;
  animation-delay: 1.5s;
}
.cloud.three {
  bottom: 135px;
  right: 15%;
  width: 135px;
  animation-delay: 0.8s;
}
.learning-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}
.learn-item {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(58px, 8vw, 96px);
  height: clamp(58px, 8vw, 96px);
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  color: #102f4f;
  font-size: clamp(28px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 10px 0 rgba(13, 101, 148, 0.18),
    0 18px 30px rgba(7, 66, 108, 0.16);
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.75);
  animation: crossFloat 12s infinite ease-in-out;
}
.letter-ar {
  background: linear-gradient(135deg, #ffdd2d, #fff7a8);
}
.letter-en {
  background: linear-gradient(135deg, #ff79c8, #ffd1eb);
}
.number {
  width: clamp(92px, 12vw, 150px);
  background: linear-gradient(135deg, #59e06d, #c9ff8b);
  font-size: clamp(24px, 4vw, 48px);
}
.math {
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6838, #ffd13d);
  color: #ffffff;
  font-size: clamp(48px, 7vw, 86px);
  text-shadow: 3px 3px 0 rgba(143, 37, 13, 0.28);
}
.shape-circle {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 30%, transparent 31%),
    linear-gradient(135deg, #30c9ff, #b4f3ff);
}
.shape-triangle {
  width: 0;
  height: 0;
  border-right: clamp(34px, 5vw, 58px) solid transparent;
  border-left: clamp(34px, 5vw, 58px) solid transparent;
  border-bottom: clamp(62px, 9vw, 110px) solid #8f66ff;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 18px 28px rgba(80, 57, 160, 0.22);
}
.pencil {
  background: linear-gradient(135deg, #ffffff, #bff3ff);
  color: #ff7044;
}
.cube {
  background: linear-gradient(135deg, #fff, #ffe18a);
  color: #2d83ff;
  font-size: clamp(42px, 6vw, 76px);
}
.item-one {
  top: 12%;
  right: 6%;
  animation-delay: 0s;
}
.item-two {
  top: 62%;
  left: 7%;
  animation-delay: -2s;
}
.item-three {
  top: 16%;
  left: 20%;
  animation-delay: -5s;
}
.item-four {
  bottom: 17%;
  right: 17%;
  animation-delay: -1s;
}
.item-five {
  top: 42%;
  right: 3%;
  animation-delay: -7s;
}
.item-six {
  bottom: 10%;
  left: 27%;
  animation-delay: -4s;
}
.item-seven {
  top: 35%;
  left: 3%;
  animation-delay: -8s;
}
.item-eight {
  top: 7%;
  right: 39%;
  animation-delay: -3s;
}
.hero-content {
  width: min(960px, 100%);
  padding: 20px 12px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.logo-stage {
  position: relative;
  width: min(430px, 88vw);
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  isolation: isolate;
  z-index: 0;
}
.logo-stage::before {
  content: "";
  position: absolute;
  inset: 7% 2% 3%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 22%, #fff36b 0 9px, transparent 10px),
    radial-gradient(circle at 83% 26%, #ff7bd5 0 8px, transparent 9px),
    radial-gradient(circle at 77% 82%, #54dd72 0 10px, transparent 11px),
    linear-gradient(135deg, #fff7a8, #93ecff 52%, #ffc2eb);
  box-shadow:
    0 12px 0 #4fb8df,
    0 24px 34px rgba(0, 83, 138, 0.18);
  transform: rotate(-2deg);
  animation: logoGlow 3.4s infinite ease-in-out;
  z-index: -1;
}
.logo-stage::after {
  content: "";
  position: absolute;
  inset: 13% 9%;
  border: 4px dashed rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  animation: dashSpin 10s infinite linear;
  z-index: -1;
}
.logo {
  width: min(380px, 82vw);
  border-radius: 26px;
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.18));
  transform-origin: 50% 92%;
  animation: logoBounce 2.4s infinite ease-in-out;
}
.logo-spark {
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
  z-index: 1;
  animation: sparkleDance 2.8s infinite ease-in-out;
}
.spark-one {
  top: 8%;
  right: 1%;
  background: #ffbf1f;
}
.spark-two {
  left: 3%;
  top: 31%;
  background: #ff5fb8;
  animation-delay: 0.45s;
}
.spark-three {
  right: 9%;
  bottom: 3%;
  background: #33c96f;
  font-size: 18px;
  animation-delay: 0.9s;
}
h1 {
  font-size: clamp(34px, 7vw, 76px);
  font-weight: 900;
  color: #092a45;
  margin-top: 10px;
  text-shadow:
    3px 3px 0 #fff,
    6px 6px 0 #ffd633;
}
.wait {
  display: inline-block;
  margin: 18px 0;
  padding: 14px 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff3027, #ff8b00);
  color: white;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  box-shadow:
    0 10px 0 #b91f18,
    0 18px 35px rgba(255, 58, 37, 0.32);
  animation: wiggle 1.6s infinite;
}
.subtitle {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  margin: 10px auto 22px;
}
.socials {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: auto;
  direction: ltr;
}
.social {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  color: #16324f;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(15px, 2.4vw, 22px);
  font-weight: 800;
  box-shadow:
    0 8px 0 #d8ecf5,
    0 14px 24px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  overflow-wrap: anywhere;
}
.social span:last-child {
  min-width: 0;
}
.social:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow:
    0 13px 0 #d8ecf5,
    0 20px 28px rgba(0, 0, 0, 0.16);
}
.icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 28px;
}
.youtube {
  background: #ff0000;
}
.instagram {
  background: radial-gradient(circle at 30% 30%, #ffd600, #ff0069 45%, #7638fa);
}
.ground {
  position: fixed;
  bottom: -45px;
  left: 0;
  width: 100%;
  height: 130px;
  background:
    radial-gradient(circle at 20% 20%, #a7f060 0 12px, transparent 13px),
    linear-gradient(180deg, #85d957, #38a637);
  border-radius: 50% 50% 0 0;
  z-index: -1;
}
.shape {
  position: fixed;
  font-size: 46px;
  animation: fly 5s infinite ease-in-out;
  z-index: -1;
}
.rocket {
  top: 24%;
  left: 12%;
}
.book {
  bottom: 50px;
  right: 8%;
  animation-delay: 0.7s;
}
.star {
  top: 18%;
  right: 18%;
  color: #ffe34d;
  animation-delay: 1s;
}
@keyframes logoBounce {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg) scale(1);
  }
  50% {
    transform: translateY(-16px) rotate(1.5deg) scale(1.025);
  }
}
@keyframes logoGlow {
  0%,
  100% {
    transform: rotate(-2deg) scale(1);
  }
  50% {
    transform: rotate(2deg) scale(1.03);
  }
}
@keyframes dashSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes sparkleDance {
  0%,
  100% {
    transform: translateY(0) rotate(0) scale(1);
  }
  50% {
    transform: translateY(-12px) rotate(16deg) scale(1.14);
  }
}
@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(1.5deg) scale(1.03);
  }
  75% {
    transform: rotate(-1.5deg) scale(1.03);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(35px);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
@keyframes fly {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-22px) rotate(8deg);
  }
}
@keyframes crossFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(-8deg) scale(1);
  }
  35% {
    transform: translate(46px, -34px) rotate(10deg) scale(1.06);
  }
  70% {
    transform: translate(-38px, 30px) rotate(-3deg) scale(0.96);
  }
}
@media (max-width: 900px) {
  .sun {
    top: 24px;
    left: 22px;
    width: 82px;
    height: 82px;
  }
  .cloud {
    transform: scale(0.86);
    transform-origin: center;
  }
  .cloud.one {
    top: 78px;
    right: -18px;
  }
  .cloud.two {
    top: 205px;
    left: -28px;
  }
  .cloud.three {
    bottom: 96px;
    right: 3%;
  }
  .logo-stage {
    width: min(390px, 82vw);
  }
  .logo {
    width: min(340px, 76vw);
  }
  .learn-item {
    width: clamp(50px, 9vw, 78px);
    height: clamp(50px, 9vw, 78px);
    border-width: 4px;
    border-radius: 18px;
    font-size: clamp(24px, 6vw, 48px);
    opacity: 0.88;
  }
  .number {
    width: clamp(78px, 15vw, 120px);
  }
  .shape {
    font-size: 38px;
  }
  .rocket {
    top: 19%;
    left: 5%;
  }
  .book {
    right: 4%;
  }
}
@media (max-width: 600px) {
  body {
    background: linear-gradient(180deg, #39c9ff 0%, #c8f5ff 56%, #7ddd57 100%);
  }
  .page {
    align-items: flex-start;
    padding: 18px 12px 120px;
  }
  .hero-content {
    width: 100%;
    padding: 10px 0 0;
  }
  .sun {
    top: 14px;
    left: 12px;
    width: 60px;
    height: 60px;
    box-shadow: 0 0 28px #fff36b;
  }
  .cloud {
    width: 118px;
    height: 42px;
    opacity: 0.72;
  }
  .cloud::before {
    width: 54px;
    height: 54px;
    top: -25px;
    right: 18px;
  }
  .cloud::after {
    width: 64px;
    height: 64px;
    top: -32px;
    left: 19px;
  }
  .cloud.one {
    top: 72px;
    right: -44px;
  }
  .cloud.two {
    top: 180px;
    left: -48px;
  }
  .cloud.three {
    display: none;
  }
  .logo-stage {
    width: min(330px, 86vw);
    margin-bottom: 4px;
  }
  .logo-stage::before {
    border-radius: 28px;
    box-shadow:
      0 8px 0 #4fb8df,
      0 16px 24px rgba(0, 83, 138, 0.16);
  }
  .logo-stage::after {
    border-width: 3px;
    border-radius: 24px;
  }
  .logo {
    width: min(290px, 78vw);
    border-radius: 18px;
  }
  h1 {
    font-size: clamp(30px, 10vw, 48px);
    margin-top: 8px;
    text-shadow:
      2px 2px 0 #fff,
      4px 4px 0 #ffd633;
  }
  .wait {
    margin: 14px 0;
    padding: 10px 26px;
    border-radius: 18px;
    font-size: clamp(25px, 8vw, 36px);
    box-shadow:
      0 7px 0 #b91f18,
      0 13px 24px rgba(255, 58, 37, 0.28);
  }
  .subtitle {
    max-width: 18rem;
    font-size: clamp(18px, 5.4vw, 24px);
    line-height: 1.45;
    margin-bottom: 16px;
  }
  .socials {
    width: 100%;
    max-width: 420px;
    gap: 12px;
  }
  .social {
    border-radius: 24px;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    font-size: clamp(13px, 3.7vw, 16px);
    line-height: 1.35;
    box-shadow:
      0 6px 0 #d8ecf5,
      0 10px 18px rgba(0, 0, 0, 0.11);
  }
  .icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 22px;
  }
  .logo-spark {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }
  .learn-item {
    opacity: 0.82;
  }
  .item-one {
    top: 11%;
    right: 2%;
  }
  .item-two {
    top: 73%;
    left: 2%;
  }
  .item-four {
    bottom: 19%;
    right: 2%;
  }
  .item-five {
    display: none;
  }
  .item-seven {
    top: 44%;
    left: -8px;
  }
  .item-eight {
    top: 4%;
    right: 52%;
  }
  .item-three,
  .item-six {
    display: none;
  }
  .shape {
    font-size: 32px;
    opacity: 0.86;
  }
  .rocket {
    top: 28%;
    left: 2%;
  }
  .book {
    bottom: 76px;
    right: 2%;
  }
  .star {
    top: 16%;
    right: 76%;
  }
  .ground {
    height: 100px;
    bottom: -36px;
  }
}
@media (max-width: 380px) {
  .page {
    padding-inline: 10px;
  }
  .logo-stage {
    width: min(300px, 88vw);
  }
  .logo {
    width: min(260px, 80vw);
  }
  .social {
    padding: 10px;
    gap: 8px;
  }
  .icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  .learn-item {
    width: 46px;
    height: 46px;
    border-width: 3px;
    border-radius: 15px;
    font-size: 24px;
  }
  .math {
    font-size: 38px;
  }
  .number {
    width: 70px;
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
