:root {
    --primary-dark: #0A1929;
    --primary-darker: #0A1A2F;
    --secondary-dark: #1E2A3A;
    --accent-blue: #2563EB;
    --accent-blue-light: #3B82F6;
    --text-light: #F0F4FA;
    --text-muted: #afbfcf;
    --border-dark: #2A3A4A;
    --gradient-primary: linear-gradient(135deg, var(--accent-blue), #7C3AED);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-title--light {
    color: var(--text-light);
}

/* Логотип */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a {
    text-decoration: none;
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}

.logo--large {
    font-size: 3.5rem;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: block;
}

.logo-subtitle--large {
    font-size: 1.25rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--text-light);
}

.btn--outline:hover {
    background: var(--accent-blue);
    color: white;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--full {
    width: 100%;
}

/* Хедер */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-dark);
    padding: 1rem 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__nav {
    display: flex;
    justify-content: center;
}

.header__nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.header__nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.header__nav a:hover {
    color: var(--accent-blue-light);
}

.header__nav a.active {
    color: var(--accent-blue-light);
}

.header__nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Бургер-меню */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.header__burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.header__burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Герой */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at 70% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    scroll-margin-top: 80px;
}

.hero__container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
}

.hero__button {
    margin: 0;
}

.hero__logo {
    text-align: center;
}

.hero__logo-icon {
    width: 250px;
    height: 250px;
    margin: 1rem;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.3);
}

/* Проблемы и решения */
.problem {
    padding: 80px 0;
    background-color: var(--primary-darker);
}

.problem__text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card__text {
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex: 1;
}

.feature-card__more {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.875rem;
    color: var(--accent-blue-light);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .feature-card__more {
    opacity: 1;
}

/* Статистика */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item__number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item__label {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Компетенции */
.competencies {
    padding: 80px 0;
    scroll-margin-top: 80px;
    background-color: var(--primary-dark);
}

.competencies__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.competency-card {
    background: var(--secondary-dark);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.competency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.competency-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.competency-card__icon {
    font-size: 2rem;
}

.competency-card__title {
    font-size: 1.125rem;
}

.competency-card__list {
    list-style: none;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    flex: 1;
}

.competency-card__list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.competency-card__list li::before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
}

.competency-card__effect {
    font-size: 0.875rem;
    color: var(--accent-blue-light);
    font-weight: 500;
    flex-shrink: 0;
    padding-top: 1rem;
}

/* Технологический стек */
.tech-stack {
    padding: 80px 0;
    background-color: var(--primary-darker);
}

.tech-stack__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.tech-category {
    background: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: 12px;
}

.tech-category__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--accent-blue-light);
}

.tech-category__items {
    color: var(--text-muted);
    line-height: 1.8;
}

.tech-stack__advantage {
    text-align: center;
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--secondary-dark);
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* Подход (Roadmap) */
.approach {
    padding: 80px 0;
    background-color: var(--primary-dark);
    scroll-margin-top: 80px;
}

.approach__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.roadmap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    z-index: 1;
}

.roadmap-item {
    background: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.roadmap-item:hover {
    transform: translateY(-5px);
}

.roadmap-item__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.roadmap-item__phase {
    font-size: 0.875rem;
    color: var(--accent-blue-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.roadmap-item__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.roadmap-item__duration {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-dark);
}

.roadmap-item__list {
    list-style: none;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-grow: 1;
}

.roadmap-item__list li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.roadmap-item__list li::before {
    content: "→";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
}

.roadmap-item__result {
    font-size: 0.875rem;
    color: var(--accent-blue-light);
    font-weight: 500;
    padding-top: 1rem;
    border-top: 1px solid var(--border-dark);
    margin-top: auto;
}

/* Кейсы */
.cases {
    padding: 80px 0;
    background-color: var(--primary-darker);
    scroll-margin-top: 80px;
}

.cases__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.case-card {
    background: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent-blue-light);
}

.case-card__desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex: 1;
}

.case-card__result {
    font-weight: 500;
    color: var(--text-light);
    padding-top: 0.5rem;
}

/* Преимущества */
.advantages {
    padding: 80px 0;
    background-color: var(--primary-dark);
    scroll-margin-top: 80px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.advantage-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.advantage-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantage-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-blue-light);
}

.advantage-card__text {
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

/* Контакты */
.contacts {
    padding: 80px 0;
    background-color: var(--primary-darker);
    scroll-margin-top: 80px;
    text-align: center;
}

.contacts__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: 16px;
}

.contact-form__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    background: var(--primary-dark);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
}

.contact-form textarea {
    max-width: 100%;
    min-width: 100%;
    height: 240px;
    max-height: 240px;
    min-height: 240px;  
    resize: none;
    overflow-y: auto;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.contact-info {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: 16px;
}

.contact-info__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.contact-info strong {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--accent-blue-light);
}

.contact-info__img {
    height: 250px;
    width: 250px;
    margin-top: 1rem;
    border-radius: 50%;
    border: 1px solid #6c767f;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
    object-fit: cover;
}

/* FAQ */
.faq {
    padding: 80px 0 160px 0;
    background-color: var(--primary-dark);
    scroll-margin-top: 80px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--secondary-dark);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-blue-light);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    border-top: 0 solid var(--border-dark);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
    border-top-width: 1px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* Футер */
