/* ═══════════════════════════════════════════════════════
   Yasser Content — course landing page
   Dark navy base · pink→violet→blue gradients · AE glow
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #070b18;
  --bg-2: #0b1124;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1fb;
  --text-2: #aab2cf;
  --text-3: #6f7893;
  --pink: #ec4899;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --grad: linear-gradient(120deg, var(--pink), var(--violet) 50%, var(--blue));
  --radius: 18px;
  --font: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-display: "Changa", "IBM Plex Sans Arabic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.8;
  overflow-x: hidden;
}

.container { width: min(1120px, 92%); margin-inline: auto; }
.container.narrow { width: min(860px, 92%); }
.center { text-align: center; }

/* ─── Urgency bar ─── */
.urgency-bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 9px 14px;
  background: linear-gradient(90deg, rgba(236,72,153,.16), rgba(59,130,246,.16)),
              rgba(7, 11, 24, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.urgency-text b { color: var(--pink); }
.countdown { font-variant-numeric: tabular-nums; color: var(--text-2); letter-spacing: 1px; }
.urgency-cta {
  color: #fff; text-decoration: none; font-weight: 600; font-size: .85rem;
  padding: 4px 14px; border-radius: 999px; background: var(--grad);
}

/* ─── Buttons ─── */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease;
  font-family: var(--font);
}
.btn-primary {
  color: #fff; background: var(--grad); background-size: 160% 160%;
  box-shadow: 0 8px 32px rgba(236, 72, 153, .35);
  animation: gradShift 6s ease infinite;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(139, 92, 246, .5); }
.btn-lg { padding: 14px 34px; font-size: 1.05rem; }
.btn-xl { padding: 17px 46px; font-size: 1.15rem; }
.btn-block { display: block; text-align: center; padding: 14px; }
.btn-ghost {
  color: var(--text-2); padding: 14px 28px; border: 1px solid var(--border);
  background: var(--surface);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.25); }

@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Hero ─── */
.hero { position: relative; padding: 90px 0 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-pink   { width: 480px; height: 480px; background: #ec489966; top: -140px; right: -100px; }
.blob-blue   { width: 520px; height: 520px; background: #3b82f655; bottom: -180px; left: -140px; animation-delay: -6s; }
.blob-violet { width: 380px; height: 380px; background: #8b5cf655; top: 30%; left: 30%; animation-delay: -12s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero-inner { position: relative; text-align: center; }
.hero-eyebrow {
  display: inline-block; font-size: .95rem; color: var(--pink);
  border: 1px solid rgba(236,72,153,.35); background: rgba(236,72,153,.08);
  padding: 5px 18px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  font-weight: 800; line-height: 1.45; margin-bottom: 18px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 640px; margin: 0 auto 30px; color: var(--text-2);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }

/* Showreel + video slots */
.showreel { max-width: 860px; margin: 0 auto 40px; }
.video-slot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(236,72,153,.14), transparent 60%),
    radial-gradient(ellipse at 75% 85%, rgba(59,130,246,.14), transparent 60%),
    var(--bg-2);
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  cursor: pointer; transition: border-color .25s;
}
.video-slot:hover { border-color: rgba(236,72,153,.45); }
.video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-slot-inner { text-align: center; color: var(--text-3); }
.play-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 10px;
  border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.2rem;
  box-shadow: 0 8px 30px rgba(236,72,153,.4);
}
.work-slot { aspect-ratio: 9 / 16; }

/* Stats */
.stats-row {
  display: flex; justify-content: center; gap: clamp(18px, 5vw, 64px);
  flex-wrap: wrap; list-style: none;
}
.stats-row li { text-align: center; }
.stat-num {
  display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-num i { font-style: normal; }
.stats-row span { color: var(--text-3); font-size: .88rem; }

/* ─── Sections ─── */
.section { padding: 84px 0; position: relative; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 800;
  text-align: center; margin-bottom: 14px; line-height: 1.5;
}
.section-sub { text-align: center; color: var(--text-3); margin-bottom: 40px; }
.section-sub b { color: var(--pink); }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform .25s ease, border-color .25s ease, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.4); background: var(--surface-2); }

