:root {
  --primary: #1a73e8;
  --secondary: #b833ff;
  --dark: #0f172a;
  --light: #f8fafc;
}
/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  color: #333;
  background: #fff;
  line-height: 1.6;
}
section {
  padding: 100px 0;
  position: relative;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== ТИПОГРАФИЯ ===== */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
}
h1 {
  font-size: 48px;
  margin-bottom: 24px;
}
h2 {
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
}
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;
}

/* ===== ШАПКА ===== */


/* ===== НОВЫЙ ГЕРОЙ БЛОК ===== */

.hero-fesb {
  background: linear-gradient(135deg, var(--dark), #1e3a8a);
  color: white;
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}
.hero-fesb:before {
  content: "";
  position: absolute;
  top: -300px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(184, 51, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-tagline {
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

/* ===== ЧТО ТАКОЕ ===== */
.what-is {
  background: #fff;
  padding: 100px 0;
}

/* Видео по центру с фоном по бокам */
.video-centered-container {
  width: 100%;
  background: #fff; /* Фон сайта по бокам */
  margin: 0 auto 60px auto;
  position: relative;
  display: flex;
  justify-content: center;
}

.video-centered-wrapper {
  width: 100%;
  max-width: 1200px; /* Такая же ширина как у container */
  height: 600px; /* В 2 раза выше (было 300px, стало 600px) */
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-centered-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Контент под видео */
/* Контент под видео */
.what-is-content-under {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Текстовый блок */
.text-content {
  text-align: left;
  max-width: 100%;
}

.text-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

.text-content p:last-child {
  color: #666;
  font-size: 16px;
  margin-bottom: 0;
}

/* Информационные блоки в одну строку */
.info-blocks-single-line {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin: 10px 0;
}

.info-block {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  flex: 1;
  transition: all 0.3s ease;
}

.info-block:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
}

.info-block i {
  color: var(--primary);
  font-size: 24px;
  width: 30px;
  flex-shrink: 0;
}

.info-block span {
  font-weight: 500;
  color: var(--dark);
  font-size: 16px;
  line-height: 1.4;
}

/* Разделительная линия */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
  margin: 20px 0;
}

/* Блок FESB Platform */
.fesb-platform-block {
  background: #f8fafc;
  border-radius: 8px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--primary);
}

.fesb-platform-block h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 24px;
  margin-top: 0;
  font-weight: 700;
}

.fesb-platform-block p {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.5;
}


/* Адаптивность */
@media (max-width: 768px) {
  .info-blocks-single-line {
    flex-direction: column;
    gap: 15px;
  }
  
  .info-block {
    padding: 15px;
  }
  
  .info-block i {
    font-size: 20px;
  }
  
  .info-block span {
    font-size: 15px;
  }
  
  .fesb-platform-block {
    padding: 25px;
  }
  
  .fesb-platform-block h3 {
    font-size: 22px;
  }
  
  .text-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .info-block {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .fesb-platform-block {
    padding: 20px;
  }
  
  .divider {
    margin: 15px 0;
  }
}

/* ===== ПРИНЦИП РАБОТЫ ===== */
.principles {
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  color: #fff;
  padding: 100px 0;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.principle-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #20c2ff;
  transition: all 0.3s;
}
.principle-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}
.principle-card i {
  font-size: 40px;
  color: #20c2ff;
  margin-bottom: 20px;
}
.principle-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

/* ===== ПРОБЛЕМАТИКА ===== */
/* ===== ПРОБЛЕМАТИКА ===== */
.problems {
  background: #ffffff;
  padding: 60px 0;
  position: relative;
}

.problems .section-title {
  color: var(--primary);
  text-align: center;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.problem-card {
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Эффект матового стекла с синим оттенком */
.problem-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.03) 0%, 
    rgba(139, 92, 246, 0.03) 100%);
  border-radius: 16px;
  z-index: -1;
}

.problem-card:hover {
  transform: translateY(-5px);
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.problem-icon {
  width: 40px; /* Уменьшил в 2 раза (было 80px) */
  height: 40px; /* Уменьшил в 2 раза (было 80px) */
  margin: 0 auto 20px; /* Уменьшил отступ снизу */
  background: linear-gradient(135deg, #f0f7ff, #e6f0ff);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
  background: linear-gradient(135deg, #e6f0ff, #d6e4ff);
  border-color: rgba(59, 130, 246, 0.4);
  transform: scale(1.05);
}

.problem-icon i {
  font-size: 16px; /* Уменьшил в 2 раза (было 32px) */
  color: var(--primary);
  z-index: 2;
}

.problem-card h3 {
  color: var(--dark);
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.problem-card p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .problem-card {
    padding: 30px 20px;
  }
  
  .problem-icon {
    width: 35px; /* Уменьшил для мобильных */
    height: 35px;
    margin-bottom: 15px;
  }
  
  .problem-icon i {
    font-size: 14px; /* Уменьшил для мобильных */
  }
  
  .problem-card h3 {
    font-size: 20px;
  }
  
  .problem-card p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .problems {
    padding: 70px 0;
  }
  
  .problem-card {
    padding: 25px 15px;
    border-radius: 12px;
  }
  
  .problem-icon {
    width: 30px; /* Уменьшил для маленьких экранов */
    height: 30px;
  }
  
  .problem-icon i {
    font-size: 12px; /* Уменьшил для маленьких экранов */
  }
}

/* ===== ПОЧЕМУ FESB ===== */
.why-fesb {
  background: #f8fafc;
  padding: 100px 0;
}
.features-tabs {
  display: flex;
  flex-direction: column;
}
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}
.tab-btn {
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  color: #333;
}
.tab-btn.active {
  color: #1a73e8;
  border-bottom: 3px solid #1a73e8;
}
.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.feature-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #1a73e8;
}
.feature-item i {
  color: #1a73e8;
  font-size: 24px;
  margin-bottom: 15px;
}

/* ===== КОМУ НУЖНА ===== */
.who-needs {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  padding: 100px 0;
}
.needs-container {
  display: flex;
  align-items: center;
  gap: 60px;
}
.needs-text {
  flex: 1;
}
.needs-list {
  flex: 1;
}
.need-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.need-item i {
  color: #20c2ff;
  font-size: 24px;
  margin-top: 3px;
}

/* ===== ОТРАСЛИ ===== */
.industries-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.industry-tabs {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap; /* Переносим на новую строку */
  padding: 0;
  justify-content: center;
}

.industry-tab {
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  color: #64748b;
  flex-grow: 1;
  justify-content: center;
  min-width: 150px;
}

.industry-tab i {
  font-size: 20px;
  color: #94a3b8;
}

.industry-tab.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

.industry-tab.active i {
  color: var(--primary);
}

.industry-tab:hover:not(.active) {
  color: #334155;
  background: rgba(26, 115, 232, 0.05);
}

.industry-content {
  display: none;
  padding: 40px;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.industry-content.active {
  display: grid;
  animation: fadeIn 0.5s ease;
}

.industry-details h3 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 20px;
}

.industry-details ul {
  list-style: none;
  margin-bottom: 30px;
}

.industry-details li {
  margin-bottom: 12px;
  font-size: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.industry-details i {
  color: var(--primary);
  margin-top: 3px;
}

.industry-image {
  height: 300px;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .industry-content {
    grid-template-columns: 1fr;
  }
  
  .industry-image {
    height: 200px;
    order: -1;
  }
  
  .what-is-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .what-is-text {
    padding-right: 0;
  }
  
  .video-container {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .industry-tabs {
    flex-wrap: wrap;
    padding: 0;
  }
  
  .industry-tab {
    flex: 1 0 33%;
    justify-content: center;
    padding: 15px;
  }
  
  .industry-content {
    padding: 30px 20px;
  }
  
  .video-container {
    max-width: 400px;
  }
  
  .info-blocks {
    gap: 10px;
  }
  
  .info-block {
    padding: 12px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .video-container {
    max-width: 300px;
  }
  
  .play-icon {
    font-size: 60px;
  }
}

/* ===== КАРУСЕЛЬ ПАРТНЕРОВ ===== */
.partners {
  background: #f8fafc;
  padding: 80px 0;
}
.partners .container {
  overflow: hidden;
  position: relative;
}
.partners h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #1a73e8;
}
.partners-slider {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scroll 30s linear infinite;
  width: calc(250px * 10);
}
.partner-logo {
  width: 180px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 5));
  }
}

 /* Стили для блока сертификации */
.certification {
  background: #f8fafc;
  padding: 100px 0;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.certification-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--primary);
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.certification-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.certification-card h3 {
  color: var(--dark);
  font-size: 24px;
  margin-bottom: 15px;
}

.certification-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 15px 0;
}

