/* --- ЭТАП 0: Глобальные стили --- */
:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-accent: #7c4dff; /* Базовый фиолетовый */
    --hologram-grad: linear-gradient(135deg, rgba(124, 77, 255, 1), rgba(0, 229, 255, 1), rgba(255, 64, 129, 1));
    --container-width: 1240px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: initial; /* Для Lenis */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo__text {
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* Эффект голограммы на фоне */
.hologram-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(124, 77, 255, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.03) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--header {
    background: rgba(26, 26, 26, 0.05);
    border: 1px solid rgba(26, 26, 26, 0.1);
}

.btn--header:hover {
    background: var(--color-text);
    color: #fff;
}

/* --- ЭТАП 1: HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header--scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-color: rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo__dot {
    width: 12px;
    height: 12px;
    background: var(--hologram-grad);
    background-size: 200%;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(124, 77, 255, 0.3);
    animation: pulse 3s infinite;
}

.logo__text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

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

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

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

.burger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
}

/* --- ЭТАП 2: FOOTER --- */
.footer {
    background: #F9FAFB;
    padding: 100px 0 40px;
    margin-top: 100px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

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

.footer__title {
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--color-text);
}

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

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

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

.footer__contacts li {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Mobile Adaptive */
@media (max-width: 991px) {
    .nav, .btn--header { display: none; }
    .burger { display: block; }
    .footer__container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .footer__container { grid-template-columns: 1fr; gap: 40px; }
}
/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh; /* На весь экран */
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero__container {
    position: relative;
    z-index: 2; /* Контент поверх 3D */
    display: flex;
    align-items: center;
    height: 100%;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: clamp(40px, 5vw, 64px); /* Адаптивный размер */
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

/* Градиентный текст для акцента */
.text-gradient {
    background: var(--hologram-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero__description {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Кнопки Hero-секции */
.btn--primary {
    background: var(--color-text);
    color: #fff;
    gap: 8px;
    padding: 16px 32px;
}

.btn--primary:hover {
    background: var(--color-accent);
    box-shadow: 0 10px 20px -10px rgba(124, 77, 255, 0.5);
}

.btn--secondary {
    background: transparent;
    border: 2px solid rgba(26, 26, 26, 0.1);
    color: var(--color-text);
    padding: 16px 32px;
}

.btn--secondary:hover {
    border-color: var(--color-text);
    background: rgba(26, 26, 26, 0.02);
}

.hero__info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.hero__info-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

/* Контейнер для 3D (позиционируем справа) */
.hero__3d-canvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Чтобы мышь проходила сквозь canvas */
}

/* Mobile Adaptive */
@media (max-width: 991px) {
    .hero {
        padding-top: 150px;
        min-height: auto;
        text-align: center;
    }

    .hero__container {
        justify-content: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__description {
        margin: 0 auto 40px;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__info {
        justify-content: center;
    }

    .hero__3d-canvas {
        width: 100%;
        height: 60vh;
        top: auto;
        bottom: 0;
        opacity: 0.6; /* Чуть приглушаем на мобильных */
    }
}
/* --- GROWTH SECTION --- */
.growth {
    padding: 120px 0;
    position: relative;
}

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

.section-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.section-description {
    color: var(--color-text-muted);
}

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

.growth__card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(26, 26, 26, 0.05);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.growth__card:hover {
    transform: translateY(-10px);
    background: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(124, 77, 255, 0.08);
}

.growth__number {
    position: absolute;
    top: 30px;
    right: 40px;
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 800;
    opacity: 0.05;
    transition: var(--transition);
}

.growth__card:hover .growth__number {
    opacity: 0.15;
    color: var(--color-accent);
}

.growth__icon {
    width: 60px;
    height: 60px;
    background: var(--hologram-grad);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--color-text);
}

.growth__icon i {
    width: 28px;
    height: 28px;
}

.growth__card-title {
    font-size: 20px;
    margin-bottom: 16px;
    font-family: 'Syne', sans-serif;
}

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

/* Адаптив для карточек */
@media (max-width: 768px) {
    .growth { padding: 80px 0; }
    .growth__card { padding: 30px; }
}
/* --- METHODS SECTION --- */
.methods {
    padding: 100px 0;
    position: relative;
}

.methods__container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки */
    gap: 80px;
    align-items: start;
}

/* Левая липкая панель */
.methods__visual {
    position: sticky;
    top: 120px; /* Отступ от хедера */
    height: calc(80vh - 120px);
    background: var(--hologram-grad);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 77, 255, 0.1);
    backdrop-filter: blur(10px);
}

.methods__3d-wrapper {
    width: 100%;
    height: 100%;
}

.methods__hologram-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(26, 26, 26, 0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background: #00e5ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00e5ff;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Правая колонка с текстом */
.methods__content {
    display: flex;
    flex-direction: column;
    gap: 150px; /* Большой разрыв для эффекта долгого скролла */
    padding-bottom: 50px;
}

.method-item {
    max-width: 450px;
}

.method-item__tag {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.method-item__title {
    font-size: 32px;
    margin-bottom: 24px;
    font-family: 'Syne', sans-serif;
}

.method-item__text {
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 1.8;
}

/* Адаптив: на мобилках убираем липкость */
@media (max-width: 991px) {
    .methods__container {
        grid-template-columns: 1fr;
    }
    .methods__visual {
        position: relative;
        top: 0;
        height: 400px;
        margin-bottom: 50px;
    }
    .methods__content {
        gap: 60px;
    }
}
/* --- EXPERTISE SECTION --- */
.expertise {
    padding: 120px 0;
    position: relative;
    /* Глобальный голографический фон будет просвечивать */
}

.expertise__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Добавляем легкое свечение при наведении */
.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 30px rgba(124, 77, 255, 0.15);
    border-color: var(--color-accent);
}

/* Декоративный блик */
.metric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.metric-card:hover::before {
    opacity: 0.1;
}

.metric-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(124, 77, 255, 0.1);
    color: var(--color-accent);
    border-radius: 12px;
    margin-bottom: 24px;
}

.metric-card__value {
    font-family: 'Syne', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    /* Градиентный текст для цифр */
    background: var(--hologram-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.metric-card__title {
    font-size: 18px;
    margin-bottom: 12px;
    font-family: 'Syne', sans-serif;
}

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

@media (max-width: 768px) {
    .expertise { padding: 80px 0; }
    .metric-card__value { font-size: 36px; }
}
/* --- ЭТАП 3.4 (FIX): СТАБИЛЬНЫЕ СЧЕТЧИКИ --- */
.metric-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px 24px;
    
    /* Исправление: строгая вертикальная колонка */
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.metric-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: rgba(124, 77, 255, 0.1);
    color: var(--color-accent);
    border-radius: 14px;
    margin-bottom: 20px;
    flex-shrink: 0; /* Чтобы иконка не сжималась */
}

.metric-card__value {
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
    
    /* Градиент */
    background: var(--hologram-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Исправление: предотвращаем прыжки */
    font-variant-numeric: tabular-nums; /* Все цифры одной ширины */
    min-width: 1.5em; /* Резервируем место */
    display: block;
}

.metric-card__title {
    font-size: 18px;
    margin-bottom: 12px;
    font-family: 'Syne', sans-serif;
    min-height: 1.2em; /* Фиксируем высоту заголовка */
}

.metric-card__text {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Эффекты при наведении остаются прежними */
.metric-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(124, 77, 255, 0.12);
}
/* --- BLOG SECTION --- */
.blog {
    padding: 120px 0;
    background: linear-gradient(to bottom, transparent, rgba(124, 77, 255, 0.02));
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.08);
    padding: 40px;
    border-radius: 0; /* Острые углы для более строгого "цифрового" вида */
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

/* Эффект сканера */
.blog-card__scanner {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(0, 229, 255, 0.1), 
        transparent);
    transition: 0s;
    pointer-events: none;
}

.blog-card:hover .blog-card__scanner {
    top: 100%;
    transition: 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
    background: #fff;
    border-color: var(--color-accent);
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.blog-card__tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    padding: 4px 10px;
    border: 1px solid rgba(124, 77, 255, 0.2);
}

.blog-card__date {
    font-size: 12px;
    color: var(--color-text-muted);
}

.blog-card__title {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card__excerpt {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.blog-card__footer i {
    width: 16px;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__footer {
    color: var(--color-accent);
}

.blog-card:hover .blog-card__footer i {
    transform: translateX(5px);
}

.blog__cta {
    text-align: center;
}

/* Адаптив */
@media (max-width: 991px) {
    .blog__grid {
        grid-template-columns: 1fr;
    }
    .blog-card {
        padding: 30px;
    }
}
/* --- CONTACT SECTION --- */
.contact {
    padding: 100px 0;
}

.contact__wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 77, 255, 0.1);
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.contact__content {
    padding: 60px;
    background: var(--hologram-grad);
}

.contact__text {
    margin-bottom: 40px;
    color: var(--color-text-muted);
}

.contact__meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.contact__meta-item i {
    color: var(--color-accent);
    width: 20px;
}

/* Стили формы */
.form {
    padding: 60px;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: #F9FAFB;
}

.form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.05);
}

.form__group--captcha {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form__captcha-label {
    flex-shrink: 0;
    font-weight: 600;
    font-size: 14px;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--color-text-muted);
}

.form__checkbox input { display: none; }

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
}

.form__checkbox input:checked + .checkmark {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.form__checkbox input:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.form__submit {
    width: 100%;
    justify-content: center;
    gap: 10px;
}

/* Окно успеха */
.form__success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.form__success--active {
    opacity: 1;
    visibility: visible;
}

.form__success-icon {
    width: 60px;
    height: 60px;
    color: #10b981;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .contact__wrapper { grid-template-columns: 1fr; }
    .contact__content, .form { padding: 40px; }
}
/* --- COOKIE POPUP --- */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: calc(100% - 40px);
    max-width: 600px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 77, 255, 0.2);
    padding: 20px 30px;
    border-radius: 20px;
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cookie-popup--active {
    transform: translateX(-50%) translateY(0);
}

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

.cookie-popup__text {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

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

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu--active {
    transform: translateX(0);
}

.mobile-nav__list {
    text-align: center;
}

.mobile-nav__link {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 800;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.mobile-menu__btn {
    margin-top: 40px;
}

/* Анимация бургера */
.burger {
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 100;
}

.burger span, .burger::before, .burger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: 0.3s;
}

.burger::before { top: 0; }
.burger span { top: 9px; }
.burger::after { bottom: 0; }

.burger--active span { opacity: 0; }
.burger--active::before { transform: translateY(9px) rotate(45deg); }
.burger--active::after { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 600px) {
    .cookie-popup__content { flex-direction: column; text-align: center; }
}
/* --- ЭТАП 5.2: ЮРИДИЧЕСКИЕ СТРАНИЦЫ --- */
.pages {
    padding: 160px 0 100px; /* Большой отступ сверху из-за фиксированного хедера */
    min-height: 80vh;
}

.pages .container {
    max-width: 800px; /* Ограниченная ширина для удобства чтения */
}

.pages h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 40px;
    background: var(--hologram-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pages h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--color-text);
}

.pages p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.pages ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.pages li {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    position: relative;
    list-style: none;
}

/* Кастомный маркер в стиле сайта */
.pages li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

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

/* Адаптив для страниц */
@media (max-width: 768px) {
    .pages { padding-top: 120px; }
    .pages h1 { margin-bottom: 30px; }
}
/* --- CONTACT PAGE CARDS --- */
.lead-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 60px;
    max-width: 700px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 26, 26, 0.05);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    background: #fff;
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(124, 77, 255, 0.08);
}

.contact-card__icon {
    width: 50px;
    height: 50px;
    background: var(--hologram-grad);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-text);
}

.contact-card__icon i {
    width: 24px;
    height: 24px;
}

.contact-card__title {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    margin-bottom: 16px;
}

.contact-card__desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.contact-link {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 16px;
    word-break: break-all;
}

.contact-address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
}

