@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --accent: #3b82f6;
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-hero: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-hero: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-blue: 0 4px 14px 0 rgba(37, 99, 235, 0.25);
  --shadow-blue-hover: 0 8px 20px 0 rgba(37, 99, 235, 0.35);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: all 0.2s ease;
  border-radius: 8px;
  margin: 0 0.25rem;
}

.nav-link:hover {
  color: var(--primary) !important;
  background-color: rgba(37, 99, 235, 0.08);
}

.navbar.navbar-expand-lg.scrolled {
  padding: 0.75rem 0 !important;
  min-height: auto !important;
}

.navbar.navbar-expand-lg.scrolled .navbar-brand,
.navbar.scrolled a.navbar-brand {
  font-size: 1.125rem !important;
  line-height: 1.2 !important;
}

.navbar.navbar-expand-lg.scrolled .navbar-nav {
  align-items: center !important;
}

.navbar.navbar-expand-lg.scrolled .nav-link,
.navbar.scrolled a.nav-link {
  font-size: 0.875rem !important;
  padding: 0.375rem 0.75rem !important;
  margin: 0 0.125rem !important;
  line-height: 1.2 !important;
}

.navbar.navbar-expand-lg.scrolled .btn-primary,
.navbar.scrolled .btn.btn-primary {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
  line-height: 1.2 !important;
}

.navbar.navbar-expand-lg.scrolled .navbar-toggler {
  padding: 0.375rem 0.75rem !important;
  font-size: 0.875rem !important;
}

.activity-widget-footer {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 1.5rem 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-widget-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0.8;
}

.activity-widget-footer:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  border-color: rgba(37, 99, 235, 0.2);
}

.activity-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.activity-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.activity-widget-title {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.activity-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  transition: all 0.2s ease;
}

.activity-item-footer:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-item-footer:hover {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  background: rgba(37, 99, 235, 0.03);
  border-radius: 8px;
  margin: 0.25rem 0;
}

.activity-label-footer {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.activity-value-footer {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.activity-value-footer.badge-value {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--primary);
}

.activity-value-footer.product-link {
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.activity-value-footer.product-link::after {
  content: '↗';
  margin-left: 0.25rem;
  font-size: 0.75rem;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.activity-value-footer.product-link:hover {
  color: var(--primary-dark);
  transform: translateX(-2px);
}

.activity-value-footer.product-link:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer-domain {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  font-size: 0.95rem;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-hover);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
  border-radius: 14px;
}

.hero {
  padding: 6rem 0 8rem;
  background: var(--bg-hero);
  position: relative;
}

.hero-badge {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 700;
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-title {
  font-weight: 900;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.125;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-align: center;
}

.hero-subtitle {
  font-size: 1.3125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 2.25rem;
  max-width: 750px;
  font-weight: 400;
}

.section-title {
  font-weight: 900;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.125;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.125rem;
  text-align: center;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1875rem;
  line-height: 1.5;
  max-width: 720px;
  font-weight: 400;
  text-align: center;
  margin: 0 auto 1.5rem;
}

.card-soft {
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  background-color: var(--bg-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.card-soft::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-soft:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(37, 99, 235, 0.3);
}

.card-soft:hover::before {
  opacity: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  background: rgba(37, 99, 235, 0.08);
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.pill:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
}

@keyframes pulse {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.badge-mini {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: inline-block;
  width: fit-content;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
  margin-top: 1rem;
  width: fit-content;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

section {
  padding: 5rem 0;
}

section.bg-white {
  background-color: var(--bg-primary);
}

.card h5 {
  font-weight: 800;
  font-size: 1.375rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.check-icon::before {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

hr {
  border-color: var(--border-light);
  opacity: 0.6;
  margin: 1.5rem 0;
}

strong {
  font-weight: 700;
  color: var(--text-primary);
}

.text-muted {
  color: var(--text-secondary) !important;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
  outline: none;
}

.testimonial-card {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-weight: 900;
  line-height: 1;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.testimonial-date {
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  /* Основные блоки */
  .hero {
    padding: 3.75rem 0 2.5rem;
  }

  section {
    padding: 2.5rem 0;
  }

  /* Заголовки */
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.6125rem !important;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9375rem;
  }

  /* Навигация */
  .navbar-brand {
    font-size: 1.25rem !important;
  }

  .nav-link {
    font-size: 0.875rem !important;
    padding: 0.5rem 0.75rem !important;
  }

  .btn-primary {
    font-size: 0.875rem !important;
    padding: 0.75rem 1.5rem !important;
  }

  /* Карточки */
  .card-soft {
    padding: 1.25rem !important;
  }

  .card h5 {
    font-size: 1.25rem !important;
    margin-bottom: 0.75rem !important;
  }

  /* Отступы и блоки */
  .activity-widget-footer {
    padding: 1.25rem !important;
  }

  .testimonial-card {
    padding: 1.5rem !important;
  }

  .price-amount {
    font-size: 2rem !important;
    margin-bottom: 0.25rem !important;
  }

  /* Формы и чекбоксы */
  .form-control {
    font-size: 0.9375rem !important;
  }

  .check-list li {
    margin-bottom: 0.5rem !important;
  }

  /* Бейджи и кнопки */
  .badge-mini {
    font-size: 0.6875rem !important;
    padding: 0.375rem 0.75rem !important;
  }

  .pill {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.875rem !important;
  }

  /* Контакты */
  .footer-text {
    font-size: 0.875rem !important;
  }

  .footer-domain {
    font-size: 0.875rem !important;
  }

  /* Скроллированный хедер на мобильных */
  .navbar.scrolled .navbar-brand {
    font-size: 1rem !important;
  }

  .navbar.scrolled .nav-link {
    font-size: 0.8125rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  .navbar.scrolled .btn-primary {
    font-size: 0.8125rem !important;
    padding: 0.375rem 1rem !important;
  }
}

