/* ------------------------- */
/* 0. ГЛОБАЛЬНЫЕ СТИЛИ И ПЕРЕМЕННЫЕ */
/* ------------------------- */
:root {
    --bg-color: #FFFFFF;
    --text-color: #212529;
    --primary-color: #4A90E2;       /* Технологичный синий */
    --secondary-color: #50E3C2;    /* Мятный акцент */
    --neutral-light: #F1F3F5;      /* Светло-серый */
    --neutral-dark: #343A40;       /* Темно-серый */
    
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Roboto Mono', monospace;
}

/* Сброс стилей и box-sizing */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Настройка 1rem = 10px для удобства */
html {
    font-size: 62.5%; /* 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem; /* 16px */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ------------------------- */
/* 1. ХЕДЕР (HEADER) */
/* ------------------------- */
.header {
    padding: 2rem 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--neutral-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header__logo {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header__toggle {
    display: block; /* Показываем на мобильных */
    z-index: 101;
    color: var(--text-color);
}

/* Стили мобильного меню (по умолчанию скрыто) */
.nav {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding-top: 10rem;
}

.nav--open {
    display: block; /* Показываем при клике */
}

.nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.nav__link {
    font-size: 2.2rem;
    font-weight: 500;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link--cta {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav__link--cta:hover {
    background-color: #3a7bc8; /* Чуть темнее при наведении */
    color: var(--bg-color);
}

/* ------------------------- */
/* 1.1 ХЕДЕР (ДЕСКТОП ВЕРСИЯ) */
/* ------------------------- */
@media (min-width: 768px) {
    .header__toggle {
        display: none; /* Скрываем кнопку меню */
    }

    .nav {
        display: block; /* Показываем навигацию */
        position: static;
        height: auto;
        width: auto;
        background-color: transparent;
        backdrop-filter: none;
        padding-top: 0;
    }

    .nav__list {
        flex-direction: row;
        gap: 2.5rem;
    }

    .nav__link {
        font-size: 1.6rem;
    }

    .nav__link--cta {
        padding: 0.8rem 1.6rem;
    }
}

/* ------------------------- */
/* 2. ФУТЕР (FOOTER) */
/* ------------------------- */
.footer {
    padding-top: 6rem;
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 колонка */
    gap: 4rem;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--bg-color);
}

.footer__description {
    margin-top: 1rem;
    font-size: 1.4rem;
    opacity: 0.8;
}

.footer__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-color);
    margin-bottom: 2rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__link {
    color: var(--neutral-light);
    opacity: 0.8;
}

.footer__link:hover {
    color: var(--secondary-color); /* Акцент при наведении */
    opacity: 1;
}

.footer__address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0.8;
}

.footer__bottom {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 1.4rem;
    opacity: 0.7;
}

/* ------------------------- */
/* 2.1 ФУТЕР (ПЛАНШЕТ И ДЕСКТОП) */
/* ------------------------- */
@media (min-width: 768px) {
    .footer__container {
        /* 2 колонки на планшетах */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer__container {
        /* 4 колонки на десктопе */
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 5rem;
    }
}

/* ------------------------- */
/* 3. HERO (ГЛАВНЫЙ ЭКРАН) */
/* ------------------------- */

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

.hero__container {
    display: flex;
    flex-direction: column; /* Mobile-first: контент сверху */
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.hero__content {
    max-width: 60rem;
}

.hero__subtitle {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.6rem; /* Размер для мобильных */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--neutral-dark);
}

/* Стили для анимированного текста */
.hero__title--highlight {
    color: var(--primary-color);
    /* Добавляем "курсор" печатания */
    border-right: 3px solid var(--secondary-color);
    animation: blink 0.75s step-end infinite;
    padding-right: 2px;
}

/* Анимация мигания курсора */
@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: var(--secondary-color) }
}

.hero__description {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 3rem;
}

.hero__actions {
    display: flex;
    flex-direction: column; /* На мобильных кнопки друг под другом */
    align-items: center;
    gap: 1.5rem;
}

.hero__cta-btn {
    display: inline-block;
    padding: 1.4rem 3rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.hero__cta-btn:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.hero__secondary-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
}

.hero__secondary-btn .hero__secondary-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero__secondary-btn:hover .hero__secondary-icon {
    transform: translateY(3px);
}

.hero__image-wrapper {
    width: 100%;
    max-width: 50rem;
}

.hero__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    /* Можно добавить легкую тень, чтобы плейсхолдер не был плоским */
    background-color: var(--neutral-light);
    border: 1px solid var(--neutral-light);
}

