/* ============================================================
   TaxiHelper — неоновый лендинг
   Часть 2: подписка, преимущества, установка, FAQ, нижний
   баннер, подвал, toast-уведомление.
   ============================================================ */

/* ============================================================
   Подписка
   ============================================================ */

.pricing { padding-top: 54px; }

.pricing-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* Панель выбора функций */
.func-panel {
  background: linear-gradient(180deg, #0C1826, #081019);
  border: 1px solid rgba(0, 191, 255, .3);
  border-radius: 18px;
  padding: 20px;
  box-shadow:
    inset 0 0 26px rgba(0, 191, 255, .06),
    0 12px 34px rgba(0, 0, 0, .38);
}

.func-title { font-size: 17px; font-weight: 800; margin-bottom: 14px; }

.func-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .07);
  cursor: pointer;
  transition: border-color .2s ease;
  -webkit-user-select: none;
  user-select: none;
}

.func-row:hover { border-color: rgba(255, 152, 0, .45); }

.func-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cbox {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(180deg, #39455A, #29323F);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background .2s ease, box-shadow .2s ease;
}

.cbox svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .18s ease, transform .18s ease;
}

.func-row input:checked + .cbox {
  background: var(--grad-btn);
  border-color: rgba(255, 200, 80, .6);
  box-shadow:
    0 0 12px rgba(255, 152, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}

.func-row input:checked + .cbox svg { opacity: 1; transform: scale(1); }

.func-row input:focus-visible + .cbox {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.func-name {
  flex: 1;
  font-size: 14.5px;
  font-weight: 700;
}

.func-mini {
  width: 27px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 152, 0, .4));
}

.func-row-both {
  background-image: url("assets/backgrounds/panel_blue_orange_wide.png");
  background-size: 100% 100%;
  border-color: rgba(0, 191, 255, .55);
  box-shadow: 0 0 18px rgba(0, 191, 255, .22);
}

.both-note {
  font-style: normal;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--blue);
}

.chosen-line {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.chosen-line b { color: #fff; }

.chosen-hint {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange);
}

/* Тарифные карточки */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #0B1826 0%, #070E17 100%);
  border: 1px solid var(--border-blue);
  box-shadow:
    0 0 24px rgba(0, 191, 255, .13),
    inset 0 0 28px rgba(0, 191, 255, .05);
  transition: transform .25s ease;
}

.plan-card:hover { transform: translateY(-4px); }

.plan-orange {
  border-color: var(--border-orange);
  box-shadow:
    0 0 26px rgba(255, 152, 0, .2),
    inset 0 0 28px rgba(255, 152, 0, .06);
}

.plan-hot { animation: pulseOrange 3.4s ease-in-out infinite; }

@keyframes pulseOrange {
  0%, 100% {
    box-shadow: 0 0 22px rgba(255, 152, 0, .18), inset 0 0 28px rgba(255, 152, 0, .05);
  }
  50% {
    box-shadow: 0 0 42px rgba(255, 152, 0, .34), inset 0 0 32px rgba(255, 152, 0, .09);
  }
}

.plan-badge {
  position: absolute;
  top: -18px;
  right: -12px;
  width: 106px;
  z-index: 3;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .55));
}

.plan-head {
  height: 62px;
  margin-bottom: 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.plan-head-blue { background-image: url("assets/backgrounds/panel_calendar_blue.png"); }
.plan-head-orange { background-image: url("assets/backgrounds/panel_calendar_orange.png"); }

.plan-head h3 {
  font-size: 19px;
  font-weight: 800;
  margin-left: 26px; /* место под иконку календаря в панели */
  text-shadow: 0 0 10px rgba(0, 191, 255, .35);
}

.plan-head-orange h3 { text-shadow: 0 0 10px rgba(255, 152, 0, .4); }

.price-rows {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  flex: 1;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease;
}

.price-row:hover { background: rgba(255, 255, 255, .045); }

.radio {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #5A6674;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.price-row.active .radio {
  border-color: var(--orange);
  background: radial-gradient(circle at 40% 35%, #FFC85E, #FF9800 75%);
  box-shadow: 0 0 10px rgba(255, 152, 0, .75);
}

.pr-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.price-row.active .pr-name { color: #fff; }

.pr-price {
  font-size: 14.5px;
  font-weight: 800;
  color: #EAF0F7;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-row.active .pr-price {
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(255, 194, 27, .4);
}

/* ============================================================
   Преимущества
   ============================================================ */

.adv-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.adv-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #0C1928, #081119);
  border: 1px solid rgba(0, 191, 255, .22);
  box-shadow: inset 0 0 22px rgba(0, 191, 255, .05);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.adv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 152, 0, .5);
  box-shadow:
    0 0 24px rgba(255, 152, 0, .16),
    inset 0 0 22px rgba(255, 152, 0, .06);
}

.adv-icon {
  width: 42px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 152, 0, .35));
}

.adv-body h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }

.adv-body p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ============================================================
   Как установить
   ============================================================ */

.steps-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.step-arrow {
  align-self: center;
  display: grid;
  place-items: center;
  color: var(--orange);
  filter: drop-shadow(0 0 7px rgba(255, 152, 0, .65));
}

.step-arrow svg { width: 22px; height: 22px; }

