:root {
  --brand-blue: #1E90FF;
  --brand-dark: #1a202c;
  --brand-light: #f8f9fa;
  --brand-accent: #F4EBD0;
  --ink: #1f2937;
  --bg: #f8f9fa;
  --card: #FFFFFF;
  --muted: #6b7280;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-strong: 0 20px 60px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Градиенты */
.hero-gradient {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-accent) 100%);
}

/* Карточки */
.card-shadow {
  box-shadow: var(--shadow-soft);
}

/* Типографика */
.playfair {
  font-family: 'Playfair Display', serif;
}
.jetbrains {
  font-family: 'JetBrains Mono', monospace;
}

/* Анимации */
.slide-in {
  animation: slideIn 0.5s ease-out both;
}
@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.3s ease-in both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* AI-блок */
.ai-robot {
  position: relative;
}
.ai-robot::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #FF6B6B;
  filter: blur(60px);
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Чат */
.sentinel { height: 1px; }

@media (max-width: 639px) {
  .chat-fixed {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
  }
  .chat-fixed iframe { flex: 1 1 auto; }
  #chat-toggle { margin-top: auto; }
}

/* === Форма обратной связи === */
.contact-form-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  padding: 0.75rem 1rem;
  color: #1f2937;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-input:focus {
  border-color: #005CFF;
  box-shadow: 0 0 0 4px rgba(0, 92, 255, 0.12);
}

.contact-form-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: #005CFF;
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form-btn:hover {
  background: #0047cc;
}

/* Скрытое honeypot-поле */
.honeypot-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Социальные ссылки */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  font-size: 1rem;
  text-decoration: none;
}
.social-link:hover {
  color: #fff;
  background: #005CFF;
  transform: translateY(-2px);
}
.social-link--text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.social-link--text .social-link__text {
  line-height: 1;
}
