/* SCROLL & TARGET */
html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 80px;
  animation: target-fade 1s;
}

@keyframes target-fade {
  from {
    background-color: rgba(52, 152, 219, 0.1);
  }

  to {
    background-color: transparent;
  }
}

/* Keyframes для мощных эффектов блеска */
@keyframes shimmer {
  0% {
    transform: translateX(-100%) scale(0.8);
    opacity: 0;
  }
  50% {
    transform: translateX(0) scale(1.2);
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
  100% {
    transform: translateX(100%) scale(0.8);
    opacity: 0;
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.8), 0 0 30px rgba(96, 165, 250, 0.4);
  }
}

/* Keyframes для роскошной анимации подменю */
@keyframes luxurySlideDown {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.9) rotateX(10deg);
    filter: blur(5px);
  }
  50% {
    opacity: 0.8;
    transform: translateY(5px) scale(1.02) rotateX(2deg);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Keyframes для пульсации */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(96, 165, 250, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
  }
}

/* Keyframes для элементов подменю */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
body {
  zoom: 80%; /* работает в некоторых браузерах */
}

/* Блокировка прокрутки при открытом меню */
body.menu-open {
  overflow: hidden;
}

/* Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Header и навигация */
header {
  background: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
  height: 70px; /* Фиксированная высота для десктопа */
  display: flex;
  align-items: center;
}

nav {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Логотип */
.logo a {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 
    2px 2px 0px #3498db,
    4px 4px 0px rgba(59, 130, 246, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap; /* Предотвращает перенос текста */
}

.logo:hover a {
  transform: 
    translateY(-4px)
    rotateX(15deg)
    rotateZ(-1deg);
  text-shadow: 
    4px 4px 0px #3498db,
    8px 8px 0px rgba(59, 130, 246, 0.4);
}

/* Меню */
.menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

.menu,
.menu ul,
.menu li,
.submenu,
.submenu ul,
.submenu li {
  list-style: none !important;
  padding-left: 0;
  margin-left: 0;
}

.menu>li {
  position: relative;
  padding: 1rem 0;
}

.menu a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* Мощные эффекты блеска при наведении */
.menu a::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -100%;
  width: 100%;
  height: calc(100% + 4px);
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(96, 165, 250, 0.4) 60%,
    rgba(255, 255, 255, 0.1) 70%,
    transparent 80%
  );
  transition: left 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  border-radius: inherit;
}

.menu a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(96, 165, 250, 0.3) 30%,
    transparent 70%
  );
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
  z-index: 2;
  border-radius: inherit;
}

.menu a:hover::before {
  left: 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.menu a:hover::after {
  left: 100%;
}

.menu a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.3) 0%, rgba(59, 130, 246, 0.4) 100%);
  border: 1px solid rgba(96, 165, 250, 0.6);
  box-shadow: 
    0 15px 35px rgba(96, 165, 250, 0.25),
    0 5px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(96, 165, 250, 0.3);
  transform: translateY(-3px) scale(1.02);
  animation: glow 2s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Роскошное подменю с премиум-эффектами */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, 
    rgba(30, 41, 59, 0.98) 0%, 
    rgba(15, 23, 42, 0.99) 50%, 
    rgba(30, 41, 59, 0.98) 100%);
  border-radius: 1.2rem;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(96, 165, 250, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.9) rotateX(10deg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 240px;
  pointer-events: none;
  z-index: 1000;
  padding: 0.7rem;
  backdrop-filter: blur(25px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.submenu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 25px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(30, 41, 59, 0.98);
  filter: drop-shadow(0 -3px 6px rgba(0, 0, 0, 0.2));
}

.submenu::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(96, 165, 250, 0.1) 50%,
    transparent 70%
  );
  transition: left 0.6s ease;
  z-index: 1;
}

/* Добавляем разделители между элементами подменю */
.submenu li:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -0.175rem;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(96, 165, 250, 0.3) 20%, 
    rgba(96, 165, 250, 0.1) 50%, 
    rgba(96, 165, 250, 0.3) 80%, 
    transparent 100%);
  opacity: 0.5;
}

.menu>li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) rotateX(0deg);
  pointer-events: auto;
  animation: luxurySlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu>li:hover .submenu::after {
  left: 100%;
}

.submenu li {
  margin: 0.2rem 0;
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.submenu li:nth-child(1) { animation-delay: 0.1s; }
.submenu li:nth-child(2) { animation-delay: 0.2s; }
.submenu li:nth-child(3) { animation-delay: 0.3s; }
.submenu li:nth-child(4) { animation-delay: 0.4s; }
.submenu li:nth-child(5) { animation-delay: 0.5s; }

.submenu a {
  padding: 0.6rem 1.4rem !important;
  margin: 0;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e2e8f0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.02) 50%, 
    rgba(96, 165, 250, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  backdrop-filter: blur(5px);
}

.submenu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.1) 35%,
    rgba(96, 165, 250, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 65%,
    transparent 75%
  );
  transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.submenu a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s ease;
  z-index: 3;
}

.submenu a:hover::before {
  left: 100%;
}

.submenu a:hover::after {
  transform: translateY(-50%) scale(1);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

.submenu a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, 
    rgba(96, 165, 250, 0.2) 0%, 
    rgba(59, 130, 246, 0.3) 50%, 
    rgba(96, 165, 250, 0.2) 100%);
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 
    0 8px 25px rgba(96, 165, 250, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(96, 165, 250, 0.3);
  transform: translateX(8px) scale(1.02);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Обновляем стили для элементов подменю с индикаторами */
.submenu a {
  padding: 0.6rem 1.4rem 0.6rem 2rem !important;
}

.submenu a::after {
  content: '▶';
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%) scale(0);
  color: rgba(96, 165, 250, 0.6);
  font-size: 0.7rem;
  transition: all 0.3s ease;
  z-index: 4;
}

.submenu a:hover::after {
  transform: translateY(-50%) scale(1);
  color: rgba(96, 165, 250, 1);
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.8);
}

/* Accessibility - focus states */
.menu a:focus,
.submenu a:focus {
  outline: none;
  box-shadow: 
    0 0 0 2px rgba(96, 165, 250, 0.5),
    0 0 10px rgba(96, 165, 250, 0.3);
}

.hamburger:focus {
  outline: none;
  box-shadow: 
    0 0 0 2px rgba(96, 165, 250, 0.5),
    0 0 10px rgba(96, 165, 250, 0.3);
}

/* Подменю для мобильных */
@media (max-width: 768px) {
  .submenu {
    position: static;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0.5rem 0;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .submenu::before {
    display: none;
  }

  .submenu.active {
    max-height: 500px;
    padding: 0.75rem 0 !important;
  }

  .submenu li {
    padding: 0;
    margin: 0.25rem 0;
  }

  .submenu a {
    padding: 0.75rem 1rem 0.75rem 2.5rem !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    margin: 0 0.5rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
  }

  .submenu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
  }

  .submenu a:hover::before {
    left: 100%;
  }

  .submenu a:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 
      0 4px 15px rgba(96, 165, 250, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
  }
}

/* Hamburger Menu - Улучшенная версия */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Мощный эффект блеска для гамбургера */
.hamburger::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -100%;
  width: 100%;
  height: calc(100% + 4px);
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.3) 40%,
    rgba(96, 165, 250, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 60%,
    transparent 80%
  );
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  border-radius: inherit;
}

.hamburger:hover::before {
  left: 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* Добавляем эффект пульсации при нажатии */
.hamburger::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 2;
}

