:root {
  --bg: #08080f;
  --bg2: #101022;
  --card: #141428;
  --card2: #191932;
  --line: #252545;
  --txt: #f2f1ff;
  --muted: #a5a2c8;
  --btn: #7c5cff;
  --btn-hover: #8f72ff;
  --accent: #22d3ee;
  --accent2: #ff6bcb;
  --ok: #34d399;
  --radius: 18px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(124,92,255,.22), transparent 60%), var(--bg);
  color: var(--txt);
  font-family: "Tajawal", system-ui, sans-serif;
  min-height: 100vh;
}
.nav {
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 28px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px); background: rgba(8,8,15,.7);
}
.brand { display:flex; gap:12px; align-items:center; text-decoration:none; color:var(--txt); }
.brand img { height: 40px; }
.brand small { display:block; color:var(--muted); font-size:12px; font-weight:500 }
.nav-links a { color: var(--muted); text-decoration:none; margin-left:22px; font-weight:600; }
.nav-links a:hover { color: var(--txt); }

main { padding: 24px clamp(16px, 6vw, 72px); }

.hero { text-align:center; padding: 64px 0 40px; max-width: 920px; margin: 0 auto; }
.chip {
  display:inline-flex; gap:8px; align-items:center;
  border:1px solid var(--line); border-radius:999px;
  background: rgba(124,92,255,.12); color:#c9bbff;
  padding: 8px 18px; font-size: 13px; font-weight:700; margin-bottom: 26px;
}
h1 { font-size: clamp(40px, 7vw, 72px); margin: 0 0 18px; font-weight: 900; line-height: 1.15; }
.grad { background: linear-gradient(90deg, var(--accent), var(--btn), var(--accent2)); -webkit-background-clip:text; background-clip:text; color: transparent; }
.lead { font-size: clamp(17px, 2.3vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 30px; line-height:1.9; }
.trust { list-style:none; padding:0; display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:28px; color:var(--muted); font-size:13px; }
.trust li { border:1px solid var(--line); border-radius:12px; padding:8px 14px; background:rgba(255,255,255,.02); }

.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border:none; cursor:pointer; border-radius: 14px;
  font-family: inherit; font-weight: 800; color:#fff; text-decoration:none;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(180deg, var(--btn-hover), var(--btn)); box-shadow: 0 10px 40px rgba(124,92,255,.4); padding: 14px 34px; font-size: 17px; }
.btn-primary:hover { box-shadow: 0 12px 50px rgba(124,92,255,.55); }
.btn-soft { background: var(--card2); color:var(--txt); padding: 12px 22px; border: 1px solid var(--line); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 8px 16px; }
.btn-sm { font-size: 13px; padding: 8px 14px; }
.btn-xl { font-size: 19px; padding: 16px 44px; border-radius: 16px; }

.panel {
  max-width: 560px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.panel-head { display:flex; align-items:center; gap: 16px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-head .avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--card2); border: 1px solid var(--line); }
.panel-head strong { font-size: 18px; }
.muted { color: var(--muted); font-size: 13px; margin: 2px 0 0; }
.panel-head .btn { margin-right: auto; }

.preview { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #000; max-height: 380px; object-fit: contain; }

.form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.field span { display:block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight:700; }
.input, .select {
  width: 100%; background: var(--card2); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px; color: var(--txt); font-family: inherit; font-size: 16px;
}
.input:focus, .select:focus { outline: 2px solid var(--btn); }
.status { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.status.ok { border-color: rgba(52,211,153,.4); color: var(--ok); }
.status.err { border-color: rgba(255,107,203,.4); color: var(--accent2); }

.how { max-width: 860px; margin: 56px auto 0; text-align:center; }
.steps { list-style:none; padding:0; display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align:right; }
.steps li { display:flex; gap: 12px; background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.num { font-size: 26px; font-weight: 900; color: var(--btn); line-height: 1; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
.how h2 { font-size: 28px; margin: 0 0 18px; }

.faq { max-width: 760px; margin: 48px auto 0; }
.faq h2 { font-size: 26px; margin: 0 0 12px; }
details { background: var(--card); border:1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
summary { cursor:pointer; font-weight: 800; }
details p { color: var(--muted); line-height: 1.9; margin: 10px 0 0; }

.foot {
  border-top: 1px solid var(--line); margin-top: 56px; padding: 18px clamp(16px, 6vw, 72px);
  display:flex; justify-content:space-between; gap: 10px; flex-wrap:wrap;
  color: var(--muted); font-size: 13px;
}
.foot a { color: var(--txt); text-decoration: none; }
.hidden { display: none !important; }
