/* BuyGo — صفحة الهبوط. ألوان العلامة: كحلي #01297B وبرتقالي #FD9B23. RTL، بلا خطوط أو سكربتات خارجية. */
:root {
  --navy: #01297b;
  --navy-2: #013494;
  --navy-3: #001c5c;
  --orange: #fd9b23;
  --orange-2: #e8840f;
  --ink: #0f1b3d;
  --muted: #5b6b8c;
  --line: #e3e9f6;
  --bg: #ffffff;
  --soft: #f4f7ff;
  --radius: 22px;
  --shadow: 0 18px 50px -20px rgba(1, 41, 123, 0.35);
  --font: 'Segoe UI', 'Noto Sans Arabic', 'Noto Kufi Arabic', Tahoma, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.75; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--orange); color: #111; padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font-weight: 800; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease; will-change: transform; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-accent { background: linear-gradient(180deg, #ffb049, var(--orange)); color: #1b1400; box-shadow: 0 10px 30px -8px rgba(253, 155, 35, 0.75); }
.btn-accent:hover { box-shadow: 0 16px 40px -10px rgba(253, 155, 35, 0.9); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- nav ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease; padding: 14px 0; }
.nav.scrolled { background: rgba(0, 28, 92, 0.86); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6); padding: 8px 0; }
.nav-inner { display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 900; font-size: 1.45rem; letter-spacing: 0.2px; direction: ltr; }
.brand img { border-radius: 11px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45); }
.brand b { color: var(--orange); }
.links { display: flex; gap: 6px; margin-inline-start: auto; }
.links a { color: rgba(255, 255, 255, 0.86); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 10px; transition: background 0.2s ease, color 0.2s ease; }
.links a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-cta { padding: 10px 18px; }
.menu { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0 11px; }
.menu span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.menu[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #0a47c6 0%, transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy) 45%, var(--navy-3)); padding: 150px 0 110px; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.orb-a { width: 520px; height: 520px; background: rgba(253, 155, 35, 0.28); inset-inline-start: -160px; bottom: -220px; animation: drift 14s ease-in-out infinite alternate; }
.orb-b { width: 420px; height: 420px; background: rgba(90, 160, 255, 0.35); inset-inline-end: -120px; top: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.orb-c { width: 560px; height: 560px; background: rgba(253, 155, 35, 0.18); inset-inline-end: -200px; top: 10%; animation: drift 16s ease-in-out infinite alternate; }
.orb-d { width: 380px; height: 380px; background: rgba(253, 155, 35, 0.35); inset-inline-start: -120px; top: -160px; }
.grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); font-weight: 700; font-size: 0.9rem; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(253, 155, 35, 0.7); animation: ping 2s ease-out infinite; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 900; margin: 22px 0 18px; }
.glow-text { color: var(--orange); text-shadow: 0 0 30px rgba(253, 155, 35, 0.55); }
.lead { font-size: 1.15rem; color: rgba(232, 238, 251, 0.92); max-width: 36ch; }
.lead b { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: rgba(232, 238, 251, 0.9); font-size: 0.95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 14px; background: linear-gradient(145deg, #1c2e5e, #050d24); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 2px rgba(255, 255, 255, 0.08); animation: float 7s ease-in-out infinite; }
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #02060f; z-index: 2; }
.phone-screen { height: 100%; border-radius: 34px; overflow: hidden; background: radial-gradient(400px 260px at 80% 0%, #0b4fd6, transparent 70%), linear-gradient(170deg, var(--navy-2), var(--navy) 55%, var(--navy-3)); padding: 58px 18px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ps-kicker { color: var(--orange); font-weight: 900; font-size: 0.8rem; }
.ps-title { font-weight: 900; font-size: 1.1rem; margin-bottom: 6px; }
.ps-card { margin-top: auto; width: 100%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 12px 14px; text-align: right; font-size: 0.85rem; }
.ps-badge { display: inline-block; background: var(--orange); color: #1b1400; font-weight: 900; font-size: 0.72rem; border-radius: 8px; padding: 2px 8px; margin-bottom: 6px; }
.ps-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.15); overflow: hidden; margin-top: 8px; }
.ps-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--orange), #ffd08a); border-radius: 6px; animation: bar 3.2s ease-in-out infinite; }
.float-card { position: absolute; background: #fff; color: var(--ink); font-weight: 800; font-size: 0.85rem; padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.float-card b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #e8f7ee; color: #1c8a4a; }
.fc-a { top: 110px; inset-inline-start: -10px; animation: float 6s ease-in-out infinite reverse; }
.fc-b { bottom: 120px; inset-inline-end: -18px; animation: float 8s ease-in-out infinite; }
.fc-b b { background: #fff3e2; color: var(--orange-2); }

/* ---------- journey ring (shared) ---------- */
.ring { --size: 200px; --r: calc(var(--size) * 0.37); position: relative; width: var(--size); height: var(--size); margin: 8px auto; }
.ring-sm { --size: 210px; }
.ring-lg { --size: min(420px, 82vw); }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; }
.ring .track { stroke: rgba(255, 255, 255, 0.16); stroke-width: 8; }
.ring .arc, .ring .arc-glow { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 465; stroke-dashoffset: 465; transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1); }
.ring .arc { stroke-width: 8; }
.ring .arc-glow { stroke-width: 18; opacity: 0.3; filter: blur(3px); }
.ring.resetting .arc, .ring.resetting .arc-glow { transition-duration: 0.5s; }
.ring-logo { position: absolute; left: 50%; top: 50%; width: 34%; height: 34%; transform: translate(-50%, -50%); border-radius: 22%; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.55); }
.logo-glow { position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(253, 155, 35, 0.45), transparent 70%); animation: breathe 3.6s ease-in-out infinite; }
.node { position: absolute; left: 50%; top: 50%; width: calc(var(--size) * 0.19); height: calc(var(--size) * 0.19); margin: calc(var(--size) * -0.095) 0 0 calc(var(--size) * -0.095); display: grid; place-items: center; border-radius: 50%; font-size: calc(var(--size) * 0.075); background: var(--navy-3); border: 3px solid rgba(255, 255, 255, 0.2); transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease; }
.node.lit { background: #1f9d5b; border-color: #1f9d5b; box-shadow: 0 0 18px rgba(31, 157, 91, 0.55); }
.node.current { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 0 rgba(253, 155, 35, 0.7), 0 0 26px rgba(253, 155, 35, 0.8); animation: pulse 1.4s ease-out infinite; }

/* ---------- sections ---------- */
.section { position: relative; padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: #fff; overflow: hidden; background: linear-gradient(165deg, var(--navy-3), var(--navy) 60%, var(--navy-2)); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(232, 238, 251, 0.85); }
.eyebrow { display: inline-block; color: var(--orange-2); background: #fff3e2; font-weight: 900; font-size: 0.85rem; padding: 5px 12px; border-radius: 999px; }
.eyebrow-light { background: rgba(253, 155, 35, 0.16); color: var(--orange); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; top: 58px; inset-inline: 12%; height: 3px; background: linear-gradient(90deg, transparent, var(--orange), var(--navy), transparent); opacity: 0.35; border-radius: 3px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; box-shadow: 0 12px 40px -30px rgba(1, 41, 123, 0.5); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfdbf7; }
.step-no { position: absolute; top: 18px; inset-inline-end: 20px; font-weight: 900; font-size: 2.4rem; color: #eef2fb; line-height: 1; }
.step-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy-2), var(--navy)); box-shadow: 0 12px 26px -10px rgba(1, 41, 123, 0.8); margin-bottom: 18px; position: relative; }
.step-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* journey */
.journey { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.journey .section-head { text-align: right; margin: 0 0 30px; }
.stage-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.stage-list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease; }
.stage-list li i { font-style: normal; width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.08); font-size: 1.2rem; transition: background 0.4s ease, box-shadow 0.4s ease; }
.stage-list li b { display: block; font-weight: 900; }
.stage-list li span { color: rgba(232, 238, 251, 0.75); font-size: 0.92rem; }
.stage-list li.on { background: rgba(31, 157, 91, 0.12); border-color: rgba(31, 157, 91, 0.35); }
.stage-list li.on i { background: #1f9d5b; }
.stage-list li.now { background: rgba(253, 155, 35, 0.14); border-color: rgba(253, 155, 35, 0.55); transform: translateX(-6px); box-shadow: 0 0 30px -6px rgba(253, 155, 35, 0.55); }
.stage-list li.now i { background: var(--orange); box-shadow: 0 0 22px rgba(253, 155, 35, 0.8); }

/* markets marquee */
.marquee { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { flex: none; font-weight: 900; font-size: 1.35rem; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 34px; box-shadow: 0 10px 30px -24px rgba(1, 41, 123, 0.6); }

/* shipping */
.ship-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 880px; margin: 0 auto; }
.ship { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); box-shadow: 0 16px 50px -34px rgba(1, 41, 123, 0.5); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ship:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow); }
.ship-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.9rem; background: #fff3e2; margin-bottom: 16px; }
.ship h3 { font-size: 1.35rem; font-weight: 900; }
.ship-eta { color: var(--orange-2); font-weight: 900; margin: 4px 0 8px; }
.ship p:last-child { color: var(--muted); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.faq details[open] { border-color: #cfdbf7; box-shadow: 0 14px 40px -30px rgba(1, 41, 123, 0.6); }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--orange-2); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }
.faq a { color: var(--navy); font-weight: 800; }

/* cta */
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; color: #fff; padding: 48px; border-radius: 30px; background: linear-gradient(140deg, var(--navy-2), var(--navy-3)); box-shadow: var(--shadow); }
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 900; margin-bottom: 8px; }
.cta p { color: rgba(232, 238, 251, 0.85); }
.cta-copy, .stores { position: relative; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 14px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, 0.25); opacity: 0.92; direction: ltr; }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 800; font-size: 1.05rem; text-align: left; }
.store small { font-weight: 600; font-size: 0.7rem; opacity: 0.8; direction: rtl; text-align: left; }

