:root {
  --orange: #f59e0b;
  --lime: #84cc16;
  --sky: #0ea5e9;
  --violet: #7c3aed;
  --ink: #131a2a;
  --muted: #5b6680;
  --line: #e6eaf3;
  --bg: #f7f8fc;
  --card: #ffffff;
  --radius: 24px;
  --shadow: 0 20px 45px rgba(19, 26, 42, 0.08), 0 2px 8px rgba(19, 26, 42, 0.04);
  --grad: linear-gradient(120deg, #f59e0b 0%, #84cc16 35%, #0ea5e9 68%, #7c3aed 100%);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", Tahoma, "Noto Kufi Arabic", "Geeza Pro", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* ---------- Background ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad);
  z-index: 20;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50rem 26rem at 88% -8%, rgba(124, 58, 237, 0.14), transparent 62%),
    radial-gradient(46rem 24rem at -8% 6%, rgba(14, 165, 233, 0.13), transparent 62%),
    radial-gradient(40rem 22rem at 50% 112%, rgba(132, 204, 22, 0.12), transparent 62%);
}

.wrap {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 38px 18px 60px;
}

/* ---------- Hero ---------- */

.hero { text-align: center; }

.logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 5.2vw, 2.05rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.beta {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.5em;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  padding: 0.22em 0.7em;
  border-radius: 999px;
  margin-inline-start: 0.4em;
  transform: translateY(-2px);
}

.lead {
  margin: 0 auto;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
}

.chips li {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: #46506a;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(19, 26, 42, 0.03);
}

.chips .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  margin-inline-end: 7px;
}

/* ---------- Notice ---------- */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 22px;
  padding: 15px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.09), rgba(14, 165, 233, 0.09), rgba(124, 58, 237, 0.09));
  border: 1px solid rgba(124, 58, 237, 0.14);
}

.notice-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(19, 26, 42, 0.06);
}

.notice strong { font-size: 0.9rem; }
.notice p { margin: 2px 0 0; font-size: 0.84rem; color: var(--muted); }

/* ---------- Cards ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  margin-top: 18px;
}

.card h2 {
  margin: 0 0 6px;
  font-size: 1.06rem;
  font-weight: 800;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 15px;
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.step {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcfe;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.step.done {
  opacity: 0.62;
  border-color: rgba(132, 204, 22, 0.5);
  background: #f7fdf0;
}

.step .num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  background: var(--grad);
  margin-top: 1px;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.22);
}

.step.done .num {
  background: #b9c4d6;
  box-shadow: none;
}

.step .body { flex: 1 1 auto; min-width: 0; }

.step h3 {
  margin: 0 0 2px;
  font-size: 0.96rem;
  font-weight: 700;
}

.step p {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 0.85rem;
}

.step .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.98); }

.btn.primary {
  width: 100%;
  padding: 17px 20px;
  font-size: 1.06rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  background-size: 180% 180%;
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.28);
  animation: sheen 6s ease infinite;
}

@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn.primary:hover {
  box-shadow: 0 18px 36px rgba(124, 58, 237, 0.34);
}

.btn-ico { font-size: 1.1rem; line-height: 1; }

.btn.ghost {
  color: var(--violet);
  background: #fff;
  border-color: rgba(124, 58, 237, 0.28);
}

.btn.ghost:hover { background: rgba(124, 58, 237, 0.06); }

.btn.small {
  padding: 8px 15px;
  font-size: 0.8rem;
  margin-top: 14px;
}

.btn.toggle {
  color: var(--muted);
  background: #fff;
  border-color: var(--line);
  padding: 8px 13px;
  font-size: 0.78rem;
}

.step.done .btn.toggle {
  color: #4d7c0f;
  border-color: rgba(132, 204, 22, 0.5);
  background: #f3fbe8;
}

/* ---------- Install ---------- */

.install { text-align: center; }
.install .muted { margin-bottom: 16px; }

.hint {
  margin: 13px 0 0;
  font-size: 0.79rem;
  color: var(--muted);
  min-height: 1.2em;
}

/* ---------- Alert ---------- */

.alert {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 15px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Trust ---------- */

.trust-steps {
  list-style: none;
  counter-reset: trust;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.trust-steps li {
  counter-increment: trust;
  position: relative;
  padding-inline-start: 40px;
  font-size: 0.9rem;
  color: #3a445c;
  line-height: 1.6;
}

.trust-steps li::before {
  content: counter(trust);
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

/* ---------- FAQ ---------- */

details {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

details:first-of-type { border-top: 0; padding-top: 4px; }

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

details[open] summary::after { content: "−"; }

details p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

/* ---------- Footer ---------- */

.foot {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.82rem;
}

.foot-logo {
  width: 92px;
  height: auto;
  opacity: 0.9;
  margin-bottom: 6px;
}

.foot p { margin: 2px 0; }

.tiny { opacity: 0.85; font-size: 0.75rem; }

@media (max-width: 420px) {
  .card { padding: 19px 15px; }
  .wrap { padding: 28px 13px 46px; }
  .logo { max-width: 180px; }
}