.certification-content h4 {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 10px;
}

.certification-content p {
  color: #64748b;
  font-size: 16px;
}

.certification-list {
  list-style: none;
}

.certification-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
}

.certification-list i {
  color: var(--primary);
}

.certification-badge {
  margin-top: 20px;
  padding: 8px 15px;
  background: rgba(26, 115, 232, 0.1);
  color: var(--primary);
  border-radius: 20px;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .certification-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}
.cta h2 {
  color: #fff;
  margin-bottom: 20px;
}
.cta p {
  max-width: 700px;
  margin: 0 auto 40px;
}
.cta .btn {
  margin: 0 auto;
}

/* ===== ПОДВАЛ ===== */
footer {
  background: #0f172a;
  color: #fff;
  padding: 60px 0 30px;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: #fff;
}
.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
  .what-is-container, .needs-container {
    flex-direction: column;
  }
  nav ul {
    gap: 20px;
  }
  .partners-slider {
    gap: 40px;
    width: calc(200px * 10);
  }
  .partner-logo {
    width: 150px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  .header-container {
    flex-direction: column;
    padding: 15px 0;
    height: auto;
  }
  nav ul {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding: 150px 0 70px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 20px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .partners-slider {
    gap: 30px;
    width: calc(150px * 10);
  }
  .partner-logo {
    width: 120px;
  }
}
    