/* Maydan brand font (Winco, Latin) — Arabic falls back to Cairo */
@font-face { font-family:'Winco'; src:url('../fonts/winco-light.otf') format('opentype'); font-weight:300; font-display:swap; }
@font-face { font-family:'Winco'; src:url('../fonts/winco-regular.otf') format('opentype'); font-weight:400; font-display:swap; }
@font-face { font-family:'Winco'; src:url('../fonts/winco-bold.otf') format('opentype'); font-weight:700; font-display:swap; }
@font-face { font-family:'Winco'; src:url('../fonts/winco-black.otf') format('opentype'); font-weight:800; font-display:swap; }
@font-face { font-family:'Winco'; src:url('../fonts/winco-ultra-black.otf') format('opentype'); font-weight:900; font-display:swap; }

:root {
  --blue:#2563EB; --blue-dark:#1D4ED8; --ink:#0B1220; --muted:#5B6472;
  --bg:#FFFFFF; --surface:#F5F7FA; --border:#E6E9EF; --radius:18px; --maxw:1080px;
}
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:'Winco', -apple-system, BlinkMacSystemFont, sans-serif;
  color:var(--ink); background:var(--bg); line-height:1.6; -webkit-font-smoothing:antialiased;
}
html[dir="rtl"] body { font-family:'Cairo', 'Winco', sans-serif; }
a { color:inherit; text-decoration:none; }
.wrap { max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* Nav */
header { position:sticky; top:0; z-index:50; background:rgba(255,255,255,0.82);
  backdrop-filter:saturate(180%) blur(12px); border-bottom:1px solid var(--border); }
.nav { display:flex; align-items:center; justify-content:space-between; height:72px; }
.brand img { height:42px; display:block; }
.nav-links { display:flex; align-items:center; gap:28px; }
.nav-links a { color:var(--muted); font-weight:500; font-size:15px; }
.nav-links a:hover { color:var(--ink); }
.lang-btn { border:1px solid var(--border); background:#fff; color:var(--ink);
  border-radius:999px; padding:8px 16px; font-weight:700; font-size:14px; cursor:pointer; font-family:inherit; }
.lang-btn:hover { background:var(--surface); }

/* Hero */
.hero { padding:96px 0 84px; text-align:center; position:relative; overflow:hidden; }
.hero::before { content:""; position:absolute; inset:0; z-index:-1;
  background:radial-gradient(60% 50% at 50% 0%, rgba(37,99,235,0.12), transparent 70%), linear-gradient(180deg,#fff,var(--surface)); }
.hero .watermark { position:absolute; right:-60px; top:40px; width:340px; opacity:0.05; z-index:-1; }
html[dir="rtl"] .hero .watermark { right:auto; left:-60px; }
.pill { display:inline-block; background:rgba(37,99,235,0.1); color:var(--blue-dark);
  font-weight:700; font-size:13px; padding:7px 14px; border-radius:999px; margin-bottom:22px; }
.hero h1 { font-size:clamp(36px,6vw,62px); font-weight:900; line-height:1.05; letter-spacing:-0.02em; }
.hero p { color:var(--muted); font-size:clamp(16px,2.4vw,20px); max-width:620px; margin:20px auto 34px; }
.cta-row { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; align-items:center; }
.btn { display:inline-flex; align-items:center; gap:9px; border:none; cursor:pointer;
  background:var(--blue); color:#fff; font-weight:700; font-size:16px; padding:15px 26px; border-radius:14px;
  font-family:inherit; transition:transform .12s, background .12s; }
.btn:hover { background:var(--blue-dark); transform:translateY(-1px); }
.soon-tag { font-size:13px; color:var(--muted); font-weight:600; }

/* Sections */
section { padding:76px 0; }
.section-head { text-align:center; max-width:640px; margin:0 auto 48px; }
.section-head h2 { font-size:clamp(26px,4vw,40px); font-weight:800; letter-spacing:-0.02em; }
.section-head p { color:var(--muted); margin-top:12px; font-size:17px; }
#about { background:var(--surface); }

/* Service cards */
.grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:28px;
  transition:transform .15s, box-shadow .15s; }
.card:hover { transform:translateY(-3px); box-shadow:0 14px 40px rgba(11,18,32,0.08); }
.card .ico { width:48px; height:48px; border-radius:13px; background:rgba(37,99,235,0.1);
  display:grid; place-items:center; margin-bottom:16px; color:var(--blue); }
.card .ico svg { width:26px; height:26px; }
.card h3 { font-size:19px; font-weight:800; margin-bottom:6px; }
.card p { color:var(--muted); font-size:15px; }

/* Download CTA */
#download .box { background:linear-gradient(135deg, var(--blue), #4F7BF7); border-radius:28px;
  padding:56px 32px; text-align:center; color:#fff; }
#download .app-icon { width:96px; height:96px; border-radius:22px; margin:0 auto 22px; display:block;
  box-shadow:0 18px 50px rgba(0,0,0,0.25); }
#download h2 { font-size:clamp(26px,4vw,40px); font-weight:900; }
#download p { opacity:.92; font-size:18px; margin:14px auto 28px; max-width:520px; }
.store-badge { display:inline-flex; align-items:center; gap:10px; background:#fff; color:var(--ink);
  padding:14px 24px; border-radius:14px; font-weight:700; font-size:16px; }
.store-badge .small { display:block; font-size:11px; font-weight:600; color:var(--muted); }

/* Footer */
footer { border-top:1px solid var(--border); padding:40px 0; }
.foot { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
  color:var(--muted); font-size:14px; }
.foot img { height:24px; opacity:.9; }
.foot a { color:var(--blue-dark); font-weight:600; }

@media (max-width:760px) {
  .nav-links { gap:16px; }
  .nav-links .navlink { display:none; }
  .grid { grid-template-columns:1fr; }
  .hero { padding:66px 0 56px; }
  section { padding:56px 0; }
}
