/* --- ГЛОБАЛЬНЫЕ СТИЛИ (ЭТАП 0) --- */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #a855f7;
    --bg: #0f172a;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo__text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn--outline {
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* --- HEADER (ЭТАП 1) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header--scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__text {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav__link:hover {
    color: var(--text);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* --- FOOTER (ЭТАП 2) --- */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo { margin-bottom: 20px; }

.footer__desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text);
}

.footer__links li { margin-bottom: 12px; }

.footer__links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer__links a:hover { color: var(--primary); padding-left: 5px; }

.footer__contact-item {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer__contact-item span {
    display: block;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- ADAPTIVE --- */
@media (max-width: 992px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .burger { display: flex; }
}

@media (max-width: 576px) {
    .footer__grid { grid-template-columns: 1fr; }
    .header__actions .btn { display: none; }
}
/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
}

.hero__bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(90deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.6);
}

.btn--link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn--link:hover svg {
    transform: translateX(5px);
}

.btn--link svg {
    transition: var(--transition);
}

/* Визуализация ИИ */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-core {
    width: 100%;
    max-width: 450px;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
}

.ai-core__svg {
    overflow: visible;
}

/* АДАПТИВ */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__content {
        order: 2;
    }
    .hero__visual {
        order: 1;
        margin-bottom: 40px;
    }
    .hero__subtitle {
        margin-inline: auto;
    }
    .hero__actions {
        justify-content: center;
    }
}
/* --- FEATURES SECTION --- */
.features {
    padding: 100px 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-muted);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-card__icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.feature-card__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.feature-card__footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.feature-card__tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent);
    border-radius: 10px;
    font-weight: 600;
}

/* АДАПТИВ */
@media (max-width: 992px) {
    .features__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
}
/* --- LEARNING PATH --- */
.learning-path { padding: 100px 0; position: relative; }
.path { position: relative; margin-top: 60px; }

.path__line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.2;
}

.path__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.path__item {
    text-align: center;
    background: var(--glass);
    padding: 40px 20px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.path__item:hover { transform: translateY(-5px); border-color: var(--primary); }

.path__dot {
    width: 50px; height: 50px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: white;
    box-shadow: 0 0 20px var(--primary);
}

.path__item h3 { margin-bottom: 15px; }
.path__item p { color: var(--text-muted); font-size: 0.9rem; }

/* --- FAQ --- */
.faq { padding: 100px 0; }
.faq__list { max-width: 800px; margin: 0 auto; }

.faq__item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq__question {
    padding: 20px 30px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq__question svg { transition: transform 0.4s; }
.faq__item.active .faq__question svg { transform: rotate(180deg); color: var(--accent); }

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: rgba(0,0,0,0.1);
}

.faq__item.active .faq__answer {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq__answer p { padding: 20px 30px; color: var(--text-muted); font-size: 0.95rem; border-top: 1px solid var(--glass-border); }

/* ADAPTIVE */
@media (max-width: 768px) {
    .path__grid { grid-template-columns: 1fr; }
    .path__line { display: none; }
}
/* --- CONTACT SECTION --- */
.contact { padding: 120px 0; background: radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.05), transparent); }
.contact__wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.contact__list { margin-top: 40px; }
.contact__list li { margin-bottom: 20px; color: var(--text-muted); }
.contact__list strong { display: block; color: var(--text); margin-bottom: 5px; }

.form { background: var(--glass); border: 1px solid var(--glass-border); padding: 40px; border-radius: 32px; backdrop-filter: blur(10px); }
.form__group { margin-bottom: 20px; }
.form__input { width: 100%; padding: 16px 20px; background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); border-radius: 12px; color: white; transition: var(--transition); font-size: 1rem; }
.form__input:focus { border-color: var(--primary); outline: none; background: rgba(0,0,0,0.4); }

.form__captcha { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.form__captcha label { font-size: 0.9rem; white-space: nowrap; }

.form__check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 25px; font-size: 0.85rem; color: var(--text-muted); }
.form__check a { text-decoration: underline; }

.form__message { margin-top: 20px; padding: 15px; border-radius: 10px; display: none; text-align: center; font-weight: 600; }
.form__message.success { display: block; background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.form__message.error { display: block; background: rgba(239, 68, 68, 0.2); color: #f87171; }

/* --- MOBILE MENU --- */
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg); z-index: 999; transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.77,0,0.175,1); display: flex; align-items: center; justify-content: center; }
.mobile-overlay.active { transform: translateX(0); }
.mobile-nav ul { text-align: center; }
.mobile-link { font-size: 2rem; font-family: 'Syne', sans-serif; display: block; margin: 20px 0; }

