/* landing/css/base.css - Глобальные стили лендинга */

:root {
  /* Цветовая гамма строго из логотипа */
  --c-blue: #4A90E2;    /* Основной синий */
  --c-blue-dark: #2c66a8;
  --c-green: #7ED321;   /* Основной зелёный */
  --c-green-dark: #64ad15;

  /* Текст и фоны */
  --c-text: #1E1B3A;    /* Тёмный текст */
  --c-text-muted: #6b7280;
  --c-bg: #F8FAFC;      /* Очень светло-синий фон */
  --c-surface: #FFFFFF; /* Белые карточки */

  --font-main: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(30, 27, 58, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--c-bg);
}

body {
  font-family: var(--font-main);
  background-color: transparent;
  color: var(--c-text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  line-height: 1.2;
}

.text-accent-blue { color: var(--c-blue); }
.text-accent-green { color: var(--c-green); }

/* Кнопки */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--c-blue);
  color: white;
  box-shadow: 0 4px 14px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
  background-color: var(--c-blue-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--c-green);
  color: white;
  box-shadow: 0 4px 14px rgba(126, 211, 33, 0.3);
}

.btn-secondary:hover {
  background-color: var(--c-green-dark);
  transform: translateY(-2px);
}

/* Animations */
@keyframes premiumFadeUp {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-up {
  opacity: 0;
  animation: premiumFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Класс on-scroll, который будет добавляться через JS */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(4px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ══════════════════════════════════════════
   GLOBAL RESPONSIVE (≤ 768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 16px;
  }
}

