/* ═══════════════════════════════════════════════════════════════
   SinbadCash — info.sinbadcash.com
   Design tokens copied 1:1 from the main app (sinbadcash.com) so this
   site reads as an official extension of the same product, not a
   redesign. Do not introduce new colors/radii/fonts here.
   ═══════════════════════════════════════════════════════════════ */

*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
:root{
  --bg:#111827;--bg2:#1F2937;--bg3:#374151;
  --border:rgba(255,255,255,.08);
  --pr:#3B82F6;--pr-l:#60A5FA;--pr-d:#2563EB;
  --ac:#10B981;--gold:#F59E0B;--red:#EF4444;--pu:#8B5CF6;
  --t1:#F9FAFB;--t2:#9CA3AF;--t3:#6B7280;
  --maxw:1180px;
}
body{
  font-family:'Inter',sans-serif;-webkit-font-smoothing:antialiased;
  background:var(--bg);color:var(--t1);line-height:1.6;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select{font-family:inherit;border:none;outline:none}
ul{list-style:none}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.hide-mobile{display:none}
@media(min-width:860px){.hide-mobile{display:initial}.hide-desktop{display:none}}

/* ── Reveal-on-scroll (light, professional — no heavy animation libs) ── */
.rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.rv.in{opacity:1;transform:translateY(0)}

/* ── Section rhythm ── */
section{padding:64px 0}
@media(min-width:860px){section{padding:96px 0}}
.eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.4px;color:var(--pr-l);
  background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.25);padding:6px 14px;border-radius:20px;margin-bottom:16px}
h1,h2,h3{font-weight:800;letter-spacing:-.02em}
h2{font-size:26px;margin-bottom:12px}
h3{font-size:18px;margin-bottom:8px}
@media(min-width:860px){h2{font-size:36px}}
.sec-head{max-width:680px;margin:0 auto 40px;text-align:center}
.sec-head p{color:var(--t2);font-size:15px}
.muted{color:var(--t2)}

/* ── Buttons (identical spec to the app: 14px radius, 15px active-press) ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 26px;border-radius:14px;
  font-size:15px;font-weight:700;cursor:pointer;transition:all .15s;border:none;white-space:nowrap}
.btn:active{transform:scale(.97);opacity:.9}
.bp{background:var(--pr);color:#fff;box-shadow:0 8px 24px rgba(59,130,246,.28)}
.bp:hover{background:var(--pr-d)}
.bo{background:transparent;border:1.5px solid var(--border);color:var(--t1)}
.bo:hover{border-color:var(--pr)}
.bfull{width:100%}
.btnrow{display:flex;flex-wrap:wrap;gap:12px}
.btnrow.center{justify-content:center}

/* ── Cards / tiles (16px radius, subtle border — matches app .card) ── */
.card{background:var(--bg2);border-radius:16px;border:1px solid var(--border);padding:24px}
.card:hover{border-color:rgba(59,130,246,.3)}
.grid{display:grid;gap:20px}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:1fr 1fr}
@media(min-width:640px){.grid-4{grid-template-columns:repeat(4,1fr)}}
@media(min-width:860px){.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:repeat(3,1fr)}}

.icon-badge{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;flex-shrink:0}
.icon-badge svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ═══ HEADER ═══ */
header{position:sticky;top:0;z-index:500;background:rgba(17,24,39,.85);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:17px}
.brand img{width:38px;height:38px;border-radius:50%}
.nav-links{display:none;align-items:center;gap:28px;font-size:14px;font-weight:600;color:var(--t2)}
.nav-links a:hover{color:var(--t1)}
@media(min-width:960px){.nav-links{display:flex}}
.nav-cta{display:none}
@media(min-width:960px){.nav-cta{display:flex;align-items:center;gap:12px}}
.nav-cta .btn{padding:11px 20px;font-size:14px}
.burger{width:42px;height:42px;border-radius:12px;background:var(--bg2);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;cursor:pointer}
.burger svg{width:20px;height:20px;fill:none;stroke:var(--t1);stroke-width:2;stroke-linecap:round}
@media(min-width:960px){.burger{display:none}}