.footer {
    padding: 40px 0;
    background-color: var(--primary-dark);
    border-top: 1px solid var(--border-dark);
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer__tagline {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer__policy {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
}

.footer__policy:hover {
    color: var(--text-light);
}

.footer__title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer__table{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer a:hover {
    color: var(--text-light);
}

.footer address {
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.8;
}

/* Плавающая кнопка */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

/* Индикатор чтения */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s;
}

/* Pop-up */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}

.popup-overlay.active {
    display: block;
    opacity: 1;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    z-index: 2001;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    border: 1px solid var(--border-dark);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.popup.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup__close:hover {
    color: var(--text-light);
}

.popup__icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.popup__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--accent-blue-light);
}

.popup__content {
    color: var(--text-muted);
    line-height: 1.8;
}

.popup__content p {
    margin-bottom: 1rem;
}

.popup__content p:last-child {
    margin-bottom: 0;
}

/* Вспомогательные классы */
.no-scroll {
    overflow: hidden;
}

/* Стили для навигационных элементов карусели - СОВРЕМЕННЫЙ МИНИМАЛИЗМ */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(2px);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: none;
}

.carousel-wrapper:hover .carousel-nav {
    opacity: 0.8;
}

.carousel-nav:hover {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav-left {
    left: 4px;
}

.carousel-nav-right {
    right: 4px;
}

.carousel-nav.disabled {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
}

.carousel-indicators {
    display: none;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 8px;
    width: 100%;
}

.carousel-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.3;
}

.carousel-dot.active {
    background: var(--accent-blue);
    opacity: 1;
    width: 20px;
    border-radius: 4px;
}

.carousel-dot:hover {
    opacity: 0.8;
}

/* Стили для карточек с фиксированной высотой от JS */
.feature-card.js-equal-height,
.competency-card.js-equal-height,
.tech-category.js-equal-height,
.roadmap-item.js-equal-height,
.case-card.js-equal-height,
.advantage-card.js-equal-height {
    height: var(--equal-height, auto) !important;
    transition: height 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .roadmap {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .roadmap::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .cards-grid,
    .features,
    .tech-categories,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .header__burger {
        display: flex;
    }
    
    .header__nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        padding: 80px 2rem 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
        border-right: 1px solid var(--border-dark);
        justify-content: flex-start;
    }
    
    .header__nav.active {
        left: 0;
    }
    
    .header__nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .header__nav a {
        font-size: 1.125rem;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero__content {
        order: 2;
        text-align: center;
    }
    
    .hero__logo {
        order: 1;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero__button {
        width: 100%;
        text-align: center;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Скрываем статистику */
    .stats {
        display: none !important;
    }
    
    /* Превращаем все сетки в горизонтальные карусели */
    .features,
    .cards-grid,
    .tech-categories,
    .roadmap,
    .cases-grid,
    .advantages-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1rem !important;
        padding: 0.5rem 0.25rem 1rem !important;
        margin: 0 -0.25rem !important;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap !important;
        scroll-behavior: smooth;
        align-items: stretch !important;
    }
    
    /* Скрываем скроллбар */
    .features::-webkit-scrollbar,
    .cards-grid::-webkit-scrollbar,
    .tech-categories::-webkit-scrollbar,
    .roadmap::-webkit-scrollbar,
    .cases-grid::-webkit-scrollbar,
    .advantages-grid::-webkit-scrollbar {
        display: none;
    }
    
    /* Стили для элементов внутри каруселей */
    .features > *,
    .cards-grid > *,
    .tech-categories > *,
    .roadmap > *,
    .cases-grid > *,
    .advantages-grid > * {
        flex: 0 0 85% !important;
        scroll-snap-align: start !important;
        min-width: 280px !important;
        margin-right: 0 !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Выравнивание содержимого внутри карточек */
    .feature-card,
    .competency-card,
    .tech-category,
    .roadmap-item,
    .case-card,
    .advantage-card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }
    
    /* Растягиваем списки и текстовые блоки */
    .feature-card__text,
    .competency-card__list,
    .tech-category__items,
    .roadmap-item__list,
    .case-card__desc,
    .advantage-card__text {
        flex: 1 !important;
    }
    
    /* Фиксируем нижние части карточек */
    .feature-card__more,
    .competency-card__effect,
    .roadmap-item__result,
    .case-card__result {
        margin-top: auto !important;
    }
    
    /* Убираем лишние элементы */
    .roadmap::before {
        display: none !important;
    }
    
    /* Показываем навигационные элементы на мобильных - МИНИМАЛИСТИЧНЫЕ */
    .carousel-nav {
        display: flex !important;
        opacity: 0.6;
        width: 32px;
        height: 32px;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: none;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .carousel-nav-left {
        left: 2px;
    }
    
    .carousel-nav-right {
        right: 2px;
    }
    
    .carousel-indicators {
        display: flex;
    }
    
    /* Анимация при касании */
    .feature-card:active,
    .competency-card:active,
    .tech-category:active,
    .roadmap-item:active,
    .case-card:active,
    .advantage-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .stat-item__number {
        font-size: 2.5rem;
    }
    
    .stat-item__label {
        font-size: 1rem;
    }
    
    .floating-btn {
        padding: 0.75rem 1.25rem;
        font-size: 1.5rem;
        bottom: 1rem;
        right: 1rem;
    }
    
    .popup {
        padding: 1.5rem;
        width: 95%;
    }
    
    .popup__icon {
        font-size: 3rem;
    }
    
    .popup__title {
        font-size: 1.5rem;
    }

    .features > *,
    .cards-grid > *,
    .tech-categories > *,
    .roadmap > *,
    .cases-grid > *,
    .advantages-grid > * {
        flex: 0 0 90% !important;
        min-width: 260px !important;
    }
}