/* 2.css — стили только для 2.html (Тарифы) */

/* ─────────────────────────────────────────
 * Скроллбар body
 * ───────────────────────────────────────── */
body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-track {
  background: #0d0d0e;
}

body::-webkit-scrollbar-thumb {
  background: #3a3a3c;
  border-radius: 6px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  background: #000;
  color: #e5e7eb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

/* ФОН ХЕДЕРА — чтобы контент под ним не просвечивал */
header { background: #000; }

/* ─────────────────────────────
 * Header (фикс)
 * ───────────────────────────── */
.tariffs-header--fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding-top: env(safe-area-inset-top);
  z-index: 40;
}

.tariffs-header__pad {
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 12px;
  padding-bottom: 0;
}

.tariffs-header__card {
  border-radius: 15px;
  padding: 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tariffs-header__icon {
  font-size: 30px;
  color: #FF9F0A;
}

.tariffs-header__title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.tariffs-header__subtitle {
  margin: 5px 0 0 0;
  font-size: 14px;
  line-height: 16px;
  color: #8e8e93;
  font-weight: 500;
}

/* Переходы для шапки тарифов */
#tariff-header > * {
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    margin 0.5s ease,
    height 0.5s ease,
    padding 0.5s ease;
}

/* Компактное состояние */
#tariff-header.shrink-header.shrink-header--compact {
  transform: translateY(-4px) !important;
  padding: 0 !important;
  min-height: 30px;
  height: auto;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

#tariff-header.shrink-header.shrink-header--compact .header-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

#tariff-header.shrink-header.shrink-header--compact .header-icon i {
  font-size: 22px;
}

#tariff-header.shrink-header.shrink-header--compact p {
  display: none !important;
}

#tariff-header.shrink-header.shrink-header--compact h1 {
  font-size: 0.9rem !important;
  margin-top: 3px !important;
  line-height: 1.1;
}

/* Градиенты */
.header-gradient { background: linear-gradient(to top, #151517, #2f2f32); }
.bottom-gradient { background: linear-gradient(to bottom, #151517, #2f2f32); }

.combo-border { border: 1px solid rgba(255, 255, 255, 0.08); }

/* header-icon (FIX: не затираем background) */
.header-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background:
    linear-gradient(to top, #141414, #313131) padding-box,
    linear-gradient(#68686B, #545457) border-box;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────
 * Plans list
 * ───────────────────────────── */
.plans-section {
  padding-left: 16px;
  padding-right: 16px;
  margin-bottom: 24px;
}

.plans-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Empty */
.plans-empty {
  font-size: 14px;
  color: #9ca3af;
}

/* ─────────────────────────────
 * Trial card
 * ───────────────────────────── */
.trial-card {
  margin-bottom: 16px;
  padding: 6px 16px 16px 16px;
  border-radius: 16px;
  background: #2D823D;
  backdrop-filter: blur(18px);
}

.trial-card__head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}

.trial-card__gift {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
}

.trial-card__gift-icon {
  font-size: 23px;
  color: #fff;
}

.trial-card__title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0px;
}

.trial-card__text {
  color: #d1d1d6;
  font-size: 14px;
  line-height: 17px;
  margin-bottom: 12px;
}

.trial-card__note {
  font-size: 14px;
  display: block;
  padding: 2px 12px 4px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
}

.trial-card__note-strong {
  font-weight: 600;
  color: #fff;
  margin-right: 6px;
}

.trial-card__note-link {
  font-weight: 600;
  color: #0A84FF;
  margin: 5px;
}

.trial-card__note-link i { margin-right: 6px; }

/* pulse */
.pulse-glow {
  animation: heartbeat-green 2.8s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes heartbeat-green {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(60, 220, 130, 0), 0 0 0 rgba(60, 220, 130, 0) inset; }
  10% { transform: scale(1.17); box-shadow: 0 0 18px rgba(60, 220, 130, 0.85), 0 0 10px rgba(60, 220, 130, 0.55) inset; }
  20% { transform: scale(1.08); box-shadow: 0 0 10px rgba(60, 220, 130, 0.55), 0 0 6px rgba(60, 220, 130, 0.35) inset; }
  32% { transform: scale(1.14); box-shadow: 0 0 14px rgba(60, 220, 130, 0.75), 0 0 8px rgba(60, 220, 130, 0.45) inset; }
  42% { transform: scale(1.05); box-shadow: 0 0 8px rgba(60, 220, 130, 0.4), 0 0 5px rgba(60, 220, 130, 0.3) inset; }
  60% { transform: scale(1); box-shadow: 0 0 3px rgba(60, 220, 130, 0.18), 0 0 2px rgba(60, 220, 130, 0.15) inset; }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(60, 220, 130, 0), 0 0 0 rgba(60, 220, 130, 0) inset; }
}

/* ─────────────────────────────
 * Plan card
 * ───────────────────────────── */
.plan-card {
  padding: 12px;
  border-radius: 16px;
  position: relative;
  cursor: pointer;

  background: #1C1C1E;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.04);

  outline: none;
  transition: transform .2s ease, background .2s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
  background: #2C2C2E;
}

.plan-card--default { border: 1px solid rgba(255,255,255,0.08); }

.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.plan-head-left {
  display: flex;
  align-items: center;
}

.plan-title-wrap { min-width: 0; }
.plan-title {
  margin: 0;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  font-size: 18px;
  letter-spacing: 0.2px;
  flex: 1 1 auto;
}

.plan-lead {
  margin-top: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.05;
}

.plan-lead-text { min-width: 0; }

.plan-divider {
  height: 1px;
  width: 100%;
  background: #3A3A3C;
  margin-bottom: 12px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1.35;
}
.plan-feature-text { min-width: 0; }

.plan-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #6b7280;
  flex: 0 0 5px;
  margin-top: 5px;
}

.plan-price { text-align: right; line-height: 1; }
.plan-price-value { font-weight: 800; color: #fff; font-size: 24px; }
.plan-price-unit { color: #6b7280; font-size: 15px; margin-left: 0px; }

.plan-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #f59e0b;
  color: #111827;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 12px;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  z-index: 2;
}

/* ─────────────────────────────
 * iOS-like app icon
 * ───────────────────────────── */
.plan-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  position: relative;
  display: grid;
  place-items: center;
  margin-right: 14px;
  flex: 0 0 60px;
  flex-shrink: 0;

  overflow: visible;
  box-shadow:
    0 14px 30px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -12px 18px rgba(0,0,0,.28);

  transform: translateZ(0);
  backface-visibility: hidden;
}

.plan-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.plan-icon::before {
  content: "";
  position: absolute;
  border-radius: 14px;
  inset: 0;
  background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.28), transparent 55%);
  pointer-events: none;
}

