/* Bebas Neue */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

:root{
  --bg:#1e1e1e;
  --text:#f3f5f7;
  --muted:#9aa4af;
  --gold:#c9a227;

  --r:18px;
  --r2:26px;

  --max:1180px;
  --app:430px;

  --line:rgba(255,255,255,.10);
  --soft:rgba(255,255,255,.06);
  --soft2:rgba(255,255,255,.03);

  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 34px rgba(0,0,0,.42);
  --shadow3: 0 8px 24px rgba(0,0,0,.36);
}

/* Croogla 4F (ضع ملفك هنا إن موجود) */
@font-face{
  font-family:"Croogla 4F";
  src:url("Croogla4F.woff2") format("woff2");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}

*{box-sizing:border-box}
html,body{height:100%}
html,body{width:100%; overflow-x:hidden;} /* ✅ prevent horizontal scroll */
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Croogla 4F", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,video,canvas,svg{max-width:100%; height:auto;} /* ✅ safe */
a{color:inherit;text-decoration:none}
button{font-family:inherit}
.wrap{ width:min(100%, var(--max)); margin:0 auto; padding:0 18px; }

.appFrame{ min-height:100%; position:relative; isolation:isolate; }
@media (max-width: 900px){
  body{background:#141414;}
  .appFrame{
    width:min(100%, var(--app));
    margin:0 auto;
    background:var(--bg);
    box-shadow: var(--shadow);
    border-left:1px solid rgba(255,255,255,.08);
    border-right:1px solid rgba(255,255,255,.08);
  }
  .wrap{padding:0 14px;}
}

/* Noise overlay */
.noise{
  pointer-events:none;
  position:fixed; inset:0;
  opacity:.10;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size:180px 180px;
  z-index:2;
}

/* ===== Header ===== */
.header{
  position:sticky; top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(30,30,30,.88), rgba(30,30,30,.38));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.headerRow{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand img{
  width:130px; height:31px; object-fit:contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.55));
}

.navRight{ display:flex; align-items:center; gap:10px; }
.iconBtn{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 10px 26px rgba(0,0,0,.40);
  transition: transform .2s ease, border-color .2s ease;
  cursor:pointer;
}
.iconBtn:hover{ transform: translateY(-1px); border-color: rgba(201,162,39,.35); }
.iconBtn .lucide{ width:18px; height:18px; color: rgba(243,245,247,.95); }

.backLink{
  display:inline-flex; align-items:center; gap:8px;
  color: rgba(154,164,175,.92);
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  transition: transform .18s ease, color .18s ease;
}
.backLink:hover{ transform: translateX(-2px); color: rgba(243,245,247,.95); }
.backLink .lucide{ width:16px; height:16px; color: rgba(201,162,39,.92); }

/* ===== Hero ===== */
.hero{
  position:relative;
  padding:18px 0 12px;
  isolation:isolate;
}
.heroBack{
  position:absolute; inset:-20px -20px 0 -20px;
  z-index:-2;
  overflow:hidden;
}
.heroShade{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 22% 10%, rgba(201,162,39,.18), transparent 60%),
    radial-gradient(900px 520px at 78% 14%, rgba(154,164,175,.16), transparent 55%),
    linear-gradient(180deg, rgba(30,30,30,.92), rgba(30,30,30,.92));
  z-index:1;
}
.heroGlowLine{
  position:absolute; left:0; right:0; bottom:-1px; height:1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.55), transparent);
  opacity:.55;
}
.heroCard{
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(1200px 500px at 18% 0%, rgba(201,162,39,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  overflow:hidden;
  position:relative;
}
.heroCard::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(800px 340px at 70% 10%, rgba(201,162,39,.12), transparent 60%);
  pointer-events:none;
  opacity:.9;
}
.heroMain{ padding:18px; position:relative; z-index:1; }

.kicker{
  display:flex; align-items:center; gap:10px;
  color: rgba(154,164,175,.92);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.kDot{
  width:8px; height:8px; border-radius:999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201,162,39,.12);
}
.h1{
  margin:0;
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.02em;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height:.95;
  text-transform:uppercase;
}
.h1 .muted{ color: rgba(154,164,175,.92); }
.sub{
  margin:10px 0 0;
  color: rgba(154,164,175,.92);
  font-size:14px;
  line-height:1.55;
  max-width: 92ch;
}
.ctaRow{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  border-radius: 16px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  color: rgba(243,245,247,.95);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(201,162,39,.32); background: rgba(0,0,0,.20); }
.btn.primary{
  background: linear-gradient(180deg, rgba(201,162,39,.18), rgba(201,162,39,.06));
  border-color: rgba(201,162,39,.35);
}
.btn .lucide{ width:18px; height:18px; color: rgba(243,245,247,.95); }

.chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.chip{
  border-radius:999px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  color: rgba(154,164,175,.92);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* ===== Sections ===== */
section{ padding:18px 0; }
.sectionHead{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:12px; margin:6px 0 12px;
}
.sectionTitle{
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:22px;
  margin:0;
}
.sectionTitle span{ color: var(--muted); }
.sectionNote{
  color: rgba(154,164,175,.92);
  font-size:13px;
  line-height:1.4;
  margin:0;
  max-width: 80ch;
}

.panel{
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow3);
  padding:16px;
  overflow:hidden;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  align-items:start;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 900px){
  .grid2, .grid3{ grid-template-columns:1fr; }
}

/* Cards */
.card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.14);
  padding:14px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-2px); border-color: rgba(201,162,39,.22); }
