/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
html, body {
  height: 100%;
}
body {
  color: #333;
  background: #fff;
  line-height: 1.6;
}

/* ===== HEADER STYLES ===== */

/* ===== ТИПОГРАФИЯ ===== */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
}
h1 {
  font-size: 52px;
  margin-bottom: 24px;
}
h2 {
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  text-align: left;
}
h2.section-title {
  color: #1a73e8;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h2.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1a73e8, #b833ff);
  margin-top: 16px;
}
h2.section-title.white {
  color: #fff;
}
h2.section-title.white:after {
  background: linear-gradient(90deg, #20c2ff, #b833ff);
}
p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 14px 32px;
  font-weight: 500;
  border-radius: 4px;
  background: linear-gradient(90deg, #1a73e8 0%, #b833ff 100%);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-outline {
  background: transparent;
  border: 2px solid #1a73e8;
  color: #1a73e8;
}
.btn-outline:hover {
  background: #1a73e8;
  color: #fff;
}

/* ===== ОСНОВНОЙ КОНТЕНТ СТРАНИЦЫ EIM ===== */
.eim-container {
  max-width: 1200px;
  margin: 150px auto 80px;
  padding: 0 20px;
}

/* Хлебные крошки */
.breadcrumbs {
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.breadcrumbs-list {
  display: flex;
  list-style: none;
  gap: 10px;
}

.breadcrumbs-item {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
}

.breadcrumbs-item:not(:last-child):after {
  content: '/';
  margin-left: 10px;
}

.breadcrumbs-link {
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumbs-link:hover {
  color: #1a73e8;
}

/* Герой секция */
.eim-hero {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  padding: 80px 40px;
  border-radius: 16px;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.2s;
}

.eim-hero:before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.eim-hero:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 51, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.eim-hero-content {
  position: relative;
  z-index: 2;
}

.eim-title {
  font-size: 42px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.eim-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.eim-acronym {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.eim-acronym span {
  font-weight: 700;
  color: #b833ff;
}

/* Коротко о EIM */
.eim-about {
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.4s;
}

.about-header {
  text-align: left;
  margin-bottom: 50px;
}

.about-content {
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-radius: 16px;
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
}

.about-content:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #1a73e8, #b833ff);
}

.about-text {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Возможности EIM */
.eim-capabilities {
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.6s;
}

.capabilities-header {
  text-align: center;
  margin-bottom: 50px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
}

.capability-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border-left: 4px solid #1a73e8;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.capability-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.05), rgba(184, 51, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.capability-card:hover:before {
  opacity: 1;
}

.capability-check {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a73e8, #b833ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.capability-title {
  font-size: 20px;
  color: #1a73e8;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.capability-description {
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* Преимущества - 2 колонки с одинаковой высотой */
.eim-benefits {
  margin-bottom: 120px; /* Увеличил с 80px до 120px */
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.8s;
}

.benefits-header {
  text-align: center;
  margin-bottom: 50px;
}

.eim-benefits .benefits-grid {
  display: flex;
  justify-content: center;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Исправил опечатку (было 300 200px) */
  align-items: stretch;
}

.benefits-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  max-width: 450px;
}

.benefit-card {
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  height: 370px; /* Фиксированная высота */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.benefit-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #1a73e8, #b833ff);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1a73e8, #b833ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-title {
  font-size: 24px;
  color: #1a73e8;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
  flex-shrink: 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.benefit-description {
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

@media (max-width: 768px) {
  .eim-benefits .benefits-grid {
    flex-direction: column;
    gap: 25px;
  }
  
  .benefits-column {
    max-width: 100%;
    gap: 25px;
  }
  
  .benefit-card {
    height: 280px;
    padding: 30px 25px;
  }
  
  .benefit-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .benefit-title {
    font-size: 22px;
    min-height: 50px;
    margin-bottom: 15px;
  }
}

/* Система управления инцидентами - 2 колонки с одинаковой высотой */
.incident-system {
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 1s;
}

.system-header {
  text-align: center;
  margin-bottom: 50px;
}

.system-visual {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-radius: 16px;
  padding: 60px 40px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.system-visual:before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.system-title {
  font-size: 32px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.incident-system .system-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.system-features-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  max-width: 350px;
}

.system-feature {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 35px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 240px; /* Фиксированная высота */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  justify-content: center;
}

.system-feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  font-size: 40px;
  color: #b833ff;
  margin-bottom: 20px;
  flex-shrink: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
  flex-shrink: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.feature-description {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .incident-system .system-features {
    flex-direction: column;
    gap: 25px;
  }
  
  .system-features-column {
    max-width: 100%;
    gap: 25px;
  }
  
  .system-feature {
    height: 220px;
    padding: 30px 25px;
  }
  
  .feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
    height: 50px;
  }
  
  .feature-title {
    font-size: 18px;
    min-height: 45px;
    margin-bottom: 12px;
  }
  
  .feature-description {
    font-size: 14px;
  }
}
/* Демонстрация */
.eim-demo {
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 1.2s;
}

.demo-header {
  text-align: center;
  margin-bottom: 50px;
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.demo-visual {
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
}

.demo-icon {
  font-size: 64px;
  color: #1a73e8;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.demo-title {
  font-size: 24px;
  color: #1a73e8;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.demo-description {
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.3s ease;
  flex: 1;
  min-height: 80px;
}

.demo-feature:last-child {
  margin-bottom: 0;
}

.demo-feature:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.demo-feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a73e8, #b833ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.demo-feature-text {
  color: #444;
  font-weight: 500;
  flex-grow: 1;
}

/* Кнопка действия */
.eim-actions {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 1.4s;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}