.plan-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  pointer-events: none;
}

.plan-icon > :not(.plan-icon-bg) {
  position: relative;
  z-index: 1;
}

/* Text icons */
.plan-icon-text--wb,
.plan-icon-text--ozon {
  font-weight: 800;
  color: rgba(255,255,255,.96);
  text-shadow: 0 6px 18px rgba(0,0,0,.45);
}

.plan-icon-text--wb { font-size: 18px; letter-spacing: .3px; }
.plan-icon-text--ozon { font-size: 16px; letter-spacing: .2px; }

/* Combo vertical */
.plan-icon-combo-vertical {
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.7;
}
.combo-line { font-size: 15px; color: #fff; letter-spacing: 0.5px; }
.combo-plus { font-size: 14px; font-weight: 700; line-height: 1; margin: 2px 0; opacity: 0.9; }
.combo-oz { font-size: 13px; letter-spacing: 0.6px; }

.plan-icon-i {
  font-size: 22px;
  color: rgba(255,255,255,.92);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

/* Backgrounds per plan type */
.plan-icon-bg--default .plan-icon-bg { background: linear-gradient(135deg, #3a3a3c, #1c1c1e); }
.plan-icon-bg--wb .plan-icon-bg { background: linear-gradient(to right, #CB11AB 0%, #990099 45%, #481173 100%); }
.plan-icon-bg--ozon .plan-icon-bg { background: linear-gradient(135deg, #005BFF 70%, #00A2FF 100%); }
.plan-icon-bg--combo .plan-icon-bg { background: linear-gradient(135deg, #CB11AB, #005BFF); }
.plan-icon-bg--reviews .plan-icon-bg { background: linear-gradient(135deg, #f97316 50%, #ffa15e 100%); }
.plan-icon-bg--ransoms .plan-icon-bg { background: linear-gradient(135deg, #22c55e, #06b6d4); }

/* modal icon smaller */
.plan-icon--modal{
  width: 42px !important;
  height: 42px !important;
  border-radius: 9px !important;
  margin-right: 0 !important;
  flex: 0 0 42px !important;
}
.plan-icon--modal .plan-icon-bg { border-radius: 9px; }
.plan-icon--modal::before,
.plan-icon--modal::after { border-radius: 9px; }

.plan-icon--modal .plan-icon-text--wb { font-size: 13px; }
.plan-icon--modal .plan-icon-text--ozon { font-size: 12px; }
.plan-icon--modal .combo-line { font-size: 11px; }
.plan-icon--modal .combo-plus { font-size: 10px; margin: 1px 0; }
.plan-icon--modal .combo-oz { font-size: 10px; }
.plan-icon--modal .plan-icon-i { font-size: 17px; }

/* ─────────────────────────────
 * Modals / Sheet
 * ───────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: .9s;
}
.modal.active { opacity: 1; visibility: visible; }

.sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #000;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  max-height: 80dvh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s ease-out, background 0.65s ease-out, box-shadow 0.95s ease-out;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.85);
}
.modal.active .sheet { transform: translateY(0); }

.sheet--wb { background: linear-gradient(to bottom, #ff10d7, #151517); }
.sheet--ozon { background: linear-gradient(to bottom, #006eff, #151517); }
.sheet--combo { background: linear-gradient(to bottom, #ff10d7, #006eff, #151517); }
.sheet--reviews { background: linear-gradient(to bottom, #ff9900, #151517); }
.sheet--ransoms { background: linear-gradient(to bottom, #00ab14, #151517); }

.handle {
  width: 36px;
  height: 4px;
  background: #4b5563;
  border-radius: 2px;
  margin: 0 auto 12px;
}

.sheet__top { padding: 16px; }

.sheet__scroll {
  max-height: 70vh;
  overflow-y: auto;
  padding: 0 16px 8px;
}

.sheet__body {
  padding-bottom: 12px;
  color: #e5e5ea;
  font-size: 14px;
  line-height: 24px;
}

.sheet__bottom { padding: 16px; }

/* кнопка */
.btn {
  width: 100%;
  margin: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background-color: #2C2C2E;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.btn:hover {
  background-color: #3A3A3C;
}
.btn:active {
  background-color: rgba(58, 58, 60, 0.9); transform: scale(0.99);
}
.btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* sticky header inside sheet */
.plan-info-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  transition: transform .5s ease, opacity .5s ease, padding .5s ease;
  will-change: transform, opacity;
}

.plan-info-sticky.plan-info-sticky--compact {
  transform: scale(0.65) translateY(8px);
  transform-origin: top center;
  opacity: 0.7;
}

.plan-info-top {
  background: linear-gradient(to top, #151517, #2f2f32);
  border-radius: 20px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.plan-info-top__row { display: flex; align-items: center; gap: 12px; }
.plan-info-top__meta { min-width: 0; }
.plan-info-top__title { color: #fff; font-weight: 600; }
.plan-info-top__subtitle { font-size: 14px; line-height: 20px; color: #9ca3af; }

/* ─────────────────────────────
 * Plan modal components (вместо tailwind-утилит)
 * ───────────────────────────── */
.plan-stack > * + * { margin-top: 16px; }
.plan-stack-sm > * + * { margin-top: 12px; }

.plan-panel {
  border-radius: 24px;
  background: #1C1C1E;
  border: 1px solid rgba(255,255,255,0.10);
}
.plan-panel--media { overflow: hidden; }
.plan-panel__pad { padding: 16px; }

.plan-text{
  font-size: 13px;
  line-height: 1.5;
  color: #9ca3af;
  margin: 0;
}
.plan-text + .plan-text { margin-top: 6px; }
.plan-text-strong { color: #F2F2F7; }

.plan-section-title{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px 0;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: #fff;
}
.plan-section-title__icon{
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
}
.plan-section-title__icon i{
  font-size: 12px;
  color: #1C1C1E;
}

.plan-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-list__item{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan-list__dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.80);
  margin-top: 7px;
  flex: 0 0 6px;
  opacity: 0.8;
}
.plan-list__text{
  font-size: 13px;
  line-height: 1.3;
  color: #9ca3af;
}

.plan-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.plan-tile{
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  padding: 10px 12px;
}
.plan-tile__head{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #e5e7eb;
  margin-bottom: 0px;
}
.plan-tile__head i { color: rgba(255,255,255,0.90); }
.plan-tile__text{
  font-size: 11px;
  line-height: 1.35;
  color: #9ca3af;
  margin: 0;
}

.plan-media{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.plan-media__inner{
  position: absolute;
  inset: 0;
}
.plan-media iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.plan-galleryWrap { margin-top: 12px; }
.plan-gallery{
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 8px;
}
.plan-gallery img{
  height: 160px;
  border-radius: 20px;
  background: #1f2937;
  flex: 0 0 auto;
}

.plan-btn{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  user-select: none;
  transition: background .2s ease, transform .15s ease;
}
.plan-btn:active{ transform: scale(0.97); }
.plan-btn--ghost{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.20);
  color: #e5e7eb;
}
.plan-btn--ghost:hover{ background: rgba(255,255,255,0.10); }
.plan-btn__ext{ font-size: 11px; opacity: 0.6; }

.plan-footer{
  margin-top: 20px;
  padding: 14px;
  text-align: center;
}
.plan-footer__text{
  margin: 0 0 8px 0;
  font-size: 12px;
  line-height: 1.3;
  color: #f3f4f6;
}
.plan-footer__infoIcon{
  margin-right: 4px;
  font-size: 15px;
  color: #fff;
  vertical-align: -2px;
}

/* RW mini cards */
.plan-cards{
  display: grid;
  gap: 10px;
}
.plan-miniCard{
  display: flex;
  align-items: center;
  gap: 12px;
  background: #2C2C2E;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 12px 14px;
}
.plan-miniCard__icon{
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #3A3A3C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}
.plan-miniCard__icon i{ font-size: 13px; color: #fff; }
.plan-miniCard__meta{ display: flex; flex-direction: column; min-width: 0; }
.plan-miniCard__label{ font-size: 13px; color: #98989F; }
.plan-miniCard__value{ font-size: 17px; line-height: 1.15; font-weight: 600; color: #fff; }

.plan-warn{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 7px 0 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #9ca3af;
}
.plan-warn i{ font-size: 12px; color: #fff; margin-top: 3px; }

/* ─────────────────────────────
 * Image overlay modal
 * ───────────────────────────── */
.image-card { cursor: pointer; }

.plan-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.plan-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(75, 85, 99, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-dots .dot.active {
  background: #b2b2b2;
  transform: scale(1.2);
}

.img-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
}

.img-modal.open { display: flex; }

.img-modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
}

.img-modal-close,
.img-modal-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e5e7eb;
}

.img-modal-close { top: 20px; right: 20px; }
.img-modal-nav { top: 50%; transform: translateY(-50%); }
.img-modal-nav.prev { left: 20px; }
.img-modal-nav.next { right: 20px; }

.img-modal-close::before,
.img-modal-close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 1px;
}

.img-modal-close::before { transform: rotate(45deg); }
.img-modal-close::after { transform: rotate(-45deg); }

.img-modal-nav::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid #e5e7eb;
  border-bottom: none;
  border-right: none;
}

.img-modal-nav.prev::before { transform: rotate(-45deg); margin-left: 3px; }
.img-modal-nav.next::before { transform: rotate(135deg); margin-right: 3px; }

/* Buttons (FAQ) */
.btn-primary {
  width: 100%;
  padding: 12px 0;
  border-radius: 9999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0A84FF;
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 132, 255, 0.45);
  transition: 0.2s;
}
.btn-primary:hover { background: #0a78e0; }
.btn-primary:active { transform: scale(0.97); }

.btn-primary i { font-size: 20px; line-height: 1; }
.btn-primary span { font-size: 15px; }

.btn-secondary {
  margin-top: 10px;
  width: 100%;
  padding: 12px 0;
  border-radius: 9999px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f3f4f6;
  transition: 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.10); }
.btn-secondary:active { transform: scale(0.97); }

.btn-secondary i { font-size: 20px; line-height: 1; }
.btn-secondary span { font-size: 15px; }

/* Bottom nav */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  border-top: 1px solid #1f2937;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding-top: 8px;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.bottom-row { display: flex; justify-content: space-around; }

.bottom-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 12px;
  color: #6b7280;
}
.bottom-link:hover { color: #d1d5db; }
.bottom-link.is-active { color: #ff9f0a; }

.bottom-link i { font-size: 20px; line-height: 1; }

.bottom-link span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
}

.hidden { display: none !important; }

/* Profile button (footer note in modal) */
.profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.profile-primary {
  padding: 8px 16px;
  border-radius: 9999px;
  background: #0A84FF;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.profile-primary:hover { background: #0a78e0; }
.profile-primary:active { transform: scale(0.97); }

.profile-primary .profile-icon { font-size: 13px; line-height: 1; }

/* no scrollbar helper */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* ─────────────────────────────
 * FAQ (вместо inline style)
 * ───────────────────────────── */
.faq{
  padding: 20px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.faq__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.faq__icon i{
  color: #fff;
  font-size: 25px;
}
.faq__title{
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #fff;
  margin: 5px 0 0 0;
}
.faq__subtitle{
  margin: 4px 0 0 0;
  font-size: 13px;
  line-height: 18px;
  color: #9ca3af;
}
.faq__buttons{
  width: 300px;
  margin: 4px 0;
}

/* безопасность: если ширина маленькая */
@media (max-width: 360px){
  .faq__buttons{ width: 100%; }
}
