/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@700;800&family=Inter:wght@400;500&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
    --header-height: 5rem;

    /* Colors */
    --primary-color: #6A5ACD;
    --secondary-color: #48D1CC;
    --gradient: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    
    --background-color: #0D0D1A;
    --container-color: #161624;
    --text-color: #B0B0C0;
    --title-color: #FFFFFF;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --body-font: 'Inter', sans-serif;
    --title-font: 'Manrope', sans-serif;

    --h1-font-size: 2.5rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;

    /* Font weight */
    --font-medium: 500;
    --font-bold: 700;
    --font-extra-bold: 800;

    /* Margins & Paddings */
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;

    /* z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
}

/* ==================== BASE STYLES ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--background-color);
    color: var(--text-color);
}

h1, h2, h3 {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ==================== REUSABLE CSS CLASSES ==================== */
.container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

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

.header__container {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-extra-bold);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.header__logo:hover {
    color: var(--secondary-color);
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header__nav-link {
    color: var(--text-color);
    font-weight: var(--font-medium);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease-in-out;
}

.header__nav-link:hover {
    color: var(--title-color);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__nav-link--button {
    background: var(--gradient);
    color: var(--title-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.header__nav-link--button:hover {
    color: var(--title-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 90, 205, 0.4);
}
.header__nav-link--button:hover::after {
    width: 0;
}


/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--container-color);
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    row-gap: 3rem;
}

.footer__logo {
    font-size: 1.5rem;
    font-family: var(--title-font);
    font-weight: var(--font-extra-bold);
    color: var(--title-color);
    display: inline-block;
    margin-bottom: var(--mb-1);
}

.footer__description {
    font-size: var(--small-font-size);
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1-5);
}

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

.footer__link {
    color: var(--text-color);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer__link:hover {
    color: var(--secondary-color);
    padding-left: 0.25rem;
}

.footer__column--contact .footer__list {
    gap: 1rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.footer__bottom {
    margin-top: 4rem;
    padding: 1.5rem 0;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
}

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

/* ==================== MEDIA QUERIES (ADAPTIVE) ==================== */
@media screen and (max-width: 768px) {
    .header__nav {
        display: none; /* Будет заменено на мобильное меню в будущем */
    }
}

/* ==================== BUTTONS ==================== */
.button {
    display: inline-block;
    background: var(--gradient);
    color: var(--title-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: var(--font-bold);
    transition: all 0.4s ease;
    box-shadow: 0 5px 25px rgba(106, 90, 205, 0.3);
    border: 2px solid transparent;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(72, 209, 204, 0.4);
}

.button--flex {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.button__icon {
    transition: transform 0.3s ease;
}

.button:hover .button__icon {
    transform: translateX(5px);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero #hero-3d-container,
.hero #hero-3d-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    outline: none;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Адаптивный размер шрифта */
    font-weight: var(--font-extra-bold);
    line-height: 1.2;
    margin-bottom: var(--mb-1-5);
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.hero__title span {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: var(--mb-0-5);
}

.hero__description {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto var(--mb-2-5);
    color: var(--text-color);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.hero__scroll:hover {
    color: var(--title-color);
}

.hero__scroll-icon,
.hero__scroll-arrow {
    width: 20px;
    height: 20px;
}

.hero__scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* ==================== REUSABLE SECTION STYLES ==================== */
.section {
    padding: 6rem 0 2rem;
    overflow: hidden; /* Для анимаций появления */
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-bold);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    margin-bottom: var(--mb-0-5);
}

.section__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: var(--font-extra-bold);
}

/* ==================== FEATURES ==================== */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.features__item {
    background-color: var(--container-color);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    /* Анимация появления */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.features__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.features__item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 90, 205, 0.15) 0%, rgba(106, 90, 205, 0) 70%);
    transition: opacity 0.5s ease;
    opacity: 0;
    transform: scale(0.5);
}

.features__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(106, 90, 205, 0.5);
}

.features__item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.features__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gradient);
    margin-bottom: var(--mb-1-5);
    box-shadow: 0 5px 20px rgba(72, 209, 204, 0.3);
}

.features__icon i {
    width: 32px;
    height: 32px;
    color: var(--title-color);
}

.features__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
}

.features__description {
    line-height: 1.6;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    background-color: var(--container-color);
    position: relative;
}

