/* ==========================================================================
   FONTS
   ========================================================================== */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/golos-text-cyrillic-400-normal.woff2') format('woff2'), url('/fonts/golos-text-cyrillic-400-normal.woff') format('woff'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/golos-text-latin-400-normal.woff2') format('woff2'), url('/fonts/golos-text-latin-400-normal.woff') format('woff'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/golos-text-cyrillic-500-normal.woff2') format('woff2'), url('/fonts/golos-text-cyrillic-500-normal.woff') format('woff'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/golos-text-latin-500-normal.woff2') format('woff2'), url('/fonts/golos-text-latin-500-normal.woff') format('woff'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/golos-text-cyrillic-600-normal.woff2') format('woff2'), url('/fonts/golos-text-cyrillic-600-normal.woff') format('woff'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/golos-text-latin-600-normal.woff2') format('woff2'), url('/fonts/golos-text-latin-600-normal.woff') format('woff'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/golos-text-cyrillic-700-normal.woff2') format('woff2'), url('/fonts/golos-text-cyrillic-700-normal.woff') format('woff'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/golos-text-latin-700-normal.woff2') format('woff2'), url('/fonts/golos-text-latin-700-normal.woff') format('woff'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   VARIABLES & GLOBALS
   ========================================================================== */
:root {
  --accent: #1FF27C;
  --accent-grad-end: #23EABA;
  --bg: #000000;
  --white: #FFFFFF;
  --text-70: rgba(255, 255, 255, 0.7);
  --text-50: rgba(255, 255, 255, 0.5);
  --text-30: rgba(255, 255, 255, 0.3);
  --text-20: rgba(255, 255, 255, 0.2);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-card: rgba(255, 255, 255, 0.05);
  --shadow-title: 0px 0px 32px rgba(150, 147, 163, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100vw;
}

body {
  position: relative;
  background: var(--bg);
  color: var(--white);
  font-family: 'Golos Text', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
  text-align: center;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:focus {
  outline: none;
}

/* ========== ЛОГОТИП ========== */
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 3em;
  width: auto;
}

/* ========== ЗАГОЛОВКИ И ШАПКА ========== */
.header {
  padding: 40px;
  background-color: var(--bg);
}

.header h1 {
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--white);
  text-shadow: var(--shadow-title);
}

.subtitle {
  font-family: 'Golos Text', sans-serif;
  font-size: 1.1rem;
  color: var(--text-70);
  margin-top: 12px;
  font-weight: normal;
}

/* ========== КНОПКА ЗАГРУЗКИ ========== */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #121212;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 80px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  margin-top: 20px;
  border: none;
  width: 230px;
  text-align: center;
  cursor: pointer;
}

.download-btn:hover {
  background-color: var(--white);
  color: #121212;
  transform: translateY(-2px);
  box-shadow: 0px 8px 20px rgba(31, 242, 124, 0.2);
}

/* ========== ОБЩИЕ СТИЛИ ДЛЯ БЛОКОВ ========== */
.download-section,
.advantages-section,
.tariffs-section,
.about-section {
  width: 90%;
  max-width: 900px;
  margin: 50px auto;
  padding: 40px 30px;
  background: var(--glass-card);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  text-align: center;
}

/* Градиентный заголовок блоков */
.download-title {
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* ========== ТАРИФЫ (CSS GRID — 4 В РЯД) ========== */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  align-items: stretch;
}

.tariff-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Внутренний неоновый блик при наведении */
.tariff-card::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 130px;
  background: var(--accent);
  filter: blur(70px);
  -webkit-filter: blur(70px);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tariff-card:hover {
  border-color: rgba(31, 242, 124, 0.5);
  transform: translateY(-4px);
  box-shadow: 0px 12px 32px rgba(0, 0, 0, 0.4);
}

.tariff-card:hover::before {
  opacity: 0.18;
}

.tariff-card > * {
  position: relative;
  z-index: 1;
}

.tariff-name {
  font-family: 'Golos Text', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-70);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tariff-price {
  font-family: 'Golos Text', sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1;
}

.tariff-period {
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  color: var(--text-50);
}

/* ========== УВЕДОМЛЕНИЕ ОБ ОПЛАТЕ (ВНУТРИ ТАРИФОВ) ========== */
.compliance-notice {
  width: 100%;
  margin: 40px auto 0; /* Отступ сверху от карточек */
  background: transparent; /* Убираем фон, так как он есть у родительской секции */
  border: none; /* Убираем все рамки */
  text-align: center;
  font-size: 14px;
  color: var(--text-70);
  line-height: 1.6;
}