/* ------------------------- */
/* 3.1 HERO (ПЛАНШЕТ И ДЕСКТОП) */
/* ------------------------- */

@media (min-width: 768px) {
    .hero__actions {
        flex-direction: row; /* Кнопки в ряд */
        justify-content: center;
        gap: 2rem;
    }

    .hero__title {
        font-size: 4.8rem; /* Увеличиваем шрифт */
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0;
    }
    
    .hero__container {
        flex-direction: row; /* Контент и картинка в ряд */
        justify-content: space-between;
        gap: 6rem;
        text-align: left; /* Текст слева */
    }

    .hero__content {
        flex: 1 1 55%; /* Контент занимает ~55% */
        max-width: none;
    }

    .hero__image-wrapper {
        flex: 1 1 45%; /* Картинка ~45% */
        max-width: none;
    }

    .hero__actions {
        justify-content: flex-start; /* Кнопки слева */
    }

    .hero__title {
        font-size: 5.4rem;
    }
}

/* ------------------------- */
/* 4. ОБЩИЕ СТИЛИ СЕКЦИЙ (Повторяемые) */
/* ------------------------- */

/* Общий отступ для секций */
.basics, 
.platforms { /* Добавим .platforms заранее */
    padding: 8rem 0;
}

/* Общий стиль для заголовков секций */
.section-header {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 6rem auto;
}

.section-header__subtitle {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--neutral-dark);
}

.section-header__description {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
}

/* Адаптация заголовков секций */
@media (min-width: 768px) {
    .section-header__title {
        font-size: 4rem;
    }
}

/* ------------------------- */
/* 5. СЕКЦИЯ "ОСНОВЫ" (BASICS) */
/* ------------------------- */
.basics {
    background-color: var(--neutral-light); /* Легкий фон для выделения */
}

.basics__grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 колонка на мобильных */
    gap: 3rem;
}

.basics__card {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.basics__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.15); /* Тень в --primary-color */
}

.basics__card-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    margin-bottom: 2rem;
}

.basics__card-icon {
    width: 24px;
    height: 24px;
}

.basics__card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

.basics__card-text {
    font-size: 1.5rem;
    line-height: 1.7;
}

/* ------------------------- */
/* 5.1 BASICS (ПЛАНШЕТ И ДЕСКТОП) */
/* ------------------------- */

@media (min-width: 768px) {
    .basics__grid {
        /* 3 колонки на планшетах и десктопах */
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ------------------------- */
/* 6. СЕКЦИЯ "ПЛАТФОРМЫ" (PLATFORMS) */
/* ------------------------- */

/* Стили в .basics, .platforms {} уже заданы выше */

.platforms__tabs-nav {
    display: flex;
    flex-direction: column; /* На мобильных - друг под другом */
    gap: 1rem;
    margin-bottom: 3rem;
    border-radius: 8px;
    background-color: var(--neutral-light);
    padding: 1rem;
}

.platforms__tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.7;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.platforms__tab-btn:hover {
    background-color: var(--bg-color);
    opacity: 1;
}

.platforms__tab-btn--active {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-weight: 700;
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.platforms__tab-icon {
    width: 20px;
    height: 20px;
}

/* Стили контента табов */
.platforms__content-pane {
    display: none; /* Скрываем по умолчанию */
    animation: fadeIn 0.5s ease;
}

.platforms__content-pane--active {
    display: block; /* Показываем активный */
}

.platforms__pane-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.platforms__pane-image {
    background-color: var(--neutral-light);
    border-radius: 8px;
    overflow: hidden;
}

.platforms__pane-text h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 1.5rem;
}

.platforms__pane-text p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.platforms__pane-text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.platforms__pane-text li {
    position: relative;
    padding-left: 2.5rem;
    font-size: 1.5rem;
}

/* Стили для "галочки" в списке */
.platforms__pane-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2350E3C2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>'); /* --secondary-color */
    background-size: contain;
    background-repeat: no-repeat;
}

.platforms__pane-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.platforms__pane-cta:hover {
    text-decoration: underline;
}

/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ------------------------- */
/* 6.1 PLATFORMS (ПЛАНШЕТ И ДЕСКТОП) */
/* ------------------------- */
@media (min-width: 768px) {
    .platforms__tabs-nav {
        flex-direction: row; /* Табы в ряд */
    }

    .platforms__tab-btn {
        font-size: 1.5rem; /* Чуть меньше шрифт */
    }

    .platforms__pane-grid {
        grid-template-columns: 1fr 1fr; /* 2 колонки */
        gap: 5rem;
    }

    /* Меняем порядок на 2м табе для "шахматного" вида */
    .platforms__content-pane[data-tab="2"] .platforms__pane-text {
        order: 2;
    }
}
/* ------------------------- */
/* 7. СЕКЦИЯ "AI-АССИСТЕНТЫ" (AI) */
/* ------------------------- */

/* Секция AI - фон как у Basics */
.ai {
    padding: 8rem 0;
    background-color: var(--neutral-light);
    overflow-x: hidden; /* Важно для AOS, чтобы не было горизонтальной прокрутки */
}

.ai__grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 колонка на мобильных */
    gap: 4rem;
    margin-bottom: 6rem;
}

