/* 1) Подключаем шрифт с расширенными весами */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  --accent-yellow: #FDE047;
  --accent-cyan: #22D3EE;
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  --kaspi-red: #ED1C24;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.75);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 20px 60px rgba(30, 64, 175, 0.3);
  --border-radius-lg: 40px;
  --border-radius-md: 24px;
  --border-radius-sm: 16px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
}

/* 2) Секция с улучшенным фоном */
.site-launch {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  font-family: 'Montserrat', sans-serif;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Декоративные элементы фона */
.site-launch::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  animation: float-bg 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes float-bg {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

/* 3) Улучшенный контейнер */
.site-launch .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.site-launch .launch-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;

  /* Улучшенный градиент и стили */
  background: var(--primary-gradient);
  border-radius: var(--border-radius-lg);
  padding: 80px 60px;
  color: var(--text-primary);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;

  /* Анимация появления */
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  animation: fadeInScale 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Блики на карточке */
.site-launch .launch-flex::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shine 3s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Декоративные точки */
.site-launch .launch-flex::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
  background-size: 20px 20px;
  border-radius: 50%;
  opacity: 0.3;
}

/* 4) Улучшенный текстовый блок */
.site-launch .launch-text {
  font-family: 'Montserrat', sans-serif;
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Заголовок с градиентом */
.site-launch .launch-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 50%, #bae6fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);

  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.3s;
}

/* Подзаголовок */
.site-launch .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 3vw, 1.3rem);
  line-height: 1.4;
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;

  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.5s;
}

/* 5) Улучшенный блок цены */
.site-launch .price-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin: 0;
  flex-wrap: wrap;
}

.site-launch .price-info span {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  animation: bounceUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Стильная цена */
.site-launch .price-info .price {
  font-weight: 700;
  animation-delay: 0.7s;
}

.site-launch .price-info .price strong {
  display: inline-block;
  border: 3px solid var(--accent-yellow);
  color: var(--accent-yellow);
  border-radius: 12px;
  padding: 0.4rem 1rem;
  line-height: 1.2;
  background: rgba(253, 224, 71, 0.1);
  box-shadow: 0 0 20px rgba(253, 224, 71, 0.3);
  transition: var(--transition-smooth);
}

.site-launch .price-info .price strong:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(253, 224, 71, 0.5);
}

/* Стильный срок */
.site-launch .price-info .time {
  font-weight: 600;
  border: 3px solid var(--accent-cyan);
  border-radius: 12px;
  padding: 0.4rem 1rem;
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
  transition: var(--transition-smooth);
  animation-delay: 0.9s;
}

.site-launch .price-info .time:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
}

/* 6) Улучшенное описание */
.site-launch .description {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.7;
  margin: 0;
  color: var(--text-muted);
  font-weight: 400;

  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.1s;
}

/* 7) Улучшенный Kaspi блок */
.site-launch .kaspi-info {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Montserrat', sans-serif;
  width: auto;
  max-width: fit-content;
  white-space: nowrap;
  
  padding: 1rem 1.5rem;
  border: 3px solid var(--kaspi-red);
  border-radius: var(--border-radius-lg);
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(237, 28, 36, 0.1);
  text-decoration: none;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;

  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.3s;
}

.site-launch .kaspi-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(237, 28, 36, 0.2), transparent);
  transition: left 0.6s ease;
}

.site-launch .kaspi-info:hover::before {
  left: 100%;
}

.site-launch .kaspi-info:hover {
  background: rgba(237, 28, 36, 0.2);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(237, 28, 36, 0.3);
}

.site-launch .kaspi-info img {
  display: block;
  width: 80px;
  height: auto;
  transition: var(--transition-smooth);
}

.site-launch .kaspi-info:hover img {
  transform: scale(1.1);
}

/* 8) Улучшенная кнопка */
.site-launch .btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
  color: var(--text-primary);
  text-decoration: none;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 700;
  padding: 1.2rem 2.5rem;
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);

  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.5s;
}

.site-launch .btn-order::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
}

.site-launch .btn-order:hover::before {
  width: 300px;
  height: 300px;
}

