/* НОВАЯ ЭЛЕГАНТНАЯ ТЕМНАЯ ПАЛИТРА */

body {
    font-family: 'Inter', sans-serif;
    background-image: url('/images/22.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #EAEAEA; /* Светлый текст */
    min-height: 100vh;
}

/* Стартовая заставка */
.intro-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.35), rgba(0, 0, 0, 0.72));
    backdrop-filter: blur(8px);
    z-index: 50;
    animation: introOverlayFadeIn 0.8s ease-out forwards;
}

.intro-content {
    max-width: 900px;
    padding: 2.5rem 1.5rem;
}

.intro-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: #F9F5EC !important; /* Яркий светлый цвет для лучшей читаемости */
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 1px 3px rgba(0, 0, 0, 1); /* Многослойная тень для контраста */
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(7, 6, 17, 0.85), rgba(35, 32, 52, 0.9));
    border: 1px solid rgba(228, 200, 142, 0.4);
    border-radius: 0.5rem;
    display: inline-block;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.intro-title {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    line-height: 1.35;
    color: #F9F5EC;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
    position: relative;
    padding: 1.5rem 1.25rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(7, 6, 17, 0.65), rgba(35, 32, 52, 0.85));
    border: 1px solid rgba(228, 200, 142, 0.3);
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    animation: introTextReveal 1s ease-out 0.35s forwards;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
}

.intro-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(252, 242, 210, 0.4), transparent 35%, transparent 65%, rgba(199, 171, 116, 0.4));
    mix-blend-mode: soft-light;
    opacity: 0.6;
}

.intro-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), transparent);
    opacity: 0.0;
    transform: translateX(-40%) skewX(-18deg);
    animation: introShine 1.2s ease-out 0.9s forwards;
}

.intro-overlay.intro-fade-out {
    animation: introOverlayFadeOut 0.7s ease-in forwards;
}

@keyframes introOverlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes introOverlayFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes introTextReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes introShine {
    0% {
        transform: translateX(-60%) skewX(-18deg);
        opacity: 0;
    }
    35% {
        opacity: 0.9;
    }
    100% {
        transform: translateX(160%) skewX(-18deg);
        opacity: 0;
    }
}

.container-card {
    background-color: #212529; /* Темная, матовая карточка */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3); /* Глубокая тень */
    border: 1px solid #343A40; /* Тонкий темный бордюр */
    transition: all 0.3s ease;
}

.step-content {
    min-height: 250px;
    /* ДОБАВЛЕНЫ ПЛАВНЫЕ ПЕРЕХОДЫ ДЛЯ АНИМАЦИИ */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; 
}

/* Стили индикатора прогресса (Pills/Tabs) */
.progress-pill {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #292D33; /* Dark pill background */
    border: 2px solid #555555;
    color: #A0A0A0;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-pill.active {
    background-color: #B3A369; /* Золотой акцент */
    color: #18191D; /* Темный текст на золоте */
    border-color: #B3A369;
    box-shadow: 0 0 15px rgba(179, 163, 105, 0.5);
}

.progress-pill.complete {
    background-color: #81C784; /* Мягкий зеленый (успех) */
    color: #18191D;
    border-color: #81C784;
}

/* Стили для кнопки с эффектом */
.primary-btn {
    background-color: #B3A369; /* Золотой акцент */
    box-shadow: 0 4px 6px -1px rgba(179, 163, 105, 0.5);
    color: #18191D; /* Темный текст на кнопке */
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary-btn:hover {
    background-color: #9C9160; /* Более глубокое золото */
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(179, 163, 105, 0.7);
}

.radio-btn {
    transition: all 0.2s;
    border: 2px solid #495057; /* Темный бордюр */
    background-color: #292D33; /* Фон кнопок */
    color: #EAEAEA;
}

.radio-btn:hover {
    border-color: #B3A369;
    background-color: #2D3339;
}

.radio-btn.selected {
    border-color: #B3A369;
    background-color: #343A40; /* Темно-серый фон при выборе */
    box-shadow: 0 0 10px rgba(179, 163, 105, 0.3);
}

.hidden {
    display: none;
}
