
:root{
  --blue:#0326a0;
  --blue2:#1e63ff;
  --orange:#ff7900;
  --green:#079455;
  --purple:#7c3aed;
  --ink:#13213c;
  --muted:#667085;
  --line:rgba(3,38,160,.12);
  --glass:rgba(255,255,255,.72);
  --shadow:0 24px 70px rgba(3,38,160,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  direction:rtl;
  font-family:Tahoma,Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 10% 0%,rgba(255,121,0,.10),transparent 25%),
    radial-gradient(circle at 90% 10%,rgba(3,38,160,.12),transparent 30%),
    linear-gradient(180deg,#f9fbff 0%,#f3f6fc 100%);
  min-height:100vh;
}
a{text-decoration:none}
button,input{font:inherit}
.site-bg{
  position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1
}
.orb{
  position:absolute;border-radius:50%;filter:blur(2px);opacity:.24;
  animation:float 9s ease-in-out infinite
}
.orb.one{width:220px;height:220px;background:#ff7900;top:12%;right:-70px}
.orb.two{width:280px;height:280px;background:#1e63ff;bottom:8%;left:-100px;animation-delay:1.5s}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-28px)}}

.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(3,38,160,.08);
}
.topbar-inner{
  max-width:1180px;margin:auto;
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:13px 20px;
}
.brand{display:flex;align-items:center;gap:12px;color:var(--blue);font-weight:900}
.brand-logo{
  width:66px;height:66px;flex:0 0 66px;border-radius:20px;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  background:#fff;border:2px solid rgba(3,38,160,.08);
  box-shadow:0 12px 30px rgba(3,38,160,.18);transition:.3s ease
}
.brand-logo:hover{transform:rotate(-3deg) scale(1.04)}
.brand-logo img{width:100%;height:100%;object-fit:cover;display:block}
.brand-title{font-size:21px;line-height:1.25}
.brand small{display:block;color:var(--muted);font-size:14px;font-weight:500;margin-top:4px}
.nav-actions{display:flex;gap:10px;flex-wrap:wrap}

.btn{
  min-height:44px;padding:10px 18px;border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-weight:800;border:1px solid transparent;transition:.22s ease
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{color:#fff;background:linear-gradient(135deg,var(--blue),var(--blue2));box-shadow:0 10px 24px rgba(3,38,160,.20)}
.btn-light{color:var(--blue);background:#fff;border-color:#dce4f2}

.page{max-width:1180px;margin:auto;padding:40px 20px 70px}
.hero{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:1.35fr .65fr;gap:30px;align-items:center;
  padding:42px;border-radius:34px;
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(245,248,255,.88));
  border:1px solid rgba(255,255,255,.85);
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
}
.hero:before{
  content:"";position:absolute;inset:auto auto -100px -70px;
  width:260px;height:260px;border-radius:50%;
  background:rgba(255,121,0,.09)
}
.hero-copy{position:relative;z-index:2}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:999px;
  color:var(--blue);background:#edf3ff;font-size:13px;font-weight:900;
  margin-bottom:16px
}
.hero h1{margin:0 0 14px;color:var(--blue);font-size:clamp(34px,5vw,58px);line-height:1.2}
.hero p{margin:0;color:var(--muted);font-size:18px;line-height:2;max-width:720px}
.hero-art{
  min-height:260px;border-radius:30px;display:grid;place-items:center;position:relative;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  box-shadow:0 24px 55px rgba(3,38,160,.28);
  animation:heroPulse 5s ease-in-out infinite
}
.hero-art:after{
  content:"";position:absolute;inset:18px;border:1px solid rgba(255,255,255,.25);border-radius:24px
}
.hero-icon{font-size:96px;filter:drop-shadow(0 16px 18px rgba(0,0,0,.18));animation:bob 3.6s ease-in-out infinite}
@keyframes heroPulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes bob{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(3deg) scale(1.04)}}

.section{margin-top:34px}
.section-title{margin-bottom:18px}
.section-title h2{margin:0;color:var(--blue);font-size:30px}
.section-title p{margin:7px 0 0;color:var(--muted);line-height:1.8}

.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.glass-card{
  position:relative;overflow:hidden;
  background:var(--glass);backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.9);
  border-radius:24px;padding:24px;
  box-shadow:0 16px 38px rgba(3,38,160,.09);
  transition:.28s ease
}
.glass-card:before{
  content:"";position:absolute;top:0;right:0;left:0;height:5px;
  background:linear-gradient(90deg,var(--blue),var(--orange))
}
.glass-card:hover{transform:translateY(-8px) scale(1.01);box-shadow:0 24px 48px rgba(3,38,160,.15)}
.card-icon{
  width:70px;height:70px;border-radius:22px;display:grid;place-items:center;
  background:linear-gradient(145deg,#fff,#edf3ff);
  box-shadow:inset 0 0 0 1px rgba(3,38,160,.08);
  font-size:34px;margin-bottom:16px
}
.glass-card h3{margin:0 0 10px;color:var(--blue);font-size:21px}
.glass-card p{margin:0;color:var(--muted);line-height:1.9}
.glass-card .btn{width:100%;margin-top:18px}

.steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.step{
  display:flex;gap:16px;padding:24px;border-radius:23px;
  background:rgba(255,255,255,.78);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 14px 35px rgba(3,38,160,.08);
  transition:.25s ease
}
.step:hover{transform:translateY(-4px)}
.step-num{
  width:54px;height:54px;flex:0 0 54px;border-radius:17px;
  display:grid;place-items:center;color:#fff;font-weight:900;font-size:20px;
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  box-shadow:0 10px 25px rgba(3,38,160,.22)
}
.step h3{margin:0 0 8px;color:var(--blue)}
.step p{margin:0;color:var(--muted);line-height:1.9}

.notice{
  margin-top:26px;padding:26px;border-radius:24px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  background:linear-gradient(135deg,rgba(239,252,243,.92),rgba(255,255,255,.9));
  border:1px solid rgba(7,148,85,.18);
  box-shadow:0 15px 34px rgba(7,148,85,.08)
}
.notice h3{margin:0 0 6px;color:#087a43}
.notice p{margin:0;color:#567064;line-height:1.8}

.search-box{
  display:flex;gap:10px;padding:12px;border-radius:19px;
  background:rgba(255,255,255,.85);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 12px 30px rgba(3,38,160,.07);
  margin-bottom:18px
}
.search-box input{
  flex:1;border:0;outline:0;background:transparent;padding:9px 10px;color:var(--ink)
}
.faq-list{display:grid;gap:14px}
.faq-item{
  overflow:hidden;border-radius:19px;
  background:rgba(255,255,255,.82);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 12px 28px rgba(3,38,160,.07)
}
.faq-item summary{
  cursor:pointer;list-style:none;position:relative;
  padding:21px 60px 21px 22px;color:var(--blue);font-weight:900;font-size:18px
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:before{
  content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);
  width:32px;height:32px;border-radius:10px;display:grid;place-items:center;
  background:#edf3ff;color:var(--blue);font-size:22px
}
.faq-item[open] summary:before{content:"−";background:var(--blue);color:#fff}
.faq-answer{padding:0 22px 22px;color:var(--muted);line-height:2;border-top:1px solid rgba(3,38,160,.07)}

.footer{
  border-top:1px solid rgba(3,38,160,.08);
  background:rgba(255,255,255,.85);
  text-align:center;color:var(--muted);padding:24px
}
.hidden{display:none!important}
.reveal{opacity:0;transform:translateY(24px);transition:.7s ease}
.reveal.show{opacity:1;transform:none}

@media(max-width:900px){
  .hero{grid-template-columns:1fr}
  .hero-art{min-height:210px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .topbar-inner{align-items:center}
  .brand-logo{width:56px;height:56px;flex-basis:56px}
  .brand-title{font-size:17px}
  .brand small{font-size:12px}
  .page{padding:26px 14px 50px}
  .hero{padding:25px;border-radius:25px}
  .hero p{font-size:16px}
  .grid,.steps{grid-template-columns:1fr}
  .notice{flex-direction:column;align-items:flex-start}
  .btn{width:100%}
  .nav-actions .btn{width:auto}
}

.brand-logo{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:14px;
}
.brand-logo img{
  width:100%;
  height:100%;
  max-width:52px;
  max-height:52px;
  object-fit:contain;
  display:block;
}

/* تثبيت حجم شعار المنصة في جميع الصفحات */
.topbar .brand-logo{
  display:flex !important;
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  min-height:52px !important;
  max-width:52px !important;
  max-height:52px !important;
  margin:0 !important;
  padding:0 !important;
  visibility:visible !important;
  overflow:hidden !important;
}
.topbar .brand-logo img{
  display:block !important;
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  min-height:52px !important;
  max-width:52px !important;
  max-height:52px !important;
  object-fit:contain !important;
  visibility:visible !important;
}
@media(max-width:650px){
  .topbar .brand-logo,
  .topbar .brand-logo img{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
    max-width:44px !important;
    max-height:44px !important;
  }
}
