/* Главная: первый экран, шаги, прайс, отзывы. */

/* ——— Первый экран ——— */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "intro" "order" "trust";
  gap: 28px;
  align-items: start;
}
.hero-intro { grid-area: intro; }
.hero-order { grid-area: order; }
.hero-trust { grid-area: trust; }
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    grid-template-areas: "intro order" "trust order";
    grid-template-rows: auto 1fr;
    column-gap: 56px;
    row-gap: 0;
    align-items: start;
  }
  .hero-intro { align-self: end; padding-top: 40px; }
}

.hero-intro, .hero-trust { text-align: left; min-width: 0; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.hero-title {
  margin-top: 20px;
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero-title-line { display: block; }
.hero-title-accent {
  padding-bottom: 0.08em;
  background: linear-gradient(90deg, #a78bfa 0%, #8b5cf6 30%, #22d3ee 70%, #a78bfa 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShift 8s ease-in-out infinite;
}
@keyframes titleShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero-title-accent { animation: none; } }

.hero-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.hp {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 13px 0 11px;
  border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; color: #e5e7eb;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.hp svg { width: 15px; height: 15px; flex-shrink: 0; }
.hp-tt svg { color: #fff; filter: drop-shadow(1px 1px 0 #fe2c55) drop-shadow(-1px -1px 0 #25f4ee); }
.hp-ig svg { color: #f472b6; }
.hp-tg svg { color: #38bdf8; }
.hp-yt svg { color: #ff3b3b; }
@media (max-width: 380px) { .hp { height: 30px; padding: 0 10px 0 9px; font-size: 0.75rem; } }

.hero-subtitle {
  margin-top: 18px;
  text-wrap: pretty;
  max-width: 34rem;
  color: #9ca3af;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
@media (min-width: 640px) {
  .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d1d5db;
  font-size: 0.9375rem;
}
.hero-point-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(6, 182, 212, 0.08)) !important;
  flex-shrink: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.12);
}
.hero-point-icon svg { width: 16px; height: 16px; }

.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.hero-stat { padding: 14px 16px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.hero-stat-value {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
}
.hero-stat-label { margin-top: 2px; font-size: 0.75rem; color: #6b7280; line-height: 1.3; }
@media (max-width: 480px) {
  .hero-stat { padding: 12px 10px; }
  .hero-stat-value { font-size: 1.0625rem; }
  .hero-stat-label { font-size: 0.6875rem; }
}

.hero-pay {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.hero-pay-label { font-size: 0.8125rem; color: #6b7280; margin-right: 2px; }
.pay-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pay-badge-mono { text-transform: lowercase; font-weight: 800; }

.hero-order { min-width: 0; }
.hero-order .qo-wrap { max-width: 460px; }
@media (min-width: 1024px) {
  .hero-order .qo-wrap { max-width: none; }
  .hero-trust { padding-top: 28px; }
}

/* ——— Заголовки секций ——— */
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 36px; }

/* ——— Шаги ——— */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  counter-reset: none;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.8125rem;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}
.step-title { margin-top: 14px; color: #fff; font-weight: 600; font-size: 1rem; }
.step-text { margin-top: 6px; color: #9ca3af; font-size: 0.875rem; line-height: 1.55; }
@media (max-width: 639px) {
  .step {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 14px;
    padding: 16px;
  }
  .step-num { grid-row: span 2; }
  .step-title { margin-top: 4px; }
  .step-text { grid-column: 2; }
}

.guarantee {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.guarantee-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}
.guarantee-icon svg { width: 22px; height: 22px; }
.guarantee-title { color: #fff; font-weight: 600; }
.guarantee-text { margin-top: 4px; color: #9ca3af; font-size: 0.875rem; line-height: 1.55; }

/* ——— Отзывы ——— */
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.review {
  margin: 0;
  padding: 20px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.review-text { margin: 0; color: #d1d5db; font-size: 0.875rem; line-height: 1.6; flex: 1; }
.review-result {
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #34d399;
}
.review-author {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-author > span:last-child { display: flex; flex-direction: column; font-size: 0.75rem; color: #6b7280; }
.review-author strong { color: #fff; font-size: 0.875rem; font-weight: 600; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(6, 182, 212, 0.6));
}

/* Подсветка формы при выборе из прайса */
@keyframes qoFlash {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
  100% { box-shadow: 0 0 0 14px rgba(139, 92, 246, 0); }
}
.qo-card.is-flash { animation: qoFlash 0.9s ease-out; }

/* ——— Мелочи в первом экране ——— */
.hero-point-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(167, 139, 250, 0.45); text-underline-offset: 3px; }
.hero-point-link:hover { color: #fff; text-decoration-color: #a78bfa; }
.hero-pay-more {
  background: none;
  border: 0;
  padding: 0 2px;
  font-size: 0.75rem;
  color: #a78bfa;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-pay-more:hover { color: #c4b5fd; }

/* ——— Значки оплаты ——— */
.pay-badge { gap: 6px; }
.pay-badge-mono { background: #fff; color: #111; border-color: #fff; }
.pay-badge-visa { color: #fff; background: #1a1f71; border-color: #1a1f71; font-style: italic; letter-spacing: 0.06em; }
.pay-badge-mc { background: #111; border-color: rgba(255, 255, 255, 0.14); }
.mc-dots { position: relative; width: 20px; height: 12px; display: inline-block; }
.mc-dots i { position: absolute; top: 0; width: 12px; height: 12px; border-radius: 999px; }
.mc-dots i:first-child { left: 0; background: #eb001b; }
.mc-dots i:last-child { right: 0; background: #f79e1b; mix-blend-mode: screen; opacity: 0.95; }
.pay-badge-heleket { background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(6, 182, 212, 0.14)); border-color: rgba(16, 185, 129, 0.35); color: #d1fae5; }
.heleket-mark {
  width: 15px; height: 15px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.5625rem; font-weight: 800; color: #052e22;
  background: linear-gradient(135deg, #34d399, #22d3ee);
}

/* ——— Футер ——— */
.site-footer {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05));
  padding: 40px 0 28px;
}
.footer-top { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-tagline { margin-top: 6px; font-size: 0.8125rem; color: #6b7280; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  border-radius: 11px;
  font-size: 0.8125rem; font-weight: 500;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-link svg { width: 16px; height: 16px; color: #67e8f9; }
.footer-link:hover { color: #fff; background: rgba(139, 92, 246, 0.14); border-color: rgba(139, 92, 246, 0.4); }
.footer-pay { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.footer-bottom {
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 0.75rem; color: #6b7280;
}
.footer-privacy { color: #9ca3af; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(156, 163, 175, 0.4); }
.footer-privacy:hover { color: #fff; }

/* ——— Окно «Способы оплаты» ——— */
.pm-backdrop {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pm-backdrop[hidden] { display: none; }
.pm-dialog {
  width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 22px;
  border-radius: 20px;
  background: #121218;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: pmIn 0.2s ease-out;
}
@keyframes pmIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.pm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pm-close {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); cursor: pointer;
}
.pm-close svg { width: 16px; height: 16px; }
.pm-close:hover { color: #fff; }
.pm-intro { margin: 8px 0 16px; font-size: 0.875rem; color: #9ca3af; }
.pm-method {
  display: flex; gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.pm-method + .pm-method { margin-top: 10px; }
.pm-method-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.pm-method-icon svg { width: 20px; height: 20px; }
.pm-icon-card { color: #a78bfa; background: rgba(139, 92, 246, 0.14); }
.pm-icon-crypto { color: #34d399; background: rgba(52, 211, 153, 0.12); }
.pm-method-title { color: #fff; font-weight: 600; font-size: 0.9375rem; }
.pm-method-text { margin-top: 4px; color: #9ca3af; font-size: 0.8125rem; line-height: 1.5; }
.pm-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.pm-min { margin-top: 8px; font-size: 0.75rem; color: #67e8f9; }
.pm-cta {
  margin-top: 16px; display: flex; align-items: center; justify-content: center;
  height: 46px; border-radius: 13px;
  font-weight: 600; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

/* Секции поверх фона: прозрачные, без своих тёмных подложек */
footer.site-footer { background: linear-gradient(180deg, transparent, rgba(5, 5, 8, 0.85)); }

/* ——— Отзывы: карусель на телефоне ——— */
.reviews-dots { display: none; }
@media (max-width: 639px) {
  .reviews-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 2px 16px 4px;
    scroll-padding: 0 16px;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 84%; scroll-snap-align: start; padding: 16px; }
  .review-text { font-size: 0.8125rem; }
  .review-result { margin-top: 10px; }
  .review-author { margin-top: 10px; padding-top: 10px; }
  .reviews-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .reviews-dots button {
    width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.25s, background 0.25s;
  }
  .reviews-dots button.is-active { width: 18px; background: linear-gradient(90deg, #8b5cf6, #06b6d4); }
  .section-head { margin-bottom: 22px; }
}

/* ——— Мелочи ——— */
.step, .review { transition: border-color 0.2s, transform 0.2s, background 0.2s; }
@media (hover: hover) {
  .step:hover, .review:hover { border-color: rgba(139, 92, 246, 0.35); transform: translateY(-2px); background: rgba(255, 255, 255, 0.045); }
}
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }
.pay-badge-heleket { background: #000 !important; border-color: rgba(52, 211, 153, 0.4) !important; color: #d1fae5 !important; box-shadow: 0 0 12px -6px rgba(52, 211, 153, 0.8); }
.heleket-mark { color: #000; }
.pm-icon-crypto { background: #000 !important; border: 1px solid rgba(52, 211, 153, 0.35); color: #34d399 !important; box-shadow: 0 0 16px -6px rgba(52, 211, 153, 0.8); }
@media (max-width: 480px) {
  .hero-platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .hp { justify-content: center; height: 32px; padding: 0 6px; gap: 5px; font-size: 0.6875rem; min-width: 0; }
  .hp svg { width: 13px; height: 13px; }
}
/* значки платформ под заголовком — кнопки выбора */
.hero-platforms li { display: contents; }
button.hp { font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
button.hp:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.07); }
button.hp:active { transform: scale(0.96); }
button.hp.is-active { border-color: rgba(167, 139, 250, 0.7); background: rgba(139, 92, 246, 0.16); color: #fff; }
@media (max-width: 480px) { button.hp { font-size: 0.6875rem; } }
