/* --- ЭТАП 0: ГЛОБАЛЬНЫЕ СТИЛИ --- */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --primary-pink: #ff2d75;
    --text-main: #f4f4f4;
    --text-muted: #a0a0a0;
    --accent-gray: #2d2d2d;
    --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 {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
}

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-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 45, 117, 0.3);
}

/* --- ЭТАП 1: HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    background: rgba(18, 18, 18, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-pink);
    border-radius: 50%;
    display: inline-block;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-menu a:hover {
    color: var(--primary-pink);
}

.burger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
}

.burger span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
}

/* --- ЭТАП 2: FOOTER --- */
.footer {
    padding: 80px 0 30px;
    background: var(--bg-card);
    margin-top: 100px;
    border-top: 2px solid var(--accent-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: var(--primary-pink);
    font-size: 1.1rem;
}

.footer-desc {
    margin-top: 20px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary-pink);
    padding-left: 5px;
}

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

.contact-list i {
    color: var(--primary-pink);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--accent-gray);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mobile Adaptive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav-menu, .nav .btn {
        display: none;
    }
    .burger {
        display: flex;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* --- ЭТАП 3: HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh; /* На весь экран */
    padding: 140px 0 80px; /* Отступ сверху для фикс. хедера */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
}

/* Фоновое свечение */
.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-pink);
    opacity: 0.15;
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
}

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

/* Hero Content */
.hero-subtitle {
    display: inline-block;
    color: var(--primary-pink);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.text-highlight {
    color: transparent;
    background: linear-gradient(90deg, var(--primary-pink), #ff6b9d);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

/* Дополнительная кнопка (аутлайн) */
.btn-outline {
    border: 2px solid var(--accent-gray);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

/* Блок доверия */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    margin-left: -15px;
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.hero-trust p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Hero Visual & Layer Animation --- */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.layers-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Чтобы слои не перекрывали контент */
}

.layer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 45, 117, 0.2));
}

/* Разные размеры и позиции для слоев (для плейсхолдеров) */
.layer-base img { width: 90%; opacity: 0.6; }
.layer-mid img { width: 75%; z-index: 2; }
.layer-front img { width: 40%; z-index: 3; }

/* Ключевые кадры для плавания */
@keyframes float-vertical {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}

@keyframes float-diagonal {
    0%, 100% { transform: translate(0px, 0px); }
    50% { transform: translate(15px, -20px); }
}

/* Применение анимаций с разной скоростью */
.animate-float-slow {
    animation: float-vertical 8s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-diagonal 6s ease-in-out infinite 0.5s;
}

.animate-float-fast {
    animation: float-vertical 4s ease-in-out infinite 1s;
}

/* Декоративные точки */
.layer-dots {
    background-image: radial-gradient(var(--primary-pink) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    z-index: 0;
    animation: float-diagonal 12s linear infinite;
}

/* Mobile Adaptive для Hero */
@media (max-width: 992px) {
    .hero {
        padding-top: 120px;
        min-height: auto; /* Убираем высоту на весь экран */
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        height: 350px; /* Уменьшаем высоту визуала */
        margin-bottom: 50px;
    }
    
    .hero-bg-glow {
        opacity: 0.1;
        width: 400px;
        height: 400px;
    }
}
/* --- ОБЩИЕ СТИЛИ ДЛЯ СЕКЦИЙ --- */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
}

.section-subtitle {
    color: var(--primary-pink);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    margin: 15px 0 40px;
    line-height: 1.2;
}

/* Волны */
.wave-container {
    width: 100%;
    line-height: 0;
    background: var(--bg-dark);
}

/* --- SOLUTIONS SPECIFIC --- */
.solutions {
    background: var(--bg-card);
}

.solution-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.solution-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 45, 117, 0.1);
    transition: var(--transition);
}

.solution-card:hover {
    border-color: var(--primary-pink);
    transform: translateX(10px);
}

.solution-card i {
    font-size: 1.5rem;
    color: var(--primary-pink);
}

.solution-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.solution-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Анимация "Узел" (Node) для Решений */
.node-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.node-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: var(--primary-pink);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--primary-pink);
}

