/* css/style.css */

/*
 * GENIUSMIND - FINAL & ROBUST STYLESHEET V3
 * Author: Gemini (Corrected & Final version)
 * Date: 21.09.2025
 */

/* ------------------------- */
/* ----- GLOBAL STYLES ----- */
/* ------------------------- */
:root { --color-primary: #4f46e5; --color-secondary: #7c3aed; --color-dark: #111827; --color-text: #374151; --color-text-light: #6b7280; --color-bg-light: #f9fafb; --color-white: #ffffff; --color-yellow: #f59e0b; --color-green: #16a34a; --color-red: #dc2626; --color-border: #e5e7eb; --font-main: 'Montserrat', sans-serif; --font-heading: 'Poppins', sans-serif; --font-logo: 'Pacifico', cursive; --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-text); background-color: var(--color-white); line-height: 1.7; font-size: 16px; }

/* ------------------------- */
/* --- CONTAINER STYLES ---- */
/* ------------------------- */
.container-head, .container-hero, .container-advantages, .container-for-whom, .container-reviews, .container-author, .container-safety, .container-pricing, .container-cta, .container-footer { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-about { max-width: 86rem; margin: 0 auto; padding: 0 1rem; }
.container-how-it-works { max-width: 896px; margin: 0 auto; padding: 0 1rem; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-dark); line-height: 1.3; }
a { text-decoration: none; color: var(--color-primary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.section { padding: 6rem 0; }
.section-light { background-color: var(--color-bg-light); }
.section-title { font-size: 3rem; text-align: center; margin-bottom: 4rem; line-height: 1; }
.section-title-left { font-size: 2.5rem; margin-bottom: 1.5rem; text-align: left; font-weight: 500; }
.section-subtitle { font-size: 1.35rem; color: var(--color-text-light); text-align: center; max-width: 700px; margin: 0 auto 4rem auto; }
.section-title h2 { font-size: 3rem; text-align: center; margin-bottom: 1rem; line-height: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 2.2rem; border-radius: 50px; font-weight: 700; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 1.1rem; text-align: center; }
.btn-primary { background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); color: var(--color-white); box-shadow: var(--shadow); }
.btn-secondary { background: linear-gradient(90deg, #a855f7, #d946ef); color: var(--color-white); box-shadow: var(--shadow); }
.btn-yellow { background: linear-gradient(90deg, #facc15, #f59e0b); color: var(--color-dark); box-shadow: var(--shadow-lg); }
.btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ------------------------- */
/* ----- HEADER & NAV ------ */
/* ------------------------- */
.header { background-color: var(--color-white); box-shadow: var(--shadow); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; max-width: 80rem; }
.logo { display: flex; align-items: center; }
.logo-img { width: 48px; height: 48px; margin-right: 0.75rem; }
.logo-text { font-family: 'Montserrat', sans-serif; font-size: 1.875rem; font-weight: 800; line-height: 2.25rem; letter-spacing: -0.02em; }
.logo-genius { color: #0066CC; font-size: 1.4rem; margin: -0.5rem; font-weight: bold; }
.logo-bot { color: #7B3FF2; font-size: 1.4rem;}
.nav-links-container { display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--color-text-light); font-weight: 500; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: all 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); font-weight: 700; border-bottom-color: var(--color-primary); font-weight: 500; }
.mobile-menu-button { display: none; font-size: 2rem; background: none; border: none; cursor: pointer; z-index: 1001; }
.nav-area { display: flex; align-items: center; gap: 2rem; }
.btn-outline { background-color: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); padding: 0.6rem 1.8rem; box-shadow: none; }
.btn-outline:hover { background-color: var(--color-primary); color: var(--color-white); transform: none; }
.nav-links .btn-outline { padding-top: 0.4rem; padding-bottom: 0.4rem; border-bottom-color: var(--color-primary); }
.nav-links a.btn-outline:hover { color: var(--color-white); font-weight: 500; }

/* --- HERO --- */
.hero { color: var(--color-white); display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1rem; background-size: cover; background-position: center; }
.hero-content { max-width: 80rem; }
.hero-title { font-size: 3.75rem; line-height: 1; color: var(--color-white); font-weight: 500; }
.hero-subtitle { font-size: 1.55rem; margin: 1.5rem 0; opacity: 0.9; }
.hero-description { font-size: 1.3rem; opacity: 0.85; margin-bottom: 2.5rem; line-height: 1.75rem; max-width: 60rem; margin-left: auto; margin-right: auto; }
.hero-btn { padding: 1.2rem 2.8rem; font-size: 1.2rem; }

/* --- TWO-COL-GRID --- */
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }
.two-col-grid .text-content p { font-size: 1.35rem; margin-bottom: 1rem; }
.image-content.with-icon { position: relative; margin-left: auto; }
.rounded-img { border-radius: 1.5rem; }

/* --- STEPS --- */
.steps-container { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.step-card { display: flex; align-items: center; gap: 1.5rem; background: var(--color-white); padding: 2rem 2.5rem; border-radius: 1.5rem; box-shadow: var(--shadow); transition: all 0.3s ease; border: 1px solid var(--color-border); max-width: 56rem; justify-content: flex-start; flex-direction: row; flex-wrap: nowrap; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-icon { width: 60px; height: 60px; border-radius: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-icon i { font-size: 1.8rem; color: var(--color-white); }
.step-content h3 { display: flex; align-items: center; font-size: 1.5rem; line-height: 2rem; margin-bottom: 0.5rem; }
.step-content p { font-size: 1.125rem; line-height: 1.75rem; }
.step-number { background: rgb(243 244 246 / var(--tw-bg-opacity, 1)); color: rgb(107 114 128 / var(--tw-text-opacity, 1)); font-size: .875rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 50px; margin-right: 0.75rem; }

/* --- ADVANTAGES --- */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.advantage-card { background: var(--color-white); text-align: center; padding: 2rem; border-radius: 1.5rem; box-shadow: var(--shadow); transition: all 0.3s ease; }
.advantage-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.advantage-icon { width: 70px; height: 70px; margin: 0 auto 1.5rem auto; border-radius: 1rem; display: flex; align-items: center; justify-content: center; }
.advantage-icon i { font-size: 2.2rem; color: var(--color-white); }
.advantage-card h3 { font-size: 1.3rem; line-height: 1.75rem; margin-bottom: 0.75rem; }
.advantage-card p { font-size: 1.125rem; line-height: 1.75rem; }

/* --- FOR WHOM CARDS --- */
.for-whom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; }
.for-whom-card { padding: 2.5rem; border-radius: 1.5rem; border: 1px solid var(--color-border); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.for-whom-card.for-self { background: linear-gradient(to bottom right, #eff6ff, #e0e7ff); border-color: #bfdbfe; }
.for-whom-card.for-business { background: linear-gradient(to bottom right, #f5f3ff, #ede9fe); border-color: #ddd6fe; }
.for-whom-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.for-whom-icon { width: 70px; height: 70px; border-radius: 1rem; display: flex; align-items: center; justify-content: center; }
.for-self .for-whom-icon { background: linear-gradient(to right, #3b82f6, #60a5fa); }
.for-business .for-whom-icon { background: linear-gradient(to right, #8b5cf6, #a78bfa); }
.for-whom-icon i { font-size: 2.5rem; color: var(--color-white); }
.for-whom-card h3 { font-size: 1.8rem; }
.for-whom-card span { font-size: 1.125rem; line-height: 1.75rem; }
.for-whom-list { flex-grow: 1; }
.for-whom-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.for-whom-list i { font-size: 1.2rem; margin-top: 4px; }
.for-self .for-whom-list i { color: #3b82f6; }
.for-business .for-whom-list i { color: #8b5cf6; }
.for-whom-btn-container { text-align: center; margin-top: auto; }

/* --- REVIEWS --- */
.reviews-slider { max-width: 1000px; margin: 0 auto; background: var(--color-white); padding: 2.5rem; border-radius: 1.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.slider-navigation { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.slider-arrow { width: 48px; height: 48px; background-color: #f3f4f6; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.3s ease; }
.slider-arrow:hover { background-color: #e5e7eb; }
.slider-arrow i { font-size: 1.5rem; color: var(--color-primary); }
.slider-counter { color: var(--color-text-light); }
.slides-container { text-align: center; }
.review-card { display: none; }
.review-card.active { display: block; }
.review-card h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.review-problem { font-size: 1.25rem; color: var(--color-text-light); margin-bottom: 1.5rem; }
.review-progress { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-bottom: 1.5rem; }
.progress-item .score { font-size: 2rem; font-weight: 700; }
.progress-item .score.before { color: var(--color-red); }
.progress-item .score.after { color: var(--color-green); }
.progress-item .label { color: var(--color-text-light); }
.progress-arrow { font-size: 2rem; color: #d1d5db; }
.review-quote { font-size: 1.25rem; font-style: italic; color: var(--color-text); max-width: 600px; margin: 0 auto; }
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: none; background-color: #d1d5db; cursor: pointer; transition: background-color 0.3s ease; }
.dot.active { background-color: #818cf8; }

/* --- AUTHOR PROMO --- */
.author-promo-card { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 3rem; border-radius: 1.5rem; padding: 3.5rem; box-shadow: var(--shadow); background-image: linear-gradient(to right, #eef2ff, #faf5ff, #f0fdfa); }
.author-promo-image img { border-radius: 50%; border: 4px solid var(--color-white); box-shadow: var(--shadow-lg); width: 18rem; height: 18rem; object-fit: cover; }
.author-promo-content h3 { font-size: 2.25rem; margin-bottom: 1rem; }
.author-promo-content p { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 2rem; max-width: 500px; }
.author-promo-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-author { padding: 0.8rem 1.5rem; color: var(--color-white); border-radius: 50px; font-weight: 500; text-align: center; transition: all 0.3s ease; }
.btn-author:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-method { background: linear-gradient(to right, #4338ca, #6c2bf3, #8b5cf6); }
.btn-book { background: linear-gradient(90deg, #a855f7, #d946ef); }

/* --- SAFETY SECTION --- */
.section-warn { background-color: #fffbeb; }
.safety-card-new { background-color: #ffffff; border-radius: 1.5rem; padding: 2.5rem; box-shadow: var(--shadow-lg); border-left: 8px solid #f59e0b; margin: 0 auto; text-align: left; }
.safety-content-wrapper { display: flex; align-items: flex-start; gap: 1.5rem; }
.safety-icon-wrapper { width: 4rem; height: 4rem; background-color: #fef3c7; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.safety-icon-wrapper i { font-size: 2rem; color: #d97706; }
.safety-text-content { flex-grow: 1; }
.safety-text-content h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.safety-text-content p { color: #4b5563; font-size: 1.25rem; line-height: 1.7; margin-bottom: 2rem; }
.safety-contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card-new { padding: 1.5rem; border-radius: 0.75rem; }
.contact-card-new.emergency { background-color: #fef2f2; border: 1px solid #fecaca; }
.contact-card-new.emergency .contact-title { color: #991b1b; margin-bottom: 0; }
.contact-card-new.emergency .contact-info { color: #b91c1c; font-size: 1.125rem; line-height: 1.75rem; }
.contact-card-new.psychological { background-color: #eff6ff; border: 1px solid #bfdbfe; }
.contact-card-new.psychological .contact-title { color: #1e40af; margin-bottom: 0; }
.contact-card-new.psychological .contact-info { color: #1d4ed8; font-size: 1.125rem; line-height: 1.75rem; }
.contact-card-new .contact-title { font-weight: 700; font-size: 1.25rem; }
.contact-card-new .contact-info { margin-top: 0.5rem; font-size: 1rem; margin-bottom: 0; line-height: 1.5; }
.contact-card-new i { margin-right: 0.5rem; }

/* --- PRICING --- */
.section-pricing-bg { background-image: linear-gradient(to bottom right, #f8fafc, #eff6ff); }
.pricing-grid-new { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.pricing-card-new { background-color: var(--color-white); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow); border: 1px solid #e5e7eb; transition: all 0.5s ease; display: flex; flex-direction: column; text-align: center; }
.pricing-card-new:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-content { flex-grow: 1; display: flex; flex-direction: column; }
.pricing-icon-new { width: 5rem; height: 5rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.pricing-icon-new i { color: var(--color-white); font-size: 2.5rem; }
/******************************************************************/
/*           *** ЖЕЛЕЗОБЕТОННОЕ РЕШЕНИЕ ВЫРАВНИВАНИЯ ***          */
/******************************************************************/
.pricing-card-new h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; min-height: 55px; display: flex; align-items: center; justify-content: center; }
.pricing-card-new .pricing-desc { color: var(--color-text-light); margin-bottom: 1.5rem; min-height: 110px; }
/******************************************************************/
.pricing-price-new { font-size: 2.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-card-new .pricing-period { color: var(--color-text-light); margin-bottom: 0.25rem; }
.pricing-features-new { text-align: left; margin-bottom: 2rem; }
.pricing-features-new li { display: flex; align-items: center; margin-bottom: 0.75rem; }
.pricing-features-new i { color: #22c55e; margin-right: 0.75rem; font-size: 1.25rem; }
.pricing-btn-wrapper { margin-top: auto; }
.pricing-btn-new { width: 100%; color: var(--color-white); padding: 0.9rem 1rem; border-radius: 0.75rem; font-size: 1.125rem; font-weight: 700; border: none; cursor: pointer; transition: all 0.3s ease; box-shadow: var(--shadow); }
.pricing-btn-new:hover { box-shadow: var(--shadow-lg); }

/* --- ЦВЕТА И ВЫДЕЛЕНИЕ КАРТОЧЕК --- */
.icon-green { background-image: linear-gradient(to right, #22c55e, #16a34a); }
.price-green { color: #16a34a; }
.btn-green { background-image: linear-gradient(to right, #22c55e, #16a34a); }
.icon-orange { background-image: linear-gradient(to right, #f97316, #ea580c); }
.price-orange { color: #ea580c; }
.btn-orange { background-image: linear-gradient(to right, #f97316, #ea580c); }
.icon-purple { background-image: linear-gradient(to right, #6d28d9, #4c1d95); }
.price-purple { color: #6d28d9; }
.btn-purple { background-image: linear-gradient(to right, #6d28d9, #4c1d95); }
.icon-yellow { background-image: linear-gradient(to right, #f59e0b, #d97706); }
.price-yellow { color: #d97706; }
.btn-yellow { background-image: linear-gradient(to right, #f59e0b, #d97706); }
.popular-card { border: 2px solid var(--color-primary); position: relative; overflow: hidden; }
.popular-badge { position: absolute; top: 2.5rem; right: -4rem; background-color: var(--color-primary); color: var(--color-white); padding: 0.3rem 3rem; font-size: 0.875rem; font-weight: 700; transform: rotate(45deg); text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* --- СТИЛИ БЛОКА "ЛИЧНАЯ РАБОТА" --- */
.personal-work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; }
.personal-card { border-top: 4px solid var(--color-dark); }
.icon-personal-1 { background-image: linear-gradient(to right, #1e3a8a, #3730a3); }
.price-personal-1 { color: #1e3a8a; }
.btn-personal-1 { background-image: linear-gradient(to right, #1e3a8a, #3730a3); }
.icon-personal-2 { background-image: linear-gradient(to right, #1f2937, #000000); }
.price-personal-2 { color: #1f2937; }
.btn-personal-2 { background-image: linear-gradient(to right, #1f2937, #000000); }

/* --- CTA & FOOTER --- */
.cta-section { padding: 5rem 0; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); color: var(--color-white); text-align: center; }
.cta-content h2 { font-size: 2rem; color: var(--color-white); margin-bottom: 1rem; }
.cta-content p { font-size: 1.25rem; max-width: 600px; margin: 0 auto 2rem auto; opacity: 0.9; }
.cta-btn { font-size: 1.2rem; }
.footer { background-color: var(--color-dark); color: #9ca3af; padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; padding-bottom: 3rem; }
.footer-about .logo { margin-bottom: 1rem; }
.footer-about .logo-text { color: var(--color-white); }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a { color: #9ca3af; font-size: 1.5rem; transition: color 0.3s ease; }
.social-links a:hover { color: var(--color-white); }
.footer-links h4, .footer-contacts h4 { font-size: 1.25rem; color: var(--color-white); margin-bottom: 1.5rem; }
.footer a { color: #9ca3af; transition: color 0.3s ease; }
.footer a:hover { color: var(--color-white); }
.footer-links li, .footer-contacts li { margin-bottom: 0.75rem; }
.footer-contacts li { display: flex; align-items: center; gap: 0.75rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #374151; }

/*
 * STYLES FOR MODAL WINDOW
 */
.modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(17, 24, 39, 0.8); z-index: 2000; display: flex; justify-content: center; align-items: center; padding: 1rem; overflow-y: auto; }
.modal-content { background-color: var(--color-white); padding: 2.5rem; border-radius: 1.5rem; max-width: 550px; width: 100%; position: relative; box-shadow: var(--shadow-lg); animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.modal-close-btn { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.8rem; color: var(--color-text-light); cursor: pointer; transition: color 0.3s ease; }
.modal-close-btn:hover { color: var(--color-dark); }
.modal-content h3 { font-size: 1.8rem; text-align: center; margin-bottom: 0.5rem; }
.modal-subtitle { text-align: center; color: var(--color-text-light); margin-bottom: 2rem; }
.modal-form .form-group { margin-bottom: 1.2rem; }
.modal-form label { display: block; font-weight: 500; margin-bottom: 0.5rem; }
.modal-form input, .modal-form textarea { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--color-border); border-radius: 0.5rem; font-size: 1rem; font-family: var(--font-main); }
.modal-form input:focus, .modal-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2); }
.modal-form textarea { resize: vertical; }
.modal-submit-btn { width: 100%; justify-content: center; margin-top: 1rem; }

/*
 * STYLES FOR CONSENT CHECKBOX
 */
.form-group-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-group-consent input[type="checkbox"] {
    /* Убираем стандартный вид */
    appearance: none;
    -webkit-appearance: none;
    
    /* Размеры */
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.2rem; /* Небольшой отступ сверху для выравнивания с текстом */
    
    /* Внешний вид */
    border: 2px solid var(--color-border);
    border-radius: 0.375rem;
    cursor: pointer;
    
    /* Позиционирование для галочки */
    position: relative;
    flex-shrink: 0; /* Запрещаем сжиматься */
    transition: all 0.2s ease-in-out;
}

.form-group-consent input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Рисуем галочку через псевдоэлемент */
.form-group-consent input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.35rem;
    height: 0.7rem;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.form-group-consent input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.form-group-consent label {
    font-size: 0.875rem; /* 14px */
    color: var(--color-text-light);
    line-height: 1.5;
}

.form-group-consent label a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.form-group-consent label a:hover {
    color: var(--color-secondary);
}

/* ============================================ */
/* Cookie Consent Banner - Static Bottom Bar   */
/* ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.98), rgba(79, 70, 229, 0.98));
    padding: 1.25rem 0;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.cookie-consent.visible {
    display: block !important;
}

.cookie-consent.hidden {
    display: none !important;
}

.cookie-consent__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent__text {
    flex: 1;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent__text a {
    color: #fbbf24;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-consent__text a:hover {
    font-weight: 500;
}

.cookie-consent__button {
    background: linear-gradient(90deg, #facc15, #f59e0b);
    color: #1f2937;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.cookie-consent__button:hover {
    background: linear-gradient(90deg, #f59e0b, #f97316);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.5);
}

/* ------------------------- */
/* ----- MEDIA QUERIES ----- */
/* ------------------------- */
@media (max-width: 1500px) {
    .pricing-grid-new { grid-template-columns: repeat(2, 1fr); }
    .container-about { padding: 0 4rem; }
}
@media (max-width: 1300px) {
    .two-col-grid .text-content p { font-size: 1.25rem; margin-bottom: 1rem; }
    .two-col-grid { grid-template-columns: 1fr; }
    .two-col-grid { gap: 2rem; text-align: center; align-items: center; }
    .container-about h2 { text-align: center; }
    .image-content { order: -1; margin-bottom: 2rem; margin-left: auto; margin-right: auto; }
}
@media (max-width: 1200px) {
    .header .navbar .mobile-menu-button { 
        display: block !important; 
    }
    .nav-links-container { 
        display: none; 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 80%; 
        height: 100vh; 
        background-color: var(--color-white); 
        box-shadow: -10px 0 20px rgba(0,0,0,0.1); 
        padding-top: 6rem; 
        transition: right 0.4s ease-in-out; 
    }
    .nav-links-container.active { 
        display: block; 
        right: 0; 
    }
    .nav-links { 
        flex-direction: column; 
        align-items: center; 
        gap: 2rem; 
    }
}
@media (max-width: 1024px) {
    .section-title, .section-title-left { font-size: 2rem; text-align: center; }
    .section-subtitle { margin-bottom: 2rem; }
    .hero-title { font-size: 2.5rem; }
    .header .navbar .mobile-menu-button { display: block !important; }
    .nav-links-container { display: none; position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background-color: var(--color-white); box-shadow: -10px 0 20px rgba(0,0,0,0.1); padding-top: 6rem; transition: right 0.4s ease-in-out; }
    .nav-links-container.active { display: block; right: 0; }
    .nav-links { flex-direction: column; align-items: center; gap: 2rem; }
    .two-col-grid, .advantages-grid, .steps-container, .footer-grid, .author-promo-card { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col-grid, .author-promo-card { gap: 2rem; text-align: center; }
    .image-content { order: -1; margin-bottom: 1rem; }
    .author-promo-image { margin: 0 auto; max-width: 200px; }
    .author-promo-buttons { justify-content: center; }
    .footer-grid { text-align: center; }
    .footer-about .logo, .footer-contacts li, .social-links { justify-content: center; }
    .author-promo-content { display: flex; flex-direction: column; align-items: center; }
    .author-promo-image img { width: 12rem; height: 12rem; object-fit: cover; }
    .image-content.with-icon { margin-left: auto; margin-right: auto; }
}
@media (max-width: 850px) {
    .safety-content-wrapper { flex-direction: column; }
    .safety-contacts-grid { grid-template-columns: 1fr; }
    .safety-card-new { padding: 1.5rem; }
    .pricing-grid-new { grid-template-columns: 1fr; }
    .personal-work-grid { grid-template-columns: 1fr; }
    .popular-badge { top: 3rem; right: -3.5rem; }
    .container-about { padding: 0 1rem; }
}
@media (max-width: 800px) {
    .advantages-grid { grid-template-columns: 1fr; }
    .for-whom-grid { grid-template-columns: 1fr; }
    .step-card { padding-left: 1.5rem; padding-right: 1.5rem; align-items: center; }
    .step-content h3 { font-size: 1.25rem; }
    .review-quote, .author-promo-content p { font-size: 1.125rem; }

    .cookie-consent {
        padding: 1.5rem 0;
    }

    .cookie-consent__container {
        flex-direction: column;
        padding: 0 1rem;
        gap: 1.25rem;
        text-align: center;
    }

    .cookie-consent__text {
        font-size: 0.875rem;
    }

    .cookie-consent__button {
        width: 100%;
        padding: 1rem 2rem;
    }
}

@media (max-width: 600px) {
    .hero-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .section-title-left {
        font-size: 2.5rem !important;
    }

    .two-col-grid .text-content p {
        font-size: 1.1rem;
    }
}
