:root {
  --bg: #020617;
  --panel: #0f172a;
  --panel-2: #111c33;
  --line: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --accent: #34d399;
  --accent-strong: #10b981;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Arial", sans-serif;
  line-height: 1.8;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(2, 6, 23, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; }

.brand .mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  font-weight: 700;
}

nav.links { display: flex; gap: 20px; font-size: 14px; color: #cbd5e1; }
nav.links a:hover { color: #fff; }
nav.links a.active { color: #6ee7b7; font-weight: 700; }

main { padding: 56px 0 72px; }

.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 600;
}

h1 { font-size: 38px; line-height: 1.35; margin: 18px 0 12px; max-width: 720px; }
h2 { font-size: 24px; margin: 0 0 14px; }
h3 { font-size: 17px; margin: 0 0 6px; }

.lead { max-width: 680px; color: #cbd5e1; font-size: 17px; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary { background: var(--accent-strong); color: #04121a; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border: 1px solid #334155; color: #e2e8f0; }
.btn-ghost:hover { border-color: #64748b; }

section.block { margin-top: 64px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } }

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 16px;
  padding: 20px;
}

.card .num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #1e293b;
  color: #6ee7b7;
  font-weight: 700;
  font-size: 14px;
}

.card p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-tag {
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  color: var(--muted);
}

.rows { margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; }
.rows li { display: flex; justify-content: space-between; padding: 8px 0; }
.rows li span:first-child { color: var(--muted); }
.rows li.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 700;
}
.rows li.total span:last-child { color: #6ee7b7; }

ul.plain { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
ul.plain li { padding: 4px 0; }
ul.plain li::before { content: "• "; color: var(--accent); }

details {
  border-bottom: 1px solid var(--line);
  padding: 14px 20px;
}
details:last-child { border-bottom: 0; }
details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary .plus { color: var(--muted-2); }
details[open] summary .plus { color: #6ee7b7; }
details p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.faq { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }

.contact { border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 22px; }
.contact .muted { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.contact .small { color: var(--muted-2); font-size: 13px; margin: 4px 0 0; }
.contact .legal-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 14px; }
.contact .legal-links a { color: #6ee7b7; }

article.legal { max-width: 760px; color: #cbd5e1; }
article.legal h1 { margin-bottom: 6px; }
article.legal .updated { color: var(--muted-2); font-size: 13px; margin: 0 0 24px; }
article.legal h2 { font-size: 19px; margin: 28px 0 8px; }
article.legal ul { padding: 0; list-style: none; }
article.legal ul li::before { content: "• "; color: var(--accent); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 13px;
}
footer.site .bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  header.site .bar { flex-wrap: wrap; }
  nav.links { gap: 14px; font-size: 13px; overflow-x: auto; width: 100%; }
  main { padding: 32px 0 48px; }
  section.block { margin-top: 44px; }
}
