/* Сброс и переопределение существующих стилей */
body,
div.body,
.body,
body div {
  background-color: #fff;
  min-width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  background-color: #fff;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #333;
}

.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #fff;
}

.centered-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
  background: transparent;
}

.header-with-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(203, 213, 224, 0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  will-change: transform;
}

.header-with-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(56, 189, 248, 0.15),
    transparent);
  animation: headerShine 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes headerShine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

.header-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.header-content h1 {
  margin: 0;
  color: #1a202c;
  font-size: 2.5em;
  font-weight: 700;
}

.welcome-text {
  margin: 8px 0 0 0;
  color: #4a5568;
  font-size: 1.2em;
}

.centered-section {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.centered-section h2 {
  color: #1a202c;
  font-size: 2em;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.centered-section h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3182ce, #805ad5);
  border-radius: 2px;
}

.section-subtitle {
  color: #4a5568;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px; /* Увеличенный отступ между карточками */
  margin: 30px 0;
}

.download-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: #2d3748;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  will-change: transform;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(56, 189, 248, 0.15),
    transparent);
  transition: left 0.7s ease;
}

.download-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.12),
    0 0 25px rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(255, 255, 255, 1);
}

.download-card:hover::before {
  left: 100%;
}

.download-icon {
  font-size: 2.5em;
  margin-bottom: 12px;
}

.download-card h3 {
  margin: 10px 0;
  color: #1a202c;
  font-size: 1.2em;
  font-weight: 600;
}

.download-card p {
  color: #4a5568;
  margin-bottom: 15px;
  font-size: 0.9em;
  min-height: 40px;
}

.download-btn {
  display: inline-block;
  background: linear-gradient(135deg, #3182ce 0%, #805ad5 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(49, 130, 206, 0.25);
  will-change: transform;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent);
  transition: left 0.5s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 25px rgba(49, 130, 206, 0.35),
    0 0 20px rgba(49, 130, 206, 0.25);
  text-decoration: none;
  color: white;
}

.download-btn:hover::before {
  left: 100%;
}

.installation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px; /* Увеличенный отступ между карточками */
  margin-top: 30px;
}

.step {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  will-change: transform;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3182ce, #805ad5);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(255, 255, 255, 1);
}

.step h3 {
  color: #1a202c;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
}

.step ul {
  color: #4a5568;
  padding-left: 20px;
}

.step li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 5px;
}

.step li::before {
  content: '▶';
  position: absolute;
  left: -15px;
  color: #3182ce;
  font-size: 0.8em;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .centered-container {
    padding: 15px;
  }

  .header-with-logo {
    flex-direction: column;
    gap: 15px;
    padding: 25px 20px;
  }

  .header-logo {
    width: 60px;
    height: 60px;
  }

  .header-content h1 {
    font-size: 2em;
  }

  .welcome-text {
    font-size: 1.1em;
  }

  .centered-section h2 {
    font-size: 1.7em;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 30px; /* Увеличенный отступ для мобильных */
  }

  .installation-steps {
    grid-template-columns: 1fr;
    gap: 30px; /* Увеличенный отступ для мобильных */
  }

  .step {
    text-align: center;
  }

  .step ul {
    text-align: left;
    display: inline-block;
  }

  .download-card:hover {
    transform: translateY(-5px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .download-grid {
    gap: 25px;
  }
  
  .installation-steps {
    gap: 25px;
  }
}

/* Скрытие ссылок на заголовки */
.headerlink {
  display: none;
}