/* Общие стили */
:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4895ef;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --success: #4cc9f0;
    --danger: #f72585;
    --telegram: #229ED9;
    --pastel-1: #f0ead6;
    --pastel-2: #efdfbb;
    --pastel-3: #DDEEFF;
    --pastel-4: #E0BBE4;
    --pastel-5: #C8E6C9;
    --pastel-6: #FFD6A5;
    --pastel-7: #CDB4DB;
    --pastel-8: #FFF3B0;
    --pastel-9: #B2F2BB;
    --pastel-10: #F8BBD0;
    --pastel-11: #A8DADC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.4;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    width: 100%;
    z-index: 100;
    top:0px;
}

nav {
    display: flex;
    flex-direction:column;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

/* .nav-links {
    display: flex;
    gap: 5px;
    justify-content:flex-end;
    align-items:center;
    flex-wrap:wrap;
    row-gap:0px;
} */
.nav-links2 {
    display: none;
    gap: 5px;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    row-gap:0px;
    line-height:1.3;
}
.nav-links a {
    display:flex;
    align-items:center;
    padding-inline: 15px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    text-align:center;
}
.nav-links2 a {
    display:flex;
    align-items:center;
    padding-inline: 15px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    text-align:center;
}
.nav-links a:hover {
    color: var(--primary);
}
nav-row2 {
    display:none;
    justify-content:center;
    align-items:center;
    padding:5px 5px 0 5px;
    margin-top:-25px;        
}
.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align:center;
    margin-left:20px;
    line-height:1.1;
}

.cta-button:hover {
    background-color: var(--secondary);
}

/* меню-кнопка*/
/* кнопка открытия */
.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* затемнённый фон */
.menu-overlay {
  display: none; /* скрыто по умолчанию */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
}

/* блок меню */
.menu-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 20px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* кнопка закрытия */
.menu-close {
  align-self: flex-end;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ссылки */
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-links a {
  text-decoration: none;
  font-size: 18px;
  color: #333;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007BFF;
}

/* cases-блок*/
.cases {
    padding-left: 20px;
    padding-right: 20px;
}
.cases h1 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
}

.cases h2 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;

}

.cases h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 600;
}
.cases h4 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.0em;
    font-weight: 600;
}

.cases p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 0.9em;
}

.cases ul, ol {
    margin-top: 0;
    margin-bottom: 15px;
    padding-left: 25px; /* отступ для маркеров */
    font-size: 0.9em;
}
.cases ul li, ol li {
    margin-bottom: 8px; /* расстояние между элементами списка */
}

img {
  max-width: 100%;   /* картинка не выходит за ширину блока */
  height: auto;      /* сохраняем пропорции */
  display: block;    /* убираем лишние отступы под изображением */
}

.slider-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 20px auto;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  margin-bottom:30px;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 630px;
  display: block;
  object-fit: cover;
}

/* Кнопки навигации */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 30px;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 3px;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-btn:hover {
  background-color: rgba(0,0,0,0.8);
}

/* пример карточки внутри слайда */
.slide .card {
  /* background: #fff; */
  border-radius: 8px;
  padding: 18px;
  /* box-shadow: 0 6px 18px rgba(0,0,0,0.08); */
  max-width: 1200px;
  width: 100%;
}
/* Индикаторы */
.slider-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-indicators span {
  width: 10px;
  height: 10px;
  background: #fff;
  border:1px solid #000;
  opacity:0.7;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-indicators span.active {
  background: #000;
  opacity:0.7;
  
}
/* Адаптивность: на мобильных меньше отступы */
@media (max-width: 768px) {
  .slider-btn {
    font-size: 24px;
    padding: 8px 12px;
  }
}


/* Hero-блок */
.hero {
    padding: 10px 0 10px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-image {
    margin-top: 50px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Проблемы */
.problems {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.problem-card {
    background-color: var(--pastel-1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.problem-card:hover {
    transform: translateY(-10px);
}

.problem-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.problem-card h3 {
    margin-bottom: 15px;
}

/* Как это работает */
.how-it-works {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50px;
    width: 100px;
    height: 2px;
    background-color: var(--primary);
}

/* Преимущества */
.benefits {
    padding: 80px 0;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    color: var(--success);
    font-size: 24px;
    margin-top: 5px;
}

/* Для кого */
.use-cases {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.case-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* CTA */
.cta-section {
    padding: 40px 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 1.4em;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-form input, .cta-form textarea {
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

.cta-form textarea {
    height: 120px;
}

.cta-form button {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-form button:hover {
    background-color: var(--dark);
    color: white;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background-color: white;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    padding: 10px 0;
}

.faq-question.active + .faq-answer {
    display: block;
}

/* Футер */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .problems-grid, .benefits-grid, .cases-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    .cta-button {
        background-color: var(--primary);
        color: white;
        padding: 3px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s;
        text-align:center;
    }
}
@media (max-width: 420px) {
    .cta-button {
        background-color: var(--primary);
        color: white;
        padding: 3px 10px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s;
        text-align:center;
        line-height:1.1;
    }
}
@media (max-width: 640px) {
    nav-row2 {
        display:flex !important;
    }
    .nav-links2 {
        display:flex !important;
    }                    
}
.tracking-in-expand {
    -webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
            animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
/* ----------------------------------------------
* Generated by Animista on 2024-9-28 20:21:25
* Licensed under FreeBSD License.
* See http://animista.net/license for more info. 
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */

/**
    * ----------------------------------------
    * animation tracking-in-expand
    * ----------------------------------------
    */
@-webkit-keyframes tracking-in-expand {
    0% {
    letter-spacing: -0.5em;
    opacity: 0;
    }
    40% {
    opacity: 0.6;
    }
    100% {
    opacity: 1;
    }
}
@keyframes tracking-in-expand {
    0% {
    letter-spacing: -0.5em;
    opacity: 0;
    }
    40% {
    opacity: 0.6;
    }
    100% {
    opacity: 1;
    }
}


.text-focus-in {
	-webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}
/* ----------------------------------------------
 * Generated by Animista on 2025-8-30 12:40:34
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation text-focus-in
 * ----------------------------------------
 */
@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}