.site-launch .btn-order:hover {
  background: linear-gradient(135deg, var(--accent-green-hover) 0%, #047857 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

.site-launch .btn-order:active {
  transform: translateY(-2px) scale(1.02);
}

/* 9) Улучшенное изображение */
.site-launch .launch-image {
  flex: 1 1 400px;
  position: relative;

  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: scaleUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.8s;
}

.site-launch .launch-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.1));
  border-radius: var(--border-radius-md);
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.site-launch .launch-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.site-launch .launch-image:hover img {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

/* 10) Контейнер для действий */
.site-launch .action-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* 11) Улучшенные анимации */
@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==============================
   Улучшенная адаптивность
============================== */

@media (max-width: 1200px) {
  .site-launch .launch-flex {
    padding: 60px 40px;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .site-launch {
    padding: 60px 0;
  }
  
  .site-launch .launch-flex {
    flex-direction: column;
    padding: 50px 30px;
    gap: 40px;
    text-align: center;
  }
  
  .site-launch .launch-text {
    align-items: center;
    max-width: 600px;
  }
  
  .site-launch .price-info {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .site-launch .action-row {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  
  .site-launch .kaspi-info,
  .site-launch .btn-order {
    width: 100%;
    max-width: 400px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .site-launch {
    padding: 40px 0;
  }
  
  .site-launch .container {
    padding: 0 15px;
  }
  
  .site-launch .launch-flex {
    border-radius: var(--border-radius-md);
    padding: 40px 25px;
    gap: 30px;
  }
  
  .site-launch .price-info {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .site-launch .price-info .price strong,
  .site-launch .price-info .time {
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
  }
  
  .site-launch .launch-image {
    max-width: 400px;
  }
}

@media (max-width: 576px) {
  .site-launch .launch-flex {
    border-radius: var(--border-radius-sm);
    padding: 30px 20px;
    gap: 25px;
    margin: 0 10px;
  }
  
  .site-launch .action-row {
    gap: 1rem;
  }
  
  .site-launch .kaspi-info {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .site-launch .kaspi-info img {
    width: 60px;
  }
  
  .site-launch .btn-order {
    padding: 1rem 2rem;
  }
}

@media (max-width: 375px) {
  .site-launch .launch-flex {
    padding: 25px 15px;
    margin: 0 5px;
  }
  
  .site-launch .price-info .price strong,
  .site-launch .price-info .time {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  
  .site-launch .btn-order {
    padding: 0.9rem 1.5rem;
  }
}

/* Улучшенные состояния для фокуса (доступность) */
.site-launch .kaspi-info:focus,
.site-launch .btn-order:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

/* Оптимизация производительности */
.site-launch .launch-flex,
.site-launch .launch-image img,
.site-launch .kaspi-info,
.site-launch .btn-order {
  will-change: transform;
}

/* Поддержка пользователей с ограниченной анимацией */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==============================
   Стили для секции каталога
============================== */

.catalog-section {
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Декоративные элементы фона */
.catalog-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float-bg 15s ease-in-out infinite;
  z-index: 0;
}

.catalog-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  animation: float-bg 20s ease-in-out infinite reverse;
  z-index: 0;
}

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

.catalog-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 60px 50px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  animation: slideUpScale 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Анимированный градиентный блик */
.catalog-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  animation: shine 3s ease-in-out infinite;
  animation-delay: 2s;
}

.catalog-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: #333;
}

/* Бейдж */
.catalog-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.3s;
}

.catalog-badge i {
  font-size: 1.1rem;
}

/* Заголовок */
.catalog-info h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.5s;
}

/* Подзаголовок */
.catalog-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 1.5;
  margin: 0;
  color: #666;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.7s;
}

/* Блок цены */
.catalog-price {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.catalog-price span {
  display: inline-block;
  transform: translateY(15px);
  opacity: 0;
  animation: bounceUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.catalog-price .price-label {
  font-weight: 600;
  color: #666;
  animation-delay: 0.8s;
}

.catalog-price .price-amount {
  font-weight: 700;
  font-size: 1.3rem;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 15px;
  padding: 0.5rem 1.2rem;
  background: rgba(102, 126, 234, 0.1);
  animation-delay: 1s;
}

.catalog-price .price-time {
  font-weight: 600;
  color: #764ba2;
  border: 2px solid #764ba2;
  border-radius: 15px;
  padding: 0.5rem 1.2rem;
  background: rgba(118, 75, 162, 0.1);
  animation-delay: 1.2s;
}

/* Описание */
.catalog-description p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.7;
  margin: 0;
  color: #555;
  font-weight: 400;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.4s;
}

/* Контент в две колонки */
.catalog-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2.5rem 0;
}

.catalog-features h3,
.catalog-tech h4 {
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #555;
  font-weight: 500;
  padding: 0.8rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateX(5px);
}

.feature-item i {
  color: #667eea;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

/* Стили для технологий в секции каталога */
.catalog-tech .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.catalog-tech .tech-item {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.catalog-tech .tech-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: #555;
  font-weight: 500;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.benefits-list li:hover {
  color: #667eea;
  transform: translateX(5px);
}

.benefits-list i {
  color: #10b981;
  font-size: 1.1rem;
}

/* Кнопки действий */
.catalog-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.catalog-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
  border: none;
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.6s;
}

.catalog-actions .btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
}

.catalog-actions .btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.catalog-actions .btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.kaspi-payment {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border: 2px solid #ED1C24;
  border-radius: 50px;
  color: #ED1C24;
  font-weight: 600;
  background: rgba(237, 28, 36, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.8s;
}

.kaspi-payment:hover {
  background: rgba(237, 28, 36, 0.1);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(237, 28, 36, 0.2);
}

.kaspi-payment img {
  width: 80px;
  height: auto;
  transition: transform 0.3s ease;
}

.kaspi-payment:hover img {
  transform: scale(1.1);
}

/* ==============================
   Стили для секции интернет-магазина
============================== */

.ecommerce-section {
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Декоративные элементы фона */
.ecommerce-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float-bg 18s ease-in-out infinite;
  z-index: 0;
}

.ecommerce-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  animation: float-bg 22s ease-in-out infinite reverse;
  z-index: 0;
}

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

.ecommerce-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 60px 50px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  animation: slideUpScale 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Анимированный градиентный блик */
.ecommerce-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
  animation: shine 3s ease-in-out infinite;
  animation-delay: 2s;
}