.how-it-works__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media screen and (min-width: 992px) {
    .how-it-works__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.how-it-works__steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.how-it-works__step {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.how-it-works__step::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px; 
    background: var(--gradient);
    -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;
}

.how-it-works__step.active::before,
.how-it-works__step:hover::before {
    opacity: 1;
}

.how-it-works__step.active {
    background-color: rgba(106, 90, 205, 0.05);
}

.how-it-works__step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--mb-1);
}

.how-it-works__step-number {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

.how-it-works__step-title {
    font-size: var(--h3-font-size);
}

.how-it-works__step-description {
    padding-left: 3.5rem;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin-top 0.5s ease-out;
}

.how-it-works__step.active .how-it-works__step-description {
    max-height: 200px; /* Достаточно для текста */
    opacity: 1;
    margin-top: var(--mb-0-5);
}

/* AI Core Visualization */
.how-it-works__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.ai-core {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-core__center {
    width: 80px;
    height: 80px;
    background: var(--container-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 20px rgba(72, 209, 204, 0.5), 0 0 30px rgba(106, 90, 205, 0.5);
}

.ai-core__center i {
    width: 40px;
    height: 40px;
    color: var(--secondary-color);
    animation: core-glow 3s infinite ease-in-out;
}

@keyframes core-glow {
    0%, 100% { filter: drop-shadow(0 0 2px var(--secondary-color)); }
    50% { filter: drop-shadow(0 0 10px var(--secondary-color)); }
}

.ai-core__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    transition: transform 0.5s ease;
}

.ai-core__ring--outer {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.ai-core__ring--middle {
    width: 75%;
    height: 75%;
    animation: rotate-reverse 15s linear infinite;
    border-top-color: var(--secondary-color);
    border-right-color: var(--secondary-color);
}

.ai-core__ring--inner {
    width: 50%;
    height: 50%;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}
@keyframes rotate-reverse {
    to { transform: rotate(-360deg); }
}

/* Pulse Lines (controlled by JS) */
.ai-core__pulse-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 175px; /* half of container size */
    background: var(--gradient);
    transform-origin: top;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 2;
}

/* JS will add these classes */
.ai-core.step-1 [data-line="1"] { opacity: 1; transform: rotate(45deg) scaleY(1); }
.ai-core.step-2 [data-line="2"] { opacity: 1; transform: rotate(165deg) scaleY(1); }
.ai-core.step-3 [data-line="3"] { opacity: 1; transform: rotate(-75deg) scaleY(1); }

.ai-core.step-1 .ai-core__ring--inner { transform: scale(1.1); }
.ai-core.step-2 .ai-core__ring--middle { transform: scale(1.1); }
.ai-core.step-3 .ai-core__ring--outer { transform: scale(1.1); }

/* ==================== EXAMPLES (SWIPER CAROUSEL) ==================== */
.examples {
    padding-bottom: 6rem;
}

.examples__carousel {
    padding-bottom: 4rem; /* For pagination */
    position: relative;
}

.examples__slide {
    display: flex;
    flex-direction: column;
    background-color: var(--container-color);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

@media screen and (min-width: 768px) {
    .examples__slide {
        flex-direction: row;
        min-height: 450px;
    }
}

.examples__image-wrapper {
    flex: 1;
    min-height: 250px; /* Для мобильных */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex; /* Чтобы картинка была по центру, если она меньше */
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 768px) {
    .examples__image-wrapper {
        min-height: auto; /* Сброс для десктопа */
    }
}

.examples__image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполнение контейнера */
    transition: transform 0.6s ease-in-out;
}

.swiper-slide-active .examples__image {
    transform: scale(1.05); /* Легкий зум активного слайда */
}

.examples__content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.examples__label {
    display: inline-block;
    font-size: var(--small-font-size);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: var(--mb-0-75);
}

.examples__title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
    line-height: 1.3;
}

.examples__description {
    line-height: 1.7;
    margin-bottom: var(--mb-1-5);
    color: var(--text-color);
}

.examples__description .text-highlight {
    color: var(--secondary-color);
    font-weight: var(--font-bold);
}

/* Swiper Navigation & Pagination */
.examples__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--container-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.examples__nav-btn:hover {
    background: var(--gradient);
    box-shadow: 0 5px 20px rgba(72, 209, 204, 0.3);
}

.examples__nav-btn i {
    width: 24px;
    height: 24px;
}

.examples__nav-btn--prev {
    left: 1rem;
}

.examples__nav-btn--next {
    right: 1rem;
}

.swiper-pagination {
    bottom: 1rem !important;
}

.swiper-pagination-bullet {
    background-color: var(--text-color) !important;
    opacity: 0.6 !important;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
    opacity: 1 !important;
    transform: scale(1.2);
}

/* ==================== FAQ (ACCORDION) ==================== */
.faq {
    background-color: var(--container-color);
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__item {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: background-color 0.3s ease;
}

.faq__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 1rem;
}

.faq__question {
    font-size: 1.125rem;
    font-weight: var(--font-medium);
    transition: color 0.3s ease;
}

.faq__item.active .faq__question {
    color: var(--primary-color);
}

.faq__icon {
    min-width: 24px;
    color: var(--secondary-color);
    transition: transform 0.4s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding-top 0.5s ease;
}

.faq__answer p {
    line-height: 1.7;
    padding: 0 0.5rem; /* Небольшой отступ для текста */
}

.faq__item.active .faq__answer {
    /* JS будет вычислять и устанавливать это значение */
    padding-top: 1.5rem;
}


/* ==================== CONTACT ==================== */
.contact {
    padding-bottom: 6rem;
}

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

@media screen and (min-width: 992px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.contact__info-title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
}

.contact__info-description {
    line-height: 1.7;
    margin-bottom: var(--mb-2);
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--mb-1);
}

