/* CSS Variables - Warm Pastel Aesthetic */
:root {
    /* Backgrounds */
    --bg-base: #FDFBF7; /* Теплый молочный фон */
    --bg-card: #FFFFFF;
    
    /* Brand Colors - Soft Pastels */
    --primary: #D4A373; /* Теплая карамель/песок */
    --primary-hover: #C59362;
    --sage: #A3B18A; /* Фисташковый / шалфей */
    --peach: #F4A261;
    --lavender: #CDB4DB;
    --rose: #E5989B;
    --blue: #A2D2FF;
    --sand: #E9C46A;
    
    /* Text Colors */
    --text-dark: #3E3935; /* Мягкий графитовый/коричневый вместо черного */
    --text-muted: #8A817C; /* Теплый серый */
    
    /* UI Elements */
    --border: #F0EBE1;
    --radius-card: 24px;
    --radius-btn: 50px; /* Кнопки-пилюли */
    
    /* Soft Shadows */
    --shadow-sm: 0 4px 12px rgba(138, 129, 124, 0.05), 0 1px 2px rgba(138, 129, 124, 0.03);
    --shadow-md: 0 12px 32px rgba(138, 129, 124, 0.08);
    --shadow-hover: 0 20px 40px rgba(212, 163, 115, 0.12);
    
    /* Fonts */
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
    --content-width: 800px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 60px 0; }

/* Typography */
h1, h2, h3 { 
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 500;
}

h1 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 32px;
    margin-bottom: 16px;
    text-align: center;
}

.section-desc {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

h3 { font-size: 20px; margin-bottom: 12px; font-weight: 600;}
p { font-size: 16px; margin-bottom: 16px; }
strong { font-weight: 700; color: var(--text-dark); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-btn);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 10px;
}

.btn i { font-size: 22px; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 163, 115, 0.4);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: rgba(212, 163, 115, 0.05);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #F4EFE6;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: #EBE5DB;
    transform: translateY(-2px);
}

.btn-block { display: flex; width: 100%; }
.center-btn-wrap { text-align: center; margin-top: 32px; margin-bottom: 32px; }

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.4s ease;
    position: relative;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Hero Section */
.hero { 
    padding: 100px 0 60px; 
    text-align: center; 
}

.hero-avatar-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
    position: relative;
}

/* Органическая форма для фото */
.hero-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: var(--shadow-md);
    animation: morph 8s ease-in-out infinite;
    border: 4px solid var(--bg-card);
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.hero-eyebrow {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pastel Icons Backgrounds */
.icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    transition: transform 0.3s ease;
}
.audience-card:hover .icon-wrap { transform: scale(1.1); }

