/* styles.css */
:root{
  --bg-0:#0b1020;
  --bg-1:#0e1830;

  /* ألوان قريبة من الهوية (برتقالي/تركواز) */
  --brand-a:#ff5a5f;   /* coral */
  --brand-b:#ff8a3d;   /* orange */
  --brand-c:#0ea5a5;   /* teal */
  --brand-d:#31d3c5;   /* mint */

  --text:#f4f7ff;
  --muted:rgba(244,247,255,.75);
  --muted2:rgba(244,247,255,.6);

  --card:rgba(255,255,255,.08);
  --card2:rgba(255,255,255,.10);
  --border:rgba(255,255,255,.14);

  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"Tajawal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 30% 20%, rgba(255,90,95,.18), transparent 60%),
              radial-gradient(900px 600px at 75% 70%, rgba(49,211,197,.14), transparent 60%),
              linear-gradient(180deg, var(--bg-0), var(--bg-1));
  overflow-x:hidden;
}

/* خلفية زخرفية */
.bg{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.bg__noise{
  position:absolute; inset:0;
  opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size:240px 240px;
}
.bg__glow{
  position:absolute;
  width:520px; height:520px;
  border-radius:999px;
  filter: blur(45px);
  opacity:.45;
}
.bg__glow--1{
  right:-120px; top:-140px;
  background: radial-gradient(circle at 30% 30%, rgba(255,138,61,.65), transparent 60%);
}
.bg__glow--2{
  left:-140px; bottom:-160px;
  background: radial-gradient(circle at 40% 40%, rgba(14,165,165,.7), transparent 62%);
}
.bg__glow--3{
  left:35%; top:55%;
  width:420px; height:420px;
  opacity:.25;
  background: radial-gradient(circle at 40% 40%, rgba(255,90,95,.55), transparent 60%);
}

/* الحاوية */
.wrap{
  position:relative;
  z-index:1;
  max-width:1100px;
  margin:0 auto;
  padding:28px 18px 40px;
}

/* توب بار */
.topbar{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 280px;
}
.brand__logo{
  width:152px; height:auto;
  border-radius:14px;
  object-fit:contain;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  padding:8px;
}
.no-logo .brand__text{ padding-inline-start:6px; }

.brand__name{
  font-weight:800;
  letter-spacing:.6px;
  font-size:18px;
}
.brand__tag{
  font-size:13px;
  color:var(--muted);
  margin-top:2px;
}

.topbar__links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  font-size:13px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.chip:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
}

/* هيرو */
.hero{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  margin-top:18px;
  align-items:stretch;
}

.hero__content,
.hero__card{
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero__content{
  padding:22px 20px;
}

.badge{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  font-weight:700;
  font-size:13px;
  color:var(--muted);
}
.dot{
  width:10px; height:10px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  box-shadow: 0 0 0 6px rgba(255,90,95,.12);
}

.hero__title{
  margin:14px 0 10px;
  font-size:42px;
  line-height:1.2;
  letter-spacing:-.2px;
}
.hero__titleGradient{
  display:block;
  margin-top:6px;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b), var(--brand-c), var(--brand-d));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:900;
}
.hero__subtitle{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.9;
}

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  text-decoration:none;
  font-weight:800;
  color:var(--text);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  min-height:44px;
}
.btn:hover{ transform: translateY(-1px); }

.btn--primary{
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(90deg, rgba(255,90,95,.95), rgba(255,138,61,.95), rgba(14,165,165,.85));
}
.btn--primary:hover{
  background: linear-gradient(90deg, rgba(255,90,95,1), rgba(255,138,61,1), rgba(14,165,165,.95));
}
.btn--ghost{
  background: rgba(255,255,255,.06);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
}

.mini{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:16px;
}
.mini__item{
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.10);
}
.mini__k{
  font-weight:900;
  margin-bottom:3px;
}
.mini__v{
  font-size:13px;
  color:var(--muted2);
}

/* بطاقة المعاينة */
.hero__card{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.cardPreview{
  border-radius:20px;
  padding:16px;
  background: radial-gradient(380px 220px at 25% 25%, rgba(255,90,95,.85), transparent 60%),
              radial-gradient(380px 220px at 75% 70%, rgba(49,211,197,.75), transparent 62%),
              linear-gradient(135deg, rgba(255,138,61,.35), rgba(14,165,165,.25));
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  min-height:240px;
  position:relative;
  overflow:hidden;
}

.cardPreview__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.cardPreview__logo{
  font-weight:900;
  letter-spacing:.8px;
  line-height:1.05;
  font-size:18px;
}
.cardPreview__logo span{
  font-size:22px;
}

.cardPreview__qr{
  width:64px; height:64px;
  border-radius:12px;
  background: rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.22);
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:6px;
  padding:10px;
}
.qr{
  border-radius:6px;
  background: rgba(255,255,255,.78);
  opacity:.85;
}

.cardPreview__mid{
  margin-top:22px;
}
.cardPreview__title{
  font-weight:900;
  font-size:18px;
}
.cardPreview__sub{
  margin-top:6px;
  color: rgba(255,255,255,.86);
  font-weight:700;
}

.cardPreview__bottom{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:20px;
}
.pill{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  font-weight:800;
  font-size:12px;
}

.note{
  color: var(--muted2);
  font-size:13px;
  line-height:1.7;
  padding:0 4px;
}

/* المزايا */
.features{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.feature{
  padding:18px 16px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.feature__icon{
  width:44px; height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  font-size:20px;
}
.feature__title{
  margin:12px 0 8px;
  font-size:18px;
  font-weight:900;
}
.feature__text{
  margin:0;
  color:var(--muted);
  line-height:1.85;
}

/* قسم الشركاء */
.partners{
  margin-top:18px;
}
.partners__box{
  padding:18px 16px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.partners__title{
  margin:0 0 8px;
  font-size:20px;
  font-weight:900;
}
.partners__text{
  margin:0;
  color:var(--muted);
  line-height:1.9;
}
.partners__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* فوتر */
.footer{
  margin-top:18px;
  padding:16px 10px 6px;
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  color: var(--muted2);
  font-weight:700;
}
.footer__sep{ opacity:.55; }

/* Responsive */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .hero__title{ font-size:34px; }
  .mini{ grid-template-columns: 1fr; }
  .features{ grid-template-columns: 1fr; }
  .topbar{ flex-direction:column; align-items:flex-start; }
  .topbar__links{ justify-content:flex-start; }
}
