/* Tailwind config */
@import url('https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Custom styles */
.gradient-bg { background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%); }
.gradient-text { background: linear-gradient(135deg, #6366f1, #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page { display: none; }
.page.active { display: block; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; }
.iti { width: 100%; }

/* Mobile menu animation */
@media (max-width: 768px) {
    .mobile-menu { transform: translateX(-100%); transition: transform 0.3s ease; }
    .mobile-menu.active { transform: translateX(0); }
}

/* Additional styles for better appearance */
body { font-family: 'Inter', sans-serif; }
.prose ul { list-style-type: disc; margin-left: 1.5rem; }
.prose ol { list-style-type: decimal; margin-left: 1.5rem; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid #e5e7eb; padding: 0.5rem 1rem; }
.prose th { background-color: #f9fafb; text-align: left; }

/* ===== ОСНОВНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ БЛАГОДАРНОСТИ ===== */

/* Общие стили для body */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
  margin: 0;
  padding: 0;
}

/* Контейнеры */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow {
  max-width: 800px;
}

/* Центрирование контента */
.center {
  text-align: center;
}

/* Секция благодарности */
.thankyou {
  padding: 80px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Иконка успеха */
.huge {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.success {
  color: #10b981;
}

/* Заголовки */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

/* Текст */
.lead {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2rem;
}

/* Карточка с информацией */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
}

.info-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 4px solid #0ea5e9;
}

/* Список */
ol {
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

ol li {
  margin-bottom: 0.75rem;
  color: #475569;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(99, 102, 241, 0.4);
}

.btn-ghost {
  background: transparent;
  color: #6366f1;
  border: 1px solid #6366f1;
}

.btn-ghost:hover {
  background: #6366f1;
  color: white;
}

.btn-nowrap {
  white-space: nowrap;
}

.btn-cta {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Cookie баннер */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e293b;
  color: white;
  padding: 16px 0;
  z-index: 1000;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-text {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

/* Шапка сайта */
.site-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: #1e293b;
}

.logo span {
  color: #6366f1;
}

/* Навигация */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #6366f1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #475569;
  cursor: pointer;
}

/* Подвал сайта */
.site-footer {
  background: #1e293b;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-logo span {
  color: #8b5cf6;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

/* Списки без маркеров */
.no-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.no-bullets li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Социальные иконки */
.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.socials a:hover {
  background: #6366f1;
  transform: translateY(-3px);
}

/* Адаптивность */
@media (max-width: 768px) {
  .thankyou {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .no-bullets li {
    justify-content: center;
  }
  
  .socials {
    justify-content: center;
  }
}

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

.thankyou {
  animation: fadeIn 0.6s ease-out;
}

.card {
  animation: fadeIn 0.8s ease-out;
}

.btn {
  animation: fadeIn 1s ease-out;
}