.hamburger:active::after {
  transform: translate(-50%, -50%) scale(2);
  opacity: 1;
  transition: transform 0.2s ease, opacity 0.1s ease;
}

.hamburger:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hamburger:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 3;
}

.hamburger.active {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.3) 0%, rgba(59, 130, 246, 0.4) 100%);
  box-shadow: 
    0 4px 15px rgba(96, 165, 250, 0.3),
    0 2px 8px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.4);
  animation: pulse 2s infinite;
}

.hamburger.active span {
  background: #ffffff;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
  width: 30px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
  width: 30px;
}

/* Мобильная версия меню */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 0; /* Начинается с самого верха */
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 126vh; /* Увеличенная высота экрана */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.98) 100%);
    box-shadow: 
      -8px 0 25px rgba(0, 0, 0, 0.3),
      -4px 0 12px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 0;
    padding: 90px 0 2rem 0; /* Добавляем отступ сверху под хедер */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto; /* Добавляем прокрутку */
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
    z-index: 999;
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu.show {
    right: 0;
  }

  .menu>li {
    width: 100%;
    padding: 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
  }

  .menu>li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .menu>li:hover::after {
    opacity: 1;
  }

  .menu a {
    padding: 0.7rem 1.2rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.25rem 0;
    position: relative;
    overflow: hidden;
  }

  .menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      110deg,
      transparent 30%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(96, 165, 250, 0.3) 60%,
      transparent 70%
    );
    transition: left 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
  }

  .menu a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
    z-index: 2;
  }

  .menu a:hover::before {
    left: 100%;
    animation: shimmer 1.2s ease-in-out infinite;
  }

  .menu a:hover::after {
    transform: translateY(-50%) scale(1);
    animation: sparkle 1.5s ease-in-out infinite;
  }

  .menu a:hover {
    background: linear-gradient(135deg, 
      rgba(96, 165, 250, 0.2) 0%, 
      rgba(59, 130, 246, 0.3) 50%, 
      rgba(96, 165, 250, 0.2) 100%);
    border: 1px solid rgba(96, 165, 250, 0.4);
    box-shadow: 
      0 10px 30px rgba(96, 165, 250, 0.15),
      0 3px 10px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      0 0 0 1px rgba(96, 165, 250, 0.2);
    transform: translateX(6px) scale(1.01);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  }
  
  /* Добавляем индикатор для подменю */
  .menu a .submenu-toggle {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
  }
  
  .menu a .submenu-toggle::before,
  .menu a .submenu-toggle::after {
    content: '';
    position: absolute;
    background-color: #cbd5e1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .menu a .submenu-toggle::before {
    width: 12px;
    height: 2px;
  }
  
  .menu a .submenu-toggle::after {
    width: 2px;
    height: 12px;
    transition: transform 0.3s ease;
  }
  
  .menu a.active .submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  /* Стили для стрелок подменю */
  .submenu-arrow {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: all 0.3s ease;
    margin-left: auto;
  }

  .menu a.active .submenu-arrow {
    transform: rotate(180deg);
    color: #60a5fa;
  }

  .submenu-arrow:hover {
    color: #60a5fa;
  }
}

@media (max-width: 768px) {
  header {
    height: 60px; /* Уменьшаем высоту для планшетов */
    padding: 0.5rem 1rem;
  }

  .menu {
    top: 0; /* Начинается с самого верха */
    height: 126vh; /* Увеличенная высота экрана */
    max-width: none; /* Убираем ограничение ширины */
    padding: 80px 0 2rem 0; /* Добавляем отступ сверху под хедер */
    margin-top: -1px; /* Фикс микро-щели */
    transform: translateX(100%); /* Для плавной анимации */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    right: 0; /* Важно для правильной работы transform */
    width: 100%;
  }

  .menu.show {
    transform: translateX(0);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.3); /* Более выраженная тень */
  }

  .menu > li {
    padding: 0 0.5rem; /* Уменьшаем горизонтальные отступы */
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Более тонкий разделитель */
  }

  .menu a {
    padding: 0.75rem 1rem; /* Меньшие отступы */
    font-size: 0.95rem; /* Чуть уменьшенный шрифт */
    border-radius: 0.5rem; /* Меньший радиус */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0.2rem 0;
    position: relative;
    overflow: hidden;
  }

  .menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.5s ease;
  }

  .menu a:hover::before {
    left: 100%;
  }

  .menu a:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12) 0%, rgba(59, 130, 246, 0.18) 100%);
    border: 1px solid rgba(96, 165, 250, 0.25);
    box-shadow: 
      0 6px 20px rgba(96, 165, 250, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
  }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
  header {
    height: 50px; /* Еще меньше высота для мобильных */
    padding: 0.5rem 0.75rem;
  }
  
  .menu {
    top: 0; /* Начинается с самого верха */
    height: 126vh; /* Увеличенная высота экрана */
    padding: 70px 0 2rem 0; /* Добавляем отступ сверху под хедер */
  }
  
  .menu a {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }
  
  .menu > li {
    padding: 0 0.25rem;
  }
  
  .logo a {
    font-size: 1.4rem; /* Уменьшаем размер логотипа */
    text-shadow: 
      1px 1px 0px #3498db,
      2px 2px 0px rgba(59, 130, 246, 0.4);
  }
}

/* Экстра-маленькие экраны (до 345px) */
@media (max-width: 345px) {
  /* Хедер и навигация */
  header {
    height: 45px; /* Минимальная высота для очень маленьких экранов */
    padding: 0.4rem 0.6rem;
  }
  
  .menu {
    top: 0; /* Начинается с самого верха */
    height: 126vh; /* Увеличенная высота экрана */
    padding: 65px 0 2rem 0; /* Добавляем отступ сверху под хедер */
  }
  
  .logo a {
    font-size: 1.2rem; /* Еще меньше размер логотипа */
    text-shadow: 
      1px 1px 0px #3498db,
      1px 1px 0px rgba(59, 130, 246, 0.4);
  }
  
  .menu a {
    font-size: 0.85rem;
    padding: 0.5rem 0.7rem;
  }
  
  /* Полностью переработанный гамбургер для очень маленьких экранов */
  .hamburger {
    padding: 7px;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.2) 0%, rgba(49, 130, 206, 0.3) 100%); /* Градиентный фон */
    border-radius: 6px;
    margin-left: 2px;
    box-shadow: 
      0 2px 5px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(66, 153, 225, 0.2),
      inset 0 1px 1px rgba(255, 255, 255, 0.1); /* Внутренняя подсветка */
    position: relative;
    overflow: hidden;
    z-index: 1001;
    width: 34px; /* Фиксированная ширина */
    height: 30px; /* Фиксированная высота */
    justify-content: center;
    align-items: center;
  }
  
  /* Эффект свечения при нажатии */
  .hamburger::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transform: scale(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
  }
  
  .hamburger:active::after {
    opacity: 1;
    transform: scale(2);
    transition: transform 0.2s ease, opacity 0.1s ease;
  }
  
  .hamburger:hover {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.3) 0%, rgba(49, 130, 206, 0.4) 100%);
    transform: translateY(-1px);
    box-shadow: 
      0 3px 6px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(66, 153, 225, 0.3),
      inset 0 1px 1px rgba(255, 255, 255, 0.2);
  }
  
  .hamburger:active {
    transform: translateY(1px);
    box-shadow: 
      0 1px 3px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(66, 153, 225, 0.3),
      inset 0 1px 1px rgba(255, 255, 255, 0.1);
  }
  
  .hamburger span {
    width: 18px;
    height: 2px;
    margin: 0;
    border-radius: 1px;
    background: #ffffff;
    box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
  }
  
  .hamburger span:nth-child(1) {
    transform: translateY(-4px);
  }
  
  .hamburger span:nth-child(2) {
    transform: translateY(0);
  }
  
  .hamburger span:nth-child(3) {
    transform: translateY(4px);
  }
  
  /* Улучшенная анимация крестика */
  .hamburger.active {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.4) 0%, rgba(49, 130, 206, 0.5) 100%);
    box-shadow: 
      0 2px 5px rgba(66, 153, 225, 0.3),
      0 0 0 1px rgba(66, 153, 225, 0.3),
      inset 0 1px 1px rgba(255, 255, 255, 0.2);
  }
  
  .hamburger.active span {
    background: #ffffff;
    box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.4);
    width: 18px; /* Фиксированная ширина для крестика */
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-5px) scale(0.5);
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
  
  /* Улучшенное мобильное меню для маленьких экранов */
  .menu.show {
    box-shadow: -6px 0 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 100%);
    backdrop-filter: blur(20px);
  }
  
  .menu > li {
    border-bottom: 1px solid rgba(96, 165, 250, 0.15); /* Синеватый разделитель */
    position: relative;
  }

  .menu > li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .menu > li:hover::after {
    opacity: 1;
  }
  
  .menu a {
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.5rem;
    margin: 0.2rem 0;
    position: relative;
    overflow: hidden;
  }

  .menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.5s ease;
  }

  .menu a:hover::before {
    left: 100%;
  }

  .menu a:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    transform: translateX(3px);
  }
  
  .submenu {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    margin: 0.5rem 0;
  }
  
  .submenu a {
    padding: 0.7rem 1rem 0.7rem 2rem !important;
    font-size: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin: 0.2rem 0.5rem;
  }

  .submenu a:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
    border: 1px solid rgba(96, 165, 250, 0.15);
    transform: translateX(2px);
  }
}