.ecommerce-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: #333;
}

/* Бейдж */
.ecommerce-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.3s;
}

.ecommerce-badge i {
  font-size: 1.1rem;
}

/* Заголовок */
.ecommerce-info h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.5s;
}

/* Подзаголовок */
.ecommerce-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 1.5;
  margin: 0;
  color: #666;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.7s;
}

/* Блок цены */
.ecommerce-price {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.ecommerce-price span {
  display: inline-block;
  transform: translateY(15px);
  opacity: 0;
  animation: bounceUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.ecommerce-price .price-label {
  font-weight: 600;
  color: #666;
  animation-delay: 0.8s;
}

.ecommerce-price .price-amount {
  font-weight: 700;
  font-size: 1.3rem;
  color: #ff6b6b;
  border: 2px solid #ff6b6b;
  border-radius: 15px;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 107, 107, 0.1);
  animation-delay: 1s;
}

.ecommerce-price .price-time {
  font-weight: 600;
  color: #ee5a24;
  border: 2px solid #ee5a24;
  border-radius: 15px;
  padding: 0.5rem 1.2rem;
  background: rgba(238, 90, 36, 0.1);
  animation-delay: 1.2s;
}

/* Описание */
.ecommerce-description p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.7;
  margin: 0;
  color: #555;
  font-weight: 400;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.4s;
}

/* Контент в две колонки */
.ecommerce-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2.5rem 0;
}

.ecommerce-left,
.ecommerce-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ecommerce-features h3,
.ecommerce-tech h4,
.feature-group h4 {
  color: #333;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.3rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-group ul {
  list-style: none;
  padding: 0;
}

.feature-group li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: #555;
  font-weight: 500;
  padding: 0.8rem;
  background: rgba(255, 107, 107, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-group li:hover {
  background: rgba(255, 107, 107, 0.1);
  transform: translateX(5px);
}

.feature-group i {
  color: #ff6b6b;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

/* Стили для технологий в секции интернет-магазина */
.ecommerce-tech .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.ecommerce-tech .tech-item {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
}

.ecommerce-tech .tech-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Кнопки действий */
.ecommerce-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.ecommerce-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
  border: none;
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1.6s;
}

.ecommerce-actions .btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
}

.ecommerce-actions .btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.ecommerce-actions .btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

