/* =========================================================
   ALHADDAD SHRED LAB — start.css
   Bio-link funnel page (Instagram / TikTok). Builds on styles.css
   (tokens, buttons, cards) and apply.css (wizard fields, pills,
   country picker). Only funnel-specific pieces live here.
   ========================================================= */

/* ---------- Shell: one narrow column, like a phone even on desktop ---------- */
.wl-page { background: var(--bg-soft); }
.wl-shell {
  width: 100%; max-width: 720px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
}
.wiz-topbar__inner.wl-shell { max-width: 720px; }
.wl-main { padding-block: 14px 110px; }
.wl-view[hidden] { display: none; }
.wiz-progress[hidden] { display: none; }

/* ---------- Hero: compact forge panel (poster image, no video → fast in in-app browsers) ---------- */
.wl-hero {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 22px;
  background: var(--hero-bg) var(--wl-hero-img) center / cover no-repeat;
  box-shadow: 0 30px 70px -34px rgba(10,10,10,.5), 0 8px 24px -16px rgba(10,10,10,.35);
}
.wl-hero__scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.30) 0%, rgba(10,10,10,.86) 100%),
    rgba(10,10,10,.30);
}
.wl-hero__inner {
  position: relative; z-index: 1;
  padding: clamp(26px, 6vw, 44px) clamp(20px, 5vw, 36px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.wl-hero__pill { cursor: default; }
.wl-hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 7.2vw, 3rem); line-height: 1.08;
  letter-spacing: var(--track-tight); color: #fff; margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
html[lang="ar"] .wl-hero__title { line-height: 1.3; }
.wl-hero__title em { font-style: italic; font-weight: 400; color: var(--orange); }
html[lang="ar"] .wl-hero__title em { font-style: normal; font-weight: 900; }
.wl-hero__sub {
  margin: 0; max-width: 46ch;
  color: rgba(255,255,255,.9); font-size: 1.02rem; line-height: 1.7;
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
}

/* guarantee badge — cream chip with shield */
.wl-badge {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 4px; align-items: start;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(255,241,232,.97); color: #7A2E05;
  border: 1px solid rgba(255,94,21,.4);
  font-weight: 700; font-size: .95rem; line-height: 1.45;
}
.wl-badge svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.wl-badge__text { grid-column: 2; }
.wl-badge .wl-linkbtn { grid-column: 2; justify-self: start; }
.wl-linkbtn {
  font: inherit; font-weight: 700; color: var(--orange);
  background: none; border: none; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
  white-space: nowrap;
}
.wl-linkbtn:hover { color: var(--orange-d); }

.wl-hero__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 4px; }
.wl-hero__actions .btn { width: 100%; }
@media (min-width: 600px) {
  .wl-hero__actions { flex-direction: row; }
  .wl-hero__actions .btn { width: auto; flex: 1; }
}

/* ---------- Stat chips under the hero ---------- */
.wl-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wl-stats li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .86rem; font-weight: 700; color: var(--ink-2);
}
.wl-stats li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.wl-stats li[hidden] { display: none; }

/* ---------- Sections ---------- */
.wl-section { padding-top: clamp(40px, 8vw, 64px); }
.wl-section .section__head { margin-bottom: 20px; max-width: none; }
.wl-section .section__title { font-size: clamp(1.6rem, 5.6vw, 2.3rem); }
.wl-section .section__sub { margin-top: 10px; font-size: .98rem; }

/* ---------- Proof: paged before/after carousel (structure + arrows from styles.css .results__*) ---------- */
.wl-proof { padding-block: 4px; }
#proof .results__nav { margin-top: 14px; }
.wl-proof__hint { text-align: center; font-size: .82rem; color: var(--ink-4); margin-top: 8px; }
@media (min-width: 600px) { .wl-proof__hint { display: none; } }

