:root {
  --color1: #000000; /* Чистый черный для текста */
  --color2: #38bdf8; /* Яркий голубой акцент */
  --color3: #f8fafc; /* Фоновый серый (Slate 50) */
  --color4: #cbd5e1; /* Линии - сделал чуть темнее для видимости */
  --color5: #ffffff; /* Чистый белый */
}

/* Базовые настройки */
body {
  background-color: var(--color5);
  color: var(--color1);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

/* ПРИНУДИТЕЛЬНЫЙ ЧЕРНЫЙ ЦВЕТ ДЛЯ ВСЕХ ЭЛЕМЕНТОВ НА БЕЛОМ ФОНЕ */
h1, h2, h3, h4, h5, h6, p, span, li, a, blockquote {
  color: var(--color1);
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Хедер и Навигация */
header {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color4);
}

nav a {
  color: var(--color1) !important;
  font-weight: 700 !important;
}

nav a:hover {
  color: var(--color2) !important;
}

/* Кнопки */
.btn {
  background-color: var(--color1);
  color: var(--color5) !important; /* Текст на кнопке всегда белый */
  padding: 1rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: var(--color2);
  color: var(--color1) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(56, 189, 248, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color1) !important;
  border: 2px solid var(--color1);
}

.btn-secondary:hover {
  background-color: var(--color1);
  color: var(--color5) !important;
}

/* СЕКЦИИ С ТЕМНЫМ ФОНОМ (Инверсия цвета) */
section.bg-color1, 
section.bg-color1 *, 
footer.bg-color1, 
footer.bg-color1 * {
  color: #ffffff !important;
}

/* Прозрачные тексты (Tailwind opacity) - делаем их более читаемыми */
.text-color1\/70, .text-color1\/60, .text-color1\/80 {
  color: #1a1a1a !important; /* Почти черный */
}

/* Анимации появления */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Модальное окно (Форма) */
.contact-form-simple {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  z-index: 1000;
  background: white;
  padding: 2.5rem;
  width: 90%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color4);
}

.contact-form-simple h3, .contact-form-simple p {
  color: #000000 !important;
}

.contact-form-simple.is-open {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.contact-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.contact-form-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-form-simple input, .contact-form-simple textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #000 !important;
}

.close-form-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000 !important;
}

/* Уведомление (Success) */
.notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981; 
  color: white !important;
  padding: 1.5rem;
  border-radius: 12px;
  transform: translateX(150%);
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2000;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.notification * {
    color: white !important;
}

.notification.show {
  transform: translateX(0);
}

/* Бургер меню */
.burger-line {
  width: 24px;
  height: 2px;
  background: #000000 !important;
  margin: 5px 0;
  border-radius: 2px;
}

/* Мобильное меню */
#mobile-menu {
    background-color: #ffffff;
}
#mobile-menu a {
    color: #000000 !important;
}

/* FAQ специфика */
.faq-question {
    color: #000 !important;
}
.faq-answer-content p {
    color: #333 !important;
}