/* ═══════════════════════════════════════════
   Scalping Bot — Public Landing Page
   Тёмная тема, mobile-first
═══════════════════════════════════════════ */

:root {
  --bg:          #0d0f14;
  --bg-alt:      #131620;
  --bg-card:     #1a1e2b;
  --border:      #252a3a;
  --text:        #e2e8f0;
  --text-muted:  #8892a4;
  --accent:      #4f8ef7;
  --accent-dim:  #1e3a6e;
  --green:       #34d399;
  --yellow:      #fbbf24;
  --orange:      #fb923c;
  --red:         #f87171;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,.45);
  --font:        system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:        'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Контейнер ── */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Кнопки ── */
.btn {
  display: inline-block;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  border: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 1; }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--copy {
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: .82rem;
  padding: .4rem .9rem;
  width: 100%;
  margin-top: .5rem;
}
.btn--copy.copied {
  color: var(--green);
  border-color: var(--green);
}

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-dim) 0%, transparent 70%);
}

.hero__badge {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: .6rem;
  background: linear-gradient(135deg, #fff 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero__desc {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: .97rem;
}

.hero__actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════ СЕКЦИИ ═══════════════════════ */
.section {
  padding: 4rem 0;
}
.section--alt {
  background: var(--bg-alt);
}

.section__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}

.section__lead {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-size: 1.02rem;
}

.section__note {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: .9rem;
  font-style: italic;
}

/* ═══════════════════════ FEATURES ═══════════════════════ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color .2s;
}
.feature:hover {
  border-color: var(--accent);
}

.feature__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: .75rem;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .4rem;
}

.feature p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ═══════════════════════ ROADMAP ═══════════════════════ */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.roadmap__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.roadmap__item--done   { border-left: 3px solid var(--green); }
.roadmap__item--active { border-left: 3px solid var(--accent); background: var(--accent-dim); }
.roadmap__item--soon   { border-left: 3px solid var(--yellow); }
.roadmap__item--planned{ border-left: 3px solid var(--border); }

.roadmap__status {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 1.6rem;
  text-align: center;
  margin-top: .1rem;
}

.roadmap__item strong {
  display: block;
  font-size: .98rem;
  margin-bottom: .2rem;
}

.roadmap__item span {
  font-size: .86rem;
  color: var(--text-muted);
}

/* ═══════════════════════ СТЕК ═══════════════════════ */
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1rem;
}

.stack__tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .82rem;
  font-family: var(--mono);
  padding: .3rem .8rem;
  border-radius: 999px;
}

/* ═══════════════════════ ДОНАТ ═══════════════════════ */
.donate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.donate-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-align: center;
}

.donate-card__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.donate-card__network {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}

.donate-card__chain {
  font-size: .76rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .15rem .6rem;
}

.donate-card__qr {
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}

.donate-card__qr canvas,
.donate-card__qr img {
  width: 100% !important;
  height: 100% !important;
}

.donate-card__addr {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-muted);
  word-break: break-all;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem .75rem;
  width: 100%;
  text-align: left;
  line-height: 1.45;
  cursor: text;
  user-select: all;
}

.donate__disclaimer {
  font-size: .82rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: .75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .75rem;
}

.footer__copy {
  font-size: .85rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 1.25rem;
}

.footer__link {
  color: var(--accent);
  text-decoration: none;
  font-size: .85rem;
}
.footer__link:hover { text-decoration: underline; }

.footer__warn {
  font-size: .78rem;
  color: var(--text-muted);
  opacity: .6;
}

/* ═══════════════════════ УВЕДОМЛЕНИЕ О КОПИРОВАНИИ ═══════════════════════ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(2rem);
  background: var(--bg-card);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: .88rem;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 999;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 640px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}
