:root {
  --color-primary: #0f172a;
  --color-secondary: #38bdf8;
  --color-accent: #f97316;
  --color-bg: #020617;
  --color-surface: #020617;
  --color-text: #e5e7eb;
  --radius-base: modular-rounded;
  --layout-container-width: 1200px;
  --layout-gutter-x: 1.5rem;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* Базовый контейнер, чтобы все страницы были визуально согласованы */
.site-container {
  max-width: var(--layout-container-width);
  margin-inline: auto;
  padding-inline: var(--layout-gutter-x);
}

/* Общие utility-классы, которые ИИ может использовать в Tailwind-окружении */
.site-card {
  border-radius: var(--radius-base);
  background-color: var(--color-surface);
}

/* Кнопки на всякий случай (если модель захочет использовать эти классы) */
.btn-primary-soft {
  border-radius: var(--radius-base);
  background: var(--color-primary);
  color: white;
}

.btn-primary-soft:hover {
  filter: brightness(1.05);
}

/* Минимальная адаптация шапки/футера, если модель захочет использовать */
.site-header,
.site-footer {
  backdrop-filter: blur(12px);
}

.img-default {
  width: 100%;
  max-width: 100%;
}

/* Pop-in keyframes for confirmation card */
@keyframes pop-in {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.animate-pop-in {
  animation: pop-in 0.45s cubic-bezier(0.4, 1.6, 0.6, 1) both;
}
/* Ripple effect for CTA buttons */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple:after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(35, 169, 225, 0.09);
  opacity: 0;
  transition: opacity 0.2s;
}
.ripple:active:after {
  opacity: 1;
  transition: none;
}

/* Unique styles only for thanks.html - prefixed with .thanks-page to avoid conflicts */
.thanks-page {
  background-color: #e0f7fa; /* Light cyan background for arctic feel, different from previous */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  font-family: "Arial", sans-serif; /* Simple font to differentiate */
}
.thanks-page .thanks-container {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  max-width: 28rem;
  text-align: center;
}
.thanks-page .thanks-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00796b; /* Teal color, different from blue/yellow */
  margin-bottom: 1.5rem;
}
.thanks-page .thanks-message {
  font-size: 1.125rem;
  color: #424242;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.thanks-page .thanks-button {
  display: inline-block;
  background-color: #00796b;
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.thanks-page .thanks-button:hover {
  background-color: #004d40;
  transform: translateY(-2px);
}
.thanks-page .thanks-button:focus {
  outline: none;
}
