/* ======== 0. GLOBAL STYLES ======== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;800&family=Roboto:wght@400;500&display=swap');

/* Root Variables */
:root {
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --color-bg: #0D1117;
    --color-surface: #161B22;
    --color-text: #C9D1D9;
    --color-text-secondary: #8B949E;
    --color-primary: #58A6FF;
    --color-accent: #3FB950;
    --color-border: #30363D;

    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

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

/* Utility */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Lucide Icons */
.lucide {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}


/* ======== 1. HEADER ======== */
.header {
    width: 100%;
    height: var(--header-height);
    border-bottom: 1px solid var(--color-border);
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    text-decoration: none;
}

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

.nav__toggle {
    display: block;
    color: var(--color-text);
    z-index: 101;
}

.nav__toggle .lucide {
    width: 32px;
    height: 32px;
}

.nav__list {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 70%;
    /* max-width: 300px; */
    height: 100vh;
    background-color: var(--color-surface);
    flex-direction: column;
    padding: 100px 30px 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    gap: 20px;
}

.nav__list.is-active {
    right: 0;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 10px 0;
    display: block;
}

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

.nav__link--cta {
    color: var(--color-bg);
    background-color: var(--color-primary);
    padding: 10px 20px;
    border-radius: 6px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.nav__link--cta:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

/* ======== 2. MAIN (Placeholder) ======== */
.main {
    /* Add padding to offset fixed header */
    padding-top: var(--header-height); 
    min-height: 100vh; /* Ensure footer is at bottom */
}


/* ======== 3. FOOTER ======== */
.footer {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding-top: 60px;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer__description {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: 15px;
    max-width: 300px;
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.footer__list {
    display: grid;
    gap: 10px;
}

.footer__link {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.footer__link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer__address {
    font-style: normal;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.footer__contact-item .lucide {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    margin-top: 40px;
    padding: 20px 0;
}

.footer__bottom-container {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}


/* ======== 4. RESPONSIVENESS (Mobile-First) ======== */

/* Tablet */
@media (min-width: 768px) {
    .nav__toggle {
        display: none; /* Hide hamburger menu */
    }

    .nav__list {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        gap: 25px;
        align-items: center;
    }
    
    .nav__link {
        font-size: 1rem;
        font-weight: 500;
        color: var(--color-text-secondary);
        padding: 0;
    }

    .nav__link:hover {
        color: var(--color-text);
    }
    
    .nav__link--cta {
        color: var(--color-bg);
        background-color: var(--color-primary);
        padding: 8px 18px;
    }
    
    .nav__link--cta:hover {
        background-color: var(--color-text);
        color: var(--color-bg);
    }

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

/* Desktop */
@media (min-width: 1024px) {
    .footer__container {
        /* 2fr 1fr 1fr 2fr */
        grid-template-columns: 2fr 1fr 1fr 2fr;
        gap: 40px;
    }
}

/* ======== 5. HERO SECTION ======== */
.hero {
    /* Відступ від фіксованого хедера */
    padding-top: var(--header-height); 
    padding-bottom: 60px;
    background-color: var(--color-bg);
    overflow: hidden; /* Для анімацій */
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    min-height: 90vh; /* Займає майже весь екран */
}

.hero__content {
    text-align: center;
    /* Налаштування для анімації */
    opacity: 0;
}

.hero__title {
    font-size: 2.8rem; /* 45px */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__title-line {
    display: block;
    /* Налаштування для анімації */
    transform: translateY(30px);
    opacity: 0;
}

.hero__description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    
    /* Налаштування для анімації */
    transform: translateY(20px);
    opacity: 0;
}

.hero__description strong {
    color: var(--color-primary);
    font-weight: 500;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    
    /* Налаштування для анімації */
    transform: scale(0.9);
    opacity: 0;
}

/* --- Глобальний клас для кнопок --- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.button--primary {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.button--primary:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.button--secondary {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.button--secondary:hover {
    background-color: var(--color-surface);
    border-color: var(--color-primary);
    color: var(--color-primary);
}
/* --- Кінець стилів кнопок --- */

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Налаштування для анімації */
    opacity: 0;
}

.hero__image-wrapper {
    position: relative;
    max-width: 450px;
}

.hero__image {
    width: 100%;
    border-radius: 12px;
    /* Створюємо ефект "глибини" */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Декоративні елементи "за" картинкою */
.hero__deco {
    position: absolute;
    border-radius: 8px;
    z-index: 1;
    background-color: var(--color-surface);
    opacity: 0.5;
}
.hero__deco--1 {
    width: 80%;
    height: 80%;
    top: -15px;
    left: -15px;
    transform: rotate(-5deg);
}
.hero__deco--2 {
    width: 90%;
    height: 90%;
    bottom: -15px;
    right: -15px;
    background: var(--color-border);
    transform: rotate(4deg);
}

/* --- Адаптивність (Mobile-First) --- */

/* Планшет */
@media (min-width: 768px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .hero__title {
        font-size: 3.5rem; /* 56px */
    }
    .hero__description {
        font-size: 1.15rem;
    }
}

/* Десктоп */
@media (min-width: 1024px) {
    .hero__container {
        grid-template-columns: 1.1fr 0.9fr; /* Текст трохи ширший */
        gap: 60px;
        min-height: calc(100vh - var(--header-height));
    }
    
    .hero__content {
        text-align: left;
    }
    
    .hero__description {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero__actions {
        justify-content: flex-start;
    }
}

/* ======== 6. GENERIC SECTION STYLES ======== */

/* Загальний стиль для всіх секцій */
.section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Чергування фону для динаміки */
.section:nth-of-type(odd) {
    background-color: var(--color-surface);
}

/* Загальний стиль для заголовків секцій */
.section-header {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.section-header__subtitle {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.section-header__title {
    font-size: 2.5rem; /* 40px */
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header__description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.section-header__description strong {
    color: var(--color-text);
    font-weight: 500;
}

/* Загальний стиль для карток */
.card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--color-primary);
}

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: var(--color-surface);
    margin-bottom: 20px;
}

.card__icon .lucide {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.card__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card__text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}


/* ======== 7. BASICS SECTION ======== */
.basics {
    /* Ця секція буде мати фон --color-surface, 
       оскільки вона друга (.section:nth-of-type(odd)) */
}

.basics__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}


/* --- Адаптивність (Mobile-First) --- */

/* Планшет */
@media (min-width: 768px) {
    .section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .section-header__title {
        font-size: 2.8rem;
    }
    .basics__grid {
        /* Всі картки в один ряд, CSS Grid їх рівномірно поділить */
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Десктоп */
@media (min-width: 1024px) {
    .section {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

/* ======== 8. PLATFORMS SECTION ======== */
.platforms {
    /* Ця секція буде мати фон --color-bg, 
       оскільки вона третя (непарна) */
    background-color: var(--color-bg);
}

.platforms__tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.platforms__tab-list {
    display: flex;
    overflow-x: auto;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 30px;
    /* Для скролу на мобільних */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.platforms__tab-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.platforms__tab-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-bottom: 4px solid transparent;
    margin-bottom: -2px; /* Накладання на нижній бордер */
    white-space: nowrap;
    transition: all 0.3s ease;
}

.platforms__tab-button:hover {
    color: var(--color-text);
    background-color: var(--color-surface);
}

.platforms__tab-button[aria-selected="true"] {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.platforms__tab-button .lucide {
    width: 20px;
    height: 20px;
}

/* Панелі */
.platforms__tab-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

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

/* Схована панель */
.platforms__tab-panel[hidden] {
    display: none;
}

.platforms__panel-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.platforms__panel-content p {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.platforms__feature-list {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.platforms__feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.platforms__feature-list .lucide {
    width: 20px;
    height: 20px;
    color: var(--color-accent); /* Зелений */
}

.platforms__panel-visual {
    order: -1; /* Зображення зверху на мобільних */
}

.platforms__panel-image {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

/* --- Адаптивність (Mobile-First) --- */

/* Планшет */
@media (min-width: 768px) {
    .platforms__tab-list {
        justify-content: center;
    }
    .platforms__tab-button {
        padding: 20px 30px;
    }
    .platforms__tab-panel {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .platforms__panel-visual {
        order: 1; /* Зображення праворуч на десктопі */
    }
    .platforms__panel-content h3 {
        font-size: 2rem;
    }
}

/* ======== 9. AI-ASSISTANTS SECTION ======== */
.ai {
    /* Ця секція буде мати фон --color-surface, 
       оскільки вона четверта (парна) */
    background-color: var(--color-surface);
}

.ai__comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 50px;
}

.ai__comparison-card {
    border-radius: 12px;
    padding: 30px;
    border: 2px solid var(--color-border);
}

.ai__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Кругла іконка */
    margin-bottom: 20px;
}

.ai__card-icon .lucide {
    width: 24px;
    height: 24px;
}

.ai__card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.ai__card-description {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    min-height: 50px; /* Вирівнюємо висоту */
}

.ai__feature-list {
    display: grid;
    gap: 12px;
}

.ai__feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai__feature-list .lucide {
    width: 20px;
    height: 20px;
}

/* --- Стилі для картки Standard Bot --- */
.ai__comparison-card--standard .ai__card-icon {
    background-color: #4a4a4a; /* Тьмяний фон */
    color: var(--color-text-secondary);
}
.ai__comparison-card--standard .ai__feature-list .lucide {
    color: #b33939; /* Червоний */
}

/* --- Стилі для картки AI Assistant --- */
.ai__comparison-card--ai {
    border-color: var(--color-primary); /* Акцентний бордер */
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.1);
}
.ai__comparison-card--ai .ai__card-icon {
    background-color: rgba(88, 166, 255, 0.15); /* Фон іконки */
    color: var(--color-primary);
}
.ai__comparison-card--ai .ai__feature-list .lucide {
    color: var(--color-accent); /* Зелений */
}

/* --- CTA Блок --- */
.ai__cta-block {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ai__cta-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.ai__cta-text {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
}
.ai__cta-text strong {
    color: var(--color-text);
}


/* --- Адаптивність (Mobile-First) --- */

/* Планшет */
@media (min-width: 768px) {
    .ai__comparison-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .ai__card-description {
        min-height: 80px; /* Вирівнюємо висоту */
    }
}

/* ======== 10. CASES (FAQ) SECTION ======== */
.cases {
    /* Ця секція буде мати фон --color-bg, 
       оскільки вона п'ята (непарна) */
    background-color: var(--color-bg);
}

.cases__accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden; /* Обрізає кути */
}

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

.accordion__header {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 15px;
    transition: background-color 0.3s ease;
}
.accordion__header:hover {
    background-color: var(--color-surface);
}

.accordion__title {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
}

.accordion__icon {
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

/* Стилі активного елемента */
.accordion__item.is-active .accordion__icon {
    transform: rotate(180deg);
}

.accordion__panel {
    max-height: 0; /* За замовчуванням приховано */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion__content {
    padding: 0 25px 25px 25px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.accordion__content strong {
    color: var(--color-text);
}

/* ======== 11. CONTACT SECTION ======== */
.contact {
    /* Ця секція буде мати фон --color-surface, 
       оскільки вона шоста (парна) */
    background-color: var(--color-surface);
}

.contact__wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
}

.contact__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group__label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.form-group__input-wrapper {
    position: relative;
}

.form-group__input-wrapper .lucide {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
    width: 20px;
}

.form-group__input {
    width: 100%;
    padding: 12px 15px 12px 50px; /* Відступ для іконки */
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group__input::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.7;
}

.form-group__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
}

/* Checkbox */
.form-group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 5px;
}

.form-group__checkbox {
    width: 1.15em;
    height: 1.15em;
    margin-top: 0.2em;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-group__checkbox:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-position: center;
    background-repeat: no-repeat;
}

.form-group__checkbox-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}
.form-group__checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Button */
.contact__button {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
    margin-top: 10px;
}

/* Form Messages */
.form-message {
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}
.form-message--success {
    background-color: rgba(63, 185, 80, 0.1);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}
.form-message--error {
    background-color: rgba(179, 57, 57, 0.1);
    border: 1px solid #b33939;
    color: #e57373;
}

/* --- Адаптивність --- */
@media (min-width: 768px) {
    .contact__wrapper {
        padding: 50px;
    }
}

/* ======== 12. COOKIE POPUP ======== */
.cookie-popup {
    position: fixed;
    bottom: -100%; /* Приховано за замовчуванням */
    left: 0;
    width: 100%;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 20px;
    z-index: 200;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    transition: bottom 0.5s ease-out;
}

.cookie-popup.is-visible {
    bottom: 0; /* Показати */
}

.cookie-popup__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.cookie-popup__text {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

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

.cookie-popup__button {
    padding: 8px 25px;
    font-size: 0.9rem;
}

/* Адаптивність */
@media (min-width: 768px) {
    .cookie-popup__container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ======== 13. POLICY PAGES (privacy.html, etc.) ======== */

/* HTML-структура для цих сторінок має бути такою:
   <body>
    <main class="pages">
        <div class="container">
            <h1>Заголовок</h1>
            <p>Текст...</p>
            <h2>Підзаголовок</h2>
            ...
        </div>
    </main>
   </body>
*/

.pages {
    padding-top: 60px; /* Відступ від верху */
    padding-bottom: 60px;
    background-color: var(--color-surface);
    min-height: 100vh;
}

.pages .container {
    max-width: 800px; /* Вужчий контейнер для читабельності */
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
}

.pages h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 15px;
}

.pages h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pages p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.pages ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.pages li {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
}

.pages strong {
    color: var(--color-text);
    font-weight: 600;
}

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

.pages a:hover {
    text-decoration: none;
}

/* Адаптивність */
@media (min-width: 768px) {
    .pages {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .pages .container {
        padding: 50px;
    }
    .pages h1 {
        font-size: 3rem;
    }
}