/* ============================================================
   Huthayfa Abbas · ha.bigalc.com · v9
   Premium cream + gold · Ali Abdaal-inspired creator brand
   ============================================================ */

:root {
  --bg:        #fffaf2;
  --bg-card:   #ffffff;
  --bg-soft:   #fdf6e8;
  --bg-warm:   #faf2dd;

  --line:      #efe6d2;
  --line-2:    #e3d4ae;
  --line-3:    #d4c08a;

  --t-100:     #14110d;
  --t-200:     #3d3a32;
  --t-300:     #6a6358;
  --t-400:     #918a7a;
  --t-inverse: #fffaf2;

  --gold:        #c9a961;
  --gold-hi:     #e6c690;
  --gold-bright: #f0d5a0;
  --gold-deep:   #8a7038;
  --gold-soft:   #faecc7;
  --gold-tint:   #fef8e6;

  --sky:         #5dcdf1;
  --sky-soft:    #d4f1fb;
  --sky-tint:    #ecf8fd;
  --peach:       #fd976d;
  --peach-soft:  #ffe0d2;
  --peach-tint:  #fff2ec;
  --yellow:      #fdd46b;
  --yellow-soft: #fff1c4;
  --yellow-tint: #fffaea;
  --purple:      #c9b1fb;
  --purple-soft: #ebe0fc;
  --purple-tint: #f5eefe;

  --max:       1240px;
  --pad:       clamp(20px, 4vw, 64px);

  --r-sm:      8px;
  --r-md:      14px;
  --r-lg:      22px;
  --r-xl:      32px;
  --r-2xl:     40px;
  --r-pill:    999px;

  --shadow-1:  0 1px 3px rgba(20,17,13,.04), 0 1px 2px rgba(20,17,13,.06);
  --shadow-2:  0 4px 14px rgba(20,17,13,.06), 0 2px 6px rgba(20,17,13,.04);
  --shadow-3:  0 24px 50px -16px rgba(20,17,13,.18), 0 6px 16px rgba(20,17,13,.06);
  --shadow-gold: 0 18px 44px -14px rgba(201,169,97,.45);
  --shadow-card: 0 2px 8px rgba(20,17,13,.04), 0 12px 32px -16px rgba(20,17,13,.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--t-100);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: "Tajawal", -apple-system, system-ui, sans-serif; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); width: 100%; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

