:root {
  --text: #ecf6ff;
  --muted: #b9ccdc;
  --line: rgba(255, 255, 255, .12);
  --green: #00c853;
  --teal: #00c2b7;
  --blue: #2ea8ff;
  --lime: #b5db2a;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 18% 18%, rgba(181, 219, 42, .18), transparent 26%), radial-gradient(circle at 82% 12%, rgba(46, 168, 255, .17), transparent 28%), radial-gradient(circle at 55% 55%, rgba(0, 194, 183, .12), transparent 30%), linear-gradient(180deg, #061019 0%, #09131d 44%, #08131b 100%);
  font-family: 'Cairo', system-ui, sans-serif;
  overflow-x: hidden
}

body[dir='ltr'] {
  font-family: 'Inter', 'Cairo', system-ui, sans-serif
}

body.modal-open {
  overflow: hidden
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 85%);
  pointer-events: none;
  z-index: 0
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .45;
  pointer-events: none;
  z-index: 0
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--lime), var(--teal));
  top: 6%;
  right: 8%;
  animation: drift 10s ease-in-out infinite alternate
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  left: 6%;
  bottom: 10%;
  animation: drift 12s ease-in-out infinite alternate-reverse
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1)
  }

  to {
    transform: translate3d(26px, -22px, 0) scale(1.08)
  }
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .08));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px)
}

.site-header {
  position: sticky;
  top: 18px;
  width: min(1280px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 50
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none
}

.logo-box {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden
}

.logo-box img {
  width: 52px;
  height: 52px;
  object-fit: contain
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05
}

.brand-text strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.45rem;
  font-weight: 900
}

.brand-text span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: .98rem;
  transition: .25s ease
}

.main-nav a:hover {
  color: #fff;
  transform: translateY(-1px)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.lang-switch {
  min-width: 54px;
  height: 48px;
  border: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 900;
  cursor: pointer
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 18px;
  padding: 9px 22px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: .25s ease
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 16px 34px rgba(0, 194, 183, .25)
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14)
}

main {
  position: relative;
  z-index: 1
}

.section,
.hero {
  width: min(1280px, calc(100% - 28px));
  margin-inline: auto
}

.section {
  padding: 80px 0
}

.hero {
  min-height: 92vh;
  padding: 80px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--muted);
  font-weight: 800
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--green));
  box-shadow: 0 0 18px var(--green)
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: .98;
  font-weight: 900
}

.hero h1 span {
  display: block;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--lime), #8ee36f 20%, var(--teal) 58%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero h1 small {
  display: block;
  color: #d7e6f3;
  font-size: .42em;
  margin-top: 14px
}

.lead {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--muted);
  max-width: 720px;
  margin: 22px 0 0
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px
}

.stat {
  border-radius: 24px;
  padding: 18px
}

.stat strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
  font-size: .96rem
}

.hero-visual {
  display: flex;
  justify-content: center
}

.phone-shell {
  position: relative;
  width: min(420px, 90%);
  aspect-ratio: .73;
  border-radius: 38px;
  padding: 18px;
  overflow: hidden
}

.phone-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--teal));
  top: -40px;
  left: -20px;
  filter: blur(70px);
  opacity: .45
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 28px;
  padding: 18px;
  background: radial-gradient(circle at 20% 20%, rgba(181, 219, 42, .18), transparent 25%), linear-gradient(180deg, rgba(6, 16, 25, .86), rgba(8, 18, 28, .94));
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: 900
}

.mini-card {
  position: absolute;
  width: 68%;
  border-radius: 22px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24)
}

.mini-card h4 {
  margin: 0 0 8px;
  font-size: 1rem
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: .92rem
}

.card-a {
  top: 86px;
  right: 12px;
  animation: floatY 5s ease-in-out infinite
}

.card-b {
  top: 230px;
  left: 8px;
  animation: floatY 6s ease-in-out infinite reverse
}

.card-c {
  bottom: 5px;
  right: 26px;
  animation: floatY 5.6s ease-in-out infinite
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.pulse-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  border: 1px solid rgba(46, 168, 255, .2);
  bottom: 30px;
  left: 20px;
  animation: pulse 3s ease-out infinite
}

@keyframes pulse {
  0% {
    transform: scale(.75);
    opacity: .6
  }

  100% {
    transform: scale(1.4);
    opacity: 0
  }
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center
}

.section-kicker {
  display: inline-block;
  color: #9dd7d9;
  font-weight: 900;
  letter-spacing: .3px;
  margin-bottom: 10px
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.25
}

.about-grid,
.features-grid,
.tracks-grid,
.social-grid,
.teachers-grid {
  display: grid;
  gap: 18px
}

.about-grid {
  grid-template-columns: repeat(3, 1fr)
}

.features-grid {
  grid-template-columns: repeat(3, 1fr)
}

.tracks-grid {
  grid-template-columns: repeat(4, 1fr)
}

.teachers-grid {
  grid-template-columns: repeat(3, 1fr)
}

.about-card,
.feature,
.track,
.social-card,
.teacher-card {
  border-radius: 26px;
  padding: 24px
}

.about-card h3,
.feature h3,
.track h3,
.teacher-info h3 {
  margin: 0 0 10px;
  font-size: 1.2rem
}

.about-card p,
.feature p,
.track p,
.teacher-info p {
  margin: 0;
  color: var(--muted);
  line-height: 2
}

.feature .icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(0, 200, 83, .22), rgba(46, 168, 255, .18));
  font-size: 1.6rem
}