/* ---------- Testimonials (text) + voice notes ---------- */
.wl-testimonials { display: grid; gap: 14px; }
.wl-testimonial { padding: 26px 22px 20px; }
.wl-testimonial blockquote { margin-top: 22px; }
.wl-testimonial__result {
  display: inline-flex; margin-top: 10px; padding: 4px 10px; border-radius: var(--pill);
  background: var(--orange-soft); color: var(--orange); font-weight: 800; font-size: .78rem;
}
.wl-voices { display: grid; gap: 10px; }
.wl-voice {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; box-shadow: var(--shadow-card);
}
.wl-voice__name { font-weight: 700; color: var(--ink); white-space: nowrap; min-width: 84px; }
.wl-voice audio { flex: 1; min-width: 200px; height: 40px; }

/* ---------- Guarantee block ---------- */
.wl-guar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 5vw, 32px); box-shadow: var(--shadow-card);
}
.wl-guar .wiz-list { margin-top: 14px; }
.wl-guar__foot { margin-top: 16px; font-size: .92rem; color: var(--ink-4); }

/* ---------- FAQ (markup + accordion styles come from styles.css) ---------- */
.wl-faq .faq__list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 clamp(16px, 4vw, 24px); box-shadow: var(--shadow-card); }
.wl-faq .faq-item:last-child { border-bottom: 0; }
.wl-faq .faq-item__a p { max-width: none; }
.wl-faq__more { padding-bottom: 22px; margin-top: -10px; }

