:root {
  --navy: #0b1026;
  --blue: #2563eb;
  --blue-bright: #1d6cff;
  --mint: #2ef2c2;
  --ice: #eef6ff;
  --text: #172033;
  --muted: #3d4661;
  --card: rgba(255, 255, 255, 0.78);
  --shadow: 0 30px 90px rgba(37, 99, 235, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 18%, rgba(46, 242, 194, 0.22), transparent 28rem),
    radial-gradient(circle at 12% 76%, rgba(37, 99, 235, 0.14), transparent 24rem),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 48%, #ffffff 100%);
  font-family: "Noto Sans Arabic", "Inter", Tahoma, Arial, "Segoe UI", sans-serif;
}

button {
  font: inherit;
}

.poster {
  position: relative;
  isolation: isolate;
  width: min(940px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  border-radius: clamp(0px, 6vw, 84px);
  padding: clamp(34px, 6vw, 84px) clamp(18px, 6vw, 88px) 30px;
  text-align: center;
  background:
    radial-gradient(circle at 48% 59%, rgba(46, 242, 194, 0.22), transparent 15rem),
    radial-gradient(circle at 18% 72%, rgba(37, 99, 235, 0.12), transparent 19rem),
    linear-gradient(180deg, #f8fbff 0%, #edf7ff 52%, #f8fbff 100%);
  box-shadow: inset 0 0 70px rgba(37, 99, 235, 0.09);
}

.poster::before,
.poster::after {
  position: absolute;
  inset: auto;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.poster::before {
  width: 440px;
  height: 440px;
  right: -120px;
  top: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 68%);
}

.poster::after {
  width: 520px;
  height: 520px;
  left: -170px;
  bottom: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 242, 194, 0.18), transparent 68%);
}

.logo {
  display: inline-flex;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  margin-bottom: clamp(18px, 4vw, 34px);
  color: var(--navy);
  font-family: "Inter", Tahoma, Arial, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 6.6vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  
}

.logo-mark {
  position: relative;
  display: inline-grid;
  width: 1.36em;
  height: 1.16em;
  place-items: center;
  margin-inline-end: -0.14em;
  
}

.logo-mark span {
  color: var(--navy);
  font-size: 1.04em;
  font-weight: 900;
  line-height: 1;
}

.logo-mark::before {
  position: absolute;
  inset: 0.02em 0.05em 0.02em 0.05em;
  border: 0.045em solid var(--mint);
  border-radius: 50%;
  content: "";
  transform: rotate(14deg);
}