.card .k{
  display:flex; align-items:center; gap:8px;
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:15px;
  margin:0 0 8px;
}
.card .k .lucide{ width:16px; height:16px; color: rgba(201,162,39,.92); }
.card p{ margin:0; color: rgba(154,164,175,.92); font-size:13px; line-height:1.5; }

.bullets{
  margin:10px 0 0;
  padding-left:16px;
  color: rgba(154,164,175,.92);
  font-size:13px;
  line-height:1.55;
}
.bullets li{ margin:6px 0; }

/* Timeline Steps */
.timeline{ display:flex; flex-direction:column; gap:10px; }
.step{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.14);
  padding:14px;
  transition: transform .18s ease, border-color .18s ease;
}
.step:hover{ transform: translateY(-2px); border-color: rgba(201,162,39,.22); }
.step .top{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:6px;
}
.step .title{
  margin:0;
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:16px;
}
.badge{
  border-radius:999px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  color: rgba(154,164,175,.92);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}
.step p{ margin:0; color: rgba(154,164,175,.92); font-size:13px; line-height:1.55; }

/* Reveal */
.revealUp{
  transform: translateY(10px);
  opacity:0;
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .65s ease;
}
.revealUp.revealed{ transform: translateY(0); opacity:1; }

/* CTA Simple */
.ctaSimple{ padding: 18px 0 6px; }
.ctaBox{
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(1000px 420px at 18% 0%, rgba(201,162,39,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow3);
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.ctaText h3{
  margin:0 0 6px;
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:18px;
  line-height:1.1;
}
.ctaText p{
  margin:0;
  color: rgba(154,164,175,.92);
  font-size:13px;
  line-height:1.55;
  max-width: 90ch;
}
@media (max-width: 900px){
  .ctaBox{ flex-direction:column; align-items:stretch; }
  .ctaBox .btn{ width:100%; justify-content:center; }
}

/* Footer */
footer{
  margin-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(900px 360px at 18% 0%, rgba(201,162,39,.06), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18));
}
.footerInner{ padding:18px 0; }
.footRow{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  color: rgba(154,164,175,.90);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* ===== ADD-ONS ===== */

/* Hero image */
.heroMedia{
  margin:12px 0 0;
  display:flex;
  justify-content:flex-start;
}
.heroMedia img{
  width:min(100%, 600px);
  height:auto;
  display:block;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
@media (min-width: 901px){
  .heroMedia{ justify-content:center; }
}

/* Stats row */
.stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  margin-top:12px;
}
@media (max-width: 900px){
  .stats{ grid-template-columns: 1fr 1fr; }
}
.stat{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.14);
  padding:12px;
}
.stat .t{
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:14px;
  color: rgba(243,245,247,.92);
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 6px;
}
.stat .t .lucide{ width:16px; height:16px; color: rgba(201,162,39,.92); }
.stat .v{
  margin:0;
  font-size:13px;
  color: rgba(154,164,175,.92);
  line-height:1.45;
}

/* Link cards */
.linkGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width:900px){
  .linkGrid{ grid-template-columns:1fr; }
}
.linkCard{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.14);
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  transition: transform .18s ease, border-color .18s ease;
}
.linkCard:hover{ transform: translateY(-2px); border-color: rgba(201,162,39,.22); }
.linkCard .head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.linkCard .name{
  margin:0;
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:16px;
}
.linkCard .desc{
  margin:0;
  color: rgba(154,164,175,.92);
  font-size:13px;
  line-height:1.55;
}
.linkCard .go{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: rgba(243,245,247,.92);
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.linkCard .go .lucide{ width:16px; height:16px; color: rgba(201,162,39,.92); }

/* Toast */
.toast{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  width: min(92vw, 420px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  padding: 12px 12px;
  display:flex;
  align-items:flex-start;
  gap:10px;
  transform: translateY(14px);
  opacity:0;
  pointer-events:none;
  transition: opacity .22s ease, transform .22s ease;
}
.toast.show{
  opacity:1;
  transform: translateY(0);
}
.toast .ic{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}
.toast .ic .lucide{ width:18px; height:18px; color: rgba(201,162,39,.92); }
.toast .txt{
  flex:1;
  color: rgba(243,245,247,.92);
  font-size:13px;
  line-height:1.45;
}
.toast .txt b{
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-weight:400;
  color: rgba(243,245,247,.95);
}