::selection { background: var(--gold); color: #fff; }

/* ============ TYPOGRAPHY ============ */

em { font-style: italic; }
.display-1 em, .display-2 em, .hero-title em {
  font-family: "Fraunces", "Tajawal", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: -0.01em;
}
html[lang="ar"] .display-1 em,
html[lang="ar"] .display-2 em,
html[lang="ar"] .hero-title em {
  font-family: "Tajawal", sans-serif;
  font-style: normal;
  font-weight: 900;
  color: var(--gold-deep);
}

.kicker {
  display: inline-block;
  padding: 8px 14px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
  color: var(--gold-deep);
  border-radius: var(--r-pill);
  font: 700 12.5px/1 "Inter", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
html[lang="ar"] .kicker {
  font-family: "Tajawal", sans-serif;
  text-transform: none;
  font-weight: 700;
  font-size: 14px;
}

.display-1 {
  font: 800 clamp(40px, 6vw, 80px)/1.04 "Inter", sans-serif;
  letter-spacing: -0.03em;
  color: var(--t-100);
}
html[lang="ar"] .display-1 {
  font-family: "Tajawal", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.display-2 {
  font: 800 clamp(32px, 4.4vw, 56px)/1.08 "Inter", sans-serif;
  letter-spacing: -0.02em;
  color: var(--t-100);
}
html[lang="ar"] .display-2 {
  font-family: "Tajawal", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.22;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head .display-2 { margin-bottom: 14px; }
.section-head .section-sub {
  font-size: 18px;
  color: var(--t-300);
  line-height: 1.55;
  max-width: 640px;
}
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }
.section-head-tight { margin-bottom: 28px; }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font: 700 15px/1 "Inter", sans-serif;
  white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
  cursor: pointer;
}
html[lang="ar"] .btn { font-family: "Tajawal", sans-serif; font-weight: 700; }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm    { padding: 9px 16px; font-size: 13.5px; }
.btn-md    { padding: 12px 20px; font-size: 14.5px; }
.btn-lg    { padding: 17px 30px; font-size: 16.5px; }
.btn-arrow { font-size: 1.2em; line-height: 1; transform: translateY(-1px); }
html[lang="ar"] .btn-arrow { transform: translateY(-1px) scaleX(-1); }

.btn-gold     { background: var(--t-100); color: #fff; box-shadow: 0 1px 0 #000 inset, var(--shadow-gold); }
.btn-gold:hover { background: #2a261f; box-shadow: 0 1px 0 #000 inset, 0 22px 50px -14px rgba(201,169,97,.55); }

.btn-sky      { background: var(--sky); color: #003a52; }
.btn-sky:hover{ background: #3dc1ed; }

.btn-peach    { background: var(--peach); color: #4a1d0a; }
.btn-peach:hover{ background: #fb8454; }

.btn-purple   { background: var(--purple); color: #2b1f50; }
.btn-purple:hover{ background: #b598f8; }

.btn-ghost    { background: transparent; border-color: var(--line-2); color: var(--t-100); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-tint); }

.btn-ghost-dark { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: spin 0.7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ NAV ============ */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,250,242,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.scrolled {
  background: rgba(255,250,242,.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -8px rgba(20,17,13,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 16px; min-height: 72px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; color: var(--t-100); white-space: nowrap;
}
.nav-mark {
  width: 38px; height: 38px;
  background: url('/assets/logo-192.png') center/contain no-repeat;
  display: inline-block; flex-shrink: 0;
}
.nav-name { font-size: 16.5px; font-weight: 800; color: var(--t-100); letter-spacing: -0.01em; }
html[lang="ar"] .nav-name { font-weight: 900; }

.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-links a {
  font: 500 14.5px/1 "Inter", sans-serif;
  color: var(--t-300);
  transition: color .2s ease;
}
html[lang="ar"] .nav-links a { font-family: "Tajawal", sans-serif; font-weight: 500; font-size: 15.5px; }
.nav-links a:hover { color: var(--gold-deep); }

.nav-actions { display: flex; gap: 12px; align-items: center; }
.lang-toggle {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--t-200);
  padding: 9px 14px; border-radius: var(--r-pill);
  font: 700 13px/1 "Inter", sans-serif;
  transition: border-color .2s ease, color .2s ease;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold-deep); }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */

.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: -40% 50% auto -40%;
  height: 700px;
  background: radial-gradient(closest-side, rgba(253, 212, 107, .35), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: -10% -30% auto 40%;
  height: 600px;
  background: radial-gradient(closest-side, rgba(93, 205, 241, .25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--t-200);
  border-radius: var(--r-pill);
  font: 600 13.5px/1 "Inter", sans-serif;
  box-shadow: var(--shadow-1);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
html[lang="ar"] .hero-pill { font-family: "Tajawal", sans-serif; font-weight: 700; font-size: 14.5px; }
.hero-pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,.16);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22,163,74,.16); }
  50%      { box-shadow: 0 0 0 7px rgba(22,163,74,.04); }
}

/* Telegram primary CTA */
.btn-tg {
  background: linear-gradient(180deg, #2aabee 0%, #229ed9 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05) inset, 0 14px 36px -10px rgba(34, 158, 217, .55);
}
.btn-tg:hover {
  background: linear-gradient(180deg, #36b5f0 0%, #229ed9 100%);
  box-shadow: 0 1px 0 rgba(0,0,0,.05) inset, 0 18px 44px -10px rgba(34, 158, 217, .65);
}

.hero-title {
  font: 900 clamp(38px, 5.8vw, 84px)/1.02 "Inter", sans-serif;
  letter-spacing: -0.035em;
  color: var(--t-100);
  margin-bottom: 22px;
  max-width: 820px;
}
html[lang="ar"] .hero-title {
  font-family: "Tajawal", sans-serif;
  letter-spacing: 0;
  line-height: 1.18;
  font-weight: 900;
}

.hero-sub {
  font-size: clamp(15.5px, 1.4vw, 19px);
  color: var(--t-300);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 30px;
}
.hero-sub strong { color: var(--t-100); font-weight: 700; }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex; flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-stats li {
  display: flex; flex-direction: column; gap: 4px;
  line-height: 1.2;
}
.hero-stats strong {
  font: 900 28px/1 "Inter", sans-serif;
  color: var(--t-100);
  letter-spacing: -0.02em;
}
.hero-stats .plus { color: var(--gold-deep); margin-inline-start: 2px; }
.hero-stats span:not(.plus) { font-size: 13.5px; color: var(--t-300); }
html[lang="ar"] .hero-stats span:not(.plus) { font-size: 14.5px; }

/* HERO ART (logo portrait) */
.hero-art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
}
.hero-halo {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,169,97,.32), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-photo-wrap {
  position: relative;
  width: 100%; max-width: 460px;
  aspect-ratio: 1 / 1.08;
  border-radius: 28px;
  isolation: isolate;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  border-radius: 28px;
  filter: drop-shadow(0 24px 50px rgba(20,17,13,.22));
  display: block;
}
.hero-photo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright) 50%, var(--gold-deep));
  z-index: -1;
  opacity: .9;
  filter: blur(0.3px);
}
.hero-photo-ring::after {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,169,97,.28), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
  z-index: -1;
}
.hero-photo-badge {
  position: absolute;
  bottom: 18px; inset-inline-start: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: rgba(255, 250, 242, .94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font: 500 12.5px/1 "Inter", sans-serif;
  color: var(--t-200);
  box-shadow: 0 8px 24px rgba(20,17,13,.16);
}
html[lang="ar"] .hero-photo-badge { font-family: "Tajawal", sans-serif; font-size: 13.5px; font-weight: 500; }
.hero-photo-badge strong { color: var(--t-100); font-weight: 800; }
.hero-photo-badge img { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; min-height: 320px; }
  .hero-photo-wrap { max-width: 320px; margin-inline: auto; }
}

/* ============ FEATURED IN ============ */

.featured {
  padding: clamp(24px, 4vw, 48px) 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.featured-kicker {
  text-align: center;
  font: 600 13px/1 "Inter", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-400);
  margin-bottom: 22px;
}
html[lang="ar"] .featured-kicker { font-family: "Tajawal", sans-serif; text-transform: none; font-size: 14.5px; letter-spacing: 0; }

.featured-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.featured-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 16.5px/1 "Inter", sans-serif;
  letter-spacing: -0.01em;
  color: var(--t-200);
  opacity: 0.82;
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}
.featured-logo:hover { opacity: 1; transform: translateY(-1px); }
.featured-logo img {
  width: 28px; height: 28px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.featured-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #1a1815, #3d3a32);
  color: #fff;
  border-radius: 6px;
  font: 900 11px/1 "Inter", sans-serif;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.featured-orbex { color: var(--gold-deep); opacity: 1; font-size: 17.5px; }
html[lang="ar"] .featured-logo { font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 16.5px; }

/* ============ PATHS ============ */

.paths { padding: clamp(64px, 9vw, 120px) 0; }
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.path-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .2s ease;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }

.path-num {
  position: absolute;
  top: 20px;
  inset-inline-end: 28px;
  font: 900 48px/1 "Fraunces", serif;
  color: var(--line-2);
  letter-spacing: -0.02em;
  pointer-events: none;
}
html[lang="ar"] .path-num { font-family: "Tajawal", sans-serif; font-size: 44px; font-weight: 900; }

.path-banner {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font: 700 12px/1 "Inter", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  align-self: flex-start;
}
html[lang="ar"] .path-banner { font-family: "Tajawal", sans-serif; text-transform: none; font-size: 14px; letter-spacing: 0; }
.path-sky    .path-banner { background: var(--sky-tint);    color: #006a99; border: 1px solid var(--sky-soft); }
.path-peach  .path-banner { background: var(--peach-tint);  color: #b13d12; border: 1px solid var(--peach-soft); }
.path-purple .path-banner { background: var(--purple-tint); color: #553b9a; border: 1px solid var(--purple-soft); }

.path-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.path-sky::before    { background: linear-gradient(90deg, var(--sky), #82dcf5); }
.path-peach::before  { background: linear-gradient(90deg, var(--peach), #fdb38e); }
.path-purple::before { background: linear-gradient(90deg, var(--purple), #d9c4fc); }

.path-title {
  font: 800 clamp(22px, 2.2vw, 28px)/1.15 "Inter", sans-serif;
  color: var(--t-100);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
html[lang="ar"] .path-title { font-family: "Tajawal", sans-serif; font-weight: 900; line-height: 1.3; }

.path-sub {
  color: var(--t-300);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
html[lang="ar"] .path-sub { font-size: 15.5px; line-height: 1.75; }

.path-bullets { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.path-bullets li {
  font-size: 14.5px;
  color: var(--t-200);
  line-height: 1.5;
  font-weight: 500;
}
html[lang="ar"] .path-bullets li { font-size: 15px; }

.path-cta { margin-top: auto; align-self: flex-start; }

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

/* ============ ABOUT ============ */

.about {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.about-copy .display-2 { margin-bottom: 22px; }
.about-copy p {
  font-size: 17.5px;
  color: var(--t-200);
  line-height: 1.78;
  margin-bottom: 18px;
}
html[lang="ar"] .about-copy p { font-size: 17px; line-height: 1.95; }
.about-copy strong { color: var(--t-100); font-weight: 700; }
.about-copy em { font-family: "Fraunces", serif; font-style: italic; color: var(--gold-deep); }
html[lang="ar"] .about-copy em { font-family: "Tajawal", sans-serif; font-style: normal; font-weight: 900; }

.about-sig {
  font: 600 22px/1.2 "Fraunces", serif !important;
  font-style: italic;
  color: var(--gold-deep);
  margin-top: 24px !important;
}
html[lang="ar"] .about-sig { font-family: "Tajawal", sans-serif !important; font-style: normal; font-weight: 700; font-size: 20px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.about-stat-n {
  font: 900 32px/1 "Inter", sans-serif;
  letter-spacing: -0.02em;
  color: var(--t-100);
}
html[lang="ar"] .about-stat-n { font-family: "Tajawal", sans-serif; font-size: 28px; line-height: 1.2; }
.about-stat-n .plus { color: var(--gold-deep); }
.about-stat-l {
  font-size: 13.5px;
  color: var(--t-300);
  line-height: 1.4;
  margin-top: 4px;
}
html[lang="ar"] .about-stat-l { font-size: 14px; line-height: 1.55; }

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ============ COURSES ============ */

.courses { padding: clamp(64px, 9vw, 120px) 0; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.course-featured { border: 2px solid var(--peach); transform: translateY(-4px); }
.course-featured:hover { transform: translateY(-8px); }

.course-banner {
  padding: 28px;
  display: flex; align-items: center;
  min-height: 88px;
}
.course-banner-sky    { background: linear-gradient(135deg, var(--sky-tint), var(--sky-soft)); }
.course-banner-peach  { background: linear-gradient(135deg, var(--peach-tint), var(--peach-soft)); }
.course-banner-purple { background: linear-gradient(135deg, var(--purple-tint), var(--purple-soft)); }

.course-tag {
  display: inline-block;
  padding: 7px 14px;
  background: var(--bg-card);
  color: var(--t-100);
  border-radius: var(--r-pill);
  font: 700 12px/1 "Inter", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-1);
}
html[lang="ar"] .course-tag { font-family: "Tajawal", sans-serif; text-transform: none; font-size: 14px; letter-spacing: 0; }

.course-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.course-title {
  font: 800 22px/1.2 "Inter", sans-serif;
  color: var(--t-100);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
html[lang="ar"] .course-title { font-family: "Tajawal", sans-serif; font-weight: 900; line-height: 1.35; font-size: 23px; }
.course-desc {
  color: var(--t-300);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}
html[lang="ar"] .course-desc { font-size: 15.5px; line-height: 1.75; }

.course-mods {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.course-mods li {
  font-size: 14px;
  color: var(--t-200);
  font-weight: 500;
  position: relative;
  padding-inline-start: 20px;
}
.course-mods li::before {
  content: '·';
  position: absolute; inset-inline-start: 0;
  color: var(--gold-deep);
  font-weight: 900;
  font-size: 20px;
  line-height: 14px;
}
html[lang="ar"] .course-mods li { font-size: 14.5px; }

.course-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.course-price {
  font: 900 24px/1 "Inter", sans-serif;
  letter-spacing: -0.02em;
  color: var(--t-100);
}
html[lang="ar"] .course-price { font-family: "Tajawal", sans-serif; font-size: 22px; }

@media (max-width: 980px) {
  .courses-grid { grid-template-columns: 1fr; }
  .course-featured { transform: none; }
  .course-featured:hover { transform: translateY(-4px); }
}

/* ============ NEWSLETTER ============ */

.newsletter { padding: clamp(48px, 7vw, 88px) 0; }
.nl-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  max-width: 880px;
  margin: 0 auto;
}
.nl-blob {
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--yellow-soft), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.nl-kicker, .nl-title, .nl-sub, .nl-form, .nl-trust { position: relative; z-index: 1; }
.nl-kicker {
  display: inline-block;
  padding: 7px 14px;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow);
  color: #7a5a00;
  border-radius: var(--r-pill);
  font: 700 12px/1 "Inter", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
html[lang="ar"] .nl-kicker { font-family: "Tajawal", sans-serif; text-transform: none; font-size: 14px; letter-spacing: 0; }
.nl-title { margin-bottom: 16px; }
.nl-title em { color: var(--gold-deep); }
.nl-sub {
  font-size: 17px;
  color: var(--t-300);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 620px;
  margin-inline: auto;
}
.nl-sub strong { color: var(--t-100); font-weight: 800; }

.nl-form {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.nl-form input {
  flex: 1; min-width: 220px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1.5px solid var(--line-2);
  color: var(--t-100);
  border-radius: var(--r-pill);
  font: 500 15px/1 "Inter", sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease;
}
html[lang="ar"] .nl-form input { font-family: "Tajawal", sans-serif; font-size: 15.5px; }
.nl-form input::placeholder { color: var(--t-400); }
.nl-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.nl-trust {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--t-400);
}
html[lang="ar"] .nl-trust { font-size: 14px; }
.nl-msg { margin-top: 16px; font-size: 14.5px; color: #166534; }

/* ============ MENTORSHIP ============ */

.mentor { padding: clamp(48px, 7vw, 88px) 0; background: var(--bg-soft); border-block: 1px solid var(--line); }
.mentor-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: clamp(36px, 5vw, 72px);
  max-width: 880px; margin: 0 auto;
  box-shadow: var(--shadow-2);
}
.mentor-card .section-head { text-align: center; max-width: none; margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.mentor-card .section-head .section-sub { margin-left: auto; margin-right: auto; }

.mentor-form { display: flex; flex-direction: column; gap: 18px; }
.mentor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mentor-field { display: flex; flex-direction: column; gap: 8px; }
.mentor-field > span {
  font: 600 13.5px/1.2 "Inter", sans-serif;
  color: var(--t-200);
}
html[lang="ar"] .mentor-field > span { font-family: "Tajawal", sans-serif; font-size: 14.5px; font-weight: 700; }
.mentor-field input,
.mentor-field select,
.mentor-field textarea {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--line-2);
  color: var(--t-100);
  border-radius: var(--r-md);
  font: 500 15px/1.5 "Inter", sans-serif;
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
html[lang="ar"] .mentor-field input,
html[lang="ar"] .mentor-field select,
html[lang="ar"] .mentor-field textarea { font-family: "Tajawal", sans-serif; font-size: 15.5px; }
.mentor-field input::placeholder,
.mentor-field textarea::placeholder { color: var(--t-400); }
.mentor-field input:focus,
.mentor-field select:focus,
.mentor-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.mentor-submit { align-self: center; margin-top: 8px; }
.mentor-msg { text-align: center; padding: 14px; border-radius: var(--r-md); margin-top: 12px; font-size: 15px; }
.mentor-msg.ok { background: #ecfdf5; color: #065f46; }
.mentor-msg.err { background: #fef2f2; color: #991b1b; }

@media (max-width: 720px) {
  .mentor-row { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */

.faq { padding: clamp(64px, 9vw, 120px) 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 4px 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-list details[open] { border-color: var(--gold); box-shadow: var(--shadow-2); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font: 700 16.5px/1.4 "Inter", sans-serif;
  color: var(--t-100);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font: 400 26px/1 "Inter", sans-serif;
  color: var(--gold-deep);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
html[lang="ar"] .faq-list summary { font-family: "Tajawal", sans-serif; font-size: 17px; line-height: 1.55; font-weight: 700; }
.faq-list p {
  padding: 0 22px 22px;
  color: var(--t-300);
  font-size: 15.5px;
  line-height: 1.7;
}
html[lang="ar"] .faq-list p { font-size: 16px; line-height: 1.85; }
.faq-list p em { font-family: "Fraunces", serif; font-style: italic; color: var(--gold-deep); }
html[lang="ar"] .faq-list p em { font-family: "Tajawal", sans-serif; font-style: normal; font-weight: 900; }

/* ============ FINAL CTA ============ */

.final { padding: clamp(64px, 9vw, 120px) 0; }
.final-card {
  background: linear-gradient(135deg, #14110d 0%, #2a261f 70%, #4a3f24 100%);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: clamp(56px, 8vw, 96px) clamp(36px, 5vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-3);
}
.final-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 70%; height: 200%;
  background: radial-gradient(closest-side, rgba(201,169,97,.4), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.final-card .display-1, .final-card p, .final-card .final-actions { position: relative; z-index: 1; }
.final-card .display-1 { color: #fff; margin-bottom: 18px; }
.final-card .display-1 em { color: var(--gold-bright); }
.final-card p {
  color: rgba(255,255,255,.78);
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 640px; margin-inline: auto;
}
.final-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
}
.final-card .btn-gold {
  background: var(--gold-bright);
  color: var(--t-100);
  box-shadow: 0 14px 36px -10px rgba(240,213,160,.55);
}
.final-card .btn-gold:hover { background: #f6dfb0; }

/* ============ FOOTER ============ */

.footer {
  background: var(--bg-warm);
  padding: clamp(48px, 6vw, 80px) 0 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-logo-block {
  display: flex; justify-content: center;
  margin-bottom: 28px;
}
.footer-logo-block img {
  max-width: min(340px, 70vw);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(20,17,13,.1));
}
.footer-links {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-links a {
  color: var(--t-300);
  font: 600 14px/1 "Inter", sans-serif;
  transition: color .2s ease;
}
html[lang="ar"] .footer-links a { font-family: "Tajawal", sans-serif; font-size: 15px; }
.footer-links a:hover { color: var(--gold-deep); }
.disclaimer {
  font-size: 12.5px;
  color: var(--t-400);
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 18px;
}
html[lang="ar"] .disclaimer { font-size: 13.5px; line-height: 1.8; }
.disclaimer em { color: var(--gold-deep); font-family: "Fraunces", serif; font-style: italic; }
html[lang="ar"] .disclaimer em { font-family: "Tajawal", sans-serif; font-style: normal; font-weight: 700; }
.copy {
  font-size: 12.5px;
  color: var(--t-400);
}
html[lang="ar"] .copy { font-size: 13.5px; }

/* ============ FLOATING CTA ============ */
.floating-cta { display: none; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
