* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
  color: #1e293b;
  line-height: 1.6;
  padding-bottom: 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Навигационное меню */
header {
  background-color: #1e3a8a;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 12px 15px;
}
.logo {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.logo i {
  color: #cff145;
}
nav {
  display: flex;
  align-items: center;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.nav-links a {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-links a:hover {
  background-color: rgba(255,255,255,0.2);
}

/* Кнопка Volet */
.btn-volet {
  background-color: #cff145;
  color: #1e3a8a !important;
  font-weight: 800 !important;
  padding: 8px 18px !important;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(207, 241, 69, 0.4);
  transition: transform 0.2s, background-color 0.2s;
}
.btn-volet:hover {
  background-color: #beee11 !important;
  transform: translateY(-2px);
}

.burger {
  display: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
}

/* Герой-баннер */
.hero {
  text-align: center;
  padding: 40px 15px 25px 15px;
}
.badge-top {
  display: inline-block;
  background: #ffffff;
  color: #0284c7;
  font-size: 22px;
  font-weight: 900;
  padding: 12px 25px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-sub {
  display: block;
  color: #0284c7;
  background: #ffffff;
  font-size: 18px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 30px;
  width: max-content;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-transform: uppercase;
}

/* Блоки контента */
.content-block {
  background-color: #f0f9ff;
  border: 2px solid #bae6fd;
  border-radius: 16px;
  padding: 30px;
  margin-top: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.block-title {
  font-size: 24px;
  color: #0369a1;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  border-bottom: 2px dashed #93c5fd;
  padding-bottom: 12px;
}
.block-title i {
  color: #0284c7;
  font-size: 28px;
}

.text-justify {
  text-align: justify;
  font-size: 16px;
  line-height: 1.7;
}
.text-justify p {
  margin-bottom: 12px;
}

/* Стили для страницы 404 */
.error-page-block {
  text-align: center;
  margin-top: 50px;
  padding: 50px 30px;
}
.error-code {
  font-size: 96px;
  font-weight: 900;
  color: #0284c7;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(2, 132, 199, 0.2);
}

/* Кнопки */
.btn-center-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.cta-btn {
  background: #0284c7;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}
.cta-btn:hover {
  background: #0369a1;
  transform: translateY(-2px);
}

/* Пошаговые списки */
.steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin-top: 15px;
}
.steps-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 50px;
  margin-bottom: 15px;
  text-align: justify;
  font-size: 16px;
}
.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: #0284c7;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

/* Зеркала */
.mirrors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
}
.mirror-btn {
  display: inline-block;
  padding: 15px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s, opacity 0.2s;
}
.mirror-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}
.m-1 { background-color: #ef4444; }
.m-2 { background-color: #8b5cf6; }
.m-3 { background-color: #10b981; }
.m-4 { background-color: #f59e0b; }
.m-5 { background-color: #ec4899; }
.m-6 { background-color: #06b6d4; }
.m-7 { background-color: #3b82f6; }
.m-8 { background-color: #6366f1; }

/* Блок Volet */
.volet-highlight {
  background-color: #1e3a8a;
  border: 3px solid #cff145;
  border-radius: 12px;
  padding: 20px 25px;
  margin-top: 20px;
  color: #ffffff;
  text-align: justify;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 8px 20px rgba(207, 241, 69, 0.3);
}
.volet-highlight .volet-text {
  color: #cff145; 
  font-weight: 800;
  font-size: 17px;
}

/* ТВ Приставки */
.box-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.box-btn {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
  transition: background 0.2s, transform 0.2s;
}
.box-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.box-btn-top {
  background: #f59e0b;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}
.box-subblock {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  margin-top: 15px;
  border-left: 5px solid #0284c7;
}
.box-subblock h4 {
  color: #0369a1;
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center;
}

/* Списки внутри текстов */
.info-list {
  margin-top: 15px;
  margin-bottom: 15px;
  padding-left: 20px;
}
.info-list li {
  margin-bottom: 8px;
  text-align: justify;
}

/* Подвал */
footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 2px dashed #93c5fd;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}
.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: transform 0.2s;
}
.social-btn:hover {
  transform: scale(1.1);
}
.vk { background-color: #0077ff; }
.tg { background-color: #24A1DE; }
.ok { background-color: #ee8208; }

/* Мобильная адаптивность */
@media (max-width: 1100px) {
  .nav-wrapper {
    justify-content: space-between;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1e3a8a;
    padding: 15px 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
  }
  .nav-links.active {
    display: flex;
  }
  .burger {
    display: block;
  }
}
@media (max-width: 768px) {
  .mirrors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-sub {
    width: 100%;
    font-size: 14px;
    white-space: normal;
  }
  .badge-top {
    font-size: 16px;
  }
}