.teacher-card {
  padding: 16px
}

.teacher-image-wrap {
  aspect-ratio: .82;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, .05)
}

.teacher-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.teacher-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  border-radius: 32px;
  padding: 28px
}

.teacher-copy p {
  color: var(--muted);
  line-height: 2;
  margin: 14px 0 0
}

.teacher-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: center
}

.badge-card {
  border-radius: 24px;
  padding: 22px 16px;
  font-weight: 900;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 200, 83, .18), rgba(46, 168, 255, .2));
  border: 1px solid rgba(255, 255, 255, .12)
}

.download-box {
  border-radius: 34px;
  padding: 34px;
  text-align: center
}

.download-box p {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 2
}

.store-buttons {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap
}

.store-btn {
  min-width: 250px;
  padding: 16px 20px;
  border: none;
  border-radius: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-family: inherit;
  transition: .25s ease
}

.store-btn:hover {
  transform: translateY(-3px)
}

.store-btn.play {
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 18px 40px rgba(0, 200, 83, .22)
}

.store-btn.app {
  background: linear-gradient(135deg, #203043, #121b23);
  border: 1px solid rgba(255, 255, 255, .1)
}

.store-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  font-size: 1.55rem;
  font-weight: 900
}

.store-btn small {
  display: block;
  opacity: .75;
  font-family: 'Inter', sans-serif;
  margin-bottom: 3px
}

.store-btn strong {
  display: block;
  font-size: 1.08rem
}

.social-grid {
  grid-template-columns: repeat(3, 1fr)
}

.social-card {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  transition: .25s ease
}

.social-card:hover {
  transform: translateY(-4px) scale(1.01)
}

.site-footer {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0 0 40px;
  color: var(--muted);
  text-align: center
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .9s ease
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0)
}

.delay-1 {
  transition-delay: .12s
}

.delay-2 {
  transition-delay: .22s
}

.floating {
  animation: floatSoft 4.6s ease-in-out infinite
}

.delay-1.floating {
  animation-delay: .5s
}

.delay-2.floating {
  animation-delay: 1s
}

@keyframes floatSoft {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform .22s ease
}

.magnetic {
  transition: transform .15s ease
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 9, 16, .28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  z-index: 100
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible
}

.modal-card {
  width: min(460px, 100%);
  border-radius: 28px;
  padding: 28px 22px 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(18, 27, 35, .96), rgba(14, 21, 30, .96));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
  position: relative
}

.modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer
}

.modal-icon {
  width: 84px;
  height: 84px;
  margin: 8px auto 18px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #203043, #111a22);
  font-size: 2rem;
  color: #fff
}

.modal-card h3 {
  margin: 0 0 10px;
  font-size: 1.8rem
}

.modal-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.9
}

@media (max-width:1100px) {

  .hero,
  .teacher-wrap {
    grid-template-columns: 1fr
  }

  .hero {
    padding-top: 54px
  }

  .hero-visual {
    order: -1
  }

  .about-grid,
  .features-grid,
  .tracks-grid,
  .social-grid,
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:820px) {
  .site-header {
    width: min(100% - 16px, 100%);
    top: 10px;
    padding: 14px;
    border-radius: 24px;
    flex-wrap: wrap;
    justify-content: center;
    position: static
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 12px
  }

  .header-actions {
    width: 100%;
    justify-content: center
  }

  .header-cta {
    flex: 1
  }

  .hero,
  .section,
  .site-footer {
    width: calc(100% - 18px)
  }
}

@media (max-width:640px) {

  .about-grid,
  .features-grid,
  .tracks-grid,
  .social-grid,
  .teachers-grid {
    grid-template-columns: 1fr
  }

  .store-btn {
    width: 100%;
    min-width: 0
  }
}


.menu-toggle {
  display: none;
  width: 50px;
  height: 48px;
  border: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 0 12px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: .22s ease
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 9, 16, .36);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
  z-index: 89
}

.mobile-nav-sheet {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px) scale(.98);
  transition: .28s ease;
  padding: 16px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 20, 29, .96), rgba(8, 16, 25, .96));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .42)
}

.mobile-nav-sheet.show,
.mobile-nav-backdrop.show {
  opacity: 1;
  visibility: visible
}

.mobile-nav-sheet.show {
  transform: translateY(0) scale(1)
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.logo-box.small {
  width: 52px;
  height: 52px;
  border-radius: 16px
}

.logo-box.small img {
  width: 42px;
  height: 42px
}

.mobile-close {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer
}

.mobile-nav-links {
  display: grid;
  gap: 10px
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08)
}

.mobile-nav-links a:hover {
  background: rgba(255, 255, 255, .08)
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 14px
}

.wide {
  width: 100%
}

@media (max-width:820px) {
  .site-header {
    padding: 12px 14px;
    border-radius: 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center
  }

  .main-nav,
  .header-cta {
    display: none
  }

  .header-actions {
    width: auto;
    justify-content: flex-end
  }

  .menu-toggle {
    display: flex
  }

  .brand {
    min-width: 0
  }

  .brand .logo-box {
    width: 56px;
    height: 56px;
    border-radius: 18px
  }

  .brand .logo-box img {
    width: 44px;
    height: 44px
  }

  .brand-text strong {
    font-size: 1.2rem
  }

  .brand-text span {
    font-size: .92rem
  }
}

@media (min-width:821px) {

  .mobile-nav-sheet,
  .mobile-nav-backdrop,
  .menu-toggle {
    display: none !important
  }
}