
:root{
  --bg:#030716;
  --panel:#0b1028;
  --panel2:#070d22;
  --text:#ffffff;
  --muted:#d7dcef;
  --muted2:#a9b0c5;
  --line:rgba(154,96,255,.55);
  --violet:#d472ff;
  --violet2:#8f42ff;
  --violet3:#c45dff;
  --blue:#418bff;
  --danger:#ff97b0;
}
*{box-sizing:border-box}
html{background:#02050e;scroll-behavior:smooth}
body{margin:0;font-family:Arial,"Noto Sans Arabic",Tahoma,sans-serif;background:radial-gradient(circle at 50% 0,#17103a 0,#070b19 34%,#02050e 75%);color:var(--text)}
a,button,input{font:inherit}
.page{width:min(100%,430px);margin:auto;min-height:100vh;overflow:hidden;background:linear-gradient(180deg,rgba(7,10,27,.88),rgba(2,6,17,.98));box-shadow:0 0 60px rgba(61,72,255,.14)}
.hero{position:relative;overflow:hidden;background:#040816}
.hero-image{display:block;width:100%;height:auto;object-fit:contain}
.hero::after{content:"";position:absolute;inset:auto 0 0;height:74px;background:linear-gradient(180deg,rgba(3,7,22,0),#030716 96%);pointer-events:none}
.header{direction:ltr;position:absolute;z-index:4;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-start;padding:12px 14px}
.logo{width:68px;height:auto;display:block;filter:drop-shadow(0 2px 8px rgba(0,0,0,.45))}
.lang{display:flex;align-items:center;border:1px solid rgba(183,189,255,.6);border-radius:999px;background:rgba(3,8,24,.76);backdrop-filter:blur(8px);overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.lang button{border:0;background:transparent;color:#fff;min-width:48px;height:36px;padding:0 14px;font-weight:800;font-size:13px;cursor:pointer}
.lang button.active{background:linear-gradient(135deg,#7c53ff,#b646ff)}
.lang i{height:18px;width:1px;background:rgba(255,255,255,.35)}
.content{padding:4px 22px 28px;text-align:center}
.headline{font-size:30px;line-height:1.2;margin:0 auto 12px;font-weight:900;letter-spacing:-.25px;text-align:center!important;max-width:390px;width:100%}
.headline span{display:block;text-align:center!important}
.headline .accent{margin-top:2px;background:linear-gradient(90deg,#ff72ff,#a75dff);-webkit-background-clip:text;background-clip:text;color:transparent}
.sub{color:#edf1ff;font-size:15px;line-height:1.72;margin:0 auto 18px;max-width:390px;text-align:center}
.offer{display:flex;align-items:center;justify-content:center;gap:18px;border:1px solid rgba(165,91,255,.95);border-radius:22px;padding:14px 18px;background:linear-gradient(180deg,rgba(87,31,162,.2),rgba(7,11,28,.92));box-shadow:0 0 24px rgba(163,67,255,.20),inset 0 0 18px rgba(86,108,255,.06);margin-bottom:14px;min-height:95px}
[dir="rtl"] .offer{flex-direction:row}
.offer img{width:72px;height:72px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 8px 14px rgba(139,67,255,.32))}
.offer b{display:block;font-size:28px;line-height:1;color:#ffd3ff}
.offer small{display:block;font-size:15px;color:#fff;margin-top:4px}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0 0 16px}
.benefit{border:1px solid rgba(117,92,255,.55);border-radius:14px;padding:9px 8px;background:rgba(7,12,31,.8);min-height:58px;display:flex;align-items:center;justify-content:center;gap:7px;text-align:center;color:#fff;font-size:12px;line-height:1.25}
.benefit img{width:25px;height:25px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 3px 7px rgba(121,74,255,.35))}
.form-label{display:block;text-align:center;font-size:14px;font-weight:700;margin:0 0 8px;color:#fff}
.phone-wrap{display:flex;align-items:center;background:#f4f4f7;border-radius:18px;border:2px solid rgba(255,255,255,.24);overflow:hidden;box-shadow:0 0 0 1px rgba(143,92,255,.45),0 10px 30px rgba(0,0,0,.14)}
.prefix{color:#555d70;font-weight:900;min-width:78px;text-align:center;padding:0 13px;direction:ltr;white-space:nowrap;order:1;border-left:1px solid #d8dbe3}
.phone-wrap input{width:100%;height:62px;border:0;outline:0;font-size:20px;font-weight:700;color:#171b2a;background:#f4f4f7;padding:0 16px;direction:ltr;text-align:left;order:1}
.phone-wrap input::placeholder{color:#9098a7;opacity:1}
.error{min-height:20px;font-size:12px;color:var(--danger);text-align:center;padding:5px 6px 0}
.cta{width:100%;height:64px;border:0;border-radius:20px;color:#fff;font-size:24px;font-weight:900;background:linear-gradient(135deg,#c34fff,#8b3dff 52%,#b744ff);box-shadow:0 10px 28px rgba(149,48,255,.34),inset 0 1px 0 rgba(255,255,255,.28);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px}
.cta:disabled{opacity:.78;cursor:not-allowed}
.spinner{width:22px;height:22px;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}
.hidden{display:none!important}
@keyframes spin{to{transform:rotate(360deg)}}
.price-row{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px 0 14px;color:#fff;font-size:15px;line-height:1.5;text-align:center}
.price-row img{width:24px;height:24px;object-fit:contain;flex:0 0 auto}
.price-row strong{color:#f47eff;font-size:16px}
.legal{display:flex;gap:12px;align-items:flex-start;text-align:start;border:1px solid rgba(128,138,191,.28);border-radius:16px;background:rgba(7,12,29,.78);padding:14px;color:#dfe3f1;font-size:13px;line-height:1.75}
.legal img{width:60px;height:60px;object-fit:contain;flex:0 0 auto;margin-top:1px}
.partner{margin:22px auto 8px;font-size:28px;font-weight:900;letter-spacing:-2px;color:#6e50ff;text-align:center}
.partner small{display:block;font-size:9px;letter-spacing:1px;color:#6d70a8;margin-top:-4px}
.footer{border-top:1px solid rgba(255,255,255,.18);padding-top:13px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;font-size:10px}
.footer a{color:#dbe0ef;text-decoration:underline}

/* OTP */
.otp-page{display:flex;min-height:100vh;align-items:center}
.otp-card{width:100%;padding:25px 18px 30px;text-align:center}
.otp-logo{width:96px;margin:0 auto 24px}
.otp-icon{width:70px;height:70px;margin:0 auto 18px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(156,53,255,.28),rgba(47,124,255,.12));border:1px solid rgba(156,83,255,.6);box-shadow:0 0 28px rgba(139,58,255,.26)}
.otp-icon img{width:34px}
.otp-title{font-size:29px;margin:0 0 9px;text-align:center}
.otp-sub{font-size:15px;color:var(--muted);line-height:1.65;margin:0 auto 20px;max-width:390px;text-align:center}
.number-pill{display:inline-flex;padding:8px 15px;border-radius:999px;background:rgba(126,69,255,.13);border:1px solid rgba(147,101,255,.42);direction:ltr;margin-bottom:19px;color:#dcd8ff}
.otp-inputs{display:flex;justify-content:center;gap:10px;direction:ltr;margin-bottom:9px}
.otp-inputs input{width:58px;height:62px;border-radius:15px;border:1px solid rgba(142,113,255,.52);background:#fff;color:#101426;text-align:center;font-size:27px;font-weight:800;outline:none;box-shadow:0 7px 20px rgba(0,0,0,.17)}
.otp-inputs input:focus{box-shadow:0 0 0 3px rgba(154,79,255,.25),0 7px 20px rgba(0,0,0,.17)}
.resend{margin:14px 0 18px;font-size:13px;color:var(--muted);text-align:center}
.resend button{border:0;background:none;color:#b981ff;text-decoration:underline;cursor:pointer;font-weight:700}
.back-link{display:inline-block;margin-top:15px;color:#bfc5da;font-size:13px}

@media(max-width:390px){
  .content{padding:4px 16px 26px}
  .logo{width:62px}
  .lang button{min-width:44px;height:34px;padding:0 12px}
  .headline{font-size:26px}
  .sub{font-size:14px}
  .offer b{font-size:24px}
  .offer img{width:64px;height:64px}
  .benefit{font-size:11px;padding:9px 4px}
  .benefit img{width:20px;height:20px}
  .phone-wrap input{font-size:18px;height:58px}
  .prefix{min-width:74px}
  .cta{height:60px;font-size:22px}
  .otp-inputs input{width:52px;height:58px}
}
@media(min-width:431px){body{padding:18px 0}.page{border-radius:24px;border:1px solid rgba(147,154,204,.2)}}

[dir="rtl"] .phone-wrap{direction:ltr}
[dir="ltr"] .phone-wrap{direction:ltr}
[dir="rtl"] .prefix,[dir="ltr"] .prefix{order:1;border-left:1px solid #d8dbe3;border-right:0}
[dir="rtl"] .phone-wrap input,[dir="ltr"] .phone-wrap input{order:1;text-align:left}
