:root {
  --brand-blue: #005CFF;
  --brand-dark: #091540;
  --brand-light: #F5F8FF;
  --brand-accent: #00E5B5;
  --ink: #1f2937;
  --bg: #F5F8FF;
  --card: #FFFFFF;
  --muted: #6b7280;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Sans', sans-serif;
}

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

/* Кнопки */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 92, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary:hover {
  background: #0047cc;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 92, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-secondary:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* Карточки */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-strong);
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-shadow {
  box-shadow: var(--shadow-soft);
}

/* Таймлайн */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--brand-blue);
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-dot {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--brand-blue);
  left: -9px;
  top: 0;
}

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

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

/* Типографика */
.font-space-mono {
  font-family: 'IBM Plex Sans', 'Inter', sans-serif;
}
.gradient-text {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Партнёры */
.partner-logo {
  height: 3rem;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.partner-logo:hover {
  opacity: 1;
}

/* Отзывы */
.testimonial-card {
  box-shadow: 0 10px 30px rgba(0, 92, 255, 0.1);
}

/* AI-блок */
.ai-robot {
  position: relative;
}
.ai-robot::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 50%, var(--brand-blue) 0%, var(--brand-accent) 100%);
  filter: blur(70px);
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
}

/* Формы контактов */
.contact-form-input {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  padding: 0.75rem 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 92, 255, 0.12);
}

.contact-form-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-md);
  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: var(--brand-blue);
  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;
}
