@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --ar-bg: #05070b;
  --ar-panel: #0c111a;
  --ar-panel-2: #101827;
  --ar-text: #f8fafc;
  --ar-muted: #a8b3c7;
  --ar-blue: #4f8cff;
  --ar-cyan: #64d9ff;
  --ar-line: rgba(255,255,255,.1);
  --ar-green: #37d996;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ar-course {
  margin: 0;
  background: var(--ar-bg);
  color: var(--ar-text);
  font-family: "Tajawal", Arial, sans-serif;
  direction: rtl;
  overflow-x: hidden;
}
.ar-course a { color: inherit; }
.ar-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.ar-nav {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 78px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  display: flex;
  align-items: center;
  gap: 34px;
  background: rgba(5,7,11,.82);
  border-bottom: 1px solid var(--ar-line);
  backdrop-filter: blur(20px);
}
.ar-brand { margin-left: auto; display: flex; }
.ar-brand img { width: 190px; height: 58px; object-fit: contain; }
.ar-nav nav { display: flex; align-items: center; gap: 28px; }
.ar-nav nav a { text-decoration: none; color: #cbd5e1; font-weight: 700; }
.ar-nav nav a:hover { color: #fff; }
.ar-nav-cta {
  text-decoration: none;
  background: linear-gradient(135deg, var(--ar-cyan), var(--ar-blue));
  color: #06101d !important;
  font-weight: 900;
  padding: 11px 22px;
  border-radius: 12px;
}
.ar-flash {
  position: fixed;
  z-index: 80;
  top: 92px;
  right: 50%;
  transform: translateX(50%);
  width: min(560px, calc(100% - 32px));
  padding: 14px 18px;
  background: #fff3cd;
  color: #664d03;
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
}
.ar-hero {
  position: relative;
  min-height: 760px;
  padding: 150px 0 85px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 20% 25%, rgba(79,140,255,.17), transparent 32%),
    linear-gradient(180deg, #08101d 0%, var(--ar-bg) 100%);
}
.ar-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.ar-hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.ar-kicker { color: var(--ar-cyan); font-weight: 900; letter-spacing: .02em; }
.ar-hero h1 { margin: 20px 0; font-size: clamp(48px, 6vw, 82px); line-height: 1.03; letter-spacing: -.04em; }
.ar-hero h1 em { display: block; color: transparent; font-style: normal; background: linear-gradient(90deg, var(--ar-cyan), #8ca8ff); background-clip: text; }
.ar-lead { max-width: 680px; color: #c2ccdc; font-size: 21px; line-height: 1.9; }
.ar-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 26px; }
.ar-btn { min-height: 54px; padding: 0 24px; border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font: 900 16px "Tajawal", sans-serif; cursor: pointer; }
.ar-btn-primary { color: #06101d !important; background: linear-gradient(135deg, var(--ar-cyan), var(--ar-blue)); box-shadow: 0 14px 40px rgba(79,140,255,.25); }
.ar-btn-ghost { border: 1px solid var(--ar-line); background: rgba(255,255,255,.04); }
.ar-trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #b8c2d2; font-size: 14px; }
.ar-course-preview { position: relative; background: linear-gradient(145deg, rgba(18,29,47,.98), rgba(7,12,21,.98)); border: 1px solid rgba(100,217,255,.2); border-radius: 28px; padding: 18px; box-shadow: 0 35px 90px rgba(0,0,0,.55); transform: perspective(1000px) rotateY(3deg); }
.ar-preview-top { display: flex; align-items: center; gap: 10px; color: #cbd5e1; padding: 2px 4px 16px; border-bottom: 1px solid var(--ar-line); }
.ar-preview-top b { margin-right: auto; color: var(--ar-cyan); }
.ar-live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ar-green); box-shadow: 0 0 16px var(--ar-green); }
.ar-chart { position: relative; height: 330px; margin-top: 18px; overflow: hidden; border-radius: 18px; background:
  linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
  linear-gradient(180deg, rgba(79,140,255,.08), rgba(5,7,11,.4));
  background-size: 44px 44px, 44px 44px, auto;
}
.ar-chart-line { position: absolute; inset: 30px 25px 45px; clip-path: polygon(0 76%, 8% 68%, 15% 72%, 25% 44%, 35% 57%, 44% 35%, 53% 41%, 64% 18%, 73% 30%, 82% 14%, 91% 22%, 100% 4%, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(100,217,255,.7), rgba(79,140,255,.03)); border-top: 3px solid var(--ar-cyan); }
.ar-chart-label { position: absolute; padding: 6px 10px; border: 1px solid rgba(100,217,255,.28); border-radius: 8px; background: rgba(5,7,11,.82); color: #dcecff; font-size: 12px; }
.label-one { right: 24px; bottom: 42px; }.label-two { left: 30px; top: 105px; }.label-three { left: 108px; top: 42px; color: var(--ar-green); }
.ar-progress-card { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
.ar-progress-card div { padding: 14px 8px; text-align: center; background: rgba(255,255,255,.045); border: 1px solid var(--ar-line); border-radius: 12px; }
.ar-progress-card strong,.ar-progress-card span { display: block; }.ar-progress-card strong { font-size: 22px; }.ar-progress-card span { color: var(--ar-muted); font-size: 12px; margin-top: 3px; }
.ar-proof { border-block: 1px solid var(--ar-line); background: rgba(255,255,255,.018); }
.ar-proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.ar-proof-grid div { padding: 28px 20px; text-align: center; border-left: 1px solid var(--ar-line); }
.ar-proof-grid div:last-child { border-left: 0; }.ar-proof-grid strong,.ar-proof-grid span { display: block; }.ar-proof-grid strong { font-size: 22px; }.ar-proof-grid span { color: var(--ar-muted); margin-top: 5px; }
.ar-section { padding-block: 105px; }
.ar-section-heading { max-width: 720px; margin-bottom: 48px; }
.ar-section-heading h2,.ar-checkout-copy h2 { font-size: clamp(36px, 5vw, 58px); line-height: 1.15; margin: 12px 0 16px; }
.ar-section-heading p,.ar-checkout-copy > p { color: var(--ar-muted); font-size: 18px; line-height: 1.8; }
.ar-benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.ar-benefit-grid article,.ar-step-grid article { padding: 28px; border: 1px solid var(--ar-line); border-radius: 20px; background: linear-gradient(145deg, var(--ar-panel-2), var(--ar-panel)); }
.ar-benefit-grid article > span { color: var(--ar-cyan); font-weight: 900; }
.ar-benefit-grid h3,.ar-step-grid h3 { margin: 28px 0 10px; font-size: 21px; }.ar-benefit-grid p,.ar-step-grid p { color: var(--ar-muted); line-height: 1.75; }
.ar-curriculum { margin-top: 80px; padding: 42px; border-radius: 28px; background: #0a0f18; border: 1px solid var(--ar-line); }
.ar-curriculum-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }.ar-curriculum-head h2 { margin: 10px 0 0; font-size: 34px; }
.ar-price-pill { padding: 10px 16px; border-radius: 99px; color: var(--ar-green); background: rgba(55,217,150,.08); border: 1px solid rgba(55,217,150,.24); white-space: nowrap; font-weight: 800; }
.ar-lesson-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ar-lesson { display: grid; grid-template-columns: 42px 1fr 24px; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.025); }
.ar-lesson > span { color: var(--ar-cyan); font-weight: 900; }.ar-lesson p { margin: 0; }.ar-lesson i { color: #61728b; font-style: normal; }
.ar-more-lessons { text-align: center; color: var(--ar-cyan); font-weight: 800; margin: 24px 0 0; }
.ar-how { background: linear-gradient(180deg, rgba(79,140,255,.055), transparent); border-block: 1px solid var(--ar-line); }
.ar-step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; counter-reset: steps; }
.ar-step-grid b { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(100,217,255,.12); color: var(--ar-cyan); font-size: 22px; }.ar-step-grid h3 { margin-top: 22px; }
.ar-checkout-section { display: grid; grid-template-columns: 1fr 470px; gap: 80px; align-items: center; }
.ar-checkout-copy ul { list-style: none; padding: 0; display: grid; gap: 14px; color: #d5deeb; font-size: 17px; }
.ar-payment-badges { display: flex; gap: 10px; margin-top: 28px; }.ar-payment-badges span { padding: 8px 13px; border-radius: 9px; background: rgba(255,255,255,.05); border: 1px solid var(--ar-line); font-weight: 800; }
.ar-checkout-card { padding: 30px; border-radius: 28px; background: #fff; color: #101827; box-shadow: 0 35px 90px rgba(0,0,0,.42); }
.ar-checkout-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid #e5e7eb; }
.ar-checkout-title div span,.ar-checkout-title div strong { display: block; }.ar-checkout-title div span { color: #64748b; }.ar-checkout-title div strong { font-size: 42px; }.ar-checkout-title small { background: #ecfdf5; color: #047857; padding: 7px 10px; border-radius: 8px; font-weight: 800; }
.ar-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ar-checkout-card label { display: grid; gap: 7px; margin-bottom: 14px; color: #334155; font-weight: 800; }
.ar-checkout-card input { width: 100%; min-height: 49px; padding: 0 13px; border: 1px solid #cbd5e1; border-radius: 10px; font: 500 15px "Tajawal",sans-serif; direction: rtl; }
.ar-checkout-card input[type=email] { direction: ltr; text-align: right; }
.ar-submit { width: 100%; margin-top: 6px; }
.ar-form-note,.ar-legal-note { text-align: center; }.ar-form-note { margin: 16px 0 8px; }.ar-form-note a { color: #2563eb; font-weight: 800; }.ar-legal-note { color: #64748b; font-size: 12px; line-height: 1.55; margin-bottom: 0; }
.ar-faq { padding-top: 50px; }.ar-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ar-faq details { padding: 20px 22px; border: 1px solid var(--ar-line); border-radius: 16px; background: var(--ar-panel); }.ar-faq summary { cursor: pointer; font-weight: 900; font-size: 18px; }.ar-faq details p { color: var(--ar-muted); line-height: 1.8; }
.ar-footer { border-top: 1px solid var(--ar-line); padding: 34px 0; }.ar-footer .ar-shell { display: flex; align-items: center; gap: 25px; }.ar-footer img { width: 160px; }.ar-footer p { color: var(--ar-muted); margin-left: auto; }.ar-footer a { color: var(--ar-cyan); }

@media (max-width: 980px) {
  .ar-nav nav { display: none; }
  .ar-hero-grid,.ar-checkout-section { grid-template-columns: 1fr; }
  .ar-course-preview { max-width: 620px; transform: none; }
  .ar-benefit-grid { grid-template-columns: 1fr 1fr; }
  .ar-checkout-section { gap: 40px; }
}
@media (max-width: 680px) {
  .ar-shell { width: min(100% - 28px, 1160px); }
  .ar-nav { height: 68px; padding-inline: 14px; gap: 12px; }.ar-brand img { width: 145px; }.ar-nav-cta { padding: 9px 14px; }
  .ar-hero { padding: 116px 0 60px; min-height: auto; }.ar-hero h1 { font-size: 45px; }.ar-lead { font-size: 18px; }
  .ar-actions { display: grid; }.ar-btn { width: 100%; }
  .ar-course-preview { padding: 12px; }.ar-chart { height: 240px; }.ar-progress-card strong { font-size: 18px; }
  .ar-proof-grid { grid-template-columns: 1fr 1fr; }.ar-proof-grid div { border-bottom: 1px solid var(--ar-line); }
  .ar-section { padding-block: 70px; }.ar-benefit-grid,.ar-step-grid,.ar-lesson-grid,.ar-faq-grid { grid-template-columns: 1fr; }
  .ar-curriculum { padding: 22px 14px; margin-top: 55px; }.ar-curriculum-head { align-items: start; flex-direction: column; }.ar-curriculum-head h2 { font-size: 28px; }
  .ar-checkout-card { padding: 22px 17px; }.ar-form-grid { grid-template-columns: 1fr; }.ar-checkout-title div strong { font-size: 36px; }
  .ar-footer .ar-shell { flex-direction: column; text-align: center; }.ar-footer p { margin: 0; }
}