.contact-extra {
    padding: 30px;
    background: rgba(124, 77, 255, 0.03);
    border-radius: 16px;
    border-left: 4px solid var(--color-accent);
}

@media (max-width: 768px) {
    .contact-cards { grid-template-columns: 1fr; }
}
/* --- LEGAL CONTENT STYLING --- */
.legal-content.glass-block {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 60px;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02);
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 22px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.legal-section h2 i {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.legal-list {
    list-style: none;
    padding-left: 0;
}

.legal-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--color-text-muted);
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--hologram-grad);
    border-radius: 50%;
}

.contact-info-block {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-data-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 15px;
}

.contact-data-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
}

.contact-data-list i {
    width: 18px;
    color: var(--color-accent);
}

.contact-data-list a {
    color: var(--color-accent);
    font-weight: 500;
}

@media (max-width: 768px) {
    .legal-content.glass-block { padding: 30px; }
}
/* --- DISCLAIMER SPECIFIC STYLES --- */

.legal-header-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.warning-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 64, 129, 0.1); /* Розоватый оттенок для предупреждения */
    color: #FF4081;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
}

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

/* Карточка предупреждения о рисках */
.risk-highlight-card {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.05), rgba(255, 64, 129, 0.05));
    border: 1px solid rgba(255, 64, 129, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.risk-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #FF4081;
}