.logo-mark::after {
  position: absolute;
  width: 0.34em;
  height: 0.34em;
  right: 0.07em;
  top: -0.01em;
  content: "";
  background: var(--blue);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.logo-mark i {
  position: absolute;
  width: 0.13em;
  height: 0.13em;
  border-radius: 50%;
  background: var(--mint);
}

.logo-mark i:nth-of-type(1) {
  left: 0.08em;
  top: 0.46em;
}

.logo-mark i:nth-of-type(2) {
  left: 0.25em;
  top: 0.15em;
}

.logo-mark i:nth-of-type(3) {
  right: 0.15em;
  bottom: 0.1em;
}

.logo-mark i:nth-of-type(4) {
  left: 0.43em;
  bottom: -0.01em;
  background: var(--blue);
}

.hero h1 {
  margin: 0;
  color: gray;
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(3.2rem, 11vw, 6.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.brand-name-ar {
  margin: clamp(12px, 2.2vw, 22px) 0 0;
  color: var(--navy);
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(2.3rem, 11.5vw, 6.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  direction: rtl;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.brand-name {
  margin: clamp(12px, 2vw, 20px) 0 0;
  color: var(--navy);
  font-family: "Inter", Tahoma, Arial, "Segoe UI", sans-serif;
  font-size: clamp(3.2rem, 10vw, 6.6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.tagline {
  margin: 12px 0 0;
  color: var(--blue);
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(1.65rem, 5.4vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
}

.intro {
  max-width: 620px;
  margin: clamp(18px, 4vw, 30px) auto 0;
  color: #151a2e;
  font-size: clamp(1.16rem, 3.3vw, 1.68rem);
  font-weight: 500;
  line-height: 1.7;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: clamp(54px, 8vw, 72px);
  margin-top: clamp(22px, 5vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0 clamp(22px, 5vw, 42px);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.12);
  font-size: clamp(1.25rem, 4.2vw, 2rem);
  font-weight: 800;
}

.launch-pill svg {
  width: 1.3em;
  height: 1.3em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.learning-cloud {
  position: relative;
  height: clamp(320px, 52vw, 450px);
  margin: clamp(26px, 5vw, 48px) auto 0;
}

.cloud-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(96%, 730px);
  height: min(76%, 390px);
  border-radius: 48% 54% 46% 56%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.24) 36%, transparent 58%),
    radial-gradient(circle at 20% 58%, rgba(255, 255, 255, 0.8), transparent 32%),
    radial-gradient(circle at 76% 54%, rgba(255, 255, 255, 0.76), transparent 32%),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.72), transparent 28%);
  border: 3px solid rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 0 52px rgba(37, 99, 235, 0.18),
    0 0 58px rgba(46, 242, 194, 0.14);
}

.cloud-glow::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(46, 242, 194, 0.7) 0 2px, transparent 3px);
  background-position:
    14% 42%,
    78% 38%;
  background-size:
    62px 54px,
    86px 70px;
  opacity: 0.8;
}

.network-lines {
  position: absolute;
  inset: 4% 0 auto;
  width: 100%;
  height: 82%;
}

.line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 4.5;
  stroke-dasharray: 10 12;
}

.line.blue {
  stroke: var(--blue);
}

.line.mint {
  stroke: #19d4bd;
}

.dot {
  fill: var(--mint);
  filter: drop-shadow(0 0 8px rgba(46, 242, 194, 0.8));
}

.avatar,
.center-node,
.mini-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.avatar {
  width: clamp(112px, 22vw, 190px);
  height: clamp(112px, 22vw, 190px);
  border: clamp(6px, 1.5vw, 12px) solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 0 0 2px rgba(46, 242, 194, 0.2),
    0 18px 42px rgba(37, 99, 235, 0.16),
    0 0 52px rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.avatar-teacher {
  left: clamp(8px, 4vw, 34px);
  top: 35%;
}

.avatar-teacher img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-student {
  right: clamp(8px, 4vw, 34px);
  top: 35%;
  background: linear-gradient(180deg, #eaf7ff, #ffffff);
}

.avatar-student img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-node {
  left: 50%;
  top: 49%;
  width: clamp(118px, 19vw, 184px);
  height: clamp(118px, 19vw, 184px);
  border: clamp(12px, 2.4vw, 22px) solid rgba(255, 255, 255, 0.95);
  background: radial-gradient(circle, #7af6df, #25d7c2);
  box-shadow:
    0 18px 50px rgba(37, 99, 235, 0.18),
    0 0 55px rgba(46, 242, 194, 0.3);
  transform: translate(-50%, -50%);
}

.center-node svg {
  width: 56%;
  height: 56%;
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.mini-node {
  width: clamp(48px, 9vw, 74px);
  height: clamp(48px, 9vw, 74px);
  color: #ffffff;
  border: clamp(5px, 1vw, 9px) solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

.mini-node svg {
  width: 54%;
  height: 54%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.node-book {
  left: 50%;
  top: 13%;
  background: var(--blue);
  transform: translateX(-50%);
}

.node-pen {
  right: 18%;
  top: 28%;
  background: #26dcc5;
}

.node-flask {
  left: 20%;
  bottom: 17%;
  background: var(--blue);
}

.node-idea {
  right: 19%;
  bottom: 17%;
  background: var(--blue);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 4vw, 40px);
  margin-top: clamp(14px, 3vw, 24px);
}

.feature-card {
  display: grid;
  justify-items: center;
  min-width: 0;
  min-height: clamp(150px, 21vw, 220px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: clamp(24px, 4vw, 36px);
  padding: clamp(16px, 3vw, 26px) clamp(12px, 2.6vw, 22px);
  background: var(--card);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.1);
}

.feature-icon {
  display: grid;
  width: clamp(54px, 8vw, 72px);
  height: clamp(54px, 8vw, 72px);
  place-items: center;
  margin-bottom: clamp(10px, 2vw, 16px);
  border-radius: 50%;
  background: rgba(46, 242, 194, 0.22);
  color: #18cabb;
}

.feature-icon.helper {
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
}

.feature-icon svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.feature-card p {
  margin: 10px 0 0;
  color: #192139;
  font-size: clamp(0.95rem, 2.3vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
}

.site-footer {
  margin-top: clamp(20px, 4vw, 34px);
  color: #7482b2;
  font-family: "Inter", Tahoma, Arial, "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 3.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

@media (min-width: 960px) {
  body {
    background:
      radial-gradient(circle at 80% 18%, rgba(46, 242, 194, 0.22), transparent 28rem),
      radial-gradient(circle at 12% 76%, rgba(37, 99, 235, 0.14), transparent 24rem),
      linear-gradient(135deg, #f8fbff 0%, #eef6ff 48%, #ffffff 100%);
  }

  .poster {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
    grid-template-areas:
      "logo cloud"
      "hero cloud"
      "features features"
      "footer footer";
    align-content: center;
    align-items: center;
    column-gap: clamp(36px, 5vw, 80px);
    row-gap: 14px;
    width: min(1240px, calc(100% - 56px));
    min-height: 100svh;
    padding: clamp(28px, 4vw, 54px) 0 28px;
    overflow: hidden;
    border-radius: 0;
    text-align: right;
    background: transparent;
    box-shadow: none;
  }

  .poster::before {
    right: auto;
    left: -40px;
    top: 12%;
    width: 520px;
    height: 520px;
  }

  .poster::after {
    right: 18%;
    left: auto;
    bottom: -220px;
    width: 620px;
    height: 620px;
  }

  .logo {
    grid-area: logo;
    justify-self: start;
    margin-bottom: 4px;
    font-size: clamp(2.15rem, 3.2vw, 3.3rem);
  }

  .hero {
    grid-area: hero;
    justify-self: stretch;
  }

  .hero h1 {
    font-size: clamp(3rem, 5.2vw, 5.8rem);
  }

  .brand-name-ar {
    font-size: clamp(2.3rem, 11.5vw, 6.4rem);;
  }

  .brand-name {
    font-size: clamp(3.9rem, 6.5vw, 6rem);
  }

  .tagline {
    font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  }

  .intro {
    max-width: 560px;
    margin-inline: 0;
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  }

  .launch-pill {
    min-height: 58px;
    margin-top: 24px;
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  }

  .learning-cloud {
    grid-area: cloud;
    align-self: center;
    width: 100%;
    height: clamp(470px, 44vw, 610px);
    margin: 0;
  }

  .network-lines {
    inset: 8% 0 auto;
  }

  .features {
    grid-area: features;
    align-self: start;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: clamp(10px, 2vw, 24px);
  }

  .feature-card {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    justify-items: start;
    min-height: auto;
    border-radius: 18px;
    padding: 18px;
    text-align: right;
  }

  .feature-icon {
    grid-row: span 2;
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .feature-card h2 {
    font-size: 1.25rem;
  }

  .feature-card p {
    margin-top: 4px;
    font-size: 1rem;
  }

  .site-footer {
    grid-area: footer;
    margin-top: 6px;
    font-size: 1.15rem;
  }
}

@media (max-width: 720px) {
  .poster {
    width: 100%;
    min-height: 100svh;
    border-radius: 0;
    padding-top: 30px;
  }

  .intro {
    max-width: 21em;
  }

  .learning-cloud {
    height: clamp(320px, 82vw, 430px);
  }

  .avatar-teacher {
    left: 0;
  }

  .avatar-student {
    right: 0;
  }

  .features {
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .poster {
    padding-inline: 14px;
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.8rem);
  }

  .brand-name-ar {
    font-size: clamp(2.3rem, 11.5vw, 5.4rem);;
  }

  .brand-name {
    font-size: clamp(2.9rem, 15vw, 5rem);
  }

  .intro {
    font-size: 1.12rem;
  }

  .learning-cloud {
    margin-top: 22px;
  }

  .features {
    grid-template-columns: 1fr;
    width: min(330px, 100%);
    margin-inline: auto;
  }

  .feature-card {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    justify-items: start;
    min-height: auto;
    padding: 18px;
    text-align: right;
  }

  .feature-icon {
    grid-row: span 2;
    margin: 0;
  }

  .feature-card p {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
