/* ==================== ПУЛЬСЫ ==================== */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.pulse-1,
.pulse-2,
.pulse-3,
.pulse-4,
.pulse-5,
.pulse-6 {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
  animation: pulse 3s ease-in-out infinite;
}

.pulse-1 { top: 0vh; left: 70vw; background: rgba(0, 4, 172, 0.9); }
.pulse-2 { top: 60vh; right: 80vw; background: rgba(0, 4, 172, 0.7); }
.pulse-3 { top: 160vh; right: 10vw; background: rgba(0, 4, 172, 0.7); }
.pulse-4 { top: 230vh; right: 80vw; background: rgba(0, 4, 172, 0.7); }
.pulse-5 { top: 300vh; right: 0vw; background: rgba(0, 4, 172, 0.7); }
.pulse-6 { top: 350vh; right: 80vw; background: rgba(0, 4, 172, 0.7); }

/* ==================== ГЛАВНЫЕ СТИЛИ ==================== */
main > section { position: relative; z-index: 1; }
html { scroll-behavior: smooth; }

/* ==================== ПАРАЛЛАКС ЭФФЕКТ ДЛЯ ГЕРОЯ ==================== */
.hero {
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: visible;
}

/* ==================== ГЛУБИНА ЧЕРЕЗ ТЕНИ И СЛОИ ==================== */
/* (Уже определено выше main > section) */

/* ==================== ПЛАВНЫЙ СКРОЛЛ И ОБЪЁМ ==================== */
/* scroll-snap убран для лучшей мобильной производительности */
/* body { scroll-snap-type: y mandatory; }
section { scroll-snap-align: start; } */

/* ==================== ГЕРОЙ ==================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  padding: 20px auto;
}

.hero-content {
  flex: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: #94a3b8;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .trust-item::before {
  content: "✓";
  color: #3b82f6;
  font-weight: bold;
}

/* Изображение в герое */
.hero-image {
  flex: 1;
  max-width: 500px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

/* ==================== ПРЕИМУЩЕСТВА ==================== */
.features {
  padding: 40px 0px;
  text-align: center;
  position: relative;
}

.features h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 30px;
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0px 20px;
}

/* СЕТКА: 2 КАРТОЧКИ В РЯДУ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 10px auto;
}

/* ==================== FEATURE CARD — ГОРИЗОНТАЛЬНЫЙ МАКЕТ ==================== */
.feature-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: rgba(11, 11, 38, 0.35);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  border: 2px solid rgba(43, 83, 193, 0.7);
  box-shadow:
    0 0 10px rgba(43, 83, 193, 0.8),
    0 0 25px rgba(43, 83, 193, 0.6),
    0 0 50px rgba(43, 83, 193, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow:
    0 0 15px rgba(59, 130, 246, 1),
    0 0 35px rgba(59, 130, 246, 0.8),
    0 0 70px rgba(59, 130, 246, 0.6);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(0,0,0,0));
  opacity: 0.6;
  z-index: 0;
}

.feature-card > * { position: relative; z-index: 1; }

.feature-icon svg {
  width: 80px;
  height: 80px;
  filter:
    drop-shadow(0 0 8px rgba(89, 222, 250, 0.4))
    drop-shadow(0 0 15px rgba(89, 222, 250, 0.4))
    drop-shadow(0 0 25px rgba(89, 222, 250, 0.3));
  opacity: 1;
}

.feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.feature-text h3 {
  font-size: 1.5rem;
  color: #e2e8f0;
  margin-bottom: 8px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.feature-text p {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ==================== TRADE-IN — НОВЫЙ ДИЗАЙН ==================== */
.trade-in {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.trade-in-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 60px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.trade-in-text {
  flex: 1;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.trade-in-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.trade-in-text p {
  color: #CBD5E1;
  line-height: 1.7;
  font-size: 1rem;
}

.trade-in-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin: 40px 0 20px;
  text-align: center;
  color: #FFFFFF;
  font-weight: 700;
}

.trade-in-step {
  margin-bottom: 30px;
  position: relative;
  padding-left: 40px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(89, 222, 250, 0.2);
  color: #59DEFA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #59DEFA;
}

.step-number::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(89, 222, 250, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.step-content {
  flex: 1;
  border-radius: 24px;
  border: 1px solid rgba(89, 222, 250, 0.3);
  padding: 20px;
}

.step-content h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
}

.step-content p {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.trade-in-call-to-action {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 40px;
  text-align: center;
  color: #FFFFFF;
  line-height: 1.4;
}

.trade-in-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trade-in-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 0 10px rgba(89, 222, 250, 0.3));
  transition: transform 0.3s ease;
}

/* === FAQ / Аккордеон === */
.faq {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.faq h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 600;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.2s ease;
}

.accordion-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem 1.5rem;
  background: transparent;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-header.active {
  color: #59DEFA;
  font-weight: 600;
}

.accordion-header .accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: #59DEFA;
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.accordion-panel p {
  color: rgba(255, 255, 255, 0.8);
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
}

.accordion-panel.open {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

/* ==================== КЛИЕНТЫ ==================== */
.clients {
  padding: 4rem 1.5rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.clients h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 30px;
  background: #ffffff;
  background-clip: text;
 color: #ffffff
}

.clients-track {
  overflow: hidden;
  padding: 1rem 0;
  width: 100%;
}

.clients-track-inner {
  display: flex;
  gap: 4rem;
  animation: scroll 20s linear infinite;
}

.client-logo {
  max-height: 50px;
  width: auto;
  opacity: 0.7;
  transition: all 0.3s ease;
  flex-shrink: 0;
  user-select: none;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== CTA (ПРИЗЫВ К ДЕЙСТВИЮ) ==================== */
.cta {
  padding: 100px 20px;
  text-align: center;
  position: relative;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #cbd5e1;
  opacity: 0.9;
}

/* ==================== КНОПКИ ==================== */
.btn-primary,
.btn-secondary,
.btn-outline {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid #3b82f6;
  
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: #60a5fa;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
  margin-top: 30px;
}

.btn-outline:hover {
  background: #3b82f6;
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1200px) {
  .hero { gap: 40px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-image { max-width: 450px; }
}

@media (max-width: 1070px) {
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    gap: 40px;
  }
  .hero-content { align-items: center; }
  .hero-trust { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .features h2, .cta h2, .clients h2, .trade-in h2 { font-size: 2.4rem; }
  .hero-image { display: none; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-secondary { margin-left: 0; margin-top: 10px; }
  .hero-trust {
    flex-direction: column;
    align-items: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .clients-grid { gap: 30px; }
  .client-logo { height: 40px; }
  .cta h2 { font-size: 2.2rem; }
  .trade-in h2 { text-align: center; }
  .features h2, .clients h2 { font-size: 2.2rem; }
  
  .clients-track-inner { gap: 3rem; animation-duration: 8s; }
  .clients-track-inner:hover { animation-play-state: paused; } /* Останавливаем на hover на мобилке */
}

@media (max-width: 576px) {
  .hero {
    padding: 0px 20px;
    gap: 30px;
  }
  .hero h1 { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-buttons { gap: 12px; }
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 12px 24px;
    font-size: 15px;
  }
  .features h2,
  .cta h2,
  .clients h2,
  .trade-in h2 { font-size: 2rem; }
  .feature-card { padding: 24px; }
  .feature-icon { font-size: 2.4rem; }
  .trade-in-steps p,
  .cta-list p { font-size: 0.95rem; }
  
  .trade-in-content { flex-direction: column; text-align: left; }
  .trade-in-text { order: 2; }
  .trade-in-step { max-width: 500px; margin: 0 auto; margin-top: 30px;}
  .trade-in-image { order: 1; margin-bottom: 40px; display: none; }
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none; /* Отключаем трансформации */
    
  }
  
}



@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 10px 20px;
    font-size: 14px;
  }
 
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none; /* Отключаем трансформации */
    
  }
  .features h2,
  .cta h2,
  .clients h2,
  .trade-in h2 { font-size: 1.8rem; }
  .feature-card { padding: 20px; }
  .feature-icon { font-size: 2.2rem; }
  .trade-in-steps p,
  .cta-list p { font-size: 0.9rem; }
  .client-logo { height: 30px; }
  
  .clients-track-inner { gap: 2rem; animation-duration: 6s; }
  .trade-in-image img { display: none; }
  .trade-in-text h2 { font-size: 1.6rem; }
  .trade-in-text h3 { font-size: 1.3rem; }
  .trade-in-call-to-action { font-size: 1.1rem; }
}
/* Отключение hover-эффектов на устройствах без точного указателя (например, сенсорные экраны) */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .client-logo:hover {
    transform: none;
    box-shadow: none;
    background: inherit;
    border-color: inherit;
    opacity: inherit;
  }
}

/* Стили для баннера cookie */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  max-width: calc(100% - 40px);
  background: rgba(11, 11, 38, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid rgba(43, 83, 193, 0.7);
  border-radius: 20px;
  box-shadow:
    0 0 10px rgba(43, 83, 193, 0.8),
    0 0 25px rgba(43, 83, 193, 0.6),
    0 0 50px rgba(43, 83, 193, 0.4);
  padding: 20px;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
  color: #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.5;
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-consent-banner.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-consent-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-consent-text a {
  color: #59DEFA;
  text-decoration: none;
  font-weight: 500;
}

.cookie-consent-text a:hover {
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