.node-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 45, 117, 0.3);
    border-radius: 50%;
    animation: ring-pulse 4s infinite;
}

.node-ring:nth-child(2) { animation-delay: 2s; }

@keyframes ring-pulse {
    0% { width: 40px; height: 40px; opacity: 1; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

/* --- PROCESS SPECIFIC --- */
.process {
    background: var(--bg-dark);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.step-number {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    color: rgba(255, 45, 117, 0.2);
    font-weight: 800;
    line-height: 1;
}

.step-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-item p {
    color: var(--text-muted);
}

/* Визуальный прогресс-бар для Процесса */
.progress-bar-visual {
    width: 10px;
    height: 400px;
    background: var(--accent-gray);
    border-radius: 10px;
    position: relative;
    margin: 0 auto;
}

.progress-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: var(--primary-pink);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--primary-pink);
}

.progress-dot {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border: 5px solid var(--primary-pink);
    border-radius: 50%;
}

/* Mobile Adaptive */
@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .grid-right .section-visual { order: 2; }
    .grid-left .section-visual { order: 2; }
    
    .solution-card {
        text-align: left;
    }
    .step-item {
        text-align: left;
    }
}
/* --- ЭТАП 3.3: AI BLOG --- */
.ai-blog {
    padding: 120px 0;
    background: var(--bg-dark);
}

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

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.blog-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 45, 117, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-pink);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.blog-meta i {
    color: var(--primary-pink);
    margin-right: 5px;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-main);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-link {
    color: var(--primary-pink);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.blog-link i {
    transition: var(--transition);
}

.blog-card:hover .blog-link i {
    transform: translateX(10px);
}

/* CTA в блоге */
.blog-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(90deg, rgba(255, 45, 117, 0.05) 0%, rgba(255, 45, 117, 0.1) 100%);
    border-radius: 20px;
    border: 1px dashed var(--primary-pink);
}

.blog-cta p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Перевернутая волна */
.wave-container.inverted {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* --- ЭТАП 3.4: FAQ --- */
.faq {
    background: var(--bg-dark);
    padding-bottom: 100px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 45, 117, 0.03);
}

.faq-icon {
    width: 20px;
    height: 2px;
    background: var(--primary-pink);
    position: relative;
    transition: var(--transition);
}

.faq-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-pink);
    transform: rotate(90deg);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    padding: 0 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Состояние при открытии (через JS) */
.faq-item.active {
    border-color: var(--primary-pink);
    box-shadow: 0 0 20px rgba(255, 45, 117, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 25px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-icon::before {
    transform: rotate(0deg);
}

/* Статус-бейдж */
.faq-status {
    margin-top: 30px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 45, 117, 0.1);
    border: 1px solid var(--primary-pink);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-pink);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 45, 117, 0.7);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 45, 117, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 45, 117, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 45, 117, 0); }
}

@media (max-width: 992px) {
    .faq .section-grid {
        grid-template-columns: 1fr;
    }
}
/* --- ЭТАП 4: CONTACT SECTION --- */
.contact {
    padding: 120px 0;
    background: linear-gradient(0deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.feat-item i {
    color: var(--primary-pink);
}

/* Form Styles */
.contact-form-container {
    background: #252525;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 45, 117, 0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--accent-gray);
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(255, 45, 117, 0.1);
}

.error-msg {
    color: #ff4d4d;
    font-size: 0.75rem;
    position: absolute;
    bottom: -18px;
    left: 10px;
    display: none;
}

/* Captcha */
.captcha-wrapper {
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
}

.captcha-wrapper label {
    font-weight: 600;
    color: var(--text-muted);
}

#captcha-input {
    width: 80px;
    text-align: center;
    padding: 8px;
}

/* Custom Checkbox */
.checkbox-group {
    margin-bottom: 30px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.custom-checkbox input { display: none; }

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-gray);
    border-radius: 4px;
    position: relative;
}

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

.custom-checkbox input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-block { width: 100%; }

