:root {
  --bg: #0b0b0c;
  --bg2: #121214;
  --card: #17171a;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f1ea;
  --muted: #a9a397;
  --gold: #F5B400;
  --gold2: #ffd35a;
  --wa: #25D366;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif; font-size: 17px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 800; }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-size: 20px; }
p { margin: 0; }

/* numbers like "6 900" keep their order inside Arabic text */
.num-ltr, .stats b, .price b, .price s, [data-out="price"], [data-out="month"], [data-out="year"], [data-out="clients"], [data-done] { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* progress bar */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); transform-origin: right; transform: scaleX(0); }
[dir="ltr"] .progress span { transform-origin: left; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 24px; padding: 0 max(16px, calc((100% - 1180px) / 2)); transition: background .35s, height .35s, box-shadow .35s; }
.nav.scrolled { background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); --nav-h: 62px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { display: block; font-size: 21px; line-height: 1; letter-spacing: -.01em; font-family: "Cairo", sans-serif; }
.brand small { display: block; color: var(--gold); font-weight: 700; font-size: 13px; line-height: 1.2; }
.links { display: flex; gap: 6px; margin-inline-start: auto; }
.links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.links a:hover, .links a.active { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: rgba(255, 255, 255, .07); border-radius: 99px; padding: 3px; }
.lang button { border: 0; background: none; padding: 6px 12px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--muted); min-width: 44px; min-height: 36px; }
.lang button[aria-pressed="true"] { background: var(--text); color: #111; }

/* buttons */
.btn { --mx: 0px; --my: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 99px; padding: 12px 22px; min-height: 48px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; transform: translate(var(--mx), var(--my)); white-space: nowrap; }
.btn.sm { padding: 8px 16px; min-height: 40px; font-size: 15px; }
.btn.lg { padding: 15px 28px; min-height: 56px; font-size: 18px; }
.btn.block { width: 100%; }
.btn.gold { background: var(--gold); color: #111; box-shadow: 0 10px 30px -8px rgba(245, 180, 0, .55); }
.btn.gold:hover { background: var(--gold2); box-shadow: 0 16px 40px -8px rgba(245, 180, 0, .7); }
.btn.ghost { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn:active { transform: translate(var(--mx), var(--my)) scale(.97); }
.arrow { font-style: normal; font-weight: 900; display: inline-block; transition: transform .25s var(--ease); }
.arrow::before { content: "→"; }
[dir="rtl"] .arrow::before { content: "←"; }
.btn:hover .arrow { transform: translateX(5px); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-5px); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; opacity: .28; filter: saturate(.85); transform: translateY(var(--py, 0)); will-change: transform; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 600px at 75% 30%, rgba(245, 180, 0, .14), transparent 60%), linear-gradient(180deg, rgba(11, 11, 12, .55), var(--bg) 92%); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: drift 18s ease-in-out infinite alternate; }
.o1 { width: 420px; height: 420px; background: #f5b40055; top: -80px; inset-inline-start: -100px; }
.o2 { width: 320px; height: 320px; background: #ff7a0033; bottom: 10%; inset-inline-end: 8%; animation-duration: 22s; }
.o3 { width: 260px; height: 260px; background: #ffd35a2e; top: 40%; inset-inline-start: 45%; animation-duration: 26s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 99px; background: rgba(245, 180, 0, .1); border: 1px solid rgba(245, 180, 0, .35); color: var(--gold2); font-weight: 700; font-size: 14px; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(245, 180, 0, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(245, 180, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 180, 0, 0); } }
h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 900; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--gold); }
h1 em .w { background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
h1 .w { display: inline-block; }
.js h1 .w, .js .hero-copy > .reveal, .js .hero-visual .laptop, .js .hero-visual .phone, .js .chip-float { opacity: 0; }
.lede { color: #d6d0c4; font-size: clamp(17px, 1.6vw, 20px); margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta-row.center { justify-content: center; }
.stats { list-style: none; padding: 0; margin: 38px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.stats li { flex: 1 1 140px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.stats b { display: block; font-size: 34px; font-weight: 900; color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; font-weight: 600; }

.hero-visual { perspective: 1400px; }
.tilt { position: relative; transform-style: preserve-3d; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 6deg)); transition: transform .5s var(--ease); }
.laptop .screen { border-radius: 18px 18px 6px 6px; border: 10px solid #222226; background: #000; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); }
.laptop .screen img { width: 100%; aspect-ratio: 1400 / 844; object-fit: cover; }
.laptop .base { height: 16px; margin: 0 -6%; border-radius: 0 0 18px 18px; background: linear-gradient(#3a3a40, #1d1d21); }
.phone { position: absolute; width: 30%; inset-inline-start: -6%; bottom: -14%; border-radius: 30px; border: 8px solid #1d1d21; overflow: hidden; box-shadow: 0 30px 70px -10px rgba(0, 0, 0, .85); transform: translateZ(80px); background: #000; }
.float { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -14px; } }
.chip-float { position: absolute; display: flex; gap: 8px; align-items: center; padding: 9px 15px; border-radius: 99px; background: rgba(23, 23, 26, .9); border: 1px solid rgba(245, 180, 0, .4); font-weight: 700; font-size: 14px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); transform: translateZ(120px); animation: bob 7s ease-in-out infinite; white-space: nowrap; }
.chip-float b { color: var(--gold); }
.c1 { top: -6%; inset-inline-end: 6%; animation-delay: -2s; }
.c2 { top: 42%; inset-inline-end: -6%; animation-delay: -4s; }
.c3 { bottom: -4%; inset-inline-end: 18%; animation-delay: -1s; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 99px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* reveal on scroll: anime.js animates elements in, then adds .in */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; }
.js h1.reveal { opacity: 1; }

/* marquee */
.marquee-sec { padding: 40px 0 70px; }
.marquee-title { text-align: center; color: var(--muted); font-weight: 700; margin-bottom: 22px; padding-inline: 16px; }
.marquee { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 16px; width: max-content; animation: scroll 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.ex-tile { position: relative; margin: 0; width: 190px; flex: none; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ex-tile .imgs { position: relative; aspect-ratio: 1; }
.ex-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-tile img + img { animation: swap 2.4s steps(1) infinite; animation-delay: var(--sd, 0s); }
@keyframes swap { 50% { opacity: 0; } }
.ex-tile figcaption { position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; color: #fff; font-size: 13px; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); text-align: center; }

/* sections */
.sec { padding: 110px 0; position: relative; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head p:last-child:not(.kicker) { color: var(--muted); margin-top: 14px; font-size: 18px; }
.kicker { display: inline-block; color: var(--gold); font-weight: 800; letter-spacing: .04em; margin-bottom: 10px; font-size: 15px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, #1a1a1e, #141417); border: 1px solid var(--line); overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .4s var(--ease), border-color .3s, opacity .8s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(245, 180, 0, .14), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: rgba(245, 180, 0, .45); }
.card:hover::before { opacity: 1; }
.card .ic { width: 56px; height: 56px; display: grid; place-items: center; font-size: 28px; border-radius: 16px; background: rgba(245, 180, 0, .12); margin-bottom: 18px; transition: transform .4s var(--ease); }
.card:hover .ic { transform: scale(1.1) rotate(-6deg); }
.card p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.spark-line { width: 100%; height: 60px; margin-top: 16px; direction: ltr; }
.spark-line path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }

/* demo */
.demo-sec { background: linear-gradient(180deg, transparent, #101012 15%, #101012 85%, transparent); }
.demo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.builder { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.step-label { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 10px; }
.step-label .n { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #111; display: grid; place-items: center; font-size: 14px; flex: none; }
#coach-name { width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .15); background: #0f0f11; color: var(--text); font: inherit; font-weight: 700; padding: 10px 16px; transition: border-color .2s, box-shadow .2s; }
#coach-name:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245, 180, 0, .18); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid transparent; background: var(--c); box-shadow: inset 0 0 0 3px #17171a; transition: transform .2s var(--ease), border-color .2s; }
.swatch:hover { transform: scale(1.1); }
.swatch[aria-checked="true"] { border-color: var(--text); transform: scale(1.12); }
.muscles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.muscle { border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .04); border-radius: 99px; padding: 8px 16px; min-height: 44px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.muscle[aria-selected="true"] { background: var(--gold); color: #111; border-color: var(--gold); }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.ex-card { position: relative; border: 2px solid transparent; border-radius: 16px; overflow: hidden; background: #fff; padding: 0; text-align: start; transition: border-color .2s, box-shadow .25s; }
.ex-card:hover { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); }
.ex-card .imgs { position: relative; aspect-ratio: 1; }
.ex-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-card:hover img + img { animation: swap 1.2s steps(1) infinite; }
.ex-card span { display: block; background: #1b1b1f; color: var(--text); font-size: 13px; font-weight: 700; padding: 8px 10px; line-height: 1.35; min-height: 52px; }
.ex-card .add { position: absolute; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #111; display: grid; place-items: center; font-weight: 900; font-size: 20px; line-height: 1; transition: transform .3s var(--ease), background .2s; }
.ex-card[aria-pressed="true"] { border-color: var(--gold); }
.ex-card[aria-pressed="true"] .add { transform: rotate(45deg); background: #fff; }

.preview { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; justify-items: center; gap: 16px; }
.pv-tabs { display: flex; background: rgba(255, 255, 255, .06); border-radius: 99px; padding: 4px; }
.pv-tabs button { border: 0; background: none; padding: 8px 20px; min-height: 40px; border-radius: 99px; font-weight: 800; color: var(--muted); transition: background .2s, color .2s; }
.pv-tabs button[aria-selected="true"] { background: var(--gold); color: #111; }
.device { position: relative; width: min(340px, 100%); aspect-ratio: 9 / 18.5; border-radius: 44px; background: #000; border: 10px solid #1e1e22; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07); overflow: hidden; }
.notch { position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 99px; background: #000; z-index: 3; }
.app { position: absolute; inset: 0; background: #111113; display: flex; flex-direction: column; padding: 46px 14px 14px; }
.app-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--brand); color: #111; transition: background .4s; }
.avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; background: #111; color: var(--brand); flex: none; transition: color .4s; direction: ltr; }
.app-head b { display: block; font-size: 16px; line-height: 1.2; }
.app-head small { display: block; font-size: 12px; font-weight: 700; opacity: .75; }
.app-rings { margin: 10px 0 8px; padding: 10px 12px; border-radius: 16px; background: #1b1b1f; }
.app-rings .ar-body { justify-content: flex-start; }
.app-progress { position: relative; height: 22px; margin: 12px 0 8px; border-radius: 99px; background: #222226; overflow: hidden; }
.app-progress span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--brand); border-radius: 99px; transition: width .5s var(--ease), background .4s; }
.app-progress em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; mix-blend-mode: difference; }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; overflow-y: auto; scrollbar-width: none; flex: 1; align-content: start; }
.app-list::-webkit-scrollbar { display: none; }
.app-item { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; background: #1b1b1f; border-radius: 14px; padding: 8px; }
.flyer { position: fixed; z-index: 90; border-radius: 12px; overflow: hidden; pointer-events: none; box-shadow: 0 20px 40px rgba(0, 0, 0, .6); background: #fff; }
.flyer img { width: 100%; height: 100%; object-fit: cover; }
.thumb { position: relative; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: #fff; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb img + img { animation: swap 1.6s steps(1) infinite; }
.app-item b { display: block; font-size: 13px; line-height: 1.3; }
.app-item small { color: var(--muted); font-size: 12px; font-weight: 700; }
.sets { display: flex; gap: 5px; margin-top: 4px; }
.set { width: 26px; height: 26px; border-radius: 7px; border: 2px solid #3a3a40; background: none; padding: 0; font-size: 11px; font-weight: 900; color: #111; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.set.done { background: var(--brand); border-color: var(--brand); }
.app-empty { color: var(--muted); text-align: center; font-weight: 700; font-size: 14px; padding: 30px 10px; }
.rest { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; border: 0; border-radius: 16px; background: #1b1b1f; padding: 8px; min-height: 56px; font-weight: 800; }
.rest svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.rest circle { fill: none; stroke: #2e2e33; stroke-width: 4; }
.rest .ring { stroke: var(--brand); stroke-linecap: round; transition: stroke .4s; }
.rest.running { background: #222226; }

.paper { width: min(380px, 100%); background: #e9e6df; border-radius: 10px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); rotate: -1.5deg; }
.paper-in { background: #fff; color: #111; border-radius: 6px; padding: 18px; min-height: 420px; border-top: 8px solid var(--brand); }
.paper-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid #eee; }
.paper-head .avatar { background: var(--brand); color: #111; }
.paper-head small { display: block; color: #666; font-weight: 700; font-size: 12px; }
.paper-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 10px; }
.paper-table th { text-align: start; color: #888; font-weight: 800; padding: 6px 4px; border-bottom: 1px solid #eee; }
.paper-table td { padding: 6px 4px; border-bottom: 1px solid #f1f1f1; font-weight: 700; vertical-align: middle; }
.paper-table td img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; }
.paper-foot { margin-top: 14px; font-size: 11px; color: #777; text-align: center; font-weight: 700; }
.demo-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.demo-cta .btn { white-space: normal; text-align: center; }

/* screens */
.screens { display: grid; justify-items: center; gap: 20px; }
.screen-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.screen-tabs button { border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .04); border-radius: 99px; padding: 9px 18px; min-height: 44px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.screen-tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #111; }
.screen-frame { width: 100%; max-width: 1040px; border-radius: 18px; background: #1d1d21; padding: 34px 10px 10px; position: relative; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9); }
.screen-frame .dots { position: absolute; top: 12px; inset-inline-start: 16px; display: flex; gap: 7px; direction: ltr; }
.screen-frame .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.screen-frame .dots i:nth-child(2) { background: #febc2e; }
.screen-frame .dots i:nth-child(3) { background: #28c840; }
.screen-frame img { width: 100%; height: auto; border-radius: 8px; transition: opacity .35s, transform .5s var(--ease); }
.screen-frame img.swap { opacity: 0; transform: scale(.985); }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; position: relative; display: grid; gap: 26px; }
.timeline::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: 27px; width: 3px; background: #26262b; border-radius: 3px; }
.timeline::after { content: ""; position: absolute; top: 10px; inset-inline-start: 27px; width: 3px; height: calc((100% - 20px) * var(--p, 0)); background: linear-gradient(var(--gold), var(--gold2)); border-radius: 3px; }
.timeline li { display: flex; gap: 22px; align-items: flex-start; position: relative; z-index: 1; }
.timeline .num { width: 57px; height: 57px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 22px; background: #1b1b1f; border: 3px solid #2e2e33; transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.timeline li.lit .num { background: var(--gold); color: #111; border-color: var(--gold); transform: scale(1.06); }
.timeline h3 { margin-top: 10px; }
.timeline p { color: var(--muted); }

/* earnings */
.earn { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.earn-copy h2 { margin-bottom: 14px; }
.earn-copy p { color: var(--muted); font-size: 18px; }
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 22px; }
.range > span { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 8px; gap: 8px; }
.range output { color: var(--gold); font-weight: 900; font-size: 22px; font-variant-numeric: tabular-nums; margin-inline-start: auto; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; direction: ltr; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--fill, 50%), #2a2a30 var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--fill, 50%), #2a2a30 var(--fill, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); transition: transform .15s; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out div { background: #0f0f11; border-radius: 16px; padding: 14px 16px; }
.calc-out small { display: block; color: var(--muted); font-weight: 700; }
.calc-out b { font-size: clamp(22px, 3vw, 30px); font-weight: 900; font-variant-numeric: tabular-nums; }
.payback .bar { height: 12px; border-radius: 99px; background: #2a2a30; overflow: hidden; margin-bottom: 10px; }
.payback .bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--wa), #7ee8a2); border-radius: 99px; transition: width .6s var(--ease); }
.payback p { font-weight: 700; color: #cfe9d7; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.plan { position: relative; padding: 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .4s var(--ease), opacity .8s var(--ease), border-color .3s; }
.plan.best { border: 2px solid var(--gold); background: linear-gradient(180deg, rgba(245, 180, 0, .1), var(--card) 40%); box-shadow: 0 30px 80px -30px rgba(245, 180, 0, .4); }
.ribbon { position: absolute; top: -15px; inset-inline-end: 24px; background: var(--gold); color: #111; font-weight: 900; font-size: 14px; padding: 5px 16px; border-radius: 99px; animation: wiggle 4s ease-in-out infinite; }
@keyframes wiggle { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-5deg); } 96% { transform: rotate(5deg); } }
.plan-sub { color: var(--muted); font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price s { color: #77726a; font-size: 22px; font-weight: 700; }
.price b { font-size: 54px; font-weight: 900; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.price > span { font-weight: 800; font-size: 20px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 10px; flex: 1; }
.ticks li { position: relative; padding-inline-start: 32px; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 180, 0, .15); color: var(--gold); font-size: 13px; font-weight: 900; }
.pay-note { text-align: center; color: var(--muted); margin-top: 30px; }
.pay-note a { color: var(--wa); font-weight: 800; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .3s; }
.faq details.show { border-color: rgba(245, 180, 0, .4); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); font-size: 22px; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details.show summary::after { transform: rotate(45deg); background: var(--gold); color: #111; }
.faq details > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq details > div > p { overflow: hidden; padding: 0 22px; color: var(--muted); }
.faq details > div > p::after { content: ""; display: block; height: 20px; }
.faq details.show > div { grid-template-rows: 1fr; }
.no-js-faq .faq details[open] > div { grid-template-rows: 1fr; }

/* final */
.final { position: relative; padding: 130px 0; text-align: center; overflow: hidden; isolation: isolate; }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final-bg img { width: 100%; height: 120%; object-fit: cover; opacity: .35; transform: translateY(var(--py, 0)); }
.final-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(11, 11, 12, .5) 40%, var(--bg)); }
.final h2 { max-width: 20ch; margin: 0 auto; font-size: clamp(30px, 4.6vw, 52px); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 30px 0 100px; color: var(--muted); font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }

/* whatsapp fab */
.wa-fab { position: fixed; bottom: 20px; left: 20px; z-index: 55; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-fab:hover { transform: scale(1.08) rotate(-8deg); }

.toast { position: fixed; bottom: 96px; left: 50%; translate: -50% 20px; background: #f4f1ea; color: #111; font-weight: 800; padding: 12px 20px; border-radius: 99px; opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--ease); z-index: 70; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }
.confetti { position: fixed; top: 0; left: 0; width: 10px; height: 14px; z-index: 80; pointer-events: none; border-radius: 2px; }

/* responsive */
@media (max-width: 1020px) {
  .links { display: none; }
  .nav-end { margin-inline-start: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 92%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .demo { grid-template-columns: 1fr; }
  .preview { position: static; }
  .earn { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec { padding: 80px 0; }
  .sec-head { margin-bottom: 38px; }
  .brand small { display: none; }
  .nav .btn.sm { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .cta-row .btn { width: 100%; }
  .stats li { flex: 1 1 30%; padding: 10px 12px; }
  .stats b { font-size: 26px; }
  .stats span { font-size: 12px; }
  .chip-float { font-size: 12px; padding: 7px 11px; }
  .c2 { inset-inline-end: -2%; }
  .cards { grid-template-columns: 1fr; }
  .builder, .calc { padding: 18px; }
  .ex-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px; }
  .calc-out { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .ex-tile { width: 150px; }
  .wa-fab { width: 54px; height: 54px; bottom: 16px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js h1 .w, .js .hero-copy > .reveal, .js .hero-visual .laptop, .js .hero-visual .phone, .js .chip-float { opacity: 1 !important; }
  .track { animation: none; }
  .marquee { overflow-x: auto; }
}