.risk-highlight-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: 'Syne', sans-serif;
}

.risk-highlight-card h3 i {
    width: 20px;
    color: #FF4081;
}

.agreement-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    margin-top: 40px;
    font-style: italic;
}

@media (max-width: 768px) {
    .legal-header-flex { flex-direction: column; text-align: center; }
}
/* --- PRIVACY POLICY V2 STYLES --- */

.policy-notice-alert {
    display: flex;
    gap: 20px;
    background: rgba(124, 77, 255, 0.05);
    border-left: 4px solid var(--color-accent);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.policy-notice-alert i {
    color: var(--color-accent);
    flex-shrink: 0;
}

.storage-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.storage-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0,0,0,0.05);
}

.storage-card i {
    color: var(--color-accent);
    width: 24px;
}

.data-collection-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 50px 0;
}

.data-box-v2 {
    background: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(124, 77, 255, 0.1);
}

.data-box-v2__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    margin-bottom: 20px;
    font-family: 'Syne', sans-serif;
}

.data-box-v2__list {
    list-style: none;
    padding: 0;
}

.data-box-v2__list li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--color-text-muted);
}

.data-box-v2__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.rights-action-block {
    margin-top: 60px;
    padding: 40px;
    background: var(--hologram-grad);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.rights-action-block h2 {
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .rights-action-block { flex-direction: column; text-align: center; }
    .data-collection-grid-v2, .storage-info-grid { grid-template-columns: 1fr; }
}
/* --- REFUND POLICY STYLES --- */

.refund-accent-bg {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(124, 77, 255, 0.05));
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    margin-bottom: 40px;
}

.refund-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0 50px;
}

.refund-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

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

.refund-card__icon {
    width: 50px;
    height: 50px;
    background: var(--hologram-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-text);
}

.refund-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-family: 'Syne', sans-serif;
}

.refund-card p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.steps-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.step-mini-item {
    background: rgba(26, 26, 26, 0.02);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.5;
}

.warning-alert-block {
    background: rgba(255, 64, 129, 0.03);
    border: 1px solid rgba(255, 64, 129, 0.1);
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
}

.warning-alert-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FF4081;
    font-size: 18px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .steps-mini-grid { grid-template-columns: 1fr; }
}
/* --- TERMS & CONDITIONS STYLES --- */

.terms-accent-bg {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.05), rgba(0, 229, 255, 0.05));
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(124, 77, 255, 0.1);
    margin-bottom: 40px;
}

.property-card {
    display: flex;
    gap: 25px;
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    margin: 40px 0;
}

.property-card__icon {
    width: 60px;
    height: 60px;
    background: var(--hologram-grad);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text);
}

.property-card__icon i {
    width: 28px;
    height: 28px;
}

.property-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    margin-bottom: 12px;
}

.property-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .property-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}