
:root {
  --bg1: #FDFAF6;
  --bg2: #F7F4EF;
  --bg3: #EEE9E1;
  --card: #E5DFD6;
  --dark: #2A2520;
  --mid: #6B6560;
  --light: #A8A39D;
  --divider: #E8E2D8;
  --orange: #D4711A;
  --orange-hover: #BC6215;
  --white: #FDFAF6;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg1); color: var(--dark); font-family: -apple-system, BlinkMacSystemFont, 'Cairo', sans-serif; overflow-x: hidden; direction: rtl; }


#results, #curriculum, #features, #payment, #steps, #instructor { scroll-margin-top: 70px; }
/* NAV */
nav:not(.rndr-policy-links) { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2.5rem; border-bottom: 0.5px solid var(--divider); background: rgba(253,250,246,0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-logo { font-family: -apple-system, 'Cairo', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--dark); }
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.8rem; letter-spacing: 0.02em; text-decoration: none; color: var(--mid); transition: color 0.2s; }
.nav-links a:hover { color: var(--dark); }
.nav-btn { color: #fff !important; background: var(--orange); padding: 0.5rem 1.2rem; border-radius: 980px; transition: background 0.2s, transform 0.2s !important; font-weight: 600; }
.nav-btn:hover { background: var(--orange-hover) !important; transform: scale(1.02) !important; }

/* HERO */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 7rem 2rem 4rem; border-bottom: 0.5px solid var(--divider); position: relative; overflow: hidden; background: var(--bg1); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(212,113,26,0.07) 0%, transparent 55%); pointer-events: none; }
.hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light); margin-bottom: 1.25rem; direction: ltr; }
.hero-title { font-size: clamp(3.5rem, 8vw, 6.5rem); font-weight: 700; line-height: 1.0; color: var(--dark); margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.hero-title .orange { color: var(--orange); }
.hero-subtitle-ar { font-size: 1.15rem; font-weight: 400; color: var(--mid); margin-bottom: 0.3rem; font-family: 'Cairo', sans-serif; }
.hero-subtitle-en { font-size: 0.78rem; color: var(--light); margin-bottom: 1.75rem; direction: ltr; letter-spacing: 0.04em; }
.hero-price { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 600; color: var(--dark); letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.25rem; }
.hero-price-label { font-size: 0.65rem; color: var(--light); margin-bottom: 2rem; direction: ltr; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.btn-primary { background: var(--orange); color: #fff; font-family: -apple-system, 'Cairo', sans-serif; font-size: 0.9rem; font-weight: 600; padding: 0.8rem 1.8rem; border-radius: 980px; border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94); }
.btn-primary:hover { background: var(--orange-hover); transform: scale(1.02); box-shadow: 0 0 0 4px rgba(212,113,26,0.15); }
.btn-ghost { background: transparent; color: var(--orange); font-family: -apple-system, 'Cairo', sans-serif; font-size: 0.9rem; font-weight: 600; padding: 0.8rem 1.8rem; border-radius: 980px; border: 1.5px solid var(--orange); cursor: pointer; text-decoration: none; display: inline-block; transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94); }
.btn-ghost:hover { background: rgba(212,113,26,0.06); transform: scale(1.02); }
.hero-note { font-size: 0.72rem; color: var(--light); margin-top: 1.25rem; }

/* SECTION COMMON */
section:not(.rndr-checkout-head):not(.rndr-faq-list):not(.rndr-wc-hero) { padding: 5rem 2.5rem; border-bottom: 0.5px solid var(--divider); scroll-margin-top: 64px; }
.section-eyebrow { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light); text-align: center; margin-bottom: 0.6rem; direction: ltr; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 600; color: var(--dark); text-align: center; letter-spacing: -0.02em; margin-bottom: 2.5rem; }
.section-title em { color: var(--orange); font-style: normal; }

/* BEFORE/AFTER */
.ba-section { background: var(--bg2); }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; max-width: 1100px; margin: 0 auto; }
.ba-card { background: var(--bg1); border-radius: 18px; overflow: hidden; transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94); }
.ba-card:hover { transform: scale(1.01); }
.ba-card-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1rem; border-bottom: 0.5px solid var(--divider); }
.ba-card-name { font-size: 0.78rem; font-weight: 700; color: var(--dark); }
.ba-card-days { font-size: 0.62rem; letter-spacing: 0.1em; color: var(--orange); direction: ltr; text-transform: uppercase; }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; height: 240px; }
.ba-slot { position: relative; overflow: hidden; }
.ba-slot:first-child { border-left: 0.5px solid var(--divider); }
.ba-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; background: var(--bg3); cursor: pointer; position: relative; transition: background 0.2s; }
.ba-ph:hover { background: var(--card); }
.ba-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.ba-ph img.loaded { display: block; }
.ba-ph input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.ba-ph .pi { font-size: 1.5rem; opacity: 0.3; position: relative; z-index: 1; }
.ba-ph .pt { font-size: 0.5rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); opacity: 0.5; position: relative; z-index: 1; }
.slot-tag { position: absolute; bottom: 0; right: 0; font-size: 0.52rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.28rem 0.6rem; z-index: 5; border-radius: 8px 0 0 0; }
.slot-tag.b { background: rgba(42,37,32,0.75); color: var(--light); }
.slot-tag.a { background: var(--orange); color: #fff; }

/* FEATURES */
.features { background: var(--bg1); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 900px; margin: 0 auto; }
.feat-item { background: var(--bg3); border-radius: 18px; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94); }
.feat-item:hover { background: var(--card); transform: scale(1.01); }
.feat-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.feat-title { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 0.35rem; }
.feat-desc { font-size: 0.75rem; line-height: 1.8; color: var(--mid); }

