:root {
  --green: #063b2e;
  --green-2: #0c5a45;
  --cream: #f7f3ea;
  --cream-2: #fffaf0;
  --gold: #d6a84f;
  --gold-2: #f6d477;
  --ink: #10231d;
  --muted: #667269;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(6, 59, 46, 0.1);
  --shadow: 0 18px 42px rgba(20, 35, 28, 0.12);
  --soft-shadow: 0 12px 28px rgba(20, 35, 28, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 14% 0%, rgba(214, 168, 79, 0.18), transparent 28%),
    linear-gradient(180deg, #e8e0d0 0%, #d8d1c3 100%);
  color: var(--ink);
  font-family: "Noto Sans Arabic", Tahoma, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.app-shell {
  position: relative;
  direction: rtl;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.96), rgba(247, 243, 234, 1) 34%),
    var(--cream);
  box-shadow: 0 0 0 1px rgba(6, 59, 46, 0.08), 0 30px 90px rgba(20, 35, 28, 0.15);
  padding-bottom: calc(132px + env(safe-area-inset-bottom));
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  gap: 14px;
  padding: 12px 20px;
  background: rgba(247, 243, 234, 0.82);
  border-bottom: 1px solid rgba(6, 59, 46, 0.06);
  backdrop-filter: blur(18px);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 20px;
  z-index: 30;
  display: grid;
  width: 210px;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(6, 59, 46, 0.1);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 20px 48px rgba(20, 35, 28, 0.18);
  direction: rtl;
  backdrop-filter: blur(18px);
}

.menu-panel[hidden] {
  display: none;
}

.menu-panel button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.menu-panel button:hover {
  background: rgba(6, 59, 46, 0.07);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #064234, #052b23);
  box-shadow: inset 0 0 0 1px rgba(246, 212, 119, 0.3), 0 8px 18px rgba(6, 59, 46, 0.22);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.1;
  stroke-linejoin: round;
}

.brand strong {
  display: block;
  max-width: 160px;
  overflow: hidden;
  color: var(--green);
  font-size: 18px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: #2f4039;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand span:last-child {
  direction: rtl;
  text-align: left;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.arabic-toggle,
.icon-button {
  border: 0;
  cursor: pointer;
}

.arabic-toggle {
  min-width: 64px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(6, 59, 46, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  box-shadow: 0 10px 24px rgba(6, 59, 46, 0.25);
}

.icon-button svg,
.primary-button svg,
.text-link svg,
.guide-button svg,
.floating-cta svg,
.mini-link svg,
.play-button svg,
.topic-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

.hero-section {
  position: relative;
  min-height: 670px;
  padding: 26px 20px 0;
  direction: ltr;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(1.03) contrast(1.02);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 243, 234, 0.99) 0%, rgba(247, 243, 234, 0.92) 45%, rgba(247, 243, 234, 0.12) 82%),
    linear-gradient(180deg, rgba(247, 243, 234, 0.98) 0%, rgba(247, 243, 234, 0.66) 43%, rgba(247, 243, 234, 0.08) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 256px;
  direction: rtl;
  text-align: right;
}

.eyebrow,
.section-kicker,
.overline {
  margin: 0;
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1,
.story-card h2,
.guide-banner h2,
.faq-section h2 {
  margin: 0;
  color: var(--green);
  font-family: "Noto Naskh Arabic", "Times New Roman", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(40px, 10.5vw, 46px);
  line-height: 1.05;
}

.arabic-line {
  width: auto;
  max-width: 250px;
  margin: 16px 0 0;
  color: #244239;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.55;
}

.hero-text {
  max-width: 250px;
  margin: 12px 0 0;
  color: #21352e;
  font-size: 15.5px;
  line-height: 1.65;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 190px;
  height: 58px;
  margin-top: 24px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #0a5a44, #063b2e);
  color: #fffdf7;
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(6, 59, 46, 0.22);
}

.primary-button svg,
.text-link svg,
.guide-button svg,
.floating-cta svg:last-child {
  transform: scaleX(-1);
}

.micro-note {
  max-width: 240px;
  margin: 18px 0 0;
  color: #3f4a45;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.story-card {
  position: relative;
  z-index: 1;
  margin: 58px 14px 0;
  padding: 26px 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.story-card h2 {
  max-width: 260px;
  margin-top: 12px;
  font-size: 36px;
  line-height: 1.08;
}

.story-card p {
  max-width: 285px;
  margin: 14px 0 0;
  color: #304139;
  font-size: 15px;
  line-height: 1.65;
}

.text-link,
.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.text-link {
  margin-top: 18px;
  padding: 0;
  font-size: 14px;
}

.story-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.42;
  margin-top: 22px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(6, 59, 46, 0.14);
}

.story-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.story-dots span {
  width: 8px;
  height: 5px;
  border-radius: 999px;
  background: rgba(6, 59, 46, 0.15);
}

.story-dots span:first-child {
  width: 23px;
  background: var(--green-2);
}

.app-section {
  padding: 30px 0 0;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  direction: rtl;
  text-align: right;
}

.section-heading-row h2,
.faq-section h2 {
  margin: 7px 0 0;
  color: var(--green);
  font-family: "Noto Naskh Arabic", "Times New Roman", Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.mini-link {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 0 2px;
  font-size: 13px;
}

.course-rail,
.topic-rail {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  direction: rtl;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 20px 8px;
  scroll-padding: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.course-rail::-webkit-scrollbar,
.topic-rail::-webkit-scrollbar {
  display: none;
}

.course-card {
  flex: 0 0 272px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  scroll-snap-align: start;
}

.course-visual {
  position: relative;
  height: 128px;
  overflow: hidden;
  background: var(--green);
}

.course-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.78;
}

.course-visual svg {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 154px;
  height: 94px;
  fill: none;
  stroke: rgba(246, 212, 119, 0.82);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.visual-basics::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(246, 212, 119, 0.22), transparent 22%),
    linear-gradient(135deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.25)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 19px);
}

.visual-prices {
  background: linear-gradient(135deg, #d4bb7f, #695231);
}

.visual-prices::before {
  background:
    radial-gradient(circle at 32% 40%, rgba(255, 255, 255, 0.34), transparent 20%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(6, 59, 46, 0.35));
}

.visual-risk {
  background: linear-gradient(135deg, #064134, #0b6a50);
}

.visual-risk::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(214, 168, 79, 0.24), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.2));
}

