:root {
  --bg: #0B1220;
  --surface: #121B2E;
  --surface-alt: #1A2540;
  --border: #24314F;
  --text: #F1F5F9;
  --muted: #94A3B8;
  --teal: #3CC0CC;
  --teal-dark: #2A9AA5;
  --gold: #E4C078;
  --gold-dark: #C99436;
  --up: #22C55E;
  --down: #EF4444;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  line-height: 1.75; font-size: 17px;
}
a { color: var(--teal); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(11,18,32,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; }
.logo img { width: 38px; height: 38px; border-radius: 10px; }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.topbar nav a:hover { color: var(--text); }
@media (max-width: 760px) { .topbar nav { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal); color: #06232A; }
.btn-primary:hover { background: #55cdd8; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface); }
.btn small { display: block; font-size: 12px; font-weight: 500; opacity: .75; line-height: 1.2; }
.btn .stack { line-height: 1.25; text-align: start; }

/* hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(60,192,204,.18), transparent); pointer-events: none; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.pill { display: inline-block; padding: 5px 14px; border: 1px solid rgba(60,192,204,.45); border-radius: 999px; color: var(--teal); font-size: 14px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.25; margin: 0 0 16px; }
.hero h1 .gold { color: var(--gold); }
.hero p.lead { color: var(--muted); font-size: 19px; margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 18px; color: var(--muted); font-size: 14px; }
@media (max-width: 880px) { .hero .container { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

/* phone mockup */
.phones { display: flex; justify-content: center; gap: 18px; }
.phone { width: 260px; border-radius: 34px; padding: 10px; background: #050a14; border: 1px solid #2b3958; box-shadow: 0 30px 60px rgba(0,0,0,.45); flex-shrink: 0; }
.phone.back { transform: translateY(36px); opacity: .9; }
.screen { border-radius: 26px; background: var(--bg); overflow: hidden; height: 520px; display: flex; flex-direction: column; font-size: 13px; line-height: 1.5; }
.screen .status { height: 26px; display: flex; justify-content: center; align-items: center; }
.screen .status i { width: 70px; height: 7px; border-radius: 9px; background: #1c2740; }
.screen .body { flex: 1; padding: 6px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.screen .hello { font-weight: 700; font-size: 16px; }
.screen .tabbar { display: flex; justify-content: space-around; padding: 8px 6px 12px; border-top: 1px solid var(--border); background: var(--surface); }
.screen .tabbar span { font-size: 10px; color: var(--muted); padding: 4px 8px; border-radius: 10px; }
.screen .tabbar span.on { color: var(--teal); background: rgba(60,192,204,.14); }
.mini-banner { border-radius: 14px; padding: 12px; background: linear-gradient(135deg, #12305a, #0d1a33); border: 1px solid #2a4a7a; }
.mini-banner b { color: var(--gold); display: block; font-size: 14px; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.mini-card .row { display: flex; justify-content: space-between; align-items: center; }
.mini-card .sym { font-weight: 700; }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 99px; }
.tag.buy { background: rgba(34,197,94,.15); color: var(--up); }
.tag.sell { background: rgba(239,68,68,.15); color: var(--down); }
.tag.lvl { background: rgba(228,192,120,.15); color: var(--gold); }
.mini-card .sub { color: var(--muted); font-size: 11px; }
.mini-title { color: var(--gold); font-weight: 700; font-size: 13px; margin-top: 2px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span { font-size: 11px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--border); color: var(--muted); }
.chips span.on { border-color: var(--teal); color: var(--teal); }
.bar { height: 5px; border-radius: 9px; background: var(--surface-alt); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--teal); border-radius: 9px; }
@media (max-width: 600px) { .phone.back { display: none; } }

/* sections */
section { padding: 64px 0; }
.divider { height: 1px; background: linear-gradient(to left, transparent, rgba(60,192,204,.5), transparent); max-width: 1120px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; line-height: 1.35; }
.section-head h2 .gold { color: var(--gold); }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: rgba(60,192,204,.5); transform: translateY(-3px); }
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(60,192,204,.13); color: var(--teal); margin-bottom: 14px; }
.icon.gold { background: rgba(228,192,120,.14); color: var(--gold); }
.icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pillars span { padding: 9px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 15px; }
.pillars span b { color: var(--gold); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px; border-radius: 18px; border: 1px dashed var(--border); }
.step .num { font-size: 34px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 10px; font-family: system-ui, sans-serif; }
.step h3 { margin: 0 0 4px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.values ul { margin: 0; padding-inline-start: 20px; color: var(--muted); }
.values li { margin: 6px 0; }
.values li b { color: var(--text); }

.cta-box { text-align: center; padding: 44px 24px; border-radius: 24px; background: linear-gradient(135deg, rgba(60,192,204,.14), rgba(228,192,120,.08)); border: 1px solid var(--border); }
.cta-box h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); }
.cta-box p { color: var(--muted); margin: 0 0 24px; }
.cta-box .cta-row { justify-content: center; }

.risk { margin-top: 28px; padding: 16px 18px; border-radius: 14px; border: 1px solid #6B4E16; background: rgba(201,148,54,.07); color: #e9d9b5; font-size: 15px; }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .container { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--teal); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .card:hover { transform: none; } }