/* Form Messages */
.form-message {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-message.success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid #2ed573;
    color: #2ed573;
    display: none; /* Managed by JS */
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

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

@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-container { padding: 30px; }
}
/* --- МОБИЛЬНОЕ МЕНЮ --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.close-menu {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 3rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- COOKIE POPUP --- */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: var(--bg-card);
    border: 1px solid var(--primary-pink);
    border-radius: 20px;
    padding: 20px 30px;
    z-index: 3000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: bottom 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-popup.show {
    bottom: 30px;
}

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

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
/* --- СТИЛИ ДЛЯ ЮРИДИЧЕСКИХ СТРАНИЦ --- */
.pages {
    padding: 160px 0 100px;
    background: var(--bg-dark);
    min-height: 80vh;
}

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

.pages h1 {
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin-bottom: 40px;
    border-bottom: 2px solid var(--accent-gray);
    padding-bottom: 20px;
}

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

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

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

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

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

.pages a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Адаптив для страниц */
@media (max-width: 768px) {
    .pages h1 { font-size: 1.6rem; }
    .pages { padding-top: 120px; }
}
/* Специальные стили для Disclaimer */
.legal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.warning-icon {
    font-size: 2.5rem;
    color: var(--primary-pink);
    text-shadow: 0 0 15px rgba(255, 45, 117, 0.4);
}

.legal-block {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border-left: 3px solid var(--accent-gray);
}

.risk-warning {
    border-left-color: var(--primary-pink);
    background: rgba(255, 45, 117, 0.03);
}

.agreement {
    border: 1px dashed var(--accent-gray);
    background: transparent;
    text-align: center;
}

@media (max-width: 768px) {
    .legal-header {
        flex-direction: column;
        text-align: center;
    }
}
/* --- СТИЛИ ДЛЯ POLICY GRID --- */
.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.data-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 45, 117, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.data-item i {
    font-size: 1.5rem;
    color: var(--primary-pink);
}

.data-item strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 4px;
}

.data-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.policy-contact-box {
    margin-top: 20px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 15px;
    border-left: 4px solid var(--primary-pink);
}

.policy-mail {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-pink) !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-address {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.terminology-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
}
/* --- СТИЛИ ДЛЯ PRIVACY PAGE --- */
.policy-hero-card {
    background: rgba(255, 45, 117, 0.05);
    border-left: 5px solid var(--primary-pink);
    padding: 30px;
    border-radius: 0 20px 20px 0;
    margin-bottom: 40px;
}

.policy-hero-card p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.storage-info {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.storage-item {
    flex: 1;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.storage-item i {
    color: var(--primary-pink);
    font-size: 1.4rem;
}

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

.data-box {
    background: #252525;
    padding: 30px;
    border-radius: 20px;
}

.data-box h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-pink);
}

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

.data-box ul li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

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

.rights-block {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    border: 1px solid var(--accent-gray);
    border-radius: 30px;
}

.contact-btn {
    display: inline-block;
    background: var(--primary-pink);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    margin: 20px 0;
    transition: var(--transition);
}

.contact-btn:hover {
    box-shadow: 0 10px 25px rgba(255, 45, 117, 0.4);
    transform: translateY(-3px);
}

.footer-address-mini {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .data-collection-grid, .storage-info {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}
/* --- REFUND PAGE SPECIFIC --- */
.refund-accent {
    border-left-color: #ff2d75;
    background: rgba(255, 45, 117, 0.05);
}

.refund-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

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

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

.refund-card i {
    font-size: 2rem;
    color: var(--primary-pink);
    margin-bottom: 20px;
}

.refund-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.refund-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Steps Mini */
.steps-mini {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.step-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.step-mini span {
    background: var(--primary-pink);
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.policy-phone {
    margin: 10px 0;
    font-weight: 600;
}

.policy-address-footer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .refund-grid {
        grid-template-columns: 1fr;
    }
}
/* --- TERMS PAGE SPECIFIC --- */
.terms-accent {
    border-left-color: #ff2d75;
    background: rgba(255, 45, 117, 0.05);
}

.property-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
}

.property-block i {
    color: var(--primary-pink);
    font-size: 1.8rem;
    margin-top: 5px;
}

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

.legal-section h2 {
    font-size: 1.4rem !important;
    color: var(--text-main);
    margin-bottom: 15px !important;
}

.warning-block {
    border: 1px solid rgba(255, 45, 117, 0.2);
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 77, 77, 0.02);
}