@media (max-width: 768px) {
  /* Хедер - улучшенная версия */
  header {
    padding: 0.5rem 1rem;
    height: 60px; /* Фиксированная высота для согласованности */
  }
  
  .logo a {
    font-size: 1.6rem; /* Уменьшаем размер логотипа */
  }

  /* Меню - улучшенная версия */
  .menu {
    width: 100%;
    height: 126vh; /* Увеличенная высота экрана */
    top: 0; /* Начинается с самого верха */
    padding: 80px 0 2rem 0; /* Добавляем отступ сверху под хедер */
    background-color: #0f172a;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); /* Улучшенная анимация */
    overflow-y: auto; /* Добавляем прокрутку */
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
    padding-bottom: env(safe-area-inset-bottom); /* Учитываем нижнюю панель на iPhone X+ */
  }
  
  .menu.show {
    transform: translateX(0);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3); /* Усиленная тень */
  }
  
  .menu > li {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .menu a {
    padding: 1rem 1.5rem;
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: center;
  }
  
  /* Улучшенное подменю для мобильных */
  .submenu {
    position: static;
    width: 100%;
    background: rgba(0, 0, 0, 0.15); /* Более заметный фон */
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0; /* Убираем скругление */
  }
  
  .submenu.active {
    max-height: 500px;
    padding: 0.5rem 0;
  }
  
  .submenu a {
    padding-left: 2.5rem !important;
    font-size: 0.9rem; /* Немного меньший шрифт для подменю */
  }

  /* Иконка бургер-меню - значительно улучшенная для 768px */
  .hamburger {
    display: flex;
    padding: 10px; /* Уменьшаем отступы */
    margin-left: 5px; /* Уменьшаем отступ слева */
    background: rgba(66, 153, 225, 0.15); /* Синеватый фон для лучшей видимости */
    border-radius: 8px; /* Уменьшаем радиус */
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Менее заметная тень */
    position: relative;
    overflow: hidden;
    width: 42px; /* Фиксированная ширина */
    height: 38px; /* Фиксированная высота */
    justify-content: center; /* Центрируем содержимое */
    align-items: center; /* Центрируем содержимое */
  }
  
  /* Добавляем эффект свечения при наведении */
  .hamburger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(66, 153, 225, 0.3) 0%, rgba(66, 153, 225, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
  }
  
  .hamburger:hover::before {
    opacity: 1;
  }
  
  .hamburger:hover {
    background: rgba(66, 153, 225, 0.25); /* Более яркий фон при наведении */
    transform: translateY(-1px); /* Менее заметный эффект подъема */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(66, 153, 225, 0.2);
  }
  
  .hamburger:active {
    transform: translateY(1px); /* Эффект нажатия */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }
  
  .hamburger span {
    width: 24px; /* Уменьшаем ширину */
    height: 2.5px; /* Уменьшаем толщину */
    margin: 2px 0;
    border-radius: 2px; /* Уменьшаем скругление */
    background: #ffffff; /* Яркий белый цвет */
    box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.2); /* Менее заметная тень */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute; /* Абсолютное позиционирование для лучшего контроля */
  }
  
  .hamburger span:nth-child(1) {
    transform: translateY(-6px); /* Верхняя линия */
  }
  
  .hamburger span:nth-child(2) {
    transform: translateY(0); /* Средняя линия */
  }
  
  .hamburger span:nth-child(3) {
    transform: translateY(6px); /* Нижняя линия */
  }
  
  /* Улучшенная анимация крестика */
  .hamburger.active {
    background: rgba(66, 153, 225, 0.35); /* Более насыщенный синий фон */
    box-shadow: 0 2px 6px rgba(66, 153, 225, 0.3), 0 0 0 1px rgba(66, 153, 225, 0.2);
  }
  
  .hamburger.active span {
    background: #ffffff;
    width: 24px; /* Фиксированная ширина для крестика */
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg); /* Упрощенная трансформация */
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px) scale(0.5);
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg); /* Упрощенная трансформация */
  }
}

  /* Анимация подчеркивания */
  .menu a::after {
    height: 1px; /* Тонкая линия для маленьких экранов */
    bottom: -2px;
  }
  
  /* Индикатор для подменю */
  .menu a .submenu-indicator {
    width: 16px;
    height: 16px;
    position: relative;
    transition: transform 0.3s ease;
  }
  
  .menu a .submenu-indicator::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-right: 2px solid #cbd5e1;
    border-bottom: 2px solid #cbd5e1;
    transform: rotate(45deg);
    top: 2px;
    right: 4px;
    transition: transform 0.3s ease;
  }
  
  .menu a.active .submenu-indicator::after {
    transform: rotate(-135deg);
  }
}