.ai__feature-main {
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ai__feature-image {
    width: 100%;
    height: 20rem;
    background-color: var(--neutral-dark);
}

.ai__feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai__feature-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0 2.5rem;
    margin-top: 2.5rem;
}

.ai__feature-text {
    font-size: 1.6rem;
    line-height: 1.7;
    padding: 0 2.5rem 2.5rem 2.5rem;
}

.ai__feature-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.ai__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ai__item-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.ai__item-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ai__item-content p {
    font-size: 1.5rem;
    line-height: 1.6;
}

/* Внутренний CTA-блок */
.ai__cta {
    display: flex;
    flex-direction: column; /* На мобильных */
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, #3a7bc8 100%);
    color: var(--bg-color);
    padding: 4rem 3rem;
    border-radius: 12px;
    text-align: center;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
}

.ai__cta-icon {
    width: 40px;
    height: 40px;
    color: var(--secondary-color);
}

.ai__cta-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
}

.ai__cta-text {
    font-size: 1.6rem;
    opacity: 0.9;
    max-width: 50rem;
}

.ai__cta-btn {
    padding: 1.4rem 3rem;
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ai__cta-btn:hover {
    background-color: var(--neutral-light);
    transform: scale(1.05);
}


/* ------------------------- */
/* 7.1 AI (ПЛАНШЕТ И ДЕСКТОП) */
/* ------------------------- */
@media (min-width: 768px) {
    .ai__grid {
        /* 2 колонки */
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    .ai__cta {
        flex-direction: row; /* В ряд на десктопе */
        text-align: left;
        padding: 5rem 6rem;
        gap: 3rem;
    }

    .ai__cta-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .ai__cta-icon {
        display: none; /* Можно скрыть иконку на десктопе для строгости */
    }
}

@media (min-width: 1024px) {
    .ai__grid {
        /* Более крупная левая колонка */
        grid-template-columns: 1.2fr 1fr;
    }
}

/* ------------------------- */
/* 8. СЕКЦИЯ "КЕЙСЫ" (CASES) */
/* ------------------------- */

.cases {
    padding: 8rem 0;
    /* Оставим фон по умолчанию (белый) для чередования */
    background-color: var(--bg-color);
}

.accordion {
    max-width: 80rem;
    margin: 0 auto;
    border: 1px solid var(--neutral-light);
    border-radius: 8px;
    overflow: hidden;
}

.accordion__item {
    border-bottom: 1px solid var(--neutral-light);
}
.accordion__item:last-child {
    border-bottom: none;
}

.accordion__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 3rem;
    background-color: var(--bg-color);
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion__header:hover {
    background-color: var(--neutral-light);
}

.accordion__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neutral-dark);
}

.accordion__icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease-out;
    flex-shrink: 0;
    margin-left: 1rem;
}

/* Стили для открытого аккордеона */
.accordion__header[aria-expanded="true"] .accordion__icon {
    transform: rotate(180deg);
}

.accordion__header[aria-expanded="true"] {
    background-color: #f8f9fa; /* Чуть темнее белого */
}