.compliance-notice strong {
  color: var(--accent);
  font-weight: 600;
}

/* ========== ПРЕИМУЩЕСТВА ========== */
.advantages {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.advantage {
  width: calc(50% - 10px);
  padding: 24px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.advantage:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.advantage img {
  height: 48px;
  margin: 0 auto 12px;
  filter: invert(72%) sepia(53%) saturate(1478%) hue-rotate(93deg) brightness(101%) contrast(93%);
}

.advantage h3 {
  font-family: 'Golos Text', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.advantage p {
  font-family: 'Golos Text', sans-serif;
  font-size: 15px;
  color: var(--text-70);
}

.advantages-description {
  color: var(--text-70);
  text-align: center;
  margin-top: 30px;
  line-height: 1.75;
  font-size: 15px;
}

/* ========== О КОМПАНИИ ========== */
.about-section p {
  color: var(--text-70);
  text-align: center;
  margin: 14px 20px;
  line-height: 1.75;
  font-size: 15px;
}

/* ========== БЛОК ВЫБОРА ОС ========== */
.os-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.os-option {
  cursor: pointer;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  border-radius: 16px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-70);
  width: 90px;
  height: 90px;
}

.os-option img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.6;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.os-option span {
  font-family: 'Golos Text', sans-serif;
  font-size: 13px;
  color: var(--text-70);
}

.os-option:hover {
  border-color: var(--accent);
  color: var(--white);
}

.os-option:hover img {
  opacity: 1;
}

.os-option.active {
  color: var(--white);
  border-color: var(--accent);
  background-color: rgba(31, 242, 124, 0.1);
}

.os-option.active img {
  filter: invert(72%) sepia(53%) saturate(1478%) hue-rotate(93deg) brightness(101%) contrast(93%);
  opacity: 1;
}

.os-option.active span {
  color: var(--white);
  font-weight: 600;
}

.download-content .os-info {
  display: none;
  margin-top: 24px;
}

.download-content .os-info.active {
  display: block;
}

/* ========== ОСНОВНОЙ КОНТЕНТ ========== */
main {
  flex: 1;
}

/* ========== СТИЛИ ФУТЕРА ========== */
.footer {
  background-color: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-70);
  font-size: 14px;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  font-family: 'Golos Text', sans-serif;
  font-size: 15px;
  text-decoration: none;
  color: var(--text-70);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.footer-legal p {
  color: var(--text-50);
  font-size: 10px;
  margin: 0;
  line-height: 1.5;
  font-family: 'Golos Text', sans-serif;
}

/* ==========================================================================
   АДАПТИВНЫЕ СТИЛИ (ПЛАНШЕТЫ)
   ========================================================================== */
@media (max-width: 900px) {
  .tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ==========================================================================
   АДАПТИВНЫЕ СТИЛИ (СМАРТФОНЫ)
   ========================================================================== */
@media (max-width: 768px) {
  .header {
    padding: 30px 15px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .download-title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .logo-img {
    height: 2.4em;
  }

  /* Карточки контента */
  .download-section,
  .advantages-section,
  .tariffs-section,
  .about-section {
    width: 94%;
    margin: 32px auto;
    padding: 30px 16px;
    border-radius: 20px;
  }

  /* Тарифы: Жестко 2 в ряд на мобильных */
  .tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
  }

  .tariff-card {
    padding: 20px 10px;
    border-radius: 16px;
    max-width: 100%;
  }

  .tariff-name {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .tariff-price {
    font-size: 1.45rem;
    margin-bottom: 6px;
  }

  .tariff-period {
    font-size: 12px;
  }

  /* Уведомление */
  .compliance-notice {
    width: 100%;
    padding: 16px 0 0 0; /* Убираем боковые отступы */
    margin-top: 24px;
    font-size: 13px;
  }

  /* Преимущества: в 1 колонку */
  .advantages {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .advantage {
    width: 100%;
    padding: 20px;
  }

  .advantages-description {
    font-size: 14px;
    margin-top: 20px;
    padding: 0 5px;
  }

  .about-section p {
    margin: 12px 5px;
    font-size: 14px;
  }

  /* Селектор ОС */
  .os-selector {
    gap: 8px;
  }

  .os-option {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    padding: 6px;
  }

  .os-option img {
    height: 30px;
    width: 30px;
  }

  .os-option span {
    font-size: 11px;
  }

  /* Главная кнопка */
  .download-btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Футер */
  .footer {
    padding: 30px 16px;
    gap: 16px;
  }

  .footer-links {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links a {
    font-size: 14px;
  }

  .footer-legal p {
    font-size: 10px;
  }
}

/* ==========================================================================
   Стиль для внутренних страниц (Контакты, Оферта, Соглашения)
   ИНТЕГРАЦИЯ С ОСНОВНЫМ ДИЗАЙНОМ (GLASSMORPHISM)
   ========================================================================== */

/* ========== МИНИ-ЗАГОЛОВОК СТРАНИЦЫ ========== */
.page-header {
  background-color: transparent;
  padding: 40px 20px 20px;
  text-align: center;
}

.page-header .logo-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.page-header .logo-img {
  height: 2.5em;
  width: auto;
}

.page-header .logo-text {
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--white);
  text-shadow: var(--shadow-title);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.page-header .page-subtitle {
  font-family: 'Golos Text', sans-serif;
  font-size: 1rem;
  color: var(--text-70);
  margin-top: 8px;
}

/* ========== СТИЛИ КОНТЕЙНЕРА ========== */
.container {
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 48px 56px;
  background: var(--glass-card);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  flex: 1;
  width: calc(100% - 40px);
  text-align: left; /* Оставляем левое выравнивание для удобного чтения */
}

/* ========== ЗАГОЛОВКИ ========== */
.container h1 {
  text-align: center;
  font-family: 'Golos Text', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 30px;
  background: linear-gradient(90deg, var(--accent), var(--accent-grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; 
}

.container h2 {
  font-family: 'Golos Text', sans-serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.container h2:first-of-type {
  margin-top: 10px;
}

/* ========== ТЕКСТ ========== */
.container p {
  font-family: 'Golos Text', sans-serif;
  font-size: 16px;
  color: var(--text-70);
  margin-bottom: 16px;
  line-height: 1.7;
}

.container strong {
  color: var(--white);
  font-weight: 600;
}

/* ========== ССЫЛКИ В ТЕКСТЕ ========== */
.container a:not(.btn-back) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
}

.container a:not(.btn-back):hover {
  color: var(--accent);
  opacity: 0.8;
  text-decoration: none;
}

/* ========== СПИСКИ ========== */
.container ul, .container ol {
  margin: 16px 0 24px;
  padding-left: 24px;
  list-style-type: none; /* Убираем стандартные кружочки */
  color: var(--text-70);
  font-family: 'Golos Text', sans-serif;
}

.container li {
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
  font-size: 16px;
}

/* Неоновые маркеры для маркированного списка */
.container ul li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(31, 242, 124, 0.6);
}

.container ol {
  counter-reset: custom-counter;
}

.container ol li {
  padding-left: 10px;
}

/* Неоновые цифры для нумерованного списка */
.container ol li::before {
  counter-increment: custom-counter;
  content: counter(custom-counter) ".";
  position: absolute;
  left: -20px;
  color: var(--accent);
  font-weight: 600;
}

/* ========== КНОПКА "ВЕРНУТЬСЯ НА ГЛАВНУЮ" ========== */
.btn-back {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05); /* Полупрозрачный фон */
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-family: 'Golos Text', sans-serif;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 80px;
  text-decoration: none !important; /* Отменяем подчеркивание общих ссылок */
  transition: all 0.3s ease;
  font-size: 16px;
  margin: 50px auto 10px;
  width: fit-content;
  min-width: 230px;
}

.btn-back:hover {
  background-color: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0px 8px 20px rgba(31, 242, 124, 0.2);
}

/* ========== АДАПТИВНЫЕ СТИЛИ ДЛЯ ВНУТРЕННИХ СТРАНИЦ ========== */

@media (max-width: 768px) {
  .page-header {
    padding: 30px 15px 15px;
  }

  .page-header .logo-img {
    height: 2em;
  }

  .page-header .logo-text {
    font-size: 1.6rem;
  }

  .container {
    margin: 20px auto 40px;
    padding: 32px 24px;
    width: calc(100% - 30px);
    border-radius: 20px;
  }

  .container h1 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .container h2 {
    font-size: 1.25rem;
    margin-top: 32px;
    padding-bottom: 8px;
  }

  .container p, .container li {
    font-size: 15px;
  }

  .btn-back {
    margin: 40px auto 0;
    padding: 14px 28px;
    font-size: 15px;
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .page-header .logo-text {
    font-size: 1.4rem;
  }

  .container {
    margin: 15px auto 30px;
    padding: 24px 16px;
    width: calc(100% - 16px);
  }

  .container h1 {
    font-size: 1.6rem;
  }

  .container h2 {
    font-size: 1.15rem;
  }

  .container p, .container li {
    font-size: 14px;
  }

  .container ul li::before {
    top: 8px;
  }

  .btn-back {
    width: 100%;
    min-width: unset;
  }
}