.step-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #0C1928, #081019);
  border: 1px solid rgba(0, 191, 255, .26);
  box-shadow: inset 0 0 22px rgba(0, 191, 255, .05);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 152, 0, .5);
  box-shadow:
    0 0 22px rgba(255, 152, 0, .15),
    inset 0 0 22px rgba(0, 191, 255, .05);
}

.step-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.step-badge { width: 37px; height: auto; flex-shrink: 0; }

.step-ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--orange);
  filter: drop-shadow(0 0 6px rgba(255, 152, 0, .55));
}

.step-ico-img {
  width: 26px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 152, 0, .55));
}

.step-top h3 { font-size: 15.5px; font-weight: 800; line-height: 1.25; }

.step-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq { padding-bottom: 56px; }

.faq-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.faq-item {
  background: #0A1420;
  border: 1px solid rgba(0, 191, 255, .24);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item.open {
  border-color: rgba(255, 152, 0, .55);
  box-shadow: 0 0 20px rgba(255, 152, 0, .13);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: #EAF0F7;
  line-height: 1.35;
}

.faq-plus {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 152, 0, .6);
  transition: transform .3s ease;
}

.faq-plus::before { width: 16px; height: 3px; }
.faq-plus::after { width: 3px; height: 16px; }

.faq-item.open .faq-plus::after { transform: rotate(90deg); }
.faq-item.open .faq-plus::before { transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner { overflow: hidden; }

.faq-a-inner p {
  padding: 2px 18px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ============================================================
   Нижний баннер
   ============================================================ */

.cta {
  position: relative;
  margin-top: 30px;
  padding: 78px 0 86px;
  overflow: hidden;
  background: linear-gradient(180deg, #05090E 0%, #081120 55%, #0A0D13 100%);
}

.cta-decor { position: absolute; inset: 0; pointer-events: none; }

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 280px at 50% 104%, rgba(255, 152, 0, .17), transparent 65%),
    radial-gradient(520px 220px at 10% 24%, rgba(0, 191, 255, .1), transparent 60%),
    radial-gradient(520px 220px at 92% 18%, rgba(255, 152, 0, .08), transparent 60%);
}

.cta-city {
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: max(100%, 1100px);
  opacity: .9;
  mix-blend-mode: screen;
}

.cta-wave {
  position: absolute;
  mix-blend-mode: screen;
}

.cta-wave-left {
  left: -50px;
  top: 6%;
  width: 430px;
  opacity: .7;
  transform: scaleX(-1);
}

.cta-wave-right {
  right: -70px;
  bottom: 8%;
  width: 540px;
  opacity: .8;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(255, 152, 0, .07) 78%, transparent);
}

.cta-car {
  position: absolute;
  z-index: 1;
  left: -74px;
  bottom: -26px;
  width: 440px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .55));
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.cta-sub {
  margin-top: 12px;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 600;
  color: #C6D0DC;
}

.cta-buttons {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-buttons .btn-telegram--big { align-self: center; }

/* ============================================================
   Подвал
   ============================================================ */

.site-footer {
  border-top: 1px solid rgba(0, 191, 255, .14);
  background: rgba(4, 7, 11, .9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted2);
}

.footer-link {
  font-weight: 700;
  color: var(--blue);
  transition: text-shadow .2s ease;
}

.footer-link:hover { text-shadow: 0 0 12px rgba(0, 191, 255, .6); }

/* ============================================================
   Toast-уведомление
   ============================================================ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  transform: translate(-50%, 16px);
  max-width: min(92vw, 500px);
  padding: 13px 20px;
  border-radius: 12px;
  background: #0B1622;
  border: 1px solid rgba(255, 152, 0, .55);
  box-shadow:
    0 10px 34px rgba(0, 0, 0, .55),
    0 0 18px rgba(255, 152, 0, .22);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #F2E9DC;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================================================
   Оплата и выдача подписки
   ============================================================ */

.pay-info {
  margin-top: 34px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(0, 191, 255, .18);
  background:
    radial-gradient(600px 160px at 0% 0%, rgba(0, 191, 255, .07), transparent 60%),
    linear-gradient(180deg, rgba(10, 20, 32, .92), rgba(6, 11, 17, .92));
}

.pay-info-head h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.pay-info-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.pay-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.pay-steps li {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .025);
}

.pay-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  color: #1B1206;
  background: var(--grad-btn);
}

.pay-steps b {
  display: block;
  margin: 10px 0 6px;
  font-size: 14px;
}

.pay-steps li > span:last-child {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted2);
}

.pay-info-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted2);
}

.pay-info-note a { color: var(--blue); font-weight: 700; }

@media (max-width: 900px) {
  .pay-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .pay-steps { grid-template-columns: 1fr; }
  .pay-info { padding: 18px; }
}

/* ============================================================
   Подвал: документы и реквизиты
   ============================================================ */

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-requisites {
  padding: 0 0 16px;
  font-size: 12px;
  color: var(--muted2);
}

.footer-requisites a { color: var(--blue); }

/* ============================================================
   Окно оформления подписки (заглушка оплаты)
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 7, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(0, 191, 255, .22);
  background: #0A1119;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.modal-close:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.modal-choice {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--yellow);
}

.modal-note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.modal-steps {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted2);
}

.modal-steps li { margin-bottom: 8px; }

.modal-btn {
  width: 100%;
  justify-content: center;
}

.modal-legal {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted2);
}

.modal-legal a { color: var(--blue); }

body.no-scroll { overflow: hidden; }