.play-button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(6, 59, 46, 0.2);
}

.play-button svg {
  fill: currentColor;
  stroke: currentColor;
}

.course-body {
  padding: 18px 18px 20px;
  text-align: right;
}

.course-body h3,
.topic-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.2;
}

.course-body p,
.topic-card p {
  margin: 9px 0 0;
  color: #43514a;
  font-size: 13px;
  line-height: 1.45;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  direction: rtl;
}

.progress-track {
  position: relative;
  flex: 1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(6, 59, 46, 0.1);
}

.progress-track span {
  position: absolute;
  inset: 0 0 0 auto;
  border-radius: inherit;
  background: var(--green-2);
}

.progress-row strong {
  min-width: 92px;
  color: var(--green);
  font-size: 12px;
  text-align: left;
}

.topic-card {
  flex: 0 0 146px;
  min-height: 158px;
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 25px rgba(20, 35, 28, 0.07);
  scroll-snap-align: start;
  text-align: right;
}

.topic-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(6, 59, 46, 0.06);
  color: var(--green);
}

.topic-icon.gold {
  background: rgba(214, 168, 79, 0.12);
  color: #bd8425;
}

.topic-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.9;
}

.guide-banner {
  position: relative;
  min-height: 310px;
  margin: 32px 20px 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--green);
  box-shadow: var(--shadow);
}

.guide-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.guide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(6, 59, 46, 0.9), rgba(6, 59, 46, 0.68) 42%, rgba(6, 59, 46, 0.06)),
    linear-gradient(180deg, rgba(6, 59, 46, 0.1), rgba(6, 59, 46, 0.44));
}

.guide-copy {
  position: relative;
  z-index: 1;
  max-width: 280px;
  padding: 28px 24px;
  margin-right: auto;
  text-align: right;
}

.guide-banner h2 {
  margin-top: 10px;
  color: #fff8e8;
  font-size: 31px;
  line-height: 1.12;
}

.guide-copy > p:not(.section-kicker) {
  margin: 14px 0 0;
  color: rgba(255, 250, 240, 0.92);
  font-size: 15px;
  line-height: 1.52;
}

.guide-button {
  display: inline-flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.92);
  color: var(--green);
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.faq-section {
  padding: 36px 20px 0;
  text-align: right;
}

.accordion {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(6, 59, 46, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 18px rgba(20, 35, 28, 0.05);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  text-align: right;
}

.faq-question span {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(6, 59, 46, 0.08);
}

.faq-question span::before,
.faq-question span::after {
  position: absolute;
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.faq-question span::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-item.is-open .faq-question span::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0 18px;
  color: #43514a;
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 18px;
}

.disclaimer {
  margin: 30px 20px 0;
  padding: 18px;
  border: 1px solid rgba(6, 59, 46, 0.09);
  border-radius: 22px;
  background: rgba(6, 59, 46, 0.06);
}

.disclaimer p {
  margin: 0;
  color: #405048;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.75;
  text-align: right;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 28px 20px 0;
  justify-content: flex-start;
  text-align: right;
}

.footer button {
  border: 0;
  background: transparent;
  color: #405048;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 0;
  text-decoration: none;
}

.info-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(8, 22, 17, 0.34);
  backdrop-filter: blur(8px);
}

.info-modal[hidden] {
  display: none;
}

.info-sheet {
  position: relative;
  width: min(398px, 100%);
  max-height: min(520px, calc(100vh - 36px));
  overflow-y: auto;
  padding: 26px 22px 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  direction: rtl;
  text-align: right;
}

.info-close {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(6, 59, 46, 0.08);
  color: var(--green);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.info-sheet h2 {
  margin: 8px 0 0;
  color: var(--green);
  font-family: "Noto Naskh Arabic", "Times New Roman", Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
}

.info-sheet p:last-child {
  margin: 14px 0 0;
  color: #43514a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.floating-cta {
  position: fixed;
  right: auto;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(360px, calc(100% - 32px));
  max-width: calc(430px - 32px);
  height: 64px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6d477, #d6a84f);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  color: #13231d;
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
  direction: rtl;
  transform: translateX(-50%);
}

.floating-cta svg:first-child {
  width: 25px;
  height: 25px;
}

@media (max-width: 374px) {
  .app-header {
    padding-inline: 16px;
  }

  .brand strong {
    max-width: 130px;
  }

  .arabic-toggle {
    display: none;
  }

  .hero-section {
    min-height: 650px;
    padding-inline: 16px;
  }

  .hero-media {
    right: 0;
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .story-card {
    margin-inline: 10px;
  }

  .floating-cta {
    font-size: 15px;
  }
}

@media (min-width: 431px) {
  .floating-cta {
    width: 360px;
  }
}


.footer a {
  color: inherit;
  border: 0;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  font: inherit;
}
.company-line {
  width: 100%;
  margin: 10px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  text-align: center;
}
