:root{
  --bg:#020617;
  --panel:rgba(15,23,42,.80);
  --panel2:rgba(30,64,175,.55);
  --stroke:rgba(148,163,184,.35);
  --text:#e5edff;
  --muted:rgba(148,163,184,.90);
  --brand:#2563eb;
  --brand2:#22c55e;
  --danger:#ef4444;
  --shadow:0 22px 60px rgba(15,23,42,.9);
  --radius:18px;
  --radius2:26px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Noto Sans Arabic","Noto Sans",Arial,sans-serif;
  background:
    radial-gradient(900px 600px at 70% 10%, rgba(37,99,235,.25), transparent 55%),
    radial-gradient(900px 600px at 20% 80%, rgba(34,197,94,.20), transparent 55%),
    var(--bg);
  color:var(--text);
  direction:rtl;
}

a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:24px}

.topbar{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding:10px 16px;
  border:1px solid var(--stroke);
  background:radial-gradient(circle at 0% 0%, rgba(56,189,248,.24), transparent 55%),linear-gradient(180deg, rgba(15,23,42,.95), rgba(15,23,42,.88));
  border-radius:999px;
  box-shadow:var(--shadow);
}
.topbar-right{
  display:flex;
  align-items:center;
  gap:22px;
}
.topbar-left{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:800;letter-spacing:-.3px
}
.brand-badge{
  width:50px;height:50px;border-radius:18px;
  background:conic-gradient(from 140deg, #2563eb, #22c55e, #06b6d4, #2563eb);
  -webkit-mask:url('../images/logo-mark.svg') center/130% no-repeat;
  mask:url('../images/logo-mark.svg') center/130% no-repeat;
  box-shadow:0 10px 26px rgba(37,99,235,.55);
}
.nav-actions{display:flex;gap:10px;align-items:center}
.nav-links{
  display:flex;
  gap:18px;
  font-size:14px;
  color:var(--muted);
}
.nav-links a{
  padding:6px 0;
  position:relative;
  white-space:nowrap;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-4px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--brand), var(--brand2));
  opacity:0;
  transform:scaleX(.4);
  transform-origin:center;
  transition:opacity .15s ease, transform .15s ease;
}
.nav-links a:hover{color:var(--text);}
.nav-links a:hover::after{
  opacity:1;
  transform:scaleX(1);
}
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  font-size:13px;
  font-weight:700;
  user-select:none;
}
.nav-toggle:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.18)}
.nav-toggle::before{content:'≡';font-size:16px;line-height:1}
.search{
  display:flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(15,23,42,.96);
  border:1px solid var(--stroke);
}
.search-input{
  border:none;
  outline:none;
  background:transparent;
  color:var(--text);
  font-size:13px;
  min-width:120px;
}
.search-input::placeholder{color:var(--muted);}
.search-btn{
  border:none;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  padding:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
}
@media (max-width: 900px){
  .topbar{
    flex-direction:column;
    align-items:flex-start;
    border-radius:24px;
  }
  .site-topbar .topbar-right{
    width:100%;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:12px;
  }
  .site-topbar .topbar-left{
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .site-topbar .nav-toggle{
    display:inline-flex;
  }
  .site-topbar .nav-links{
    width:100%;
    display:none;
    flex-direction:column;
    gap:0;
    padding:8px 10px;
    border:1px solid var(--stroke);
    background:rgba(15,23,42,.96);
    border-radius:18px;
    overflow:visible;
  }
  .site-topbar .nav-links.is-open{display:flex}
  .site-topbar .nav-links a{padding:10px 8px;white-space:normal}
  .site-topbar .nav-links a::after{display:none}
  .site-topbar .search{width:100%}
  .site-topbar .search-input{min-width:0;flex:1}
  .site-topbar .nav-actions{width:100%;flex-wrap:wrap}
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.18)}
.btn.primary{background:linear-gradient(135deg, rgba(37,99,235,.96), rgba(56,189,248,.80));border-color:rgba(37,99,235,.65)}
.btn.success{background:linear-gradient(135deg, rgba(34,197,94,.95), rgba(34,197,94,.70));border-color:rgba(34,197,94,.50)}
.btn.danger{background:linear-gradient(135deg, rgba(239,68,68,.95), rgba(239,68,68,.70));border-color:rgba(239,68,68,.50)}