.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- COOKIE --- */
.cookie-popup { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--bg); border: 1px solid var(--glass-border); padding: 20px 30px; border-radius: 20px; z-index: 1001; transition: transform 0.6s ease; box-shadow: 0 20px 40px rgba(0,0,0,0.4); width: 90%; max-width: 500px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-popup.active { transform: translateX(-50%) translateY(0); }
.cookie-popup p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
.btn--sm { padding: 8px 20px; font-size: 0.85rem; }

/* --- LEGAL PAGES STYLES --- */
.pages { padding: 150px 0 100px; min-height: 80vh; }
.pages h1 { font-size: 3rem; margin-bottom: 40px; color: var(--primary); }
.pages h2 { font-size: 1.8rem; margin: 40px 0 20px; }
.pages p { margin-bottom: 20px; color: var(--text-muted); }
.pages ul { margin-bottom: 30px; padding-left: 20px; }
.pages li { list-style: disc; margin-bottom: 10px; color: var(--text-muted); }

@media (max-width: 992px) {
    .contact__wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact__info { text-align: center; }
    .contact__list { display: inline-block; text-align: left; }
}
/* --- МОБИЛЬНАЯ СТИЛИЗАЦИЯ КОНТАКТОВ --- */

@media (max-width: 768px) {
    .contact {
        padding: 60px 0; /* Уменьшаем отступы секции */
    }

    .contact__wrapper {
        grid-template-columns: 1fr; /* Стек в одну колонку */
        gap: 40px;
    }

    .contact__info {
        text-align: center;
    }

    .contact__cards {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Два маленьких блока в ряд на планшетах */
        gap: 15px;
        margin-top: 30px;
    }

    .c-card {
        background: var(--glass);
        padding: 15px;
        border-radius: 16px;
        border: 1px solid var(--glass-border);
    }

    .c-card__label {
        display: block;
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-bottom: 5px;
    }

    .c-card__link {
        font-size: 0.9rem;
        font-weight: 600;
        word-break: break-all; /* Чтобы длинные email не ломали верстку */
    }

    /* Стилизация формы для тач-интерфейсов */
    .form {
        padding: 25px 20px;
        border-radius: 24px;
    }

    .form__input {
        height: 55px; /* Удобная высота для нажатия пальцем */
        font-size: 16px; /* Предотвращает авто-зум в iOS Safari */
    }

    .form__captcha-row {
        display: flex;
        align-items: center;
        gap: 15px;
        background: rgba(0,0,0,0.2);
        padding: 5px 15px;
        border-radius: 12px;
        margin-bottom: 20px;
        border: 1px solid var(--glass-border);
    }

    .captcha-text {
        font-weight: 600;
        color: var(--accent);
        white-space: nowrap;
    }

    .form__input--captcha {
        width: 80px;
        height: 45px;
        text-align: center;
        background: transparent;
        border: none;
        border-left: 1px solid var(--glass-border);
        border-radius: 0;
    }

    .form__check {
        align-items: center;
    }

    .form__submit {
        width: 100%; /* Кнопка на всю ширину на мобилках */
        justify-content: center;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .contact__cards {
        grid-template-columns: 1fr; /* На совсем маленьких экранах карточки в стек */
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}
/* --- FIX: ПРЕДОТВРАЩЕНИЕ РАЗРЫВА КОНТЕЙНЕРА --- */

.contact__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Авто-подбор колонок */
    gap: 60px;
    align-items: start;
    width: 100%;
    /* Фикс для Grid: не дает контенту растягивать колонку */
    min-width: 0; 
}

.contact__info, 
.contact__form-block {
    min-width: 0; /* Важно для дочерних элементов грида */
    width: 100%;
}

.contact__list a, 
.c-card__link {
    word-break: break-all; /* Разбивает длинные email, если они не лезут */
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

.form {
    width: 100%;
    max-width: 100%; /* Форма никогда не выйдет за пределы своего блока */
    box-sizing: border-box; /* Учитываем паддинги внутри ширины */
}

/* Дополнительный контроль контейнера */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden; /* Страховка от вылетов */
}

/* Адаптив для средних экранов (планшеты) */
@media (max-width: 1024px) {
    .contact__wrapper {
        gap: 40px;
        grid-template-columns: 1fr; /* Принудительно в одну колонку чуть раньше */
    }
    
    .contact__info {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
}

.captcha-text{
    font-size: 14px;
}
/* --- PRACTICE SECTION --- */
.practice { padding: 100px 0; background: rgba(0,0,0,0.1); }

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.tab-btn svg { opacity: 0.6; transition: var(--transition); }

.tab-btn:hover { background: rgba(255,255,255,0.08); border-color: var(--primary); }

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.tab-btn.active svg { opacity: 1; transform: scale(1.1); }

/* Контент табов */
.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.practice-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--glass);
    padding: 50px;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
}

