/* Madar: a living loyalty pass, suspended in its own orbit. */
.nav{position:fixed;z-index:50;inset:0 0 auto;background:rgba(7,20,15,.88);border-bottom:1px solid rgba(210,230,216,.12);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.nav-in{min-height:90px;display:flex;align-items:center;gap:34px;position:relative}
.nav-logo{display:flex;align-items:center;gap:16px;flex:none}.nav-logo .logo{font-size:27px}.nav-logo .logo svg{width:40px;height:40px}
.nav-tag{font-size:11px;line-height:1.7;color:var(--text-2);border-inline-start:1px solid var(--line-strong);padding-inline-start:16px}
.nav-links{display:flex;gap:3px;margin-inline:auto}.nav-links a{font-size:14px;color:var(--text-2);padding:9px 12px;border-radius:24px;transition:color .2s,background .2s}
.nav-act{display:flex;gap:15px;align-items:center}.nav-login{font-size:14px;color:var(--text-2)}.nav-act .btn{border-radius:30px;padding-inline:23px;min-height:44px}
.nav-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line-strong);border-radius:50%}.nav-toggle svg{width:20px;height:20px}
@media(hover:hover){.nav-links a:hover{color:var(--text);background:rgba(255,255,255,.06)}.nav-login:hover{color:var(--accent)}}
.hero{position:relative;height:340vh;height:340svh;--journey:0}
.stage{position:sticky;top:0;height:100vh;height:100svh;min-height:640px;overflow:hidden;background:#091a14;isolation:isolate}
.stage::before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 20% 45%,rgba(33,111,77,.32),transparent 48%),radial-gradient(ellipse at 82% 5%,rgba(233,185,73,.07),transparent 50%),linear-gradient(125deg,#091a14,#07110e 70%)}
.stage::after{content:"";position:absolute;inset:0;z-index:-1;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.22' d='M0 0h160v160H0z'/%3E%3C/svg%3E");pointer-events:none}
.stage-in{position:relative;height:100%;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding-block:120px 70px}
.bands{position:relative;min-width:0;height:470px;z-index:3}
.band{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:25px;opacity:0;pointer-events:none;--k:0}
.band.live{pointer-events:auto}.band .kicker{font-size:13px;color:var(--accent);display:flex;align-items:center;gap:12px}.kicker::before{content:"";width:30px;height:1px;background:currentColor}
.band h1,.band h2{font-weight:800;font-size:clamp(36px,4.7vw,66px);line-height:1.55;letter-spacing:-1.7px}.band em{display:block;font-style:normal;color:var(--accent)}
.band .lede{font-size:18px;line-height:1.95;color:#afc2b6;max-width:37ch}.band .w{display:inline-block}.band .late{opacity:1}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.band .btn{border-radius:28px;font-size:14px;padding-inline:24px;min-height:50px}.band .btn.quiet{background:transparent;box-shadow:none;color:var(--text-2);padding-inline:10px}
.trust{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:var(--text-2);list-style:none;margin:0;padding:0}.trust li{display:flex;align-items:center;gap:7px}.trust li::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--accent)}
.card-scene{position:relative;width:100%;height:580px;display:grid;place-items:center;direction:ltr;perspective:1300px}
.orbital-field{position:absolute;inset:-4% -12%;width:124%;height:108%;overflow:visible;pointer-events:none}
.orbital-field ellipse{fill:none;stroke:#8fb39b;stroke-opacity:.18;stroke-width:.8}.orbital-field .gold-orbit{stroke:#e9b949;stroke-opacity:.55;stroke-dasharray:1 9;stroke-linecap:round}
.orbital-field .orbit-trace{stroke:#e9b949;stroke-opacity:.75;stroke-dasharray:200 1200;transform-origin:center;animation:orbit-trace 28s linear infinite}
.orbital-field .orbit-star{fill:#e9b949}.orbital-field .orbit-label{fill:#99ad9e;font-family:var(--f-mono);font-size:9px;letter-spacing:3px}
@keyframes orbit-trace{to{transform:rotate(360deg)}}
.card-aura{position:absolute;width:280px;height:360px;background:rgba(47,211,154,.12);filter:blur(65px);border-radius:50%;pointer-events:none}
.floating-pass{position:relative;z-index:2;transform:rotate(-8deg) rotateY(-12deg);transition:transform 900ms var(--ease-out);will-change:transform}
.floating-pass .pass{width:326px;--p1:#286d54;--p2:#0b2a22;--p-planet:#61c699;--p-ring:#c9e8c7;box-shadow:0 1px 0 rgba(255,255,255,.35) inset,1px 1px 0 #7a9b7c,6px 7px 0 #112e25,0 40px 80px -20px #000}
.card-scene[data-step="1"] .floating-pass{transform:rotate(-3deg) rotateY(-5deg) translateY(-5px)}
.card-scene[data-step="2"] .floating-pass{transform:rotate(3deg) rotateY(7deg) translateY(-10px)}
.card-scene[data-step="3"] .floating-pass{transform:rotate(0) rotateY(0) translateY(-8px)}
.scene-caption{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;white-space:nowrap;font-size:10px;color:#91aa9c;letter-spacing:3px;font-family:var(--f-mono)}.scene-caption::before,.scene-caption::after{content:"";width:32px;height:1px;background:#587262}
.hnote{position:absolute;z-index:5;top:54px;left:-8px;right:16px;display:flex;direction:rtl;gap:10px;align-items:center;padding:13px 15px;border-radius:16px;background:#f5f0e1;color:#12201b;box-shadow:0 15px 50px #0005;transform:translateY(-14px) rotate(5deg);opacity:0;visibility:hidden;transition:transform .5s,opacity .35s,visibility .35s;pointer-events:none}
.hnote.on{transform:translateY(0) rotate(5deg);opacity:1;visibility:visible}.hnote .ni{display:grid;place-items:center;background:#10291d;border-radius:10px;width:34px;height:34px;flex:none}.hnote .ni svg{width:24px;height:24px}.hnote b{font-size:12px;display:block}.hnote b span{font-size:10px;opacity:.55;margin-inline-start:8px}.hnote p{font-size:12px;line-height:1.6}
.hgift{position:absolute;z-index:5;bottom:70px;left:50%;transform:translate(-50%,15px);white-space:nowrap;padding:12px 19px;border-radius:30px;background:#e9b949;color:#192419;direction:rtl;font-weight:700;font-size:13px;opacity:0;visibility:hidden;transition:opacity .4s,transform .5s,visibility .4s;box-shadow:0 0 45px #e9b94944}.hgift.on{transform:translate(-50%,0);opacity:1;visibility:visible}
.journey-meter{position:absolute;bottom:32px;inset-inline:0;display:flex;align-items:center;justify-content:space-between;gap:25px;color:var(--text-2);font-size:11px}
.journey-steps{display:flex;gap:25px}.journey-steps span{display:flex;align-items:center;gap:8px;opacity:.42;transition:opacity .3s}.journey-steps span.active{opacity:1;color:var(--accent)}.journey-steps i{font:10px var(--f-mono);font-style:normal}
.journey-rule{height:1px;flex:1;background:#aac3b125;position:relative;overflow:hidden}.journey-rule::after{content:"";position:absolute;inset:0;background:var(--accent);transform:scaleX(var(--journey));transform-origin:right}
.cue{display:flex;align-items:center;gap:8px}.cue svg{height:18px;width:18px}
.demo .wrap{align-items:start}.demo-shell{position:relative;justify-self:center;width:min(100%,420px);padding:0;border:0;background:transparent;min-width:0}
.demo-shell::before{content:"";position:absolute;z-index:-1;inset:40px -20px auto;height:420px;background:radial-gradient(ellipse,#2fd39a16,transparent 70%);pointer-events:none}
.demo-shell iframe{width:100%;height:860px;border:0;background:transparent;display:block;overflow:hidden;color-scheme:dark}
.demo-shell .ph{position:absolute;inset:0;display:grid;place-items:center;background:var(--canvas);font-size:13px;pointer-events:none}
.btn.quiet:hover{color:var(--text)}
@media(max-width:1050px){.nav-tag{display:none}.nav-in{gap:18px}.nav-links a{padding-inline:9px}.floating-pass .pass{width:300px}.card-scene{height:540px}.band h1,.band h2{font-size:46px}.band .lede{font-size:16px}.stage-in{gap:15px}}
@media(max-width:900px){.nav-in{min-height:76px}.nav-toggle{display:flex}.nav-act{margin-inline-start:auto;gap:10px}.nav-links{display:none;position:absolute;top:calc(100% + 8px);inset-inline:0;padding:14px;background:#11291f;border:1px solid #ffffff20;border-radius:18px;box-shadow:0 25px 60px #0007}.nav-links.open{display:flex;flex-direction:column;gap:5px}.nav-links a{font-size:16px;padding:12px 16px}.nav-tag{display:block}.stage-in{grid-template-columns:1fr 1fr}.floating-pass .pass{width:270px}.band h1,.band h2{font-size:38px}.band .btn{font-size:12px;padding-inline:16px}.trust{font-size:10px}}
@media(max-width:720px){
 .wrap{width:calc(100% - 36px)}.nav-in{min-height:72px;gap:10px}.nav-logo{gap:10px}.nav-logo .logo{font-size:22px}.nav-logo .logo svg{width:33px;height:33px}.nav-tag,.nav-login{display:none}.nav-act .btn{font-size:12px;padding-inline:16px;min-height:40px}.nav-toggle{width:40px;height:40px}
 .hero{height:300svh}.stage{min-height:680px}.stage-in{grid-template-columns:1fr;grid-template-rows:290px minmax(0,1fr);gap:0;padding-block:100px 68px;align-content:center}.bands{height:290px;text-align:center}.band{align-items:center;justify-content:center;gap:16px}.band h1,.band h2{font-size:34px;letter-spacing:-.7px;line-height:1.5}.band .kicker{font-size:11px}.band .lede{font-size:14px;line-height:1.8;max-width:34ch}.band .btn{font-size:11px;min-height:42px;padding-inline:17px}.trust{font-size:10px;gap:6px 12px}.cta-row{justify-content:center;gap:6px}
 .card-scene{height:100%;min-height:290px;max-height:420px;width:min(100%,400px);justify-self:center}.floating-pass .pass{width:218px}.orbital-field{inset:-12% -5%;height:124%;width:110%}.scene-caption{display:none}.hnote{top:26px;left:0;right:0;padding:9px 10px}.hnote p{font-size:10px}.hgift{bottom:20px;font-size:11px}.journey-meter{bottom:22px;gap:16px}.journey-steps{gap:14px}.journey-steps span{gap:5px;font-size:10px}.cue{font-size:0}.cue svg{height:20px;width:20px}.journey-rule{display:none}.demo-shell{width:min(100%,400px)}
}
@media(max-height:740px) and (min-width:721px){.stage{min-height:580px}.card-scene{height:450px}.floating-pass .pass{width:270px}.bands{height:380px}.band h1,.band h2{font-size:42px}.band{gap:18px}.band .lede{font-size:16px}.scene-caption{bottom:-15px}}
@media(max-height:740px) and (max-width:720px){.stage-in{grid-template-rows:260px minmax(0,1fr);padding-block:86px 50px}.stage{min-height:620px}.band{gap:12px}.band h1,.band h2{font-size:29px}.band .lede{font-size:12px}.floating-pass .pass{width:178px}.card-scene{min-height:240px}.trust{font-size:9px}.hnote{top:0}.journey-meter{bottom:14px}}
@media(prefers-reduced-motion:reduce){.hero{height:auto}.stage{position:relative;height:auto;min-height:0}.stage-in{min-height:760px}.band{display:none}.band:first-child{display:flex;opacity:1;pointer-events:auto}.floating-pass{transform:none!important}.orbital-field .orbit-trace{animation:none}.journey-meter{display:none}.hnote,.hgift,.floating-pass{transition:none}.card-scene{height:540px}.thread{display:none}}
@media(prefers-reduced-motion:reduce) and (max-width:720px){.stage-in{min-height:740px;padding-bottom:35px;grid-template-rows:290px 330px}.card-scene{height:330px}}

/* Keep joined Arabic emphasis on one intentional second line. */
.band h1 em.w:first-of-type::before,.band h2 em.w:first-of-type::before{content:"";display:block}
.band h1>span[aria-hidden],.band h2>span[aria-hidden]{display:block}
.band h1 em.w,.band h2 em.w{display:inline}
.band h1 em.w:first-of-type,.band h2 em.w:first-of-type{display:inline}
.demo .wrap{grid-template-columns:minmax(0,1fr) minmax(340px,420px)}
@media(max-width:900px){.demo .wrap{grid-template-columns:minmax(0,1fr)}}

@media(hover:hover){.btn.quiet:hover{background:rgba(255,255,255,.1);color:var(--text)}}

/* Short landscape screens scroll naturally instead of pinning a clipped scene. */
@media(max-height:520px) and (orientation:landscape){
 .hero{height:auto}.stage{position:relative;height:auto;min-height:0}.stage-in{min-height:650px;padding-block:115px 50px;grid-template-columns:1fr 1fr;grid-template-rows:auto}.bands{height:420px}.band{display:none}.band:first-child{display:flex;opacity:1!important;pointer-events:auto}.band h1,.band h2{font-size:30px}.band .lede{font-size:13px}.card-scene{height:420px;min-height:0}.floating-pass .pass{width:240px}.journey-meter,.scene-caption{display:none}
}

/* Scale the complete pass on phones so its typography and ticket stub keep their proportions. */
@media(max-width:720px) and (min-height:741px){.floating-pass{width:238px;height:349px}.floating-pass .pass{width:300px;transform:scale(.793333);transform-origin:top left}}
@media(max-width:720px) and (max-height:740px) and (orientation:portrait){.floating-pass{width:196px;height:288px}.floating-pass .pass{width:300px;transform:scale(.653333);transform-origin:top left}.stage-in{grid-template-rows:240px minmax(0,1fr)}}
@media(max-width:720px) and (max-height:520px) and (orientation:landscape){.floating-pass{width:240px;height:352px}.floating-pass .pass{width:300px;transform:scale(.8);transform-origin:top left}}