@media (max-width: 480px) {
  header {
    height: 50px;
    padding: 0.4rem 0.8rem;
  }
  
  .logo a {
    font-size: 1.4rem;
  }
  
  /* Улучшенные стили для гамбургера на экранах до 480px */
  .hamburger {
    padding: 8px;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.18) 0%, rgba(49, 130, 206, 0.25) 100%);
    border-radius: 7px;
    box-shadow: 
      0 2px 5px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(66, 153, 225, 0.15),
      inset 0 1px 1px rgba(255, 255, 255, 0.1);
    width: 38px; /* Фиксированная ширина */
    height: 34px; /* Фиксированная высота */
  }
  
  .hamburger:hover {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.25) 0%, rgba(49, 130, 206, 0.35) 100%);
  }
  
  .hamburger span {
    width: 22px;
    height: 2px;
    margin: 0;
  }
  
  .hamburger span:nth-child(1) {
    transform: translateY(-5px);
  }
  
  .hamburger span:nth-child(3) {
    transform: translateY(5px);
  }
  
  .hamburger.active span {
    width: 22px;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
  
  /* Дополнительные правки для маленьких смартфонов */
  .menu {
    top: 0; /* Начинается с самого верха */
    height: 126vh; /* Увеличенная высота экрана */
    padding: 60px 0 2rem 0; /* Добавляем отступ сверху под хедер */
  }
  
  .menu li {
    padding: 0.5rem 1rem;
  }
  
  .menu a {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
  
  .submenu a {
    padding-left: 2rem !important;
    font-size: 0.8rem;
  }
  
  /* Улучшенные эффекты для мобильного меню */
  .menu.show {
    box-shadow: -4px 0 18px rgba(0, 0, 0, 0.35);
  }
  
  .menu > li {
    border-bottom: 1px solid rgba(66, 153, 225, 0.08);
  }
  
  .menu a:active {
    background: rgba(66, 153, 225, 0.15);
  }
}



/* Hero Section */
.hero-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content */
.hero-content {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.125rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ebf8ff;
    border-radius: 8px;
    color: #4299e1;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 500;
    color: #4a5568;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-button {
    display: inline-block;
    background-color: #4299e1;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.2);
}

.hero-button:hover {
    background-color: #3182ce;
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(66, 153, 225, 0.3);
}

.hero-link {
    color: #4299e1;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.hero-link:hover {
    color: #3182ce;
}

.arrow {
    transition: transform 0.3s ease;
}

.hero-link:hover .arrow {
    transform: translateX(5px);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Стили для адаптивного отображения */
.server-illustration {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    transition: all 0.3s ease;
}

.server-image {
    max-width: 100%;
    height: auto;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Blob Shapes */
.blob-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background-color: #4299e1;
    top: -50px;
    right: -30px;
    animation: pulse 6s infinite alternate;
}

.blob-2 {
    width: 200px;
    height: 200px;
    background-color: #3182ce;
    bottom: -30px;
    left: 50px;
    animation: pulse 8s 1s infinite alternate;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.25rem;
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    /* Скрываем изображение при ширине экрана 992px и меньше */
    .server-illustration {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-button, .hero-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .blob-1, .blob-2 {
        display: none;
    }
}

/* Экстра-маленькие экраны (до 345px) */
@media (max-width: 345px) {
    .hero-section {
        padding: 40px 0 60px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-feature {
        gap: 0.7rem;
    }
    
    .feature-icon {
        width: 30px;
        height: 30px;
    }
    
    .feature-text {
        font-size: 0.85rem;
    }
    
    .hero-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-link {
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content, .blob-1, .blob-2 {
        animation: none;
    }
    
    .hero-button:hover, .hero-link:hover .arrow {
        transform: none;
    }
}


/* Services Section */
/* Секция тарифов VDS */
.vds-pricing-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 3rem;
}

/* Контейнер с тарифами VDS - оптимизированный */
.vds-pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 0 auto 60px;
    max-width: 1100px;
}

/* Карточка тарифа VDS - улучшенная */
.vds-plan {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #e2e8f0;
    min-width: 280px;
}

.vds-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Популярный тариф VDS - улучшенный */
.vds-plan-popular {
    border: 2px solid #4299e1;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.15);
}

.vds-plan-popular:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(66, 153, 225, 0.2);
}

.vds-plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #4299e1;
    color: white;
    padding: 0.3rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0 0 0 10px;
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.3);
}

/* Шапка тарифа VDS - оптимизированная */
.vds-plan-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(to right, #f7fafc, #edf2f7);
}

.vds-plan-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-weight: 700;
}

.vds-plan-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
}

.vds-plan-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
}

.vds-plan-currency {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
}

.vds-plan-period {
    font-size: 1.1rem;
    color: #718096;
    margin-left: 0.25rem;
}

/* Характеристики тарифа VDS - улучшенные */
.vds-plan-features {
    padding: 2rem;
}

.vds-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vds-plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #edf2f7;
}

.vds-plan-features li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    color: #4299e1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}

/* Оптимизированные SVG иконки */
.cpu-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234299e1"><path d="M9 2v2H7v2H5v2H3v8h2v2h2v2h2v2h8v-2h2v-2h2v-2h2V8h-2V6h-2V4h-2V2H9zm1 2h4v2h2v2h2v4h-2v2h-2v2h-4v-2H8v-2H6V8h2V6h2V4z"/></svg>');
}

.ram-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234299e1"><path d="M4 4h16v8h-2v2h2v6H4v-6h2v-2H4V4zm14 2H6v4h2v2H6v4h12v-4h-2v-2h2V6z"/></svg>');
}

.disk-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234299e1"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>');
}

.bandwidth-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234299e1"><path d="M23 12l-4-4v3h-9v2h9v3l4-4zM1 12l4 4v-3h9v-2H5V8l-4 4z"/></svg>');
}

.ip-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234299e1"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93z"/></svg>');
}

.feature-name {
    flex: 1;
    font-weight: 500;
    color: #4a5568;
}

.feature-value {
    font-weight: 700;
    color: #2d3748;
    padding: 0.2rem 0.5rem;
    background-color: rgba(66, 153, 225, 0.1);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.vds-plan:hover .feature-value {
    background-color: rgba(66, 153, 225, 0.2);
}

/* Футер тарифа VDS - улучшенный */
.vds-plan-footer {
    padding: 2rem;
    text-align: center;
    background-color: #f7fafc;
}

.vds-plan-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #4299e1;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.3);
}

.vds-plan-button:hover {
    background-color: #3182ce;
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(66, 153, 225, 0.4);
}

.vds-plan-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(66, 153, 225, 0.3);
}

.vds-plan-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.3);
}

/* Дополнительные преимущества VDS - оптимизированные */
.vds-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.vds-feature {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vds-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.vds-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ebf8ff;
    color: #4299e1;
    border-radius: 50%;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.vds-feature:hover .vds-feature-icon {
    background-color: #bee3f8;
    transform: scale(1.1);
}

.vds-feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.vds-feature-text {
    color: #718096;
    line-height: 1.6;
}

/* Анимации - оптимизированные */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vds-plan:nth-child(1) {
    animation: fadeInUp 0.5s 0.1s ease-out both;
}

.vds-plan:nth-child(2) {
    animation: fadeInUp 0.5s 0.2s ease-out both;
}

.vds-plan:nth-child(3) {
    animation: fadeInUp 0.5s 0.3s ease-out both;
}

/* АДАПТИВНОСТЬ - УЛУЧШЕННАЯ */

/* Очень маленькие экраны до 354px */
@media (max-width: 354px) {
    .vds-pricing-plans {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 8px;
        margin-bottom: 30px;
    }
    
    .vds-plan {
        min-width: auto;
    }
    
    .vds-plan-popular {
        transform: none;
        z-index: auto;
    }
    
    .vds-plan-popular:hover {
        transform: translateY(-8px);
    }
    
    .vds-plan-header {
        padding: 1.2rem 1rem;
    }
    
    .vds-plan-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .vds-plan-amount {
        font-size: 2.2rem;
    }
    
    .vds-plan-currency {
        font-size: 1.3rem;
    }
    
    .vds-plan-period {
        font-size: 0.85rem;
    }
    
    .vds-plan-features {
        padding: 1.2rem 1rem;
    }
    
    .vds-plan-features li {
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
    }
    
    .feature-icon {
        width: 18px;
        height: 18px;
        margin-right: 0.7rem;
    }
    
    .feature-name {
        font-size: 0.8rem;
    }
    
    .feature-value {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }
    
    .vds-plan-footer {
        padding: 1.2rem 1rem;
    }
    
    .vds-plan-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.85rem;
    }
    
    .vds-plan-badge {
        padding: 0.3rem 1rem;
        font-size: 0.7rem;
    }
    
    .vds-features {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 2rem;
        padding: 0 8px;
    }
    
    .vds-feature {
        padding: 1.2rem;
    }
    
    .vds-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .vds-feature-title {
        font-size: 1rem;
    }
    
    .vds-feature-text {
        font-size: 0.85rem;
    }
}

