/* Tailwind config */
@import url('intlTelInput.css');
@import url('all.min.css');

/* Custom styles */
.gradient-bg { background: linear-gradient(135deg, #0ea5a4 0%, #10b981 100%); }
.gradient-text { background: linear-gradient(135deg, #0ea5a4, #10b981); -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: 'Marcellus SC', 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: 'Marcellus SC', serif;
  line-height: 1.6;
  color: #e5e7eb;
  background-color: #0b1220;
  margin: 0;
  padding: 0;
}
html, body { overflow-x: hidden; }

/* Контейнеры */
.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, #0ea5a4 0%, #10b981 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

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

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

.btn-ghost:hover {
  background: #0ea5a4;
  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: #0ea5a4;
}

/* ===== Dark theme helpers ===== */
.surface-900 { background-color: #0f172a; }
.surface-800 { background-color: #111827; }
.surface-700 { background-color: #1f2937; }
.text-soft { color: #cbd5e1; }
.text-dim { color: #94a3b8; }

/* Glassmorphism card */
.glass {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
}

/* Fancy links */
.neon-link { position: relative; color: #e5e7eb; transition: color .2s ease; }
.neon-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px; height: 2px; width: 100%;
  background: linear-gradient(90deg, #0ea5a4, #10b981);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.neon-link:hover { color: #ffffff; }
.neon-link:hover::after { transform: scaleX(1); }

/* Cards hover */
.card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.35); border-color: rgba(16,185,129,.35); }

/* Buttons animation */
.btn-animated { position: relative; overflow: hidden; }
.btn-animated::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14,165,164,.0), rgba(16,185,129,.15));
  transform: translateX(-100%);
}
.btn-animated:hover::before { transform: translateX(0); transition: transform .35s ease; }

/* Section decorative pseudo-elements */
.section-decor { position: relative; }
.section-decor::before, .section-decor::after {
  content: ""; position: absolute; pointer-events: none; filter: blur(40px); opacity: .35;
}
.section-decor::before { width: 180px; height: 180px; background: radial-gradient(ellipse at center, rgba(14,165,164,.6), rgba(14,165,164,0)); top: -40px; left: -20px; }
.section-decor::after { width: 220px; height: 220px; background: radial-gradient(ellipse at center, rgba(16,185,129,.5), rgba(16,185,129,0)); bottom: -50px; right: -10px; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp .6s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* Hoverable list items with bullet accent */
.list-accent li { position: relative; padding-left: 1.25rem; transition: color .2s ease; }
.list-accent li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 8px; height: 8px; border-radius: 9999px; background: #0ea5a4; box-shadow: 0 0 8px rgba(14,165,164,.6); }
.list-accent li:hover { color: #ffffff; }

.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;
}