/* --- Variables & Reset --- */
:root {
    --color-bg: #0B0C15;         /* Очень темный, почти черный */
    --color-surface: #151725;    /* Светлее для блоков/футера */
    --color-primary: #6366f1;    /* Индиго */
    --color-accent: #06b6d4;     /* Циан */
    --color-text-main: #e2e8f0;  /* Белый с оттенком */
    --color-text-muted: #94a3b8; /* Серый */
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(11, 12, 21, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.header__logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.header__nav {
    display: flex;
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 15px;
    color: var(--color-text-muted);
    font-weight: 500;
    position: relative;
}

.nav__link:hover {
    color: #fff;
}

.nav__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.header__burger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--color-bg);
        flex-direction: column;
        overflow: hidden;
        transition: height 0.3s ease;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .header__nav.is-open {
        height: auto;
        padding-bottom: 20px;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
    }

    .header__cta {
        display: none; /* Can be moved inside nav for mobile if needed */
    }

    .header__burger {
        display: block;
    }
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-surface);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.footer__desc {
    color: var(--color-text-muted);
    font-size: 14px;
    max-width: 300px;
}

.footer__title {
    font-size: 18px;
    margin-bottom: 24px;
    color: #fff;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__link {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer__link:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.footer__contact-item i {
    color: var(--color-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer__bottom p {
    color: var(--color-text-muted);
    font-size: 13px;
}

@media (max-width: 992px) {
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh; /* На весь екран */
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Background Animation Canvas */
.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Overlay to dim the canvas slightly for text readability */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--color-bg) 90%);
    z-index: 2;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero__content {
    max-width: 800px;
}

/* Badge */
.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Typography */
.hero__title {
    font-size: 48px; /* Desktop */
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

/* Stats */
.hero__stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.hero__stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.hero__stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero__title {
        font-size: 36px;
    }
    
    .hero__stats {
        gap: 30px;
    }

    .hero__stat-num {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 30px;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- GENERAL SECTIONS --- */
.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

/* --- SOLUTIONS GRID --- */
.solutions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* --- CARDS --- */
.card {
    background-color: rgba(21, 23, 37, 0.6); /* Полупрозрачный фон */
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Эффект градиентной рамки при наведении */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 2px; /* толщина рамки */
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    background-color: rgba(21, 23, 37, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    opacity: 1;
}

.card__icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.card__icon i {
    width: 30px;
    height: 30px;
}

.card:hover .card__icon {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.card__text {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Адаптив для заголовков */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
}

/* --- TIMELINE SECTION --- */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Вертикальная линия по центру */
.timeline__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    z-index: 0;
}

/* Градиентный "фитиль" на линии (красивый эффект) */
.timeline__line::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    opacity: 0.5;
    box-shadow: 0 0 15px var(--color-primary);
}

.timeline__item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    z-index: 1;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

/* Четные справа, нечетные слева */
.timeline__item--left {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline__item--right {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

/* Маркер (кружок с цифрой) */
.timeline__marker {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    background: var(--color-surface);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
}

/* Позиционирование маркера */
.timeline__item--left .timeline__marker {
    right: -20px;
}

.timeline__item--right .timeline__marker {
    left: -20px;
}

.timeline__item:hover .timeline__marker {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* Контент блока */
.timeline__content {
    background: rgba(21, 23, 37, 0.6);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.timeline__content:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline__icon {
    display: inline-flex;
    margin-bottom: 15px;
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 10px;
    border-radius: 10px;
}

.timeline__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.timeline__text {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Перестановка иконок и текста для левой стороны */
.timeline__item--left .timeline__content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* --- RESPONSIVE TIMELINE --- */
@media (max-width: 768px) {
    .timeline__line {
        left: 20px; /* Линия сдвигается влево */
    }

    .timeline__item {
        width: 100%;
        left: 0;
        padding-left: 60px; /* Отступ от линии */
        padding-right: 0;
        text-align: left;
    }

    /* Сброс стилей для левой стороны */
    .timeline__item--left {
        text-align: left;
    }

    .timeline__item--left .timeline__content {
        align-items: flex-start;
    }

    .timeline__marker {
        left: 0 !important; /* Маркеры всегда слева на линии */
        right: auto !important;
    }
}

/* --- BLOG SECTION --- */
.blog {
    background-color: #0d0f1a; /* Чуть отличается от основного фона для контраста */
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--color-surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Изображение */
.blog-card__image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.05);
}

/* Тэг поверх картинки */
.blog-card__tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(11, 12, 21, 0.8);
    color: var(--color-accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(6, 182, 212, 0.3);
    backdrop-filter: blur(4px);
}

/* Контент карточки */
.blog-card__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.blog-card__meta i {
    width: 14px;
    height: 14px;
}

.blog-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #fff;
}

.blog-card__excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Прижимает кнопку к низу */
}

/* Ссылка "Читать далее" */
.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap 0.3s ease;
}

.blog-card__link i {
    width: 16px;
    height: 16px;
}

.blog-card__link:hover {
    gap: 10px; /* Эффект движения стрелки */
    color: var(--color-accent);
}

/* Спец. стиль для активной ссылки (Онлайн тест) */
.blog-card__link--active {
    color: var(--color-accent);
}

/* --- FAQ SECTION --- */
.faq {
    background-color: var(--color-bg);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion__item {
    background: rgba(21, 23, 37, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion__item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.accordion__item.active {
    background: rgba(21, 23, 37, 0.8);
    border-color: var(--color-primary);
}

.accordion__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.accordion__item.active .accordion__header {
    color: var(--color-accent);
}

.accordion__icon {
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.accordion__item.active .accordion__icon {
    transform: rotate(180deg);
    color: var(--color-accent);
}

/* Анімація розкриття */
.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    will-change: max-height;
}

.accordion__content {
    padding: 0 24px 24px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .accordion__header {
        font-size: 16px;
        padding: 16px 20px;
    }
}

/* --- CONTACT SECTION --- */
.contact {
    position: relative;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__title {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact__desc {
    color: var(--color-text-muted);
    margin-bottom: 40px;
    font-size: 16px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact__icon-box {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact__label {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact__link {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* FORM STYLES */
.contact__form-wrapper {
    background: var(--color-surface);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    pointer-events: none;
}

.form-input {
    width: 100%;
    background: rgba(11, 12, 21, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px 14px 44px; /* Padding left for icon */
    color: #fff;
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Captcha */
.captcha-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
}

.captcha-task {
    background: var(--color-bg);
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-accent);
    user-select: none;
}

.captcha-input {
    padding-left: 16px !important; /* Override icon padding */
    text-align: center;
    width: 80px;
}

.form-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    display: none; /* Hidden by default */
}

.form-error.visible {
    display: block;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(11, 12, 21, 0.6);
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -60%) rotate(-45deg);
}

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

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Success Message */
.success-message {
    display: none; /* Hidden by default */
    text-align: center;
    padding: 40px 20px;
}

.success-message.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon i {
    width: 40px;
    height: 40px;
}

.success-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: #fff;
}

/* Responsive Contact */
@media (max-width: 992px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(21, 23, 37, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    z-index: 9999;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default, controlled by JS */
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

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

.btn--sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* --- PAGES STYLES (Privacy, Terms, etc.) --- */
.pages {
    padding: 120px 0 80px; /* Increased top padding for header */
}

.pages h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #fff;
}

.pages h2 {
    font-size: 24px;
    margin: 30px 0 16px;
    color: var(--color-primary);
}

.pages p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.pages ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.pages li {
    margin-bottom: 8px;
}

.pages strong {
    color: #fff;
}

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