/* ========================================
   CTA FINAL SECTION STYLES
   ======================================== */

.cta-final {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-main-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* Левая колонка: Контент */
.cta-content {
  color: white;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.cta-headline {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: white;
}

.gradient-text {
  background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subheadline {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
}

/* Быстрые выгоды */
.cta-benefits-fast {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.benefit-fast-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.benefit-fast-item:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(10px);
}

.benefit-fast-item .icon-check-circle {
  color: #10B981;
  flex-shrink: 0;
}

.benefit-fast-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.benefit-fast-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

/* Социальные доказательства */
.social-proof-live {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.stat-live {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #FFD700;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}

/* Последние действия */
.recent-actions {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.action-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  animation: slideIn 0.5s ease;
  transition: opacity 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notification-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.notification-time {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  margin-left: auto;
}

/* Правая колонка: Форма */
.cta-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.form-header {
  margin-bottom: 30px;
}

.form-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1F2937;
}

.form-header p {
  font-size: 14px;
  color: #6B7280;
}

/* Поля формы */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

.required {
  color: #EF4444;
}

.optional {
  color: #9CA3AF;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #EF4444;
}

.error-message {
  display: none;
  font-size: 12px;
  color: #EF4444;
  margin-top: 4px;
}

.form-group.error .error-message {
  display: block;
}

/* ROI preview в форме */
.form-roi-preview {
  background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #F59E0B;
}

.roi-preview-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.roi-text {
  font-size: 14px;
  color: #92400E;
}

.roi-text strong {
  font-size: 18px;
  color: #B45309;
}

/* Чекбокс */
.form-group-checkbox {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: #6B7280;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #D1D5DB;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: #667eea;
  border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-group-checkbox.error .checkbox-custom {
  border-color: #EF4444;
}

/* Кнопка отправки */
.btn-submit {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-text {
  font-size: 18px;
}

.btn-subtext {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
}

.btn-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-arrow {
  transform: translateY(-50%) translateX(5px);
}

/* Гарантии под формой */
.form-guarantees {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6B7280;
}

/* Успешная отправка */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  margin-bottom: 20px;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.form-success h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1F2937;
}

.form-success p {
  font-size: 16px;
  line-height: 1.6;
  color: #6B7280;
  margin-bottom: 16px;
}

.success-next-steps {
  text-align: left;
  background: #F3F4F6;
  padding: 20px;
  border-radius: 8px;
  margin-top: 24px;
}

/* Альтернативные CTA */
.cta-alternatives {
  margin-bottom: 60px;
}

.alternative-divider {
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}

.alternative-divider span {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 20px;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.alternative-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.alternative-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.alternative-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.alternative-btn svg {
  width: 32px;
  height: 32px;
}

.alternative-btn span {
  font-size: 14px;
  font-weight: 600;
}

/* Специфичные цвета для кнопок */
.alternative-btn.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.alternative-btn.telegram:hover {
  background: #0088cc;
  border-color: #0088cc;
}

.alternative-btn.phone:hover {
  background: #10B981;
  border-color: #10B981;
}

.alternative-btn.email:hover {
  background: #3B82F6;
  border-color: #3B82F6;
}

/* Блок срочности */
.urgency-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  padding: 30px 40px;
  margin-bottom: 60px;
}

.urgency-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.urgency-icon {
  flex-shrink: 0;
}

.urgency-text {
  color: white;
}

.urgency-text strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.urgency-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.urgency-text span {
  color: #FFD700;
  font-weight: 700;
}

/* Таймер */
.urgency-timer {
  display: flex;
  gap: 8px;
  align-items: center;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: 8px;
  min-width: 70px;
}

.timer-value {
  font-size: 32px;
  font-weight: 800;
  color: #FFD700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timer-label {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  margin-top: 4px;
}

.timer-separator {
  font-size: 32px;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
}

/* Финальные гарантии */
.final-guarantees {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  border-radius: 20px;
}

.final-guarantees h3 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: white;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.guarantee-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 30px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.guarantee-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}

.guarantee-icon {
  margin-bottom: 20px;
}

.guarantee-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.guarantee-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .cta-main-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .alternative-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cta-final {
    padding: 60px 0;
  }

  .cta-headline {
    font-size: 32px;
  }
  
  .cta-subheadline {
    font-size: 16px;
  }
  
  .proof-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
  
  .alternative-options {
    grid-template-columns: 1fr;
  }
  
  .urgency-block {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 30px 20px;
  }
  
  .urgency-content {
    flex-direction: column;
  }

  .urgency-timer {
    flex-wrap: wrap;
    justify-content: center;
  }

  .timer-item {
    min-width: 60px;
    padding: 10px 12px;
  }

  .timer-value {
    font-size: 24px;
  }

  .cta-form-wrapper {
    padding: 30px 20px;
  }
}

