/* ==========================================================================
   Ecom Club â€” design system
   Apple-inspired: white canvas, near-black ink, one navy accent, deep whitespace
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Canvas & ink */
  --white: #ffffff;
  --canvas: #f5f5f7;
  --canvas-2: #fbfbfd;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-faint: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);

  /* Navy accent (single accent for the whole system) */
  --navy: #6e0a22;
  --navy-hover: #8a0f2d;
  --navy-press: #560818;
  --navy-tint: #fdeef2;
  --navy-tint-2: #f8d3dd;
  --sky: #c21a4a;

  /* Radii â€” one rounded family */
  --r-pill: 980px;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  /* Elevation â€” soft, tinted, never gray stacks */
  --shadow-sm: 0 1px 2px rgba(110, 10, 34, 0.05), 0 6px 18px -10px rgba(110, 10, 34, 0.14);
  --shadow-md: 0 2px 6px rgba(110, 10, 34, 0.05), 0 22px 48px -22px rgba(110, 10, 34, 0.22);
  --shadow-lg: 0 8px 24px -12px rgba(110, 10, 34, 0.18), 0 40px 80px -40px rgba(110, 10, 34, 0.3);

  /* Type scale */
  --f-hero: clamp(2.75rem, 6.2vw, 4.75rem);
  --f-h2: clamp(2rem, 4vw, 3rem);
  --f-h3: clamp(1.375rem, 2.2vw, 1.75rem);
  --f-lead: clamp(1.0625rem, 1.4vw, 1.3125rem);
  --f-body: 1.0625rem;
  --f-meta: 0.875rem;

  --rail: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* --- Reset --- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: var(--f-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p { margin: 0; }

button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Layout primitives --- */
.rail {
  width: 100%;
  max-width: var(--rail);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--canvas { background: var(--canvas); }
section[id] { scroll-margin-top: 6.5rem; }

.eyebrow {
  font-size: var(--f-meta);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sky);
  text-transform: none;
  margin-bottom: 0.85rem;
}

.h2 {
  font-size: var(--f-h2);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.06;
}

.h3 {
  font-size: var(--f-h3);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.lead {
  font-size: var(--f-lead);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 60ch;
}

.muted { color: var(--ink-soft); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 590;
  letter-spacing: -0.01em;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.2s ease,
              box-shadow 0.25s ease,
              border-color 0.2s ease,
              color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(110, 10, 34, 0.55);
}
.btn--primary:hover { background: var(--navy-hover); transform: translateY(-2px); }
.btn--primary:active { background: var(--navy-press); transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--navy-tint); transform: translateY(-2px); }

.btn--light {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--link {
  min-height: auto;
  padding: 0.25rem 0.25rem;
  color: var(--sky);
  font-weight: 600;
}
.btn--link:hover { text-decoration: underline; }

.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* --- Nav (floating liquid glass) --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0.85rem var(--gutter) 0;
  background: transparent;
  border-bottom: 0;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  position: relative;
  max-width: 72rem;
  margin-inline: auto;
  height: 58px;
  padding-inline: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-radius: var(--r-pill);
  overflow: hidden;
  /* liquid glass */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.46));
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px rgba(255, 255, 255, 0.22),
    0 12px 34px -14px rgba(110, 10, 34, 0.3),
    0 2px 8px -4px rgba(110, 10, 34, 0.12);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 150% at 12% -45%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 52%);
  opacity: 0.75;
  pointer-events: none;
}
.nav__inner > * { position: relative; z-index: 1; }
.nav__inner.is-scrolled {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.64));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 16px 44px -16px rgba(110, 10, 34, 0.34),
    0 3px 10px -5px rgba(110, 10, 34, 0.16);
}
@media (prefers-reduced-transparency: reduce) {
  .nav__inner {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.0625rem;
}
.brand__logo {
  height: 30px;
  width: auto;
  display: block;
  flex: none;
}
.footer .brand__logo { height: 42px; }
/* Inverse the navy artwork on dark surfaces */
.brand--invert .brand__logo,
.auth__aside .brand__logo,
.watch-nav .brand__logo,
.gate__card .brand__logo { filter: brightness(0) invert(1); }
.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-inline-start: 1rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.nav__links a { transition: color 0.2s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 0.5rem; }
.nav__actions .btn { min-height: 40px; padding: 0.5rem 1.15rem; font-size: 0.9375rem; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .nav__inner { height: 54px; padding-inline: .75rem .85rem; gap: 1rem; }
  .brand__logo { height: 25px; }
  .nav__actions .btn--ghost { display: none; }
  .nav__actions .btn { min-height: 38px; padding: .45rem .9rem; font-size: .875rem; }
}

/* --- Hero --- */
.hero {
  padding-top: clamp(7rem, 11vw, 9.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(179, 18, 60, 0.1), transparent 55%),
    radial-gradient(90% 70% at 0% 0%, rgba(110, 10, 34, 0.06), transparent 50%),
    var(--white);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-size: var(--f-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 1.15rem;
}
.hero__title em {
  font-style: normal;
  color: var(--navy);
}
.hero__sub {
  font-size: var(--f-lead);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero__proof {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--f-meta);
  color: var(--ink-soft);
}
.hero__proof .dots { display: inline-flex; }
.hero__proof .dots span {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #fff; margin-inline-start: -8px;
  background: var(--navy-tint-2);
}
.hero__proof .dots span:first-child { margin-inline-start: 0; background: var(--navy); }
.hero__proof .dots span:nth-child(2) { background: var(--sky); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* Player preview (real UI block, not a fake screenshot) */
.player {
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.player__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--canvas-2);
}
.player__bar i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #e2e2e6; display: inline-block;
}
.player__bar i:first-child { background: #f0b3b3; }
.player__bar i:nth-child(2) { background: #f2d3a2; }
.player__bar i:nth-child(3) { background: #b7ddb9; }
.player__bar span {
  margin-inline-start: auto;
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.player__stage {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(179, 18, 60, 0.32), transparent 60%),
    linear-gradient(140deg, #6e0a22 0%, #9a123a 60%, #6e0a22 100%);
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
}
.player__play {
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid; place-items: center;
  backdrop-filter: blur(6px);
}
.player__play::after {
  content: "";
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 5px;
}
.player__stage small {
  position: absolute;
  bottom: 14px; inset-inline-start: 16px;
  font-size: 0.75rem; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}
.player__list { padding: 0.5rem 0.75rem 0.85rem; }
.player__list li {
  list-style: none;
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.player__list li.is-active { background: var(--navy-tint); color: var(--navy); font-weight: 600; }
.player__list .tick {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 0.65rem; color: var(--ink-faint);
  flex: none;
}
.player__list li.is-active .tick { border-color: var(--navy); color: var(--navy); }
.player__list .dur { margin-inline-start: auto; font-size: 0.78rem; color: var(--ink-faint); }

/* --- Proof band --- */
.proof-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--canvas-2); }
.proof-band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat { padding: 0.5rem 0; }
.stat__num {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.stat__label { font-size: var(--f-meta); color: var(--ink-soft); margin-top: 0.15rem; }
.sample-tag {
  font-size: 0.72rem;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 0.2rem 0.6rem;
  display: inline-block;
  margin-top: 1.25rem;
}
@media (max-width: 720px) {
  .proof-band__inner { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
}

/* --- Problem â†’ mechanism --- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.pain-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  color: var(--ink-soft);
}
.pain-list li::before {
  content: "";
  width: 20px; height: 20px; flex: none; margin-top: 3px;
  border-radius: 50%;
  background: var(--navy-tint);
  border: 1px solid var(--navy-tint-2);
}

.mech {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.mech ol { margin: 0; padding-inline-start: 0; list-style: none; counter-reset: step; display: grid; gap: 1.4rem; }
.mech li { position: relative; padding-inline-start: 3rem; counter-increment: step; }
.mech li::before {
  content: counter(step);
  position: absolute; inset-inline-start: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-size: 0.9rem; font-weight: 700;
}
.mech li strong { display: block; font-weight: 640; letter-spacing: -0.01em; }
.mech li span { color: var(--ink-soft); font-size: 0.95rem; }

/* --- Curriculum accordion --- */
.curriculum { display: grid; gap: 0.75rem; }
.mod {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.mod:hover { border-color: var(--line-strong); }
.mod[open] { box-shadow: var(--shadow-sm); }
.mod summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.mod summary::-webkit-details-marker { display: none; }
.mod summary .chev {
  margin-inline-start: auto;
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--navy);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}
.mod[open] summary .chev { transform: rotate(45deg); background: var(--navy-tint); }
.mod__count { font-size: 0.8rem; color: var(--ink-faint); font-weight: 500; }
.lessons { list-style: none; margin: 0; padding: 0 1.25rem 1rem; }
.lessons li {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 0.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.lessons li .lock { color: var(--ink-faint); flex: none; }
.lessons li .dur { margin-inline-start: auto; font-size: 0.82rem; color: var(--ink-faint); }

/* --- Fit (who it's for / not for) --- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 720px) { .fit { grid-template-columns: 1fr; } }
.fit__card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
}
.fit__card--yes { border-top: 3px solid var(--navy); }
.fit__card--no { border-top: 3px solid var(--line-strong); }
.fit__card ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.fit__card li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--ink-soft); }
.fit__card li .mk { flex: none; margin-top: 3px; }

/* --- Instructor --- */
.instructor {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 800px) { .instructor { grid-template-columns: 1fr; } }
.avatar {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 120% at 30% 10%, rgba(179, 18, 60, 0.4), transparent 55%),
    linear-gradient(150deg, #6e0a22, #9a123a);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow: var(--shadow-md);
}

/* --- Pricing --- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.plan--feature { border-color: var(--navy); box-shadow: var(--shadow-lg); position: relative; }
.plan__tag {
  position: absolute; top: -0.8rem; inset-inline-start: 2rem;
  background: var(--navy); color: #fff;
  font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.8rem; border-radius: var(--r-pill);
}
.plan__price { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.plan__price span { font-size: 1rem; color: var(--ink-soft); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 0.75rem; }
.plan li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--ink-soft); }
.plan li .mk { color: var(--navy); flex: none; margin-top: 2px; }

/* --- FAQ --- */
.faq { display: grid; gap: 0.6rem; max-width: 52rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  padding: 0;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { margin-inline-start: auto; color: var(--navy); transition: transform 0.3s ease; flex: none; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .answer { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); }

/* --- Final CTA --- */
.final-cta {
  background: linear-gradient(150deg, #6e0a22 0%, #9a123a 55%, #6e0a22 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.final-cta h2 { font-size: var(--f-h2); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; }
.final-cta p { color: rgba(255, 255, 255, 0.78); margin: 1rem auto 2rem; max-width: 46ch; }
.final-cta .btn--primary { background: #fff; color: var(--navy); box-shadow: none; }
.final-cta .btn--primary:hover { background: #f0f0f2; }
.final-cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.final-cta .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* --- Footer --- */
.footer { border-top: 1px solid var(--line); background: var(--canvas-2); padding-block: 3rem 2.5rem; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.footer__links a:hover { color: var(--ink); }
.footer small { color: var(--ink-faint); font-size: 0.8rem; }

/* --- Scroll reveal --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Auth pages
   ========================================================================== */
.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}
.auth__aside {
  background: linear-gradient(155deg, #6e0a22 0%, #9a123a 60%, #6e0a22 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth__aside .brand { color: #fff; }
.auth__aside blockquote { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; max-width: 22ch; margin: 0; }
.auth__aside ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.auth__aside ul li { display: flex; gap: 0.6rem; align-items: center; }
.auth__main {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}
.auth__card { width: 100%; max-width: 26rem; }
.auth__card .h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: 0.5rem; }
.auth__card .lead { margin-bottom: 1.75rem; }

@media (max-width: 820px) {
  .auth { grid-template-columns: 1fr; min-height: 100dvh; }
  .auth__aside { display: none; }
}

/* --- Forms --- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.field input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(110, 10, 34, 0.1);
}
.field input[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1); }
.field__hint { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.35rem; }
.field__error { font-size: 0.85rem; color: #c0392b; margin-top: 0.35rem; display: none; }
.field__error.is-shown { display: block; }

.form-alert {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid;
}
.form-alert.is-shown { display: block; }
.form-alert--error { color: #8f2a1e; background: #fdecea; border-color: #f3c2bb; }
.form-alert--ok { color: #6e0a22; background: var(--navy-tint); border-color: var(--navy-tint-2); }

.auth__foot { margin-top: 1.25rem; font-size: 0.9rem; color: var(--ink-soft); text-align: center; }
.auth__foot a { color: var(--sky); font-weight: 600; }
.auth__foot a:hover { text-decoration: underline; }

/* ==========================================================================
   Watch (protected classroom)
   ========================================================================== */
.watch-body { background: #170308; color: #fff; }
.watch-shell { min-height: 100dvh; display: flex; flex-direction: column; }
.watch-nav {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(23, 3, 8, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky; top: 0; z-index: 50;
}
.watch-nav .brand { color: #fff; }
.watch-nav .user-chip {
  margin-inline-start: auto;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.72);
}
.watch-nav .avatar-badge {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--sky); color: #fff;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}
.watch-layout {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 0;
  min-height: 0;
}
@media (max-width: 900px) {
  .watch-layout { grid-template-columns: 1fr; }
  .watch-side { order: 2; }
}

.stage {
  padding: clamp(1rem, 2.5vw, 1.75rem);
  min-width: 0;
}
.stage__title { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 650; letter-spacing: -0.01em; margin-bottom: 1rem; }
.video-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #120307;
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #120307;
}
/* Moving identity watermark to deter screen capture */
.watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background-repeat: repeat;
  background-size: 260px 160px;
  opacity: 0.18;
  mix-blend-mode: overlay;
  animation: wm-drift 42s linear infinite;
}
@keyframes wm-drift {
  from { background-position: 0 0; }
  to { background-position: 260px 160px; }
}
@media (prefers-reduced-motion: reduce) { .watermark { animation: none; } }

.guard {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: rgba(18, 3, 7, 0.94);
  backdrop-filter: blur(8px);
}
.guard.is-on { display: grid; }
.guard h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.guard p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 34ch; }

.stage__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 1.1rem; }
.pill {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.75rem;
}
.stage__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  max-width: 70ch;
  line-height: 1.55;
}

.watch-side {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 2, 6, 0.7);
  padding: 1.25rem 1rem 2rem;
  overflow-y: auto;
  max-height: calc(100dvh - 57px);
}
@media (max-width: 900px) {
  .watch-side { max-height: none; border-inline-start: none; border-top: 1px solid rgba(255,255,255,0.08); }
}
.watch-side h4 { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.85rem; }
.side-mod { margin-bottom: 1.25rem; }
.side-mod > p { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 0.5rem; }
.side-lesson {
  display: flex; align-items: center; gap: 0.65rem;
  width: 100%;
  text-align: start;
  padding: 0.6rem 0.65rem;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.side-lesson:hover { background: rgba(255,255,255,0.06); color: #fff; }
.side-lesson.is-active { background: rgba(179, 18, 60, 0.22); border-color: rgba(179,18,60,0.5); color: #fff; font-weight: 600; }
.side-lesson .num { color: rgba(255,255,255,0.4); font-size: 0.78rem; flex: none; width: 1.5rem; }
.side-lesson .dur { margin-inline-start: auto; font-size: 0.76rem; color: rgba(255,255,255,0.4); }

.gate {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  background: radial-gradient(80% 60% at 50% 0%, rgba(179, 18, 60, 0.25), transparent 60%), #170308;
}
.gate__card { max-width: 26rem; }
.gate__card .brand { justify-content: center; color: #fff; margin-bottom: 1.5rem; }
.gate__card p { color: rgba(255,255,255,0.7); margin: 0.75rem 0 1.5rem; }

/* ==========================================================================
   Arabic / RTL typography
   ========================================================================== */
html[dir="rtl"] body { line-height: 1.72; }
html[dir="rtl"] :is(.h2, .h3, .hero__title, .eyebrow, .brand, .stat__num, .plan__price,
  .final-cta h2, .stage__title, .auth__aside blockquote, .mod summary, .faq summary,
  .btn, .mech li strong, .watch-side h4, .plan__tag, .side-mod > p) { letter-spacing: normal; }
html[dir="rtl"] .hero__title { line-height: 1.2; }
html[dir="rtl"] .h2 { line-height: 1.28; }
html[dir="rtl"] .h3 { line-height: 1.42; }
html[dir="rtl"] .final-cta h2 { line-height: 1.28; }
html[dir="rtl"] .auth__aside blockquote { line-height: 1.55; }
html[dir="rtl"] .lead { line-height: 1.75; }

/* --- Classroom: what you'll learn --- */
.learn-block {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.4rem;
}
.learn-block__title { font-size: 1rem; font-weight: 650; margin-bottom: 0.85rem; color: #fff; }
.learn-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.learn-points li { display: flex; gap: 0.65rem; align-items: flex-start; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; line-height: 1.6; }
.learn-points .mk { color: var(--sky); flex: none; margin-top: 2px; font-weight: 700; }
.side-lesson + .side-lesson { margin-top: 0.3rem; }

/* ==========================================================================
   Cherry accent (used sparingly)
   ========================================================================== */
:root {
  --cherry: #b3123c;
  --cherry-hover: #8f0e30;
  --cherry-tint: #fdeef2;
  --cherry-tint-2: #f8d3dd;
}

.eyebrow { color: var(--cherry); }
.hero__title em { color: var(--cherry); }
.btn--link { color: var(--cherry); }
.auth__foot a { color: var(--cherry); }
.nav__links a:hover { color: var(--cherry); }
.footer__links a:hover { color: var(--cherry); }
.plan__tag { background: var(--cherry); }
.faq details[open] summary .chev { color: var(--cherry); }
.mod[open] summary .chev { background: var(--cherry-tint); color: var(--cherry); border-color: var(--cherry-tint-2); }
.hero__proof .dots span:nth-child(2) { background: var(--cherry); }

.player__play {
  background: var(--cherry);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 34px -12px rgba(179, 18, 60, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.player__play:hover { background: var(--cherry-hover); }

.hero {
  background:
    radial-gradient(70% 60% at 12% 8%, rgba(179, 18, 60, 0.07), transparent 55%),
    radial-gradient(120% 90% at 85% -10%, rgba(179, 18, 60, 0.1), transparent 55%),
    radial-gradient(90% 70% at 0% 0%, rgba(110, 10, 34, 0.06), transparent 50%),
    var(--white);
}
.avatar {
  background:
    radial-gradient(120% 120% at 30% 10%, rgba(179, 18, 60, 0.42), transparent 55%),
    linear-gradient(150deg, #6e0a22, #9a123a);
}
.plan--feature { box-shadow: 0 12px 44px -20px rgba(179, 18, 60, 0.28), var(--shadow-lg); }
.final-cta {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(179, 18, 60, 0.28), transparent 55%),
    linear-gradient(150deg, #6e0a22 0%, #9a123a 55%, #6e0a22 100%);
}

/* Brighter cherry for checkmarks on the dark video card */
.learn-points .mk { color: #ff8098; }

/* Primary action = vivid cherry */
.btn--primary { background: var(--cherry); box-shadow: 0 8px 22px -10px rgba(179, 18, 60, 0.55); }
.btn--primary:hover { background: var(--cherry-hover); }
.btn--primary:active { background: #6e0a22; }


/* --- Feedbacks (testimonial screenshot gallery) --- */
.feedback-grid { columns: 3; column-gap: 1rem; }
.feedback-card {
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.feedback-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feedback-card img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .feedback-grid { columns: 2; } }
@media (max-width: 560px) { .feedback-grid { columns: 1; } }
@media (prefers-reduced-motion: reduce) { .feedback-card { transition: none; } }

/* ==========================================================================
   Black theme (dark) â€” overrides light design system
   ========================================================================== */
:root {
  --white: #0d0d10;
  --canvas: #08080a;
  --canvas-2: #0b0b0d;
  --ink: #f5f5f7;
  --ink-soft: #a6a6ab;
  --ink-faint: #7c7c82;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);

  --cherry: #4a0b15;
  --cherry-hover: #5c0d1a;
  --cherry-tint: rgba(74, 11, 21, 0.22);
  --cherry-tint-2: rgba(74, 11, 21, 0.42);

  --navy: #4a0b15;
  --navy-hover: #5c0d1a;
  --navy-press: #3a0710;
  --navy-tint: rgba(74, 11, 21, 0.22);
  --navy-tint-2: rgba(74, 11, 21, 0.42);
  --sky: #ff8098;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.6), 0 6px 18px -10px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.6), 0 22px 48px -22px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 8px 24px -12px rgba(0, 0, 0, 0.7), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

body { background: #000; color: var(--ink); }
.section--canvas { background: var(--canvas); }
.footer { background: #050506; }

/* Brand artwork: invert to white on the dark chrome */
.nav .brand__logo,
.footer .brand__logo { filter: brightness(0) invert(1); }

/* Floating glass nav -> dark glass */
.nav__inner {
  background: linear-gradient(180deg, rgba(26, 26, 30, 0.72), rgba(12, 12, 14, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 34px -14px rgba(0, 0, 0, 0.85),
    0 2px 8px -4px rgba(0, 0, 0, 0.6);
}
.nav__inner::before {
  background: radial-gradient(130% 150% at 12% -45%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 52%);
  opacity: 1;
}
.nav__inner.is-scrolled {
  background: linear-gradient(180deg, rgba(28, 28, 32, 0.9), rgba(14, 14, 16, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 44px -16px rgba(0, 0, 0, 0.9);
}
@media (prefers-reduced-transparency: reduce) {
  .nav__inner { background: rgba(10, 10, 12, 0.97); }
}

/* Buttons */
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { color: var(--ink); border-color: var(--cherry); background: var(--cherry-tint); }
.btn--light { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.btn--light:hover { background: rgba(255, 255, 255, 0.13); }
.btn--link { color: #ff8098; }

/* Hero: black canvas with cherry glow */
.hero {
  background:
    radial-gradient(70% 60% at 12% 8%, rgba(225, 29, 72, 0.16), transparent 55%),
    radial-gradient(120% 90% at 85% -10%, rgba(225, 29, 72, 0.18), transparent 55%),
    radial-gradient(90% 70% at 0% 0%, rgba(225, 29, 72, 0.08), transparent 50%),
    #050506;
}

/* Player card on black */
.player { background: var(--white); }
.player__bar { background: #0b0b0d; }
.player__list li.is-active { color: #ff8098; }

/* Forms */
.field input { background: #0e0e11; }
.field input:focus { background: #101014; }
.form-alert--error { color: #ff9a90; background: rgba(192, 57, 43, 0.16); border-color: rgba(192, 57, 43, 0.45); }
.form-alert--ok { color: #ff9fb2; background: var(--cherry-tint); border-color: var(--cherry-tint-2); }

/* Feedback gallery: frame screenshots on black */
.feedback-card { background: #08080a; }

/* Access code gate */
.code-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, .74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.code-modal[hidden] { display: none; }
.code-modal__card {
  width: min(27rem, 100%);
  padding: 2rem 1.6rem 1.6rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}
.code-modal__card .brand__logo { margin: 0 auto 1rem; }
.code-input {
  width: 100%;
  margin: .75rem 0 1rem;
  padding: .8rem 1rem;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .4em;
  text-indent: .4em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--canvas-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.code-input::placeholder { color: var(--ink-faint); letter-spacing: .4em; }
.code-input:focus {
  outline: none;
  border-color: var(--cherry);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, .18);
}
.code-modal__card .form-alert { margin-bottom: .75rem; text-align: start; }
.code-modal__card .btn--link { color: var(--ink-soft); font-size: .85rem; }

/* White proof band */
.proof-band { background: #ffffff; border-top: 0; border-bottom: 0; }
.proof-band.section--tight { padding-block: clamp(1.6rem, 3.2vw, 2.4rem); }
.proof-band .stat__num { color: var(--cherry); }
.proof-band .stat__label { color: #52525b; }
.proof-band .sample-tag {
  color: #52525b;
  border-color: rgba(0, 0, 0, .14);
  background: rgba(0, 0, 0, .03);
}

/* Hero mobile artwork (above the headline, phones only) */
.hero__mobile-art { display: none; }
@media (max-width: 900px) {
  .hero__mobile-art {
    display: block;
    margin: 0 auto 1.5rem;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .hero__mobile-art img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 74vh;
    object-fit: contain;
    margin-inline: auto;
  }
}

/* Accordion +/- : no circle */
.mod summary .chev {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--cherry);
}
.mod[open] summary .chev { background: none; }

/* Instructor portrait + proof numbers */
.avatar--photo { background: none; overflow: hidden; box-shadow: var(--shadow-lg); }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.instructor__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1.6rem; }
.instructor__stats div { display: flex; flex-direction: column; gap: .15rem; }
.instructor__stats b { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; color: var(--cherry); line-height: 1.1; }
.instructor__stats span { font-size: var(--f-meta); color: var(--ink-soft); }

/* The hidden attribute must always win over display:flex/grid */
[hidden] { display: none !important; }

/* Module files (PDF/images) in the classroom */
.file-links { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .5rem; }
.file-links a {
  display: flex; align-items: center; gap: .55rem;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  transition: border-color .2s ease, background .2s ease;
}
.file-links a::before { content: "↗"; color: var(--cherry); font-size: .95rem; }
.file-links a:hover { border-color: var(--cherry); background: var(--cherry-tint); }

/* Phone: center the instructor photo */
.avatar--photo { margin-inline: auto; }
@media (max-width: 800px) {
  .avatar--photo { max-width: 260px; }
}
