/* ==========================================================================
   PRICES PAGE CARDS REDESIGN
   ========================================================================== */

/* --- Сетка карточек --- */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 0px;
  margin-bottom: 60px;
}


/* --- Сама карточка --- */
.pricing-card-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  height: 100%; /* Карточки одинаковой высоты */
}

.pricing-card-item:hover {
  border-color: #c01101; /* Твой фирменный красный */
  background: rgba(192, 17, 1, 0.03);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(192, 17, 1, 0.1);
}

/* --- Хедер карточки (Цена и Заголовок) --- */
.card-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-value {
  font-size: 26px;
  font-weight: 700;
  color: #c01101; /* Цена красным акцентом */
  margin-bottom: 12px;
  font-family: "Polaris", "Lato", sans-serif; /* Добавил фолбек на Lato */
}

.price-title {
  font-size: 16px;
  line-height: 1.3;
  color: #ffffff;
  text-transform: uppercase;
  font-family: "Polaris", "Lato", sans-serif;
  margin: 0;
  min-height: 46px; /* Чтобы заголовки в 1 и 2 строки не ломали сетку */
}

/* --- Тело карточки --- */
.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Растягивает блок, прижимая списки к низу */
}

.price-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #a0a0a0;
  margin-bottom: 20px;
  font-family: "Lato", sans-serif;
}

.price-note {
  font-size: 13px;
  line-height: 1.4;
  color: #777777;
  font-style: italic;
  margin-bottom: 20px;
}

/* --- Списки --- */
.price-list {
  padding-left: 18px;
  margin: 0;
  list-style-type: none; /* Убираем стандартные буллиты */
}

/* Кастомные буллиты (квадратики или точки под стиль космоса/техно) */
.price-list li {
  font-family: "Lato", sans-serif;
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 12px;
  line-height: 1.4;
  position: relative;
}

.price-list li::before {
  content: "■"; /* Или можно поставить "•" */
  color: #c01101;
  font-size: 10px;
  position: absolute;
  left: -18px;
  top: 2px;
}

.price-list li .highlight {
  color: #ffffff;
  font-weight: 700;
}

/* Класс чтобы прижать список к низу карточки, если описание короткое */
.mt-auto {
  margin-top: auto;
}

/* ==========================================================================
   ADD-ONS SECTION
   ========================================================================== */

.addons-section {
  margin-top: 60px;
  padding: 50px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

.addons-main-title {
  text-align: center;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 40px;
  font-family: "Polaris", "Lato", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.addon-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 24px;
  border-radius: 8px;
  border-left: 2px solid #c01101; /* Акцентная линия слева */
}

.addon-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
  font-family: "Lato", sans-serif;
}

.addon-desc {
  color: #a0a0a0;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  font-family: "Lato", sans-serif;
}

.text-red {
  color: #c01101;
}

/* ==========================================================================
   RESPONSIVE (АДАПТИВНОСТЬ)
   ========================================================================== */

@media screen and (max-width: 1200px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .addons-grid {
    grid-template-columns: 1fr;
  }
  
  .addons-section {
    padding: 30px 20px;
  }
  
  .addons-main-title {
    font-size: 18px;
  }
}

.text-white {
  color: #ffffff;
  font-weight: 700;
}