/* ===== PRO.CSS — стили для модального окна PRO подписки ===== */

/* ---- ОВЕРЛЕЙ ---- */
.pro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.pro-overlay.active {
  display: flex;
}

/* ---- МОДАЛЬНОЕ ОКНО ---- */
.pro-modal {
  background: linear-gradient(145deg, #11191e, #0d151a);
  border: 1px solid #f5a623;
  border-radius: 32px;
  padding: 44px 40px 40px;
  max-width: 520px;
  width: 100%;
  margin: 20px;
  position: relative;
  animation: slideUp 0.4s ease;
  box-shadow: 0 30px 80px rgba(245, 166, 35, 0.15), inset 0 1px 0 rgba(245, 166, 35, 0.05);
}

/* Кнопка закрытия */
.pro-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #4f6a7a;
  font-size: 22px;
  cursor: pointer;
  transition: 0.2s ease;
}

.pro-close:hover {
  color: #dce9f2;
  transform: rotate(90deg);
}

/* ---- ЗАГОЛОВОК ---- */
.pro-header {
  text-align: center;
  margin-bottom: 32px;
}

.pro-header .pro-icon {
  font-size: 56px;
  background: linear-gradient(135deg, #f7b731, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 0 20px rgba(245, 166, 35, 0.2));
}

.pro-header h2 {
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(135deg, #f7b731, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.pro-header p {
  color: #8aa6b8;
  font-size: 15px;
}

/* ---- ПРЕИМУЩЕСТВА ---- */
.pro-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pro-benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0a1218;
  border: 1px solid #1a2a32;
  border-radius: 16px;
  padding: 14px 18px;
  transition: 0.3s ease;
}

.pro-benefit:hover {
  border-color: #3f6a80;
  transform: translateX(4px);
}

.pro-benefit .benefit-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.05));
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #f5a623;
  flex-shrink: 0;
}

.pro-benefit .benefit-info {
  flex: 1;
}

.pro-benefit .benefit-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: #dce9f2;
  margin-bottom: 2px;
}

.pro-benefit .benefit-info p {
  font-size: 13px;
  color: #6d8fa0;
  margin: 0;
}

.pro-benefit .benefit-badge {
  font-size: 11px;
  font-weight: 700;
  color: #f5a623;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.15);
  padding: 2px 12px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- ЦЕНА ---- */
.pro-pricing {
  text-align: center;
  margin-bottom: 28px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06), rgba(245, 166, 35, 0.02));
  border-radius: 20px;
  border: 1px solid rgba(245, 166, 35, 0.1);
}

.pro-pricing .price {
  font-size: 42px;
  font-weight: 700;
  color: #f5a623;
}

.pro-pricing .price small {
  font-size: 18px;
  font-weight: 400;
  color: #8aa6b8;
}

.pro-pricing .period {
  color: #6d8fa0;
  font-size: 14px;
  margin-top: 4px;
}

.pro-pricing .saving {
  display: inline-block;
  margin-top: 8px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.15);
  color: #f5a623;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 40px;
}

/* ---- КНОПКИ ---- */
.pro-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pro-actions .btn-pro-subscribe {
  flex: 1;
  background: linear-gradient(135deg, #f7b731, #f5a623);
  border: none;
  color: #0a0f13;
  padding: 16px 24px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 17px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 180px;
}

.pro-actions .btn-pro-subscribe i {
  font-size: 18px;
}

.pro-actions .btn-pro-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.35);
}

.pro-actions .btn-pro-subscribe:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.pro-actions .btn-pro-cancel {
  background: transparent;
  border: 1px solid #2f404a;
  color: #8aa6b8;
  padding: 16px 24px;
  border-radius: 60px;
  font-weight: 500;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: 0.25s ease;
  min-width: 120px;
}

.pro-actions .btn-pro-cancel:hover {
  background: #162026;
  border-color: #4f6a7a;
  color: #dce9f2;
}

/* ---- ПОДВАЛ МОДАЛКИ ---- */
.pro-footer {
  text-align: center;
  margin-top: 20px;
  color: #4f6a7a;
  font-size: 12px;
}

.pro-footer a {
  color: #4f8aaa;
  text-decoration: none;
}

.pro-footer a:hover {
  text-decoration: underline;
}

/* ---- АДАПТИВНОСТЬ ---- */
@media (max-width: 480px) {
  .pro-modal {
    padding: 28px 20px 24px;
    margin: 12px;
    border-radius: 24px;
  }

  .pro-header .pro-icon {
    font-size: 40px;
  }

  .pro-header h2 {
    font-size: 24px;
  }

  .pro-benefit {
    padding: 12px 14px;
  }

  .pro-benefit .benefit-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .pro-benefit .benefit-info h4 {
    font-size: 14px;
  }

  .pro-benefit .benefit-info p {
    font-size: 12px;
  }

  .pro-pricing .price {
    font-size: 32px;
  }

  .pro-actions {
    flex-direction: column;
  }

  .pro-actions .btn-pro-subscribe {
    min-width: unset;
  }

  .pro-actions .btn-pro-cancel {
    min-width: unset;
  }
}