/* PAYMENT */
.payment { background: var(--bg2); }
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; max-width: 700px; margin: 0 auto; }
.pay-card { background: var(--bg1); border-radius: 22px; padding: 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.85rem; transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94); }
.pay-card:hover { background: var(--bg1); }
.pay-icon { font-size: 2.2rem; }
.pay-title { font-size: 1rem; font-weight: 700; color: var(--dark); }
.pay-detail { font-size: 0.85rem; letter-spacing: 0.05em; color: var(--orange); direction: ltr; font-weight: 600; }
.pay-note { font-size: 0.72rem; color: var(--mid); line-height: 1.7; }
.qr-img { width: 150px; height: 150px; border-radius: 14px; border: 3px solid var(--bg3); padding: 4px; background: white; }

/* STEPS */
.steps { background: var(--bg1); }
.steps-list { display: flex; flex-direction: column; gap: 8px; max-width: 700px; margin: 0 auto; }
.step { background: var(--bg3); border-radius: 18px; padding: 1.5rem 1.75rem; display: flex; gap: 1.25rem; align-items: center; transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94); }
.step:hover { background: var(--card); transform: scale(1.01); }
.step-num { font-size: 2rem; font-weight: 700; color: var(--orange); line-height: 1; min-width: 44px; letter-spacing: -0.02em; }
.step-text { font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.step-sub { font-size: 0.72rem; color: var(--mid); margin-top: 0.2rem; }

/* CTA */
.cta-section { background: var(--bg2); text-align: center; padding: 6rem 2.5rem; border-bottom: none; }
.cta-title { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; color: var(--dark); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.5rem; }
.cta-title .orange { color: var(--orange); }
.cta-price { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 600; color: var(--dark); letter-spacing: -0.03em; line-height: 1; margin: 0.75rem 0 0.25rem; }
.cta-label { font-size: 0.65rem; color: var(--light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem; direction: ltr; }

/* FOOTER */
footer { background: var(--bg1); border-top: 0.5px solid var(--divider); padding: 1.5rem 2.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-size: 0.85rem; font-weight: 700; color: var(--mid); letter-spacing: -0.01em; }
.footer-logo span { color: var(--orange); }
.footer-note { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light); direction: ltr; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }


@media(max-width: 768px) {
  #mob-menu-btn { display: block !important; }
}
/* ── TABLET ── */
@media(max-width: 1024px) {
  .nav-links a:not(.nav-btn) { display: none; }
  .hero-title { font-size: clamp(3rem, 8vw, 5rem); }
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .payment-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE ── */
@media(max-width: 768px) {
  /* Nav */
  nav:not(.rndr-policy-links) { padding: 0.875rem 1.25rem; }
  .nav-links a:not(.nav-btn) { display: none; }
  .nav-btn { font-size: 0.7rem; padding: 0.45rem 1rem; }

  /* Hero */
  .hero { padding: 5.5rem 1.25rem 3rem; }
  .hero-title { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .hero-subtitle-ar { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; justify-content: center; }

  /* Sections */
  section:not(.rndr-checkout-head):not(.rndr-faq-list):not(.rndr-wc-hero) { padding: 3rem 1.25rem; }

  /* BA Grid */
  .ba-grid { grid-template-columns: 1fr; }
  .ba-images { height: 200px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Payment */
  .payment-grid { grid-template-columns: 1fr; gap: 12px; }
  .pay-card { padding: 1.5rem 1.25rem; }

  /* Steps */
  .steps-list { gap: 6px; }
  .step { padding: 1.25rem; }
  .step-num { font-size: 1.8rem; min-width: 36px; }

  /* Curriculum */
  #curriculum .section-title { font-size: 2rem; }

  /* Instructor */
  #instructor > div > div { flex-direction: column !important; }
  #instructor img { width: 120px !important; height: 120px !important; }
  #instructor > div > div > div:first-child { width: 120px !important; height: 120px !important; margin: 0 auto !important; }

  /* Stats bar */
  #curriculum > div:nth-child(3) > div { flex-wrap: wrap; gap: 1rem; padding: 1rem; }

  /* CTA */
  .cta-title { font-size: 2.8rem; }
  .cta-price { font-size: 3.5rem; }

  /* Footer */
  footer { padding: 1.25rem; flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Quick nav pills */
  .hero div[style*="justify-content:center"][style*="margin-top"] { gap: 0.4rem; }
  .hero div[style*="justify-content:center"][style*="margin-top"] a { font-size: 0.62rem; padding: 0.35rem 0.75rem; }

  /* Bonus card */
  #curriculum div[style*="linear-gradient"] { flex-direction: column; }

  /* Social links instructor */
  #instructor div[style*="display:flex"][style*="gap:0.75rem"] { flex-wrap: wrap; }
}


@media(max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr !important; }
}
@media(max-width: 1024px) and (min-width: 769px) {
  .pricing-grid { grid-template-columns: 1fr 1fr !important; }
  .pricing-grid > div:last-child { grid-column: 1 / -1; }
}
/* ── SMALL MOBILE ── */
@media(max-width: 390px) {
  .hero-title { font-size: 2.5rem; }
  .hero-price { font-size: 2rem; }
  .cta-price { font-size: 3rem; }
  .step { grid-template-columns: 36px 1fr; gap: 1rem; }
}
