:root {
    --bg-main: #ffffff; /* Чисто белый */
    --bg-alt: #f8fafc; /* Светло-серый (slate-50) */
    --card-bg: #ffffff;
    --card-border: #e2e8f0; /* slate-200 */
    --text-main: #1e293b; /* Графитовый (slate-800) */
    --text-muted: #64748b; /* Серый (slate-500) */

    --accent-blue: #0284c7; /* Синий бренд (sky-600) */
    --accent-blue-glow: rgba(2, 132, 199, 0.2);
    --accent-gold: #d97706; /* Оранжево-золотой (amber-600) */

    --success-bg: #ecfdf5; /* Светло-зеленый (emerald-50) */
    --success-text: #059669; /* Зеленый (emerald-600) */
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Фоны и базовые тексты */
.bg-main { background-color: var(--bg-main) !important; }
.bg-alt { background-color: var(--bg-alt) !important; }
.text-main { color: var(--text-main) !important; }
.text-accent { color: var(--accent-blue) !important; }
.text-accent-gold { color: var(--accent-gold) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-success-light { background-color: var(--success-bg) !important; }
.text-success-dark { color: var(--success-text) !important; }

.z-index-2 { z-index: 2; }
.tracking-wide { letter-spacing: 0.05em; }

h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -0.02em; color: var(--text-main); }
.section-padding { padding: 100px 0; }
.link-more { color: var(--accent-blue); text-decoration: none; }
.link-more:hover { text-decoration: underline; color: #0369a1; }

/* Современные белые карточки с тенью */
.modern-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Стекло поверх фото в Hero */
.hero-glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Кнопки */
.btn-primary-custom {
    background: var(--accent-blue);
    color: #ffffff !important;
    border: none;
}
.btn-primary-custom:hover {
    background: #0369a1; /* Чуть темнее при наведении */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-blue-glow);
}
.btn-gold {
    background: #f59e0b; /* Желто-оранжевая (amber-500) */
    color: #ffffff !important;
    border: none;
}
.btn-gold:hover {
    background: #d97706;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

/* Hero Section Background */
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120%;
    background-position: 25% center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute; top:0; left:0; width:100%; height:100%;
    /* Мягкий светлый градиент, чтобы лицо было видно, а текст на белом стекле читался */
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(248,250,252,0.9) 60%, var(--bg-main) 100%);
}

/* Иконки и списки */
.icon-hexagon {
    width: 60px; height: 60px;
    background: #f0f9ff; /* sky-50 */
    border: 1px solid #bae6fd; /* sky-200 */
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-blue);
}
.icon-hexagon.glow-accent {
    background: var(--accent-blue);
    color: #ffffff !important;
    box-shadow: 0 5px 20px var(--accent-blue-glow);
    border: none;
}
.custom-check-list li, .custom-bullet-list li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; color: var(--text-main); }
.custom-check-list i { margin-top: 4px; }
.custom-bullet-list li::before { content: '•'; color: var(--accent-blue); font-weight: bold; }

/* Блоки и бейджи */
.custom-badge {
    background: #fffbeb; /* amber-50 */
    color: var(--accent-gold);
    border: 1px solid #fcd34d; /* amber-300 */
}
.custom-quote {
    border-left: 3px solid var(--accent-blue);
    background: #f8fafc;
}
.premium-border {
    position: relative;
    border: 2px solid var(--accent-blue) !important;
}

/* Прайс шаги */
.step-badge-gold, .step-badge-blue {
    display: inline-block; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase;
}
.step-badge-gold { background: #fffbeb; color: var(--accent-gold); border: 1px solid #fcd34d; }
.step-badge-blue { background: #f0f9ff; color: var(--accent-blue); border: 1px solid #bae6fd; }

/* FAQ Accordion */
.faq-btn { transition: color 0.3s; white-space: normal !important; line-height: 1.4; }
.faq-btn:not(.collapsed) { color: var(--accent-blue) !important; }
.faq-btn i { transition: transform 0.3s ease; }
.faq-btn:not(.collapsed) i { transform: rotate(180deg); }

/* Футер */
.custom-footer-nav .footer-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}
.custom-footer-nav .footer-link:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}
.border-primary-glow {
    border-color: #bae6fd !important;
}

/* Анимации JS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* Мобильная адаптивность */
@media (max-width: 768px) {
    .hero-bg::after { background: linear-gradient(0deg, var(--bg-main) 20%, rgba(255,255,255,0.7) 100%); }
    .hero-container { margin-top: 45vw; }
    .section-padding { padding: 60px 0; }
}

/* ==============================================
   ФИКСЫ (ГРАДИЕНТ, ОТСТУПЫ, СПИСКИ, FAQ)
   ============================================== */

/* 1. ИСПРАВЛЕНИЕ ГРАДИЕНТА НА ГЛАВНОМ ЭКРАНЕ (ЧТОБЫ БЫЛО ВИДНО ФОТО) */
.hero-bg::after {
    /* Полностью прозрачный слева (0% до 35%), чтобы лицо было четким,
       а затем плавный переход в матовый белый к правому краю */
    background: linear-gradient(90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 35%,
        rgba(255,255,255,0.7) 60%,
        #ffffff 100%
    ) !important;
}

@media (max-width: 768px) {
    /* На мобилке градиент идет снизу вверх, чтобы текст читался */
    .hero-bg::after {
        background: linear-gradient(0deg, #ffffff 30%, rgba(255,255,255,0.2) 100%) !important;
    }
}

/* Увеличиваем прозрачность "стеклянной панели" на главном экране */
.hero-glass-panel {
    background: rgba(255, 255, 255, 0.85) !important;
}

/* 2. ИСПРАВЛЕНИЕ СПИСКОВ В "МЕТОДОЛОГИИ" (SECTION 4) */
.methodology-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 20px !important;
    display: block !important;
}
.methodology-list li::before {
    content: '•';
    color: var(--accent-blue);
    font-size: 1.5em;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -5px;
}

/* 3. ИСПРАВЛЕНИЕ FAQ (ИКОНКИ СПРАВА) */
.faq-btn {
    white-space: normal !important;
}
.faq-btn span {
    color: var(--text-main) !important;
}
.faq-btn:not(.collapsed) span {
    color: var(--accent-blue) !important;
}
/* Запрещаем иконке сжиматься и фиксируем ее размер */
.faq-btn i {
    flex-shrink: 0 !important;
    width: 20px;
    text-align: right;
}

/* 4. АНИМАЦИИ ДЛЯ НОВЫХ SVG ЭЛЕМЕНТОВ (ФОНОВ) */
@keyframes floatShape {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}
.parallax-shape svg {
    animation: floatShape 8s ease-in-out infinite;
}