.contact__info-item i {
    color: var(--secondary-color);
    width: 24px;
    height: 24px;
}

/* Form Styles */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__form-group {
    position: relative;
}

.contact__form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    background-color: var(--container-color);
    border-radius: 8px;
    color: var(--title-color);
    font-size: var(--normal-font-size);
    outline: none;
    transition: border-color 0.3s ease;
}

.contact__form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-color);
    pointer-events: none;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

.contact__form-input:focus,
.contact__form-input:not(:placeholder-shown) {
    border-color: var(--primary-color);
}

.contact__form-input:focus + .contact__form-label,
.contact__form-input:not(:placeholder-shown) + .contact__form-label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: var(--small-font-size);
    color: var(--primary-color);
    background-color: var(--background-color);
    padding: 0 0.25rem;
}

.contact__form-group--captcha {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact__form-label-static {
    color: var(--text-color);
}

.contact__form-group--checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--small-font-size);
}

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

.contact__form-button {
    width: 100%;
    border: none;
    cursor: pointer;
}

.contact__form-message {
    text-align: center;
    font-weight: var(--font-bold);
}

.contact__form-message.success {
    color: var(--secondary-color);
}

.contact__form-message.error {
    color: #ff6b6b;
}

/* ==================== COOKIE POPUP ==================== */
.cookie-popup {
    position: fixed;
    bottom: -100%; /* Початково сховано */
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    width: 600px;
    background-color: var(--container-color);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Для адаптивності */
    gap: 1.5rem;
    z-index: var(--z-fixed);
    transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
    bottom: 1rem; /* З'являється знизу */
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (max-width: 620px) {
    .cookie-popup {
        justify-content: center;
        text-align: center;
        bottom: -100%;
        left: 0;
        transform: none;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
    }
    .cookie-popup.show {
        bottom: 0;
    }
}

.cookie-popup__text {
    font-size: var(--small-font-size);
    flex-grow: 1;
}

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

.cookie-popup__button {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}


/* ==================== POLICY PAGES ==================== */
.pages {
    background-color: var(--background-color);
}

.pages .container {
    max-width: 800px;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
}

.pages h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--mb-2);
    font-weight: var(--font-extra-bold);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pages h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-top: var(--mb-2-5);
    margin-bottom: var(--mb-1);
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
}

.pages p {
    line-height: 1.8;
    margin-bottom: var(--mb-1-5);
}

.pages ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--mb-1-5);
}

.pages li {
    margin-bottom: var(--mb-1);
    padding-left: 2rem;
    position: relative;
}

.pages li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient);
}

.pages a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: var(--font-bold);
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.pages a:hover {
    border-color: var(--secondary-color);
}

.pages strong {
    color: var(--title-color);
    font-weight: var(--font-bold);
}