/* --- Global Settings & Variables --- */
:root {
    --color-bg: #ffffff;
    --color-text: #374151;
    --color-primary: #6366f1; /* Indigo 500 */
    --color-primary-hover: #4f46e5; /* Indigo 600 */
    --color-accent: #2dd4bf; /* Teal 400 */
    --color-dark: #111827; /* Gray 900 */
    --color-light: #f3f4f6; /* Gray 100 */
    --border-radius: 12px;
    --container-width: 1200px;
    
    --font-main: 'Manrope', sans-serif;
    --font-head: 'Space Grotesk', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 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-head);
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
}

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

/* --- Header --- */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.header__logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

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

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

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

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

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

.header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-dark);
    color: #d1d5db;
    padding: 80px 0 20px;
    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-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 20px;
}

.footer__desc {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 24px;
}

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

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

.footer__link {
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer__link:hover {
    color: var(--color-accent);
}

.footer__socials {
    display: flex;
    gap: 15px;
}

.footer__socials a {
    color: #fff;
    opacity: 0.7;
}

.footer__socials a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

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

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* Simple hide for now, JS can toggle */
    }
    
    .header__burger {
        display: block;
    }

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh; /* Майже на весь екран */
    display: flex;
    align-items: center;
    background-color: var(--color-dark);
    color: #fff;
    overflow: hidden;
    padding-top: 40px; /* Відступ від фіксованого хедера */
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6; /* Щоб не заважало читати текст */
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Badges */
.hero__badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge--accent {
    background-color: rgba(45, 212, 191, 0.15);
    color: var(--color-accent);
}

.badge--outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Typography */
.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: #9ca3af;
    margin-bottom: 40px;
    max-width: 540px;
}

/* Actions */
.hero__actions {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

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

.btn--glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.hero__note {
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Visual / Glass Card */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    width: 320px;
    transform: rotate(-5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.glass-card__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.glass-card__status {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.glass-card__title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.glass-card__graph {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    margin-bottom: 20px;
}

.bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: height 1s ease;
}

.bar.active {
    background: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
}

.glass-card__text {
    font-size: 0.9rem;
    color: #9ca3af;
    text-align: right;
}

@keyframes float {
    0% { transform: rotate(-5deg) translateY(0px); }
    50% { transform: rotate(-5deg) translateY(-20px); }
    100% { transform: rotate(-5deg) translateY(0px); }
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 60px;
    }

    .hero__badges, .hero__actions, .hero__note {
        justify-content: center;
    }

    .hero__subtitle {
        margin: 0 auto 40px;
    }

    .hero__visual {
        margin-top: 40px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
}

/* --- Sections General --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
}

/* --- Strategy / Features Grid --- */
.strategy {
    background-color: var(--color-bg);
}

.strategy__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

/* Декоративний фон при ховері */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(45, 212, 191, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.feature-card__icon-box {
    width: 60px;
    height: 60px;
    background: var(--color-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    color: var(--color-dark);
}

.feature-card:hover .feature-card__icon-box {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(-10deg);
}

.feature-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card__text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

.strategy__footer {
    text-align: center;
}

/* Responsive adjustment for title */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* --- Mentoring Section --- */
.mentoring {
    background-color: var(--color-light); /* Легкий контраст від попередньої секції */
    overflow: hidden;
}

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

.mentoring__text {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 30px;
}

.mentoring__list {
    margin-bottom: 40px;
}

.mentoring__item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.mentoring__icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.mentoring__icon i {
    width: 14px;
    height: 14px;
}

.mentoring__subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-dark);
}

.mentoring__item p {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Visual Side */
.mentoring__image-wrapper {
    position: relative;
    border-radius: 24px;
}

.mentoring__img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Floating Card Decoration */
.floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: #fff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float-card 4s ease-in-out infinite;
    max-width: 220px;
}

.floating-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 193, 7, 0.2); /* Gold tint */
    color: #f59e0b; /* Gold */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card__info {
    display: flex;
    flex-direction: column;
}

.floating-card__label {
    font-size: 0.8rem;
    color: #9ca3af;
}

.floating-card__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
}

@keyframes float-card {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Responsive Mentoring */
@media (max-width: 992px) {
    .mentoring__container {
        grid-template-columns: 1fr;
    }

    .mentoring__image-wrapper {
        margin-top: 30px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .floating-card {
        left: -10px; /* Adjust for smaller screens */
        bottom: 20px;
    }
}

/* --- Blog Section --- */
.blog {
    background-color: #fff;
}

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

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Image & Zoom Effect */
.blog-card__image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Content */
.blog-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 12px;
}

.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-card:hover .blog-card__title {
    color: var(--color-primary);
}

.blog-card__text {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the link to the bottom */
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.blog-card__link i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.blog-card__link:hover i {
    transform: translateX(4px);
}

/* Footer CTA in Blog */
.blog__footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.blog__footer p {
    color: #6b7280;
    font-size: 1.1rem;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* --- Reviews Section --- */
.reviews {
    background-color: var(--color-dark);
    color: #fff;
}

/* Модифікатор для заголовка на темному фоні */
.section-header--light .section-title {
    color: #fff;
}

.section-header--light .section-subtitle {
    color: #9ca3af;
}

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

.review-card {
    background: #1f2937; /* Lighter than main dark bg */
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

.review-card__info {
    display: flex;
    flex-direction: column;
}

.review-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.review-card__role {
    font-size: 0.85rem;
    color: #9ca3af;
}

.review-card__rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-fill {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
    color: #f59e0b;
}

.star-half {
    width: 16px;
    height: 16px;
    color: #f59e0b;
}

.review-card__text {
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
}

.review-card__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.result-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Contact Section --- */
.contact {
    background-color: #f9fafb;
    position: relative;
}

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

.contact__desc {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 30px;
}

.contact__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-dark);
}

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

.icon-circle i {
    width: 14px;
    height: 14px;
}

/* Form Styling */
.contact__form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.form__group {
    margin-bottom: 20px;
    position: relative;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
}

.form__input {
    width: 100%;
    padding: 12px 16px 12px 42px; /* padding-left for icon */
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}

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

/* Captcha specific */
.captcha-group .form__input {
    padding-left: 16px; /* No icon for captcha */
}

.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    position: absolute;
    bottom: -18px;
    left: 0;
    display: none;
}

.form__input.error {
    border-color: #ef4444;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.checkbox-group input {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
    cursor: pointer;
}

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

/* Button full width */
.btn--full {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #d1fae5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

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

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

/* --- Cookie Pop-up --- */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* Спочатку сховано внизу */
    background: #fff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    z-index: 9999;
    max-width: 90%;
    width: 400px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-popup.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

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

.cookie-popup__text {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
    margin: 0;
}

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

.btn--sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .cookie-popup__content {
        flex-direction: column;
        text-align: center;
    }
    .btn--sm {
        width: 100%;
    }
}

/* --- Text Pages (Privacy, Terms, etc.) --- */
.pages {
    padding: 120px 0 80px; /* Великий відступ зверху, бо хедер фіксований */
    background-color: #f9fafb;
    min-height: 60vh;
}

.pages .container {
    max-width: 800px; /* Вужчий контейнер для зручного читання тексту */
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pages h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.pages h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.pages p {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

.pages ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
    color: #4b5563;
}

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

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

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