/* Reset и базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --dark-bg: #0f172a;
  --dark-card: #1e293b;
  --text-light: #f8fafc;
  --text-gray: #94a3b8;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Header */
.header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-primary);
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
  background-size: cover;
  animation: float 6s ease-in-out infinite;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
}

.header h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.header-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.header-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Убираем подчеркивание, так как теперь используем фон */

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gradient-accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
  animation: pulse 2s infinite;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  animation: none;
}

/* Main Content */
.main-content {
  padding: 6rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  margin-bottom: 6rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: var(--dark-card);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Order Form */
.order-section {
  background: var(--dark-card);
  padding: 4rem 2rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.order-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.order-form {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 3rem;
  cursor: pointer;
  color: var(--text-light);
}

/* Стили для опций select */
.form-group select option {
  background-color: white;
  color: black;
  padding: 0.5rem;
}


/* Дополнительные стили для лучшей совместимости */
.form-group select option:hover {
  background-color: #f0f0f0 !important;
  color: black !important;
}

.form-group select option:checked {
  background-color: #e0e0e0 !important;
  color: black !important;
}

/* Кастомный стиль для select */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  appearance: none;
  padding-right: 3rem;
  cursor: pointer;
}

.custom-select select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.custom-select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-gray);
  pointer-events: none;
}

.custom-select select option {
  background-color: var(--dark-card) !important;
  color: var(--text-light) !important;
  padding: 0.5rem !important;
}

/* Кастомный dropdown */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-selected {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
  padding-right: 3rem;
  position: relative;
}

.dropdown-selected:hover {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

.dropdown-selected.active {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.dropdown-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-gray);
  font-size: 0.8rem;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.dropdown-selected.active + .dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-top: 5px;
  z-index: 1000;
  display: none;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-options.show {
  display: block;
}

.dropdown-option {
  padding: 1rem 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background: var(--primary-color);
  color: white;
}

.dropdown-option.selected {
  background: var(--primary-color);
  color: white;
}



.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-gray);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* reCAPTCHA Styles */
.g-recaptcha {
  display: inline-block;
  transform-origin: center;
}

@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

/* Section Subtitle */
.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-top: -1rem;
  margin-bottom: 3rem;
}

.section-alt {
  background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.05));
  padding: 4rem 0;
  margin: 4rem 0;
}

/* Portfolio Section */
.portfolio-grid {
  display: block;
  margin-bottom: 2rem;
  position: relative;
  width: 100%;
  min-height: 400px;
}

.portfolio-slide {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
}

.portfolio-slide.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* Для десктопов и больших экранов - всегда 3 колонки */
@media (min-width: 1025px) {
  .portfolio-slide {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
  }
}

/* Для планшетов и средних экранов - 2 колонки */
@media (max-width: 1024px) and (min-width: 769px) {
  .portfolio-slide {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
}

/* Для маленьких планшетов - 2 колонки */
@media (max-width: 768px) and (min-width: 481px) {
  .portfolio-slide {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
}

/* Только для мобильных - 1 колонка */
@media (max-width: 480px) {
  .portfolio-slide {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}

.portfolio-item {
  background: var(--dark-card);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: block;
  visibility: visible;
  opacity: 1;
  position: relative;
}

.portfolio-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
  transform: none !important; /* Принудительно убираем любой transform */
}

.portfolio-item.fade-in:hover {
  transform: none !important; /* Дополнительная защита для fade-in элементов */
}

.portfolio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.portfolio-icon {
  font-size: 2.5rem;
}

.portfolio-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--text-light);
}

.portfolio-genre {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.audio-element {
  display: none;
}

/* Скрываем любые браузерные индикаторы для audio */
.audio-element::-webkit-media-controls {
  display: none !important;
}

.audio-element::-webkit-media-controls-enclosure {
  display: none !important;
}

audio::-internal-media-controls-download-button {
  display: none !important;
}

audio::-webkit-media-controls-enclosure {
  display: none !important;
}

.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.play-btn:hover {
  transform: scale(1.1);
}

.play-icon {
  color: white;
  font-size: 1rem;
}

.audio-progress {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.audio-progress:hover {
  height: 8px;
  transition: height 0.2s ease;
}

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-accent);
  transition: width 0.1s linear;
}

.audio-time {
  font-size: 0.85rem;
  color: var(--text-gray);
  min-width: 80px;
  text-align: right;
}

.portfolio-description {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
}

.portfolio-note {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.portfolio-note p {
  margin: 0;
  color: var(--text-light);
}

/* Download Button */
.download-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.download-btn:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

/* Loading Spinner */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(99, 102, 241, 0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Portfolio Carousel */
.portfolio-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.portfolio-carousel {
  flex: 1;
  overflow: visible;
  position: relative;
  min-height: 400px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}

.portfolio-carousel:active {
  cursor: grabbing;
}

.portfolio-carousel.is-dragging {
  cursor: grabbing;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: var(--text-gray);
  color: var(--text-gray);
}

.carousel-btn:disabled:hover {
  transform: none;
  background: var(--dark-card);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 5px;
}

.carousel-dot:hover {
  background: var(--primary-color);
}

/* Подсказка о свайпах */
.swipe-hint {
  animation: fadeInUp 0.5s ease-out;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: var(--dark-card);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.pricing-popular {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--text-gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.pricing-btn:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
}

.pricing-btn-popular {
  background: var(--gradient-primary);
  border: none;
}

.pricing-best-for {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-gray);
  text-align: center;
  font-style: italic;
}

.pricing-extras {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-extras h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.extra-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.extra-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.extra-item strong {
  display: block;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.extra-item p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Process Timeline */
.process-timeline {
  max-width: 800px;
  margin: 0 auto 3rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  background: var(--dark-card);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  transition: all 0.3s ease;
}

.step-content:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.step-content p {
  color: var(--text-gray);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.step-time {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 600;
}

.process-guarantee {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.guarantee-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.guarantee-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.guarantee-content p {
  color: var(--text-gray);
  font-size: 1rem;
  margin: 0;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--dark-card);
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}

/* Footer */
.footer {
  background: var(--dark-card);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
  }
  
  .main-content {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem;
  }
  
  .order-section {
    padding: 3rem 1.5rem;
  }
  
  .section {
    margin-bottom: 4rem;
  }

  /* Carousel responsive */
  .portfolio-carousel-container {
    flex-direction: column;
    gap: 1rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .portfolio-carousel-container .carousel-btn {
    position: absolute;
    z-index: 10;
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }

  /* Pricing responsive */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .extras-grid {
    grid-template-columns: 1fr;
  }

  /* Process responsive */
  .process-timeline::before {
    left: 20px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .process-step {
    gap: 1rem;
  }

  .process-guarantee {
    flex-direction: column;
    text-align: center;
  }

  .guarantee-icon {
    font-size: 3rem;
  }

  /* FAQ responsive */
  .faq-question {
    font-size: 1rem;
    padding: 1rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1rem 1rem;
  }

  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .header .subtitle {
    font-size: 1.1rem;
  }

  .header-nav {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  
  .header-nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .order-section {
    padding: 2rem 1rem;
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Треки в портфолио должны быть видны сразу */
.portfolio-slide .portfolio-item.fade-in {
  opacity: 1;
  transform: translateY(0);
}