/* Маленькие телефоны 355px - 480px */
@media (min-width: 355px) and (max-width: 480px) {
    .vds-pricing-plans {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 12px;
        margin-bottom: 40px;
    }
    
    .vds-plan-popular {
        transform: scale(1.02);
    }
    
    .vds-plan-header {
        padding: 1.5rem 1.2rem;
    }
    
    .vds-plan-title {
        font-size: 1.25rem;
        margin-bottom: 1.2rem;
    }
    
    .vds-plan-amount {
        font-size: 2.8rem;
    }
    
    .vds-plan-currency {
        font-size: 1.5rem;
    }
    
    .vds-plan-period {
        font-size: 0.95rem;
    }
    
    .vds-plan-features {
        padding: 1.5rem 1.2rem;
    }
    
    .feature-icon {
        width: 20px;
        height: 20px;
        margin-right: 0.8rem;
    }
    
    .feature-name {
        font-size: 0.85rem;
    }
    
    .feature-value {
        font-size: 0.8rem;
        padding: 0.18rem 0.45rem;
    }
    
    .vds-plan-footer {
        padding: 1.5rem 1.2rem;
    }
    
    .vds-plan-button {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
    
    .vds-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 12px;
    }
    
    .vds-feature {
        padding: 1.5rem;
    }
    
    .vds-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .vds-feature-title {
        font-size: 1.1rem;
    }
    
    .vds-feature-text {
        font-size: 0.9rem;
    }
}

/* Экстра-маленькие экраны (до 345px) */
@media (max-width: 345px) {
    .vds-pricing-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .section-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .vds-pricing-plans {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 8px;
        margin-bottom: 30px;
    }
    
    .vds-plan {
        border-radius: 8px;
    }
    
    .vds-plan-popular {
        transform: scale(1);
        border-width: 2px;
    }
    
    .vds-plan-header {
        padding: 1.2rem 1rem;
    }
    
    .vds-plan-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .vds-plan-amount {
        font-size: 2rem;
    }
    
    .vds-plan-currency {
        font-size: 1.2rem;
    }
    
    .vds-plan-period {
        font-size: 0.8rem;
    }
    
    .vds-plan-features {
        padding: 1.2rem 1rem;
    }
    
    .vds-plan-features li {
        margin-bottom: 0.7rem;
        padding-bottom: 0.7rem;
    }
    
    .feature-icon {
        width: 16px;
        height: 16px;
        margin-right: 0.6rem;
    }
    
    .feature-name {
        font-size: 0.8rem;
    }
    
    .feature-value {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
    
    .vds-plan-footer {
        padding: 1.2rem 1rem;
    }
    
    .vds-plan-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
        width: 100%;
    }
    
    .vds-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 0 5px;
    }
    
    .vds-feature {
        padding: 1rem;
    }
    
    .vds-feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .vds-feature-title {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }
    
    .vds-feature-text {
        font-size: 0.8rem;
    }
}

/* Большие телефоны 481px - 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .vds-pricing-plans {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0 20px;
        margin-bottom: 50px;
        max-width: 500px;
    }
    
    .vds-plan-popular {
        transform: scale(1.03);
    }
    
    .vds-plan-header {
        padding: 1.8rem 1.5rem;
    }
    
    .vds-plan-title {
        font-size: 1.4rem;
        margin-bottom: 1.3rem;
    }
    
    .vds-plan-amount {
        font-size: 3.2rem;
    }
    
    .vds-plan-currency {
        font-size: 1.6rem;
    }
    
    .vds-plan-period {
        font-size: 1rem;
    }
    
    .vds-plan-features {
        padding: 1.8rem 1.5rem;
    }
    
    .feature-icon {
        width: 22px;
        height: 22px;
        margin-right: 0.9rem;
    }
    
    .feature-name {
        font-size: 0.9rem;
    }
    
    .feature-value {
        font-size: 0.85rem;
    }
    
    .vds-plan-footer {
        padding: 1.8rem 1.5rem;
    }
    
    .vds-plan-button {
        padding: 1rem 2.2rem;
        font-size: 0.95rem;
    }
    
    .vds-features {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 0 20px;
    }
}

/* Планшеты 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .vds-pricing-plans {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 25px;
        max-width: 800px;
    }
    
    .vds-plan:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .vds-plan-header {
        padding: 1.8rem 1.5rem;
    }
    
    .vds-plan-title {
        font-size: 1.35rem;
    }
    
    .vds-plan-amount {
        font-size: 3rem;
    }
    
    .vds-plan-currency {
        font-size: 1.6rem;
    }
    
    .vds-plan-features {
        padding: 1.8rem 1.5rem;
    }
    
    .vds-features {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 25px;
    }
    
    .vds-feature:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Маленькие десктопы 1025px - 1200px */
@media (min-width: 1025px) and (max-width: 1200px) {
    .vds-pricing-plans {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 950px;
        padding: 0 30px;
    }
    
    .vds-plan-header {
        padding: 1.8rem;
    }
    
    .vds-plan-title {
        font-size: 1.4rem;
    }
    
    .vds-plan-amount {
        font-size: 3.2rem;
    }
    
    .vds-plan-features {
        padding: 1.8rem;
    }
    
    .vds-features {
        padding: 0 30px;
    }
}

/* Большие десктопы от 1201px */
@media (min-width: 1201px) {
    .vds-pricing-plans {
        padding: 0 40px;
    }
    
    .vds-features {
        padding: 0 40px;
    }
}

/* Улучшения для доступности */
@media (prefers-reduced-motion: reduce) {
    .vds-plan,
    .vds-plan-popular,
    .vds-feature,
    .vds-plan-button {
        transition: none;
        animation: none;
    }
    
    .vds-plan:hover,
    .vds-plan-popular:hover,
    .vds-feature:hover,
    .vds-plan-button:hover {
        transform: none;
    }
}

/* Оптимизация производительности */
@media (pointer: coarse) {
    .vds-plan-button {
        padding: 1.2rem 2.5rem;
        min-height: 48px;
    }
}