/* mobile menu */
#mmenu{position:fixed;inset:0;background:var(--bg);z-index:600;display:none;flex-direction:column;padding:20px}
#mmenu.on{display:flex}
#mmenu .mtop{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}
#mmenu a{display:block;padding:16px 4px;font-size:18px;font-weight:700;border-bottom:1px solid var(--border)}
#mmenu .btn{margin-top:24px}
.lang-switch{position:relative}
.lang-btn{display:flex;align-items:center;gap:6px;background:var(--bg2);border:1px solid var(--border);border-radius:10px;padding:9px 12px;font-size:13px;font-weight:600;cursor:pointer;color:var(--t1)}
.lang-menu{position:absolute;top:calc(100% + 8px);left:0;background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:6px;min-width:140px;box-shadow:0 12px 30px rgba(0,0,0,.4);display:none;z-index:50}
.lang-menu.on{display:block}
.lang-menu button{width:100%;text-align:right;padding:10px 12px;border-radius:8px;font-size:13px;font-weight:600;color:var(--t1);background:none}
.lang-menu button:hover{background:var(--bg3)}
.lang-menu button.active{color:var(--pr-l)}

/* ═══ HERO ═══ */
.hero{padding:56px 0 40px;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-120px;right:-120px;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(59,130,246,.25),transparent 70%);pointer-events:none}
.hero::after{content:'';position:absolute;bottom:-160px;left:-140px;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(16,185,129,.18),transparent 70%);pointer-events:none}
.hero-grid{display:grid;gap:40px;position:relative;z-index:1}
@media(min-width:960px){.hero-grid{grid-template-columns:1.1fr .9fr;align-items:center}}
.hero h1{font-size:32px;line-height:1.25;margin-bottom:18px}
@media(min-width:640px){.hero h1{font-size:42px}}
@media(min-width:960px){.hero h1{font-size:48px}}
.hero h1 span{color:var(--pr-l)}
.hero p{color:var(--t2);font-size:16px;margin-bottom:28px;max-width:520px}
.hero-visual{position:relative;aspect-ratio:1/1;max-width:420px;margin:0 auto;width:100%}

/* ── Hero visual: abstract client↔agent connection graphic (no stock photos) ── */
.hv-card{position:absolute;inset:6%;background:var(--bg2);border:1px solid var(--border);border-radius:28px}
.hv-lines{position:absolute;inset:0;width:100%;height:100%}
.hv-hub{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:88px;height:88px;border-radius:50%;
  background:linear-gradient(135deg,var(--pr),var(--pr-d));display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 0 10px rgba(59,130,246,.12);z-index:2}