/* Soft Pastel Utility Classes */
.bg-sage { background: rgba(163, 177, 138, 0.15); color: #7B8D5E; }
.bg-peach { background: rgba(244, 162, 97, 0.15); color: #D97E36; }
.bg-lavender { background: rgba(205, 180, 219, 0.2); color: #A078B6; }
.bg-sand { background: rgba(233, 196, 106, 0.2); color: #C29A2B; }
.bg-blue { background: rgba(162, 210, 255, 0.25); color: #5D9CCC; }
.bg-rose { background: rgba(229, 152, 155, 0.15); color: #B56B6E; }

/* Highlight Card */
.highlight-card {
    background: var(--primary);
    color: white;
    border: none;
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.highlight-card p { color: white; margin: 0; font-size: 18px; font-weight: 500; }
.highlight-icon { font-size: 48px; color: rgba(255,255,255,0.7); flex-shrink: 0; }

/* Features List */
.holst-card { border: 2px solid var(--border); }
.feature-list { margin-top: 16px; margin-bottom: 32px; }
.feature-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
}
.feature-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--sage);
    font-size: 24px;
}

/* Info Alert */
.info-alert {
    background: rgba(163, 177, 138, 0.1); /* Легкий фисташковый фон */
    padding: 20px 24px;
    border-radius: 16px;
    margin-top: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.info-alert i { font-size: 28px; color: var(--sage); flex-shrink: 0; }
.info-alert p { margin: 0; color: var(--text-muted); font-weight: 500; font-size: 15px;}

/* Timeline */
.trial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}
.badge-free {
    background: rgba(163, 177, 138, 0.2);
    color: #6C824A;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}
.timeline {
    margin: 32px 0 0 16px;
    border-left: 2px dotted var(--primary);
    padding-left: 32px;
}
.timeline-step { position: relative; margin-bottom: 24px; }
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--bg-card);
}
.timeline-content {
    background: var(--bg-base);
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Pricing */
.price-card { border-top: 6px solid transparent; }
.price-popular {
    border-top-color: var(--sage);
    transform: scale(1.02);
}
.price-popular::before {
    content: 'ПОПУЛЯРНО';
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(163, 177, 138, 0.2);
    color: #6C824A;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}
.price {
    font-family: var(--font-heading);
    font-size: 46px;
    color: var(--text-dark);
    margin: 16px 0;
}
.price span { font-size: 24px; color: var(--text-muted); font-family: var(--font-body); }
.time-label { font-weight: 600; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.time-label i { font-size: 20px; color: var(--primary); }
hr { border: none; border-top: 1px dashed var(--border); margin: 20px 0; }

/* About Me */
.about-card { padding: 48px; }
.about-flex {
    display: flex;
    gap: 48px;
    align-items: center;
}
.about-img-wrap {
    flex-shrink: 0;
}
.about-img {
    width: 300px;
    height: 400px;
    border-radius: 200px 200px 24px 24px; /* Форма арки - очень эстетично */
    box-shadow: var(--shadow-md);
    object-fit: cover;
    object-position: center;
}
.quote-highlight {
    background: rgba(163, 177, 138, 0.2);
    color: #5D7040;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
}
.about-alert {
    background: var(--bg-base);
    padding: 24px;
    border-radius: 16px;
    margin-top: 32px;
    border-left: 4px solid var(--primary);
}
.about-alert p { margin: 0; color: var(--text-dark); font-weight: 500; }

/* Reviews */
.review-card { padding: 40px; }
.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: var(--font-heading);
    font-weight: bold;
}
.review-author { font-weight: 700; font-size: 18px; display: block; }
.review-meta { font-size: 14px; color: var(--text-muted); }

/* FAQ */
.faq-item {
    background: var(--bg-card);
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.faq-item:hover { border-color: var(--border); }
.faq-question {
    padding: 24px 32px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-muted);
}
.faq-item.active .faq-answer { padding: 0 32px 32px; max-height: 600px; }
.faq-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-base);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon { transform: rotate(180deg); background: var(--primary); color: white; }

/* Footer CTA */
.footer { margin-top: 60px; padding: 80px 0 40px; background: var(--bg-card); border-top: 1px solid var(--border); }
.footer-cta-card {
    background: var(--primary);
    border-radius: 32px;
    padding: 56px;
    color: white;
    text-align: center;
    box-shadow: 0 20px 40px rgba(212, 163, 115, 0.2);
}
.footer-cta-card h2 { color: white; margin-bottom: 16px; }
.footer-cta-card p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 40px; }

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.btn-white {
    background: white;
    color: var(--text-dark);
}
.btn-white:hover {
    background: var(--bg-base);
    transform: translateY(-2px);
}
.telegram-text i { color: #2AABEE; }
.vk-text i { color: #0077FF; }

.social-footer { text-align: center; margin-top: 60px; }
.social-footer-title { font-size: 16px; font-weight: 600; margin-bottom: 24px; font-family: var(--font-heading); font-style: italic;}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    background: var(--bg-base);
    transition: all 0.3s ease;
}
.social-link:hover { background: var(--border); transform: translateY(-3px); }
.social-link i { font-size: 24px; }


/* =========================================
   ЮРИДИЧЕСКИЙ БЛОК В ФУТЕРЕ (ИСПРАВЛЕНО)
   ========================================= */
.footer-bottom {
    margin-top: 90px; /* Отступ от кнопок соцсетей */
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.footer-bottom p, 
.footer-bottom span, 
.footer-bottom a {
    font-size: 13px; /* Мелкий шрифт */
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.footer-bottom a {
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--primary);
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.footer-bottom .meta-notice {
    font-size: 11px; /* Сноска еще мельче */
    opacity: 0.6;
    margin-top: 24px;
}

/* Back Button for Privacy Page */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    margin-bottom: 24px;
}
.btn-back:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .about-flex { flex-direction: column; text-align: center; }
    .about-img { width: 100%; max-width: 320px; height: 380px; border-radius: 160px 160px 24px 24px;}
    .about-card { padding: 32px 24px; }
    h1 { font-size: 36px; }
    .hero { padding: 60px 0 40px; }
    .footer-buttons { flex-direction: column; }
    .footer-cta-card { padding: 40px 24px; }
    .highlight-card { flex-direction: column; text-align: center; gap: 16px;}

    /* =========================================
   Cookie Banner
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 150%); /* Спрятан внизу */
    width: calc(100% - 40px);
    max-width: 800px;
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-card);
    box-shadow: 0 20px 40px rgba(138, 129, 124, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    z-index: 9999;
    border: 2px solid var(--primary);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show {
    transform: translate(-50%, 0); /* Выезжает наверх */
}
.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cookie-icon {
    font-size: 32px;
    color: var(--primary);
    flex-shrink: 0;
}
.cookie-text {
    font-size: 14px !important;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
    font-family: var(--font-body);
}
.cookie-text a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
    .cookie-buttons { width: 100%; flex-direction: column; }
    .cookie-buttons .btn { width: 100%; }
}
}
/* =========================================
   Cookie Banner (Всплывающий блок)
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: -200px; /* Изначально спрятан в самом низу экрана */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 800px;
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-card);
    box-shadow: 0 20px 40px rgba(138, 129, 124, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    z-index: 99999; /* Поверх всего */
    border: 2px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 24px; /* Поднимается вверх */
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-icon {
    font-size: 40px;
    color: var(--primary);
    flex-shrink: 0;
}

.cookie-text {
    font-size: 14px !important;
    color: var(--text-dark) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    font-family: var(--font-body) !important;
}

.cookie-text a {
    color: var(--primary) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 20px; 
    }
    .cookie-buttons { 
        width: 100%; 
        flex-direction: column; 
    }
    .cookie-buttons .btn { 
        width: 100%; 
    }
}