/* Оптимизация для печати */
@media print {
    .vds-pricing-plans {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .vds-plan {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        flex: 1 0 45%;
    }
    
    .vds-plan-button {
        background-color: transparent;
        color: #4299e1;
        border: 1px solid currentColor;
        box-shadow: none;
    }
    
    .vds-feature-icon {
        border: 1px solid #4299e1;
        background-color: transparent;
    }
    
    .vds-features {
        display: flex;
        flex-wrap: wrap;
    }
    
    .vds-feature {
        flex: 1 0 45%;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Улучшение для высоких экранов */
@media (min-height: 900px) {
    .vds-plan {
        display: flex;
        flex-direction: column;
    }
    
    .vds-plan-features {
        flex-grow: 1;
    }
}


/* Блок с доступными локациями VDS */
.vds-locations {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.vds-locations h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #3498db;
  font-size: 2rem;
}

.vds-locations .locations-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

.vds-locations .location-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vds-locations .location-item img {
  max-width: 50px;
  height: auto;
}

.vds-locations .location-item p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
}
.advantages {
    padding: 80px 0;
    background: #f7fafc;
    position: relative;
}

.section-inner {
    max-width: 1200px; /* Ограничиваем общую ширину секции */
    margin: 0 auto;
    padding: 0 20px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantage-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 12px 24px -6px rgba(0, 32, 71, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 2px solid rgba(52, 144, 220, 0.1);
    border-radius: 16px;
    z-index: 1;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 32, 71, 0.1);
}

.advantage-item i {
    font-size: 2.8rem;
    color: #2c87f0;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.advantage-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a365d;
    position: relative;
    z-index: 2;
}

.advantage-item p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}
/* Секция преимуществ */
.advantages {
    padding: 80px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.1) 0%, rgba(66, 153, 225, 0) 70%);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: 1;
}

.advantages::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.1) 0%, rgba(66, 153, 225, 0) 70%);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4299e1, #63b3ed);
    border-radius: 2px;
}

/* Обновленная сетка для 10 элементов */
/* Секция преимуществ */
.advantages {
    padding: 80px 0;
    /* Изменен фон на градиент для контраста с основным фоном #f9fafb */
    background: linear-gradient(135deg, #ffffff 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.1) 0%, rgba(66, 153, 225, 0) 70%);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: 1;
}

.advantages::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.1) 0%, rgba(66, 153, 225, 0) 70%);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
    z-index: 1;
}

/* Добавлен декоративный элемент для визуального разделения */
.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #4299e1, #63b3ed, #90cdf4);
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Улучшенные стили для заголовков секций */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4299e1, #7f9cf5);
    margin: 15px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Эффект при наведении на заголовок */
.section-title:hover:after {
    width: 120px;
}

/* Анимация появления заголовка */
.section-title {
    animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Обновленные стили для блока преимуществ */
.features-section {
    padding: 80px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.03) 0%, rgba(49, 130, 206, 0.05) 100%);
    z-index: 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.features-heading {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 60px;
    position: relative;
}

.features-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4299e1, #3182ce);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4299e1, #3182ce);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(49, 130, 206, 0.1);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    color: #3182ce;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.15);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Анимация для блоков */
.animated {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Задержка анимации для разных блоков */
.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.2s; }
.feature-box:nth-child(3) { animation-delay: 0.3s; }
.feature-box:nth-child(4) { animation-delay: 0.4s; }
.feature-box:nth-child(5) { animation-delay: 0.5s; }
.feature-box:nth-child(6) { animation-delay: 0.6s; }
.feature-box:nth-child(7) { animation-delay: 0.7s; }
.feature-box:nth-child(8) { animation-delay: 0.8s; }
.feature-box:nth-child(9) { animation-delay: 0.9s; }
.feature-box:nth-child(10) { animation-delay: 1s; }

/* Адаптивность */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .features-heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }
    
    .features-heading {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }
    
    .feature-box {
        padding: 25px;
    }
    
    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animated {
        animation: none;
        opacity: 1;
    }
    
    .feature-box:hover {
        transform: none;
    }
}





/* Общие стили для секций */
.additional-resources-section,
.control-panels-section,
.os-section {
    padding: 70px 0;
    background-color: #f8fafc;
}

.additional-resources-section:nth-child(even),
.control-panels-section:nth-child(even),
.os-section:nth-child(even) {
    background-color: #ffffff;
}

.resource-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4299e1, #7f9cf5);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Улучшенные стили для таблиц */
.table-responsive {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease; /* Добавлен плавный переход */
}

.table-responsive:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); /* Эффект при наведении */
}

.resources-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.resources-table thead {
    background: linear-gradient(135deg, #4299e1, #7f9cf5);
    color: #ffffff;
}

.resources-table th {
    padding: 15px 20px;
    font-weight: 600;
    text-align: left;
    font-size: 1.1rem;
}

.resources-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    transition: background-color 0.2s ease; /* Плавный переход для ячеек */
}

/* Улучшенный эффект при наведении на строку */
.resources-table tbody tr:hover {
    background-color: rgba(66, 153, 225, 0.05);
}

/* Добавляем анимацию для таблиц */
.table-responsive {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Улучшенные стили для примечаний */
.resources-note {
    text-align: center;
    color: #718096;
    font-style: italic;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: rgba(66, 153, 225, 0.05);
    border-radius: 8px;
    border-left: 3px solid #4299e1;
    transition: all 0.3s ease;
}

.resources-note:hover {
    background-color: rgba(66, 153, 225, 0.1);
    transform: translateY(-2px);
}

/* Улучшенные стили для панелей управления */
.panel-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.panel-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Добавляем эффект при наведении на логотип */
.resources-table tr:hover .panel-logo {
    transform: scale(1.1);
}

/* Улучшенный стиль для строк с панелями */
.panels-table tr {
    transition: all 0.3s ease;
}

.panels-table tr:hover {
    background-color: rgba(66, 153, 225, 0.05);
}


/* Улучшенные стили для сетки OS */
.os-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.os-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Улучшенная анимация */
    position: relative;
    overflow: hidden;
}

/* Добавляем эффект свечения при наведении */
.os-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #4299e1, #7f9cf5);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.os-logo:hover::before {
    opacity: 0.3;
}

.os-logo:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(66, 153, 225, 0.15);
}

.os-logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.os-logo:hover img {
    transform: scale(1.1);
}