.hv-hub svg{width:38px;height:38px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hv-pulse{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:88px;height:88px;border-radius:50%;
  border:2px solid var(--pr-l);animation:hvpulse 2.4s ease-out infinite;z-index:1}
@keyframes hvpulse{0%{transform:translate(-50%,-50%) scale(1);opacity:.7}100%{transform:translate(-50%,-50%) scale(2.1);opacity:0}}
.hv-pill{position:absolute;display:flex;align-items:center;gap:8px;background:var(--bg3);border:1px solid var(--border);
  border-radius:16px;padding:10px 14px;font-size:12.5px;font-weight:700;z-index:2;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.hv-pill .em{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0}
.hv-p1{top:8%;right:6%}
.hv-p1 .em{background:rgba(59,130,246,.18)}
.hv-p2{bottom:12%;left:2%}
.hv-p2 .em{background:rgba(16,185,129,.18)}
.hv-p3{top:14%;left:0}
.hv-p3 .em{background:rgba(245,158,11,.18)}
html[dir="rtl"] .hv-p1{right:auto;left:6%}
html[dir="rtl"] .hv-p2{left:auto;right:2%}
html[dir="rtl"] .hv-p3{left:auto;right:0}

/* ═══ FLOW / STEPS diagrams ═══ */
.flow{display:flex;flex-direction:column;gap:0;align-items:center}
@media(min-width:860px){.flow{flex-direction:row;justify-content:center;flex-wrap:wrap}}
.flow-step{background:var(--bg2);border:1px solid var(--border);border-radius:16px;padding:16px 20px;
  display:flex;align-items:center;gap:12px;min-width:200px;font-weight:700;font-size:14px}
.flow-step .n{width:30px;height:30px;border-radius:50%;background:var(--pr);color:#fff;display:flex;
  align-items:center;justify-content:center;font-size:13px;flex-shrink:0}
.flow-arrow{color:var(--t3);display:flex;align-items:center;justify-content:center;padding:8px 0}
.flow-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
@media(min-width:860px){.flow-arrow svg{transform:rotate(-90deg)}html[dir="rtl"] .flow-arrow svg{transform:rotate(90deg)}}

/* ═══ Steps mini (recharge/withdraw/transfer) ═══ */
.mini-steps{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.mini-step{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;color:var(--t2)}
.mini-step .dot{width:20px;height:20px;border-radius:50%;background:var(--bg3);color:var(--t1);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;margin-top:1px}

/* ═══ Rules list ═══ */
.rule-list{display:grid;gap:14px}
.rule-item{display:flex;gap:14px;align-items:flex-start;background:var(--bg2);border:1px solid var(--border);
  border-radius:14px;padding:16px 18px}
.rule-item svg{width:20px;height:20px;flex-shrink:0;stroke:var(--ac);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
.rule-item p{font-size:14px;color:var(--t2)}

/* ═══ Agent type cards ═══ */
.type-card{position:relative;overflow:hidden}
.type-card .tag{position:absolute;top:18px;left:18px;font-size:11px;font-weight:700;padding:4px 10px;border-radius:20px}
html[dir="rtl"] .type-card .tag{left:auto;right:18px}
.type-card ul{margin-top:14px;display:grid;gap:8px}
.type-card li{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;color:var(--t2)}
.type-card li svg{width:16px;height:16px;flex-shrink:0;margin-top:3px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round}
.rule-chip{display:inline-flex;align-items:center;gap:6px;background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.25);
  color:var(--gold);padding:6px 12px;border-radius:20px;font-size:12px;font-weight:700;margin-top:16px}

/* ═══ Comparison table ═══ */
.tbl-wrap{overflow-x:auto;border-radius:16px;border:1px solid var(--border)}
table.cmp{width:100%;border-collapse:collapse;min-width:640px;background:var(--bg2)}
table.cmp th,table.cmp td{padding:16px 18px;text-align:center;font-size:13.5px;border-bottom:1px solid var(--border)}
table.cmp th{background:var(--bg3);font-weight:800;font-size:13px}
table.cmp td:first-child,table.cmp th:first-child{text-align:right;font-weight:700;color:var(--t1);position:sticky;right:0;background:var(--bg2)}
table.cmp th:first-child{background:var(--bg3)}
table.cmp tr:last-child td{border-bottom:none}
.yes{color:var(--ac);font-weight:800}
.no{color:var(--t3)}

/* ═══ Benefits grid ═══ */
.benefit{display:flex;align-items:center;gap:14px;background:var(--bg2);border:1px solid var(--border);border-radius:14px;padding:16px 18px;font-size:14px;font-weight:600}
.benefit .em{font-size:24px;flex-shrink:0}

/* ═══ Referral diagram ═══ */
.ref-chain{display:flex;flex-direction:column;align-items:center;gap:0;max-width:340px;margin:0 auto}
.ref-node{background:var(--bg2);border:1px solid var(--border);border-radius:16px;padding:18px 24px;text-align:center;width:100%}
.ref-node.me{background:linear-gradient(135deg,var(--pr),var(--pu));border:none;color:#fff}
.ref-pct{font-size:24px;font-weight:900;color:var(--pr-l);margin-top:4px}
.ref-node.me .ref-pct{color:#fff}
.ref-link{width:2px;height:28px;background:var(--border)}

/* ═══ Trust / ledger flow ═══ */
.trust-flow{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:760px){.trust-flow{grid-template-columns:repeat(4,1fr)}}
.trust-step{background:var(--bg2);border:1px solid var(--border);border-radius:16px;padding:20px;text-align:center}
.trust-step .n{width:34px;height:34px;border-radius:50%;background:rgba(139,92,246,.15);color:var(--pu);
  display:flex;align-items:center;justify-content:center;font-weight:800;margin:0 auto 12px}
.disclaimer{background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.2);border-radius:14px;padding:16px 18px;
  font-size:13px;color:var(--gold);margin-top:24px;display:flex;gap:10px;align-items:flex-start}
.disclaimer svg{width:18px;height:18px;flex-shrink:0;margin-top:2px}

/* ═══ Video placeholder cards ═══ */
.video-card{border-radius:16px;overflow:hidden;background:var(--bg2);border:1px solid var(--border)}
.video-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,var(--bg3),var(--bg2));display:flex;align-items:center;
  justify-content:center;position:relative}
.play-btn{width:56px;height:56px;border-radius:50%;background:rgba(59,130,246,.9);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(59,130,246,.4)}
.play-btn svg{width:22px;height:22px;fill:#fff;margin-right:-2px}
html[dir="rtl"] .play-btn svg{margin-right:0;margin-left:-2px;transform:scaleX(-1)}
.video-soon{position:absolute;bottom:10px;left:10px;background:rgba(0,0,0,.5);color:var(--t1);font-size:11px;font-weight:700;padding:4px 10px;border-radius:20px}
html[dir="rtl"] .video-soon{left:auto;right:10px}
.video-card .vc-body{padding:16px 18px}

/* ═══ FAQ ═══ */
.faq-tabs{display:flex;gap:8px;justify-content:center;margin-bottom:24px;flex-wrap:wrap}
.faq-tab{padding:10px 18px;border-radius:20px;background:var(--bg2);border:1px solid var(--border);font-size:13px;font-weight:700;color:var(--t2);cursor:pointer}
.faq-tab.active{background:var(--pr);color:#fff;border-color:var(--pr)}
.faq-group{display:none;max-width:760px;margin:0 auto}
.faq-group.active{display:block}
.faq-item{border-bottom:1px solid var(--border)}
.faq-q{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px;cursor:pointer;font-weight:700;font-size:14.5px}
.faq-q svg{width:18px;height:18px;flex-shrink:0;stroke:var(--t2);fill:none;stroke-width:2.4;transition:transform .2s}
.faq-item.open .faq-q svg{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease}
.faq-item.open .faq-a{max-height:240px}
.faq-a p{padding:0 4px 18px;color:var(--t2);font-size:13.5px}

/* ═══ Final CTA ═══ */
.final-cta{background:linear-gradient(135deg,rgba(59,130,246,.12),rgba(139,92,246,.1));border:1px solid var(--border);
  border-radius:24px;padding:48px 24px;text-align:center}
.final-cta h2{margin-bottom:6px}
.final-cta .tag-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0 28px}
.final-cta .tag-row span{background:var(--bg3);padding:8px 16px;border-radius:20px;font-size:13px;font-weight:700}

/* ═══ FOOTER ═══ */
footer{border-top:1px solid var(--border);padding:56px 0 28px;background:var(--bg2)}
.foot-grid{display:grid;gap:32px;grid-template-columns:1fr}
@media(min-width:760px){.foot-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}}
.foot-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:17px;margin-bottom:12px}
.foot-brand img{width:34px;height:34px;border-radius:50%}
footer p.d{color:var(--t2);font-size:13.5px;max-width:280px}
footer h4{font-size:13px;color:var(--t2);margin-bottom:14px;letter-spacing:.3px}
footer ul li{margin-bottom:10px}
footer ul a{font-size:13.5px;color:var(--t1)}
footer ul a:hover{color:var(--pr-l)}
.foot-bottom{border-top:1px solid var(--border);margin-top:40px;padding-top:20px;display:flex;flex-wrap:wrap;
  gap:12px;justify-content:space-between;color:var(--t3);font-size:12.5px}

/* toast (used for lang switcher "coming soon") */
#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--bg3);
  color:var(--t1);padding:12px 20px;border-radius:12px;font-size:13.5px;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.4);
  opacity:0;pointer-events:none;transition:all .25s;z-index:999;white-space:nowrap}
#toast.on{opacity:1;transform:translateX(-50%) translateY(0)}