/* ---------- Step 2: the chosen card · Step 3: the package being reserved · Step 4: done ---------- */
.wl-pkg--picked { border-color: var(--orange); }
.wl-picked {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  margin: 4px 0 16px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--orange-soft); color: var(--ink-2); font-size: .92rem; line-height: 1.5;
}
.wl-picked strong { color: var(--ink); }
.wl-picked a { color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wl-done { margin-top: 4px; }
.wl-done__hint { margin-top: 14px; text-align: center; font-size: .9rem; color: var(--ink-3); line-height: 1.6; }
.wl-done__hint a { color: var(--orange); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wl-done__links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.wl-done__links .wl-edit { display: inline; margin-top: 0; }

/* ---------- Final CTA ---------- */
.wl-final { text-align: center; }
.wl-final .section__head { margin-bottom: 18px; }
.wl-final .btn { width: 100%; max-width: 440px; }

/* ---------- Funnel: step enter motion ----------
   Offset only, never opacity: if a browser throttles the animation the
   card is still fully visible. */
@media (prefers-reduced-motion: no-preference) {
  .wiz-step.wl-enter-fwd  { animation: wl-in-fwd  .3s ease-out; }
  .wiz-step.wl-enter-back { animation: wl-in-back .3s ease-out; }
}
@keyframes wl-in-fwd  { from { transform: translateY(10px); } to { transform: none; } }
@keyframes wl-in-back { from { transform: translateY(-10px); } to { transform: none; } }

/* ---------- Funnel: 3-part stepper ---------- */
.wl-stepper {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin: 4px 0 16px;
}
.wl-stepper li {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 6px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .78rem; font-weight: 700; color: var(--ink-4); text-align: center; line-height: 1.2;
}
html[lang="ar"] .wl-stepper li { font-size: .86rem; }
.wl-stepper .n {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: .72rem; font-variant-numeric: tabular-nums;
}
.wl-stepper li.is-active { border-color: var(--orange); color: var(--ink); }
.wl-stepper li.is-active .n { background: var(--orange); color: #fff; border-color: var(--orange); }
.wl-stepper li.is-done .n { background: var(--orange-soft); color: var(--orange); border-color: var(--orange); }

/* ---------- Step 1: who we train / who we don't ---------- */
.wl-fit { display: grid; gap: 12px; margin-top: 6px; }
@media (min-width: 600px) { .wl-fit { grid-template-columns: 1fr 1fr; } }
.wl-fit__col {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; background: var(--bg-soft);
}
.wl-fit__col--no { background: var(--no-bg); border-color: var(--no-line); }
.wl-fit__title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--ink);
  margin-bottom: 10px;
}
.wl-fit__col ul { display: grid; gap: 8px; }
.wl-fit__col li {
  position: relative; padding-inline-start: 26px;
  font-size: .95rem; line-height: 1.5; color: var(--ink-2);
}
.wl-fit__col li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--orange);
}
.wl-fit__col li::after {
  content: ""; position: absolute; inset-inline-start: 4.5px; top: 7px;
  width: 7px; height: 4px;
  border-inline-start: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
html[dir="rtl"] .wl-fit__col li::after { transform: rotate(45deg) scaleX(-1); }
.wl-fit__col--no li::before { background: #C2410C; }
.wl-fit__col--no li::after {
  content: "×"; border: none; transform: none; width: auto; height: auto;
  top: 2px; inset-inline-start: 4.6px;
  color: #fff; font-weight: 900; font-size: .82rem; line-height: 1;
}
html[dir="rtl"] .wl-fit__col--no li::after { transform: none; }

/* ---------- Step 2: form bits ---------- */
.wl-consent { margin-top: 12px; font-size: .84rem; color: var(--ink-4); line-height: 1.55; text-align: center; }
.wl-consent a { color: var(--ink-2); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.wl-consent a:hover { color: var(--orange); }
/* Honeypot: hidden with the clip technique (NOT left:-9999px, which creates a horizontal scroll range in RTL). */
.wl-hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; opacity: 0;
}
.wl-error { text-align: center; color: var(--danger); font-weight: 700; margin-top: 10px; min-height: 1.4em; }
.wl-error:empty { margin-top: 0; min-height: 0; }
.wiz-pill .ico { width: 18px; height: 18px; margin-inline-end: 8px; }

/* ---------- Step 3: thanks + packages ---------- */
.wl-thanks { text-align: center; margin-bottom: 18px; }
.wl-thanks .wiz-thanks__check { width: 72px; height: 72px; margin-bottom: 14px; }
.wl-thanks .wiz-thanks__check svg { width: 46px; height: 46px; }
.wl-thanks .wiz-thanks__sub { margin-bottom: 0; }

/* Currency picker above the packages: styles live in assets/pricing.css (.asl-cur) */

.wl-pkgs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.wl-pkg {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 20px 20px; box-shadow: var(--shadow-card);
}
.wl-pkg--featured { border-color: var(--orange); box-shadow: 0 14px 30px -16px rgba(255,94,21,.28); }
.wl-pkg__badge {
  position: absolute; top: -12px; inset-inline-start: 18px;
  background: var(--orange); color: #fff; font-weight: 800; font-size: .74rem;
  padding: 4px 12px; border-radius: var(--pill); box-shadow: 0 4px 12px rgba(255,94,21,.3);
}
.wl-pkg__dur {
  font-weight: 700; font-size: .74rem; letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--ink-4);
}
html[lang="ar"] .wl-pkg__dur { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.wl-pkg__title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.25;
  color: var(--ink); letter-spacing: var(--track-tight);
}
.wl-pkg__sub { color: var(--ink-4); font-size: .92rem; line-height: 1.5; }
.wl-pkg__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.wl-pkg__price .was { color: var(--ink-4); font-weight: 700; text-decoration: line-through; text-decoration-thickness: 2px; }
.wl-pkg__price .cur { font-family: var(--font-display); font-weight: 700; color: var(--ink-4); font-size: 1.05rem; }
.wl-pkg__price .amt {
  font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.wl-pkg--featured .wl-pkg__price .amt { color: var(--orange); }
.wl-pkg__monthly { font-size: .84rem; color: var(--ink-4); }
.wl-pkg__save {
  display: inline-flex; align-self: flex-start;
  background: var(--orange-soft); color: var(--orange);
  font-weight: 800; font-size: .76rem; padding: 4px 10px; border-radius: var(--pill);
}
.wl-pkg__feats { display: grid; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.wl-pkg__feats li { position: relative; padding-inline-start: 20px; font-size: .88rem; line-height: 1.5; color: var(--ink-3); }
.wl-pkg__feats li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
/* 4th point on the 6-month card: pay in two (amounts in the visitor's currency) */
.wl-pkg__split { color: var(--ink-2); }
.wl-pkg__split strong { color: var(--orange); }
.wl-pkg__split::before { background: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.wl-done__split { margin-top: 8px; padding: 10px 12px; border-radius: var(--radius); background: var(--orange-soft); color: var(--ink-2); font-size: .88rem; line-height: 1.5; }
.wl-done__split strong { color: var(--orange); }
/* Buttons in the narrow card may wrap (styles.css .btn is nowrap by default). */
.wl-pkg__cta {
  width: 100%; margin-top: 10px;
  white-space: normal; height: auto; min-height: 62px;
  padding-block: 12px; line-height: 1.25; text-align: center;
}
.wl-pkg__cta svg { width: 20px; height: 20px; flex-shrink: 0; }
.wl-hero__actions .btn, .wl-final .btn, .wl-sticky .btn, .wiz-nav .btn {
  white-space: normal; height: auto; min-height: 62px; padding-block: 12px; line-height: 1.25;
}
.wl-pkg__more {
  display: block; text-align: center; margin-top: 4px;
  font-size: .86rem; font-weight: 700; color: var(--ink-4);
  transition: color .2s ease;
}
.wl-pkg__more:hover { color: var(--orange); }
.wl-paynote { margin-top: 18px; font-size: .86rem; color: var(--ink-4); text-align: center; line-height: 1.65; }
.wl-edit { display: block; text-align: center; margin-top: 12px; font-size: .86rem; font-weight: 700; color: var(--ink-4); }
.wl-edit:hover { color: var(--orange); }

/* ---------- Sticky bottom CTA (landing only, after the hero scrolls away) ---------- */
.wl-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px clamp(16px, 4vw, 24px) calc(10px + env(safe-area-inset-bottom));
  background: var(--nav-bg-solid);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s var(--ease-spring);
}
.wl-sticky.is-visible { transform: none; }
.wl-sticky[hidden] { display: none; }
.wl-sticky .btn { width: 100%; max-width: 672px; margin-inline: auto; display: flex; }

/* ---------- Modal (guarantee) ---------- */
.wl-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: var(--overlay);
}
.wl-modal[hidden] { display: none; }
.wl-modal__card {
  position: relative; width: 100%; max-width: 460px; max-height: 85vh; overflow: auto;
  background: var(--surface); border-radius: var(--radius-lg); padding: 26px 22px 22px;
  box-shadow: var(--shadow-hover);
}
.wl-modal__close {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-3);
  display: inline-flex; align-items: center; justify-content: center;
}
.wl-modal__close:hover { color: var(--orange); border-color: var(--orange); }
.wl-modal__close svg { width: 16px; height: 16px; }
.wl-modal__title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink);
  margin-bottom: 8px; padding-inline-end: 44px;
}
.wl-modal__body { color: var(--ink-3); font-size: .98rem; line-height: 1.7; }
.wl-modal__body .wiz-list { margin-top: 12px; }
.wl-modal__body .wiz-list li { font-size: .95rem; }
.wl-modal__foot { margin-top: 14px; font-size: .86rem; color: var(--ink-4); }

/* ---------- Footer (compact) ---------- */
.wl-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(44px + env(safe-area-inset-bottom)); text-align: center;
  color: var(--ink-4); font-size: .86rem; line-height: 1.7;
}
.wl-footer .site-footer__socials { justify-content: center; margin: 0 auto 12px; }
.wl-footer__link { color: var(--ink-4); font-weight: 600; }
.wl-footer__link:hover { color: var(--orange); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .wl-sticky { transition: none; }
}