/* Добавляем анимацию появления для каждого логотипа */
.os-logo {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.os-logo:nth-child(1) { animation-delay: 0.1s; }
.os-logo:nth-child(2) { animation-delay: 0.2s; }
.os-logo:nth-child(3) { animation-delay: 0.3s; }
.os-logo:nth-child(4) { animation-delay: 0.4s; }
.os-logo:nth-child(5) { animation-delay: 0.5s; }
.os-logo:nth-child(6) { animation-delay: 0.6s; }
.os-logo:nth-child(7) { animation-delay: 0.7s; }
.os-logo:nth-child(8) { animation-delay: 0.8s; }
.os-logo:nth-child(9) { animation-delay: 0.9s; }
.os-logo:nth-child(10) { animation-delay: 1s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Улучшенная адаптивность */
@media (max-width: 992px) {
    .os-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .additional-resources-section,
    .control-panels-section,
    .os-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .resources-table th,
    .resources-table td {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .os-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .os-logo img {
        max-width: 60px;
        max-height: 60px;
    }
    
    /* Улучшенное отображение на мобильных */
    .resources-table {
        font-size: 0.9rem;
    }
    
    .resources-note {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .os-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Удаляем центрирование для панелей управления на мобильных устройствах */
    .panel-logo-container {
        flex-direction: column;
        gap: 8px;
        text-align: left; /* Меняем с center на left */
        align-items: flex-start; /* Добавляем выравнивание по левому краю */
    }
    
    .panel-logo {
        margin: 0; /* Удаляем автоматические отступы */
    }
    
    /* Улучшение отображения таблиц на маленьких экранах */
    .resources-table th,
    .resources-table td {
        padding: 10px 12px;
    }
}
/* Улучшения для доступности */
@media (prefers-reduced-motion: reduce) {
    .os-logo, 
    .section-title, 
    .resources-table tbody tr,
    .resources-note {
        animation: none !important;
        transition: none !important;
    }
    
    .os-logo:hover,
    .resources-note:hover {
        transform: none !important;
    }
}

/* Оптимизация производительности */
@media (pointer: coarse) {
    /* Увеличиваем размер кликабельных элементов для сенсорных устройств */
    .os-logo {
        padding: 25px;
    }
    
    .resources-table td,
    .resources-table th {
        padding: 15px 20px;
    }
}




/* FAQ стили */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-grid {
    margin-top: 50px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f8fafc;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
}

.faq-icon {
    font-size: 1.5rem;
    color: #4299e1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #718096;
    line-height: 1.6;
}

/* Адаптивность */

@media (max-width: 768px) {
 .faq-section {
        padding: 60px 0;
     padding: 60px 0;
    }
    

}

@media (max-width: 480px) {

    
    .faq-question h3 {
        font-size: 1rem;
    }
}



  /* 1. Общие адаптивные настройки */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* 2. Адаптация Hero Section */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}

/* 3. Услуги и карточки */
@media (max-width: 768px) {
  .services {
    padding: 3rem 1rem;
  }

  .service-cards {
    grid-template-columns: minmax(250px, 1fr);
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }
}

/* 4. Таблицы данных */
@media (max-width: 480px) {
  .data-table th,
  .data-table td {
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  .panel-title {
    font-size: 0.9rem;
  }

  .price-tag {
    font-size: 0.85rem;
  }
}

/* 5. Локации VDS */
@media (max-width: 480px) {
  .vds-locations .locations-container {
    gap: 15px;
  }

  .vds-locations .location-item img {
    max-width: 40px;
  }
}

/* 6. Преимущества */
@media (max-width: 768px) {
  .advantages {
    padding: 50px 0;
  }

  .advantage-grid {
    gap: 25px;
  }

  .advantage-item {
    padding: 25px;
  }
}

/* 7. Footer адаптация */
@media (max-width: 768px) {
  footer {
    padding: 3rem 1rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-section::after {
    display: none;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    padding: 2rem 1rem;
  }
}



/* 9. Отключение hover-эффектов для тач-устройств */
@media (hover: none) {
  .menu a:hover,
  .service-card:hover,
  .data-table tbody tr:hover {
    background: transparent;
    transform: none !important;
  }
}
/* CSS для секции с флагами */

.vds-server-locations {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.vds-locations-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.vds-locations-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #666;
    font-size: 16px;
}

.vds-flags-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.vds-flag-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.vds-flag-box:hover {
    transform: translateY(-5px);
}

.vds-flag-wrapper {
    width: 100px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.vds-flag-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vds-flag-country {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 768px) {
    .vds-flags-container {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .vds-flag-wrapper {
        width: 80px;
        height: 48px;
    }
    
    .vds-flag-country {
        font-size: 12px;
    }
}

        /* Основные стили домен-секции */
        .domain-section {
            padding: 80px 0 100px;
            background-color: #f8fafc;
            position: relative;
            overflow: hidden;
        }

        .domain-container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .domain-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 800;
            color: #2d3748;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .domain-description {
            text-align: center;
            font-size: 1.125rem;
            color: #718096;
            line-height: 1.6;
            margin-bottom: 3rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Форма поиска домена */
        .domain-search-form {
            max-width: 700px;
            margin: 0 auto 50px;
            display: flex;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
        }

        .domain-search-form:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
            transform: translateY(-5px);
        }

        .domain-search-input {
            flex: 1;
            padding: 18px 25px;
            border: none;
            font-size: 1.125rem;
            color: #4a5568;
            outline: none;
        }

        .domain-search-input::placeholder {
            color: #a0aec0;
        }

        .domain-search-button {
            background-color: #4299e1;
            color: white;
            border: none;
            padding: 0 30px;
            font-weight: 600;
            font-size: 1.125rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .domain-search-button:hover {
            background-color: #3182ce;
        }

        /* Таблица доменных зон */
        .domain-tables-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 60px;
        }

        .domain-table-wrapper {
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .domain-table-wrapper:hover {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transform: translateY(-5px);
        }

        .domain-table-title {
            padding: 20px;
            background-color: #4299e1;
            color: white;
            font-size: 1.25rem;
            font-weight: 600;
            text-align: center;
        }

        .domain-table {
            width: 100%;
            border-collapse: collapse;
        }

        .domain-table th {
            background-color: #f7fafc;
            color: #4a5568;
            padding: 15px;
            text-align: left;
            font-weight: 600;
            border-bottom: 1px solid #e2e8f0;
        }

        .domain-table td {
            padding: 15px;
            border-bottom: 1px solid #e2e8f0;
            color: #4a5568;
        }

        .domain-table tr:last-child td {
            border-bottom: none;
        }

        .domain-table tr:hover td {
            background-color: rgba(66, 153, 225, 0.05);
        }

        .domain-price {
            font-weight: 700;
            color: #2d3748;
        }

        /* Преимущества */
        .domain-features {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 50px;
        }

        .domain-feature {
            background-color: #ffffff;
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
        }

        .domain-feature:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .domain-feature-icon {
            width: 70px;
            height: 70px;
            background-color: #ebf8ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: #4299e1;
            font-size: 28px;
            transition: all 0.3s ease;
        }

        .domain-feature:hover .domain-feature-icon {
            background-color: #bee3f8;
            transform: scale(1.1);
        }

        .domain-feature-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 15px;
        }

        .domain-feature-text {
            color: #718096;
            line-height: 1.6;
        }

        .domain-cta {
            margin-top: 50px;
            text-align: center;
            padding: 30px;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }

        .domain-cta-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 20px;
        }

        .domain-cta-text {
            color: #718096;
            line-height: 1.6;
            margin-bottom: 30px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .domain-cta-button {
            display: inline-block;
            background-color: #4299e1;
            color: white;
            padding: 12px 30px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .domain-cta-button:hover {
            background-color: #3182ce;
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(66, 153, 225, 0.3);
        }

        /* Блоб-эффекты */
        .blob-shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            z-index: 1;
        }

        .blob-1 {
            width: 300px;
            height: 300px;
            background-color: #4299e1;
            top: -50px;
            right: -30px;
            animation: pulse 6s infinite alternate;
        }

        .blob-2 {
            width: 200px;
            height: 200px;
            background-color: #3182ce;
            bottom: -30px;
            left: 50px;
            animation: pulse 8s 1s infinite alternate;
		}
        
.tariff-limits {
  padding: 80px 0;
  background-color: #f8fafc;
}

.tl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tl-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #2d3748;
}

.tl-title .tl-highlight {
  color: #4299e1;
}

.tl-content {
  display: flex;
  justify-content: center;
}

.tl-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 30px;
  width: 100%;
  max-width: 800px;
  transition: all 0.3s ease;
}

.tl-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.tl-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ebf8ff;
  border-radius: 50%;
  margin-right: 15px;
  color: #3182ce;
}

.tl-icon svg {
  width: 24px;
  height: 24px;
}

.tl-heading {
  font-size: 22px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}

.tl-list {
  list-style-type: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 15px;
}

.tl-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #4a5568;
  font-size: 16px;
  line-height: 1.5;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e53e3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='15' y1='9' x2='9' y2='15'%3E%3C/line%3E%3Cline x1='9' y1='9' x2='15' y2='15'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.tl-footer {
  display: flex;
  justify-content: center;
}

.tl-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tl-button-primary {
  background-color: #4299e1;
  color: white;
  border: none;
}

.tl-button-primary:hover {
  background-color: #3182ce;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(66, 153, 225, 0.3), 0 4px 6px -2px rgba(66, 153, 225, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .tariff-limits {
    padding: 60px 0;
  }
  
  .tl-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .tl-list {
    grid-template-columns: 1fr;
  }
  
  .tl-card {
    padding: 20px;
  }
  
  .tl-heading {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .tariff-limits {
    padding: 40px 0;
  }
  
  .tl-title {
    font-size: 24px;
  }
  
  .tl-button {
    width: 100%;
  }
}



        /* Анимации */
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            100% {
                transform: scale(1.1);
            }
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .domain-tables-container {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .domain-features {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .domain-section {
                padding: 60px 0 80px;
            }
            
            .domain-title {
                font-size: 2rem;
            }
            
            .domain-search-form {
                flex-direction: column;
            }
            
            .domain-search-input {
                width: 100%;
                padding: 15px 20px;
                border-bottom: 1px solid #e2e8f0;
            }
            
            .domain-search-button {
                width: 100%;
                padding: 15px 20px;
            }
            
            .domain-features {
                grid-template-columns: 1fr;
            }
            
            .blob-1, .blob-2 {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .domain-title {
                font-size: 1.75rem;
            }
            
            .domain-description {
                font-size: 1rem;
            }
            
            .domain-table th, .domain-table td {
                padding: 10px;
                font-size: 0.9rem;
            }
            
            .domain-feature {
                padding: 20px;
            }
            
            .domain-feature-icon {
                width: 60px;
                height: 60px;
                font-size: 24px;
            }
        }
.partnership-content {
    line-height: 1.6;
}

.partnership-content h2 {
    color: #4285f4;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.partnership-content p {
    margin-bottom: 15px;
}

.partnership-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.partnership-content li {
    margin-bottom: 10px;
}
.about-content {
    line-height: 1.6;
    color: #333;
}

.about-content h2 {
    color: #4285f4;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
    padding-bottom: 8px;
    border-bottom: 1px solid #eaeaea;
}

.advantages-list, .services-list {
    margin-bottom: 30px;
}

.advantages-list p, .services-list p {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid #4285f4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .domain-container {
        padding: 20px;
    }
    
    .about-content h2 {
        font-size: 1.5rem;
    }
    
    .advantages-list p, .services-list p {
        padding-left: 10px;
    }
}

/* Стиль секции заголовка контактов */
.contact-header-section {
    background: linear-gradient(135deg, #ffffff 0%, #edf2f7 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.contact-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #4299e1, #63b3ed, #90cdf4);
    z-index: 2;
}

.page-title-wrapper {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-title-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.page-title-wrapper p {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Стиль основного содержимого контактов */
.contact-content-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Стиль заголовков отделов */
.department-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(66, 153, 225, 0.2);
}

/* Стиль информации об отделах */
.department-info {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Стиль для строк контактной информации */
.contact-line {
    display: inline-block;
    position: relative;
    padding-left: 5px;
    margin-bottom: 5px;
}

.contact-line:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #4299e1;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    top: -2px;
}

/* Стиль для карты */
.map-wrapper {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    max-width: 100%;
}

.map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-header-section {
        padding: 40px 0;
    }
    
    .page-title-wrapper h1 {
        font-size: 2rem;
    }
    
    .contact-content-section {
        padding: 40px 0;
    }
    
    .department-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .page-title-wrapper h1 {
        font-size: 1.75rem;
    }
    
    .map-wrapper {
        margin-top: 1.5rem;
    }
    
    .department-info {
        font-size: 0.95rem;
    }
}

/* Стили для блоков списка статей */

/* Основной контейнер списка */
.wiki-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Блок статьи с боковым акцентом */
.wiki-list-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  border-left: 4px solid #4299e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.wiki-list-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wiki-list-content {
  flex: 1;
}

.wiki-list-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.wiki-list-item:hover .wiki-list-title {
  color: #4299e1;
}

.wiki-list-description {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.wiki-list-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #a0aec0;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .wiki-list-item {
    flex-direction: column;
    padding: 1rem;
  }
  
  .wiki-list-meta {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
}

@media (max-width: 480px) {
  .wiki-list-title {
    font-size: 1rem;
  }
  
  .wiki-list-description {
    font-size: 0.85rem;
  }
  
  .wiki-list-meta {
    font-size: 0.75rem;
    gap: 0.6rem;
  }
}
/* Стили для блока поиска */
.wiki-search {
  margin-bottom: 2rem;
  width: 100%;
}

.wiki-search-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.wiki-search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  color: #4a5568;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wiki-search-input:focus {
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
  outline: none;
}

.wiki-search-input::placeholder {
  color: #a0aec0;
}

.wiki-search-button {
  background-color: #4299e1;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wiki-search-button:hover {
  background-color: #3182ce;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wiki-search-button:active {
  transform: translateY(0);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 640px) {
  .wiki-search-form {
    flex-direction: column;
    gap: 12px;
  }
  
  .wiki-search-button {
    width: 100%;
    padding: 12px;
  }
}

/* Анимация для появления/исчезновения элементов списка */
.wiki-list-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Можно добавить анимацию для "не найдено" */
.no-results {
  text-align: center;
  padding: 2rem;
  color: #718096;
  font-style: italic;
}

/* Footer */
footer {
  background: #0f172a;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  color: #cbd5e1;
  padding: 4rem 1.5rem 0;
  position: relative;
  z-index: 1000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-section {
  position: relative;
  padding: 1rem;
}

.footer-section::after {
  content: '';
  position: absolute;
  right: -1.25rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-section:last-child::after {
  display: none;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #60a5fa;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-section li {
  transition: transform 0.3s ease;
}

.footer-section li:hover {
  transform: translateX(5px);
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
}

.footer-section a::before {
  content: '\203A';
  color: #60a5fa;
  font-weight: 700;
  transition: transform 0.3s;
}

.footer-section a:hover {
  color: #60a5fa;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.2);
}

.footer-section a:hover::before {
  transform: translateX(3px);
}



/* Footer Bottom */
/* Footer Bottom */
.footer-bottom {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-bottom-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-copyright {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-copyright a {
  color: #60a5fa;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  padding: 0 0.2rem;
}

.footer-copyright a:hover {
  color: #3b82f6;
}

.footer-copyright a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #3b82f6;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.footer-copyright a:hover::after {
  transform: scaleX(1);
}

.footer-divider {
  width: 1px;
  height: 1em;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 1rem;
  display: inline-block;
  vertical-align: middle;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  transition: all 0.3s;
}

.footer-legal a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #60a5fa;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.footer-legal a:hover {
  color: #60a5fa;
}

.footer-legal a:hover::after {
  transform: scaleX(1);
}

/* Адаптивность */
@media (max-width: 768px) {
  .footer-legal {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .footer-divider {
    display: none;
  }
}




/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 768px) {
  .faq-container {
    width: 95%;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1.2rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }


}
/* Адаптивность */
@media (max-width: 1024px) {
  .footer-section::after {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-section a {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    padding: 1.5rem;
  }
}