:root {
  --primary: #6a3093;
  --secondary: #a044ff;
  --accent: #ffcc00;
  --text-light: #f5f5f5;
  --text-dark: #333;
  --bg-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(-45deg, #f5f7fa, #e4e8f0, #f0f4ff, #e8ecf5);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  min-height: 100vh;
}

h1, h2, h3, .logo {
  font-family: 'Montserrat', sans-serif;
}

header {
  background: var(--bg-gradient);
  color: var(--text-light);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(106, 48, 147, 0.3);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent);
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-btn {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.95rem;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.1);
}

.nav-btn:hover, .nav-btn.active {
  background: rgba(255, 255, 255, 0.2);
}

.nav-btn.active {
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  background: linear-gradient(45deg, #f9f0ff, #e6f7ff);
  padding: 3rem 1rem;
  text-align: center;
}

.slider-section {
  padding: 2rem 0;
  background: #fff;
  text-align: center;
}

.slider {
  width: 100%;
  overflow: hidden;
  margin: 1rem auto;
  padding: 0 20px;
}

.slider-track {
  display: flex;
  gap: 30px;
  animation: scroll 20s linear infinite;
  width: calc((250px + 30px) * 4);
}

.slide {
  min-width: 250px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 5px;
}

.price-section {
  padding: 40px 20px;
  background: #faf9ff;
}

.price-container {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
}

.price-image-column {
  flex: 1;
  min-width: 300px;
}

.price-image-column img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.price-content-column {
  flex: 1;
}

.download-btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--bg-gradient);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 15px;
  transition: transform 0.3s;
}

.download-btn:hover {
  transform: translateY(-3px);
}

.price-note {
  color: #666;
  font-size: 0.9rem;
}

.contacts {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  margin: 1.5rem 0;
}

.contact-left, .contact-right {
  width: 48%;
  text-align: center;
}

.contact-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 0.95rem;
  color: #5d5c5e;
  text-decoration: none;
  display: block;
}

.contact-address {
  font-size: 0.9rem;
  color: #555;
  margin-top: 1.5rem;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem;
}

.footer-text {
  font-size: 0.9rem;
}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc((-250px - 30px) * 2)); }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .price-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .price-image-column, 
  .price-content-column {
    min-width: 100%;
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
  
  .contact-left, 
  .contact-right {
    width: 100%;
    margin-bottom: 1.5rem;
  }
}
.slider-section {
  padding: 2rem 0;
  background: #fff;
  text-align: center;
  overflow: hidden; /* Добавлено */
}

.slider {
  width: 100%;
  position: relative;
  margin: 1rem auto;
  padding: 0 20px;
}

.slider-track {
  display: flex;
  gap: 30px;
  animation: scroll 20s linear infinite;
  width: calc((250px + 30px) * 8); /* Увеличено для плавности */
}

.slide {
  min-width: 250px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0; /* Добавлено */
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc((-250px - 30px) * 4)); /* Увеличено для плавности */
}

@media (max-width: 768px) {
  .slider-track {
    width: calc((200px + 20px) * 8); /* Адаптация для мобилок */
    gap: 20px;
  }
  
  .slide {
    min-width: 200px;
    height: 250px;
  }
  
  @keyframes scroll {
    100% { transform: translateX(calc((-200px - 20px) * 4)); }
  }
}