/* footer */
.footer { background: var(--navy-3); color: rgba(232, 238, 251, 0.85); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; font-weight: 700; }
.footer nav a:hover { color: var(--orange); }
.copy { font-size: 0.9rem; opacity: 0.8; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease var(--d, 0ms), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.stage-list li.reveal { transition-delay: calc(var(--i) * 90ms); }

/* ---------- keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.12); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(253, 155, 35, 0.7); } 100% { box-shadow: 0 0 0 12px rgba(253, 155, 35, 0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(253, 155, 35, 0.75), 0 0 26px rgba(253, 155, 35, 0.8); } 100% { box-shadow: 0 0 0 18px rgba(253, 155, 35, 0), 0 0 26px rgba(253, 155, 35, 0.8); } }
@keyframes breathe { 0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } }
@keyframes bar { 0% { width: 18%; } 60% { width: 78%; } 100% { width: 18%; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 120px 0 80px; }
  .hero-inner, .journey { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .trust { justify-content: center; }
  .journey .section-head { text-align: center; }
  .journey .ring { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .links { position: absolute; top: calc(100% + 8px); inset-inline: 16px; flex-direction: column; gap: 2px; padding: 10px; border-radius: 18px; background: rgba(0, 28, 92, 0.97); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7); transform-origin: top; transform: scaleY(0.9); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .links.open { opacity: 1; transform: none; pointer-events: auto; }
  .links a { padding: 12px 14px; }
  .menu { display: flex; }
  .nav-cta { display: none; }
  .section { padding: 72px 0; }
  .steps, .ship-grid { grid-template-columns: 1fr; }
  .phone { width: 250px; height: 510px; }
  .float-card { font-size: 0.78rem; }
  .fc-a { inset-inline-start: 0; }
  .fc-b { inset-inline-end: 0; }
  .cta { padding: 32px 24px; text-align: center; justify-content: center; }
  .stores { justify-content: center; }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