.accordion__content {
    max-height: 0; /* Скрыто по умолчанию */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion__content-inner {
    padding: 0 3rem 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accordion__content-inner p {
    font-size: 1.6rem;
    line-height: 1.7;
}

.accordion__image {
    width: 100%;
    max-width: 40rem;
    margin-top: 1rem;
    border-radius: 6px;
    background-color: var(--neutral-light);
}

/* ------------------------- */
/* 8.1 CASES (ПЛАНШЕТ И ДЕСКТОП) */
/* ------------------------- */

@media (min-width: 768px) {
    .accordion__title {
        font-size: 2rem;
    }
}

/* ------------------------- */
/* 9. СЕКЦІЯ "КОНТАКТИ" (CONTACT) */
/* ------------------------- */

.contact {
    padding: 8rem 0;
    background-color: var(--neutral-light);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr; /* 1 колонка на мобільних */
    gap: 5rem;
}

/* Інфо-блок (ліворуч) */
.contact__info .section-header {
    margin-bottom: 3rem;
}

.contact__disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.contact__disclaimer-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Блок форми (праворуч) */
.contact__form-wrapper {
    background-color: var(--bg-color);
    padding: 4rem 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
}

.form__group {
    margin-bottom: 2rem;
}

.form__label {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.form__input {
    width: 100%;
    padding: 1.4rem;
    font-size: 1.6rem;
    border: 1px solid var(--neutral-light);
    border-radius: 5px;
    background-color: #f8f9fa;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* Капча */
.form__group--captcha {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.form__group--captcha .form__label {
    margin-bottom: 0;
    flex-shrink: 0;
}

.form__input--captcha {
    width: 8rem;
    text-align: center;
}

/* Чекбокс */
.form__group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.form__checkbox {
    margin-top: 5px;
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
}

.form__checkbox-label {
    font-size: 1.3rem;
    line-height: 1.5;
}

.form__checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Кнопка */
.form__btn {
    width: 100%;
    padding: 1.6rem 3rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.form__btn:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
}

/* Повідомлення про успіх */
.contact__success-message {
    display: none; /* Приховано за замовчуванням */
    text-align: center;
    padding: 4rem;
    animation: fadeIn 0.5s ease;
}

.contact__success-icon {
    width: 60px;
    height: 60px;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.contact__success-message h4 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact__success-message p {
    font-size: 1.6rem;
}


/* ------------------------- */
/* 9.1 CONTACT (ПЛАНШЕТ И ДЕСКТОП) */
/* ------------------------- */
@media (min-width: 992px) {
    .contact__wrapper {
        grid-template-columns: 1fr 1fr; /* 2 колонки */
        align-items: center;
    }
}

/* ------------------------- */
/* 10. COOKIE POP-UP */
/* ------------------------- */

.cookie-popup {
    display: none; /* Приховано за замовчуванням */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
    padding: 2.5rem 0;
    z-index: 200;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.5s ease-out;
}

/* Клас для показу через JS */
.cookie-popup--open {
    display: block;
}

.cookie-popup__container {
    display: flex;
    flex-direction: column; /* На мобільних */
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    
    /* Використовуємо .container з налаштуванням ширини */
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-popup__text {
    font-size: 1.4rem;
    line-height: 1.6;
    text-align: center;
}

.cookie-popup__link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-popup__btn {
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: var(--neutral-dark);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cookie-popup__btn:hover {
    background-color: var(--bg-color);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (min-width: 768px) {
    .cookie-popup__container {
        flex-direction: row; /* В ряд на десктопі */
    }
    .cookie-popup__text {
        text-align: left;
    }
}

/* ------------------------- */
/* 11. СТИЛІ ДЛЯ СТОРІНОК (PRIVACY, TERMS) */
/* ------------------------- */

.pages {
    padding: 6rem 0;
}

.pages .container {
    max-width: 80rem; /* Вужчий контейнер для читабельності */
}

.pages h1,
.pages h2 {
    font-family: var(--font-heading);
    color: var(--neutral-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.pages h1 {
    font-size: 4rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--neutral-light);
    padding-bottom: 1.5rem;
}

.pages h2 {
    font-size: 2.8rem;
    margin-top: 4rem;
}

.pages p,
.pages li {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.pages ul {
    list-style: disc;
    padding-left: 2.5rem;
    margin-top: 1.5rem;
}

.pages a {
    color: var(--primary-color);
    text-decoration: underline;
}

.pages a:hover {
    color: #3a7bc8;
}

.pages strong {
    font-weight: 700;
}