/* Pain */
.pain { background: linear-gradient(180deg, transparent, rgba(236,72,153,.03) 50%, transparent); }
.pain-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 40px; }
.pain-emoji { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.pain-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.pain-card p { color: var(--text-2); font-size: .95rem; }
.pain-bridge { text-align: center; margin-top: 36px; font-size: 1.1rem; color: var(--text-2); }
.pain-bridge b { color: var(--text); }

/* Outcomes */
.outcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 40px; }
.outcome-card span { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.outcome-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.outcome-card p { color: var(--text-2); font-size: .93rem; }

/* Curriculum / FAQ accordions */
.lectures { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; }
.lecture {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: border-color .25s;
}
.lecture[open] { border-color: rgba(236,72,153,.35); }
.lecture summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; font-weight: 600; font-size: 1rem;
}
.lecture summary::-webkit-details-marker { display: none; }
.lec-num {
  font-family: var(--font-display); font-weight: 800; font-size: .85rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 34px;
}
.chev { margin-inline-start: auto; color: var(--text-3); transition: transform .25s; }
.lecture[open] .chev { transform: rotate(180deg); }
.lecture p { padding: 0 20px 18px 20px; color: var(--text-2); font-size: .94rem; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

/* Instructor */
.instructor-inner { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; }
.photo-slot {
  aspect-ratio: 3 / 4; border-radius: var(--radius); display: grid; place-items: center;
  color: var(--text-3); border: 1px dashed rgba(255,255,255,.2);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139,92,246,.18), transparent 70%),
    var(--bg-2);
}
.instructor-text .section-title { text-align: right; }
.instructor-text p { color: var(--text-2); margin-bottom: 14px; }
.instructor-text b { color: var(--text); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 12px; }
.testi-quote { color: var(--text-2); font-size: .96rem; margin-bottom: 14px; }
.testi-name { color: var(--text-3); font-size: .85rem; }

/* Bonuses */
.bonuses { background: linear-gradient(180deg, transparent, rgba(59,130,246,.04) 50%, transparent); }
.bonus-list { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.bonus-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px;
}
.bonus-check {
  width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem;
}
.bonus-item div { flex: 1; }
.bonus-item h3 { font-size: 1rem; }
.bonus-item p { color: var(--text-3); font-size: .86rem; }
.bonus-value { font-family: var(--font-display); font-weight: 700; color: var(--pink); white-space: nowrap; }
.bonus-total { text-align: center; margin-top: 26px; font-size: 1.15rem; }

/* Pricing */
.price-card {
  position: relative; text-align: center; padding: 52px 34px;
  border-radius: 26px; border: 1px solid rgba(236,72,153,.3);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(236,72,153,.12), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(59,130,246,.1), transparent 60%),
    var(--bg-2);
  overflow: hidden;
}
.price-glow {
  position: absolute; inset: -2px; border-radius: 26px; z-index: -1;
  background: var(--grad); filter: blur(26px); opacity: .25;
}
.price-card h2 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 22px; }
.price-line { display: flex; align-items: baseline; justify-content: center; gap: 18px; margin-bottom: 26px; }
.price-old { color: var(--text-3); text-decoration: line-through; font-size: 1.2rem; }
.price-now { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; }
.price-includes { list-style: none; max-width: 420px; margin: 0 auto 30px; text-align: right; }
.price-includes li { padding: 8px 0; color: var(--text-2); border-bottom: 1px dashed rgba(255,255,255,.08); }
.price-includes li::before { content: "✓ "; color: var(--pink); font-weight: 700; }
.guarantee {
  display: flex; gap: 14px; align-items: center; max-width: 480px;
  margin: 30px auto 0; padding: 16px 20px; border-radius: 14px;
  background: rgba(16, 185, 129, .07); border: 1px solid rgba(16, 185, 129, .25);
  text-align: right;
}
.guarantee-badge { font-size: 1.6rem; }
.guarantee p { font-size: .9rem; color: var(--text-2); }
.guarantee b { color: #34d399; }

/* Final CTA */
.final-cta h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.6; margin-bottom: 30px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 30px 0 90px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--text-3); font-size: .88rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--pink); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; bottom: 0; right: 0; left: 0; z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 11, 24, .92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .35s ease;
}
.sticky-cta.visible { transform: translateY(0); }
@media (min-width: 760px) { .sticky-cta { display: none; } .footer { padding-bottom: 30px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
  .btn-primary { animation: none; }
}

/* Responsive */
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .hero { padding-top: 56px; }
  .instructor-inner { grid-template-columns: 1fr; gap: 26px; }
  .instructor-photo { max-width: 240px; margin: 0 auto; }
  .instructor-text .section-title { text-align: center; }
  .urgency-bar { font-size: .8rem; gap: 8px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