.grid{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:20px;
  margin-top:22px;
}
@media (max-width: 920px){.grid{grid-template-columns:1fr}}

.home{
  margin-top:28px;
}
.home-hero{
  border:1px solid var(--stroke);
  border-radius:var(--radius2);
  background:radial-gradient(circle at 0% 0%, rgba(59,130,246,.26), transparent 55%),linear-gradient(145deg, rgba(15,23,42,.96), rgba(15,23,42,.94));
  box-shadow:var(--shadow);
  padding:26px 24px 22px;
}
.hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:32px;
  align-items:center;
}
@media (max-width: 960px){
  .hero-layout{
    grid-template-columns:1fr;
    gap:24px;
  }
}
.hero-kicker{
  font-size:13px;
  color:var(--brand2);
  margin:0 0 8px;
}
.card{
  border:1px solid var(--stroke);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card .inner{padding:22px}
.hero-title{font-size:30px;font-weight:900;margin:0 0 10px;line-height:1.2}
.hero-sub{margin:0;color:var(--muted);line-height:1.9}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.hero-stat{
  min-width:120px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(15,23,42,.96);
  font-size:12px;
  color:var(--muted);
}
.hero-stat-label{display:block;margin-bottom:4px}
.hero-stat-value{font-weight:700;color:var(--text)}
.hero-visual{
  justify-self:center;
}
.hero-illustration{
  max-width:420px;
  width:100%;
  height:auto;
  display:block;
  filter:drop-shadow(0 30px 60px rgba(15,23,42,.95));
}
.hero-phone{
  position:relative;
  width:260px;
  height:320px;
  border-radius:42px;
  padding:18px 16px;
  background:linear-gradient(145deg, #020617, #020617, #0f172a);
  border:1px solid rgba(148,163,184,.60);
  box-shadow:0 34px 60px rgba(15,23,42,.95);
  display:flex;
  flex-direction:column;
}
.hero-phone-notch{
  width:92px;
  height:10px;
  border-radius:999px;
  background:rgba(15,23,42,1);
  margin:0 auto 16px;
}
.hero-phone-screen{
  position:relative;
  flex:1;
}
.hero-card{
  position:absolute;
  border-radius:22px;
  padding:14px 14px;
  box-shadow:0 20px 40px rgba(15,23,42,.85);
  font-size:13px;
}
.hero-card-main{
  top:18px;
  right:-10px;
  width:82%;
  background:linear-gradient(145deg, #2563eb, #38bdf8, #1d4ed8);
  color:#eff6ff;
}
.hero-card-secondary{
  bottom:18px;
  left:-6px;
  width:74%;
  background:linear-gradient(145deg, rgba(15,23,42,1), rgba(15,23,42,.96));
  color:var(--muted);
  border:1px solid rgba(148,163,184,.40);
}
.hero-card-title{
  margin:0 0 6px;
  font-weight:800;
}
.hero-card-text{
  margin:0;
  line-height:1.7;
}
.hero-card-tag{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(15,23,42,.26);
  font-size:11px;
  margin-top:8px;
}

.form{
  display:grid;
  gap:12px;
}
.field{
  display:grid;
  gap:8px;
}
.label{color:var(--muted);font-size:13px}
.input{
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(8,12,24,.55);
  color:var(--text);
  outline:none;
  transition:border-color .12s ease, background .12s ease;
}
.input:focus{border-color:rgba(124,58,237,.55);background:rgba(8,12,24,.72)}
.hint{color:var(--muted);font-size:12px;line-height:1.7}
.error{color:#fecaca;background:rgba(239,68,68,.10);border:1px solid rgba(239,68,68,.25);padding:10px 12px;border-radius:14px}
.ok{color:#bbf7d0;background:rgba(34,197,94,.10);border:1px solid rgba(34,197,94,.25);padding:10px 12px;border-radius:14px}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}
.table th{font-size:12px;color:var(--muted);font-weight:600;text-align:right;padding:0 10px}
.table td{
  padding:14px 10px;
  background:rgba(255,255,255,.05);
  border-top:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
}
.table tr td:first-child{border-right:1px solid var(--stroke);border-top-right-radius:16px;border-bottom-right-radius:16px}
.table tr td:last-child{border-left:1px solid var(--stroke);border-top-left-radius:16px;border-bottom-left-radius:16px}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(15,23,42,.96);
  font-size:12px;color:var(--muted)
}

.home-section{
  margin-top:34px;
}
.section-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.section-title{
  margin:0;
  font-size:20px;
  font-weight:800;
}
.products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:18px;
}
.product-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:14px 14px 16px;
  border-radius:22px;
  background:var(--panel);
  border:1px solid var(--stroke);
  box-shadow:0 18px 40px rgba(15,23,42,.9);
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
.product-card:hover{
  transform:translateY(-4px);
  border-color:rgba(37,99,235,.85);
  background:rgba(15,23,42,.96);
}
.product-thumb{
  height:110px;
  border-radius:18px;
  background:radial-gradient(circle at 18% 20%, rgba(59,130,246,.95), rgba(15,23,42,1));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#eff6ff;
  font-size:22px;
  font-weight:800;
}
.product-thumb img{
  width:100%;
  height:100%;
  border-radius:inherit;
  object-fit:cover;
  display:block;
}
.product-thumb-warships{
  background:radial-gradient(circle at 10% 10%, #38bdf8, #0f172a);
}
.product-thumb-xbox{
  background:radial-gradient(circle at 15% 15%, #22c55e, #0f172a);
}
.product-thumb-nost{
  background:radial-gradient(circle at 20% 20%, #a855f7, #0f172a);
}
.product-thumb-waipu{
  background:radial-gradient(circle at 15% 15%, #0ea5e9, #0f172a);
}
.product-thumb-winstore{
  background:radial-gradient(circle at 20% 15%, #1d4ed8, #0f172a);
}
.product-thumb-wow{
  background:radial-gradient(circle at 18% 20%, #facc15, #b45309, #0f172a);
}
.product-body{
  margin-top:12px;
}
.product-title{
  font-weight:700;
}
.product-meta{
  margin-top:6px;
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:var(--muted);
}
.features-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
}
.feature-card{
  border-radius:22px;
  padding:18px 16px;
  background:var(--panel);
  border:1px solid var(--stroke);
}
.feature-icon{
  width:clamp(64px, 7vw, 92px);
  height:clamp(64px, 7vw, 92px);
  border-radius:clamp(20px, 2.2vw, 28px);
  background:linear-gradient(135deg, rgba(37,99,235,.96), rgba(56,189,248,.85));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#eff6ff;
  font-weight:800;
  font-size:clamp(24px, 2.6vw, 34px);
  margin-bottom:12px;
}
.feature-title{
  margin:0 0 6px;
  font-size:15px;
  font-weight:700;
}
.feature-text{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}

.footer{
  margin-top:40px;
}
.footer-panel{
  border-radius:var(--radius2);
  border:1px solid var(--stroke);
  background:linear-gradient(180deg, rgba(15,23,42,.96), rgba(15,23,42,.96));
  box-shadow:var(--shadow);
  padding:26px 22px 18px;
}
.footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(0,1.1fr) minmax(0,1.3fr);
  gap:22px;
}
.footer-logo{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.footer-brand-name{
  font-size:18px;
  font-weight:800;
}
.footer-brand-sub{
  font-size:12px;
  color:var(--muted);
}
.footer-text{
  margin:0 0 8px;
  color:var(--muted);
  font-size:13px;
  line-height:1.9;
}
.footer-section-title{
  font-size:13px;
  font-weight:700;
  margin-bottom:8px;
}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
}
.footer-links a{
  color:var(--muted);
}
.footer-links a:hover{
  color:var(--text);
}
.footer-contact{
  font-size:13px;
}
.footer-socials{
  display:flex;
  gap:8px;
  margin-top:8px;
}
.footer-social-btn{
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(15,23,42,.96);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  color:var(--muted);
}
.footer-social-btn:hover{
  background:rgba(15,23,42,.80);
}
.footer-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--stroke);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
  font-size:11px;
  color:rgba(148,163,184,.90);
}
@media (max-width: 860px){
  .footer-grid{
    grid-template-columns:1fr;
  }
  .footer-panel{
    border-radius:22px;
  }
}