/* Анимации */
@keyframes slideUpScale {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ==============================
   Адаптивность
============================== */

@media (max-width: 1200px) {
  .catalog-content,
  .ecommerce-content {
    padding: 50px 40px;
  }
  
  .catalog-content-split,
  .ecommerce-content-split {
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .catalog-section,
  .ecommerce-section {
    padding: 80px 0;
  }
  
  .catalog-content,
  .ecommerce-content {
    padding: 40px 30px;
    text-align: center;
  }
  
  .catalog-content-split,
  .ecommerce-content-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .catalog-actions,
  .ecommerce-actions {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  
  .catalog-actions .btn-primary,
  .ecommerce-actions .btn-primary,
  .kaspi-payment {
    width: 100%;
    max-width: 400px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .catalog-section,
  .ecommerce-section {
    padding: 60px 0;
  }
  
  .catalog-section .container,
  .ecommerce-section .container {
    padding: 0 15px;
  }
  
  .catalog-content,
  .ecommerce-content {
    border-radius: 20px;
    padding: 30px 25px;
  }
  
  .catalog-price,
  .ecommerce-price {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .catalog-content,
  .ecommerce-content {
    border-radius: 15px;
    padding: 25px 20px;
    margin: 0 10px;
  }
  
  .catalog-actions,
  .ecommerce-actions {
    gap: 1rem;
  }
  
  .kaspi-payment {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .kaspi-payment img {
    width: 60px;
  }
  
  .catalog-actions .btn-primary,
  .ecommerce-actions .btn-primary {
    padding: 1rem 2rem;
  }
}

@media (max-width: 375px) {
  .catalog-content,
  .ecommerce-content {
    padding: 20px 15px;
    margin: 0 5px;
  }
  
  .catalog-price .price-amount,
  .catalog-price .price-time,
  .ecommerce-price .price-amount,
  .ecommerce-price .price-time {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
  }
  
  .catalog-actions .btn-primary,
  .ecommerce-actions .btn-primary {
    padding: 0.9rem 1.5rem;
  }
}

/* ==============================
   Стили для секции технологий
============================== */

.tech-section {
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Декоративные элементы фона */
.tech-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float-bg 20s ease-in-out infinite;
  z-index: 0;
}

.tech-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  animation: float-bg 25s ease-in-out infinite reverse;
  z-index: 0;
}

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

/* Заголовки секции */
.tech-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem 0;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
}

.tech-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 1.5;
  margin: 0 0 4rem 0;
  color: #666;
  font-weight: 500;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.4s;
}

/* Сетка технологий */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.tech-category {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  animation: slideUpScale 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tech-category:nth-child(1) { animation-delay: 0.6s; }
.tech-category:nth-child(2) { animation-delay: 0.8s; }
.tech-category:nth-child(3) { animation-delay: 1s; }

/* Анимированный блик на карточке */
.tech-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  animation: shine 3s ease-in-out infinite;
  animation-delay: 2s;
}

.tech-category:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.tech-category h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.tech-category h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* Элементы технологий */
.tech-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.tech-item:hover::before {
  opacity: 1;
}

.tech-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
  border-color: transparent;
}

.tech-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.tech-item:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2)) brightness(1.1);
}

.tech-item span {
  font-weight: 600;
  font-size: 0.95rem;
  color: #4a5568;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.tech-item:hover span {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Специальные стили для Vite логотипа */
.tech-item img[alt="Vite"] {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* ==============================
   Адаптивность для секции технологий
============================== */

@media (max-width: 1200px) {
  .tech-grid {
    gap: 2rem;
  }
  
  .tech-category {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 992px) {
  .tech-section {
    padding: 80px 0;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .tech-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .tech-section {
    padding: 60px 0;
  }
  
  .tech-section .container {
    padding: 0 15px;
  }
  
  .tech-category {
    border-radius: 20px;
    padding: 1.5rem 1rem;
  }
  
  .tech-subtitle {
    margin-bottom: 3rem;
  }
}

@media (max-width: 576px) {
  .tech-category {
    border-radius: 15px;
    padding: 1.5rem 1rem;
    margin: 0 10px;
  }
  
  .tech-items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .tech-item {
    padding: 1.2rem 0.8rem;
  }
  
  .tech-item img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 375px) {
  .tech-category {
    padding: 1.2rem 0.8rem;
    margin: 0 5px;
  }
  
  .tech-item {
    padding: 1rem 0.6rem;
  }
  
  .tech-item span {
    font-size: 0.85rem;
  }
}