.practice-card h3 { font-size: 2rem; margin-bottom: 20px; font-family: 'Syne', sans-serif; }
.practice-card p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.05rem; }

.practice-list { margin-bottom: 30px; }
.practice-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text);
    font-size: 0.95rem;
}

.practice-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.practice-card__img {
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    border: 1px solid var(--glass-border);
}

.practice-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) contrast(1.1);
}

/* Мобильная адаптация Практики */
@media (max-width: 992px) {
    .practice-card { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
    .practice-card__img { order: -1; height: 250px; }
    .practice-card h3 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .tabs-nav { gap: 10px; }
    .tab-btn { padding: 10px 16px; font-size: 0.85rem; width: 100%; justify-content: center; }
}
/* --- СТИЛИ ЮРИДИЧЕСКИХ СТРАНИЦ И КОНТАКТОВ --- */

.pages__lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 60px;
    line-height: 1.6;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.contact-card__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 25px;
}

.contact-card h3 {
    margin-bottom: 15px;
    font-family: 'Syne', sans-serif;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.contact-card__link {
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--primary);
}

.contact-card__link:hover {
    color: var(--primary);
}

.contact-card__address {
    font-style: normal;
    line-height: 1.5;
    color: var(--text);
}

.pages__footer-note {
    padding: 30px;
    background: rgba(99, 102, 241, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
}

.pages__footer-note a {
    text-decoration: underline;
    color: var(--primary);
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}
/* Privacy Policy Specific Styles */
.policy-section {
    margin-top: 50px;
}

.terminology-list {
    padding: 0;
}

.terminology-list li {
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    color: var(--text-muted);
}

.terminology-list strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 5px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-accent);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.data-item i {
    width: 32px;
    height: 32px;
    color: var(--secondary);
}

.data-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
}

.data-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.policy-contact-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px 30px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    border: 1px solid var(--primary);
}

.policy-mail {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

@media (max-width: 640px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
}
/* Privacy Page Enhancements */
.policy-hero-card {
    background: linear-gradient(135deg, var(--bg-accent), #1e1b4b);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 40px;
    font-size: 1.15rem;
    line-height: 1.8;
}

.policy-notice {
    padding: 25px;
    border-left: 4px solid var(--secondary);
    background: rgba(34, 211, 238, 0.05);
    margin-bottom: 50px;
}

.storage-info {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.storage-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-accent);
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.storage-item i {
    color: var(--secondary);
    width: 28px;
    height: 28px;
}

.data-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.data-box {
    background: var(--bg-accent);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.data-box h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
}

.data-box h3 i {
    color: var(--secondary);
}

.rights-block {
    margin-top: 80px;
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: var(--transition);
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

@media (max-width: 768px) {
    .storage-info {
        flex-direction: column;
        gap: 15px;
    }
    .policy-hero-card {
        padding: 25px;
    }
}
/* Refund Page Specific Styles */
.refund-accent {
    border-left: 4px solid #f43f5e; /* Розово-красный акцент для возвратов */
    background: rgba(244, 63, 94, 0.05);
}

.refund-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.refund-card {
    background: var(--bg-accent);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.refund-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.refund-card__icon {
    margin-bottom: 20px;
    color: var(--secondary);
}

.refund-card__icon svg {
    width: 32px;
    height: 32px;
}

.refund-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--white);
}

.refund-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.procedure-block {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 24px;
    margin: 50px 0;
}

.steps-mini {
    display: grid;
    gap: 15px;
    margin-top: 25px;
}

.step-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 1rem;
}

.step-mini span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.step-mini a {
    color: var(--secondary);
    text-decoration: underline;
}

.warning-block {
    margin-top: 50px;
    padding: 30px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.warning-block h2 {
    color: #ef4444;
    font-size: 1.5rem;
}

@media (max-width: 640px) {
    .procedure-block {
        padding: 25px;
    }
}
/* Terms Page Specific Styles */
.terms-accent {
    border-left: 4px solid var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Syne', sans-serif;
}

.property-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.property-block i {
    width: 32px;
    height: 32px;
    color: var(--secondary);
    flex-shrink: 0;
}

.warning-block {
    padding: 25px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 12px;
    border-left: 4px solid #ef4444;
}

.warning-block p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .property-block {
        flex-direction: column;
        padding: 20px;
    }
}