/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Обновленная цветовая палитра */
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #4299e1;
    --success-color: #38a169;
    --warning-color: #dd6b20;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    /* Обновленные тени */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
    
    /* Обновленные радиусы */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    
    /* Анимации */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Обновленная плашка выплат */
.payout-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-primary);
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: 50px;
}

.payout-content {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.payout-icon {
    min-width: 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--success-color);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.payout-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.payout-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    min-width: 0;
}

.payout-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.payout-time {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.payout-check {
    min-width: 26px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--success-color) 0%, #2f855a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    animation: checkPulse 2s infinite;
}

.payout-check i {
    color: white;
    font-size: 13px;
    font-weight: 900;
}

@keyframes checkPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: var(--shadow-sm);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 8px rgba(56, 161, 105, 0.4);
    }
}

/* Обновленный логотип */
.logo-container {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-image:hover {
    transform: scale(1.05);
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* Обновленный контейнер */
.container {
    margin-top: 150px;
    padding: 0;
    width: 100%;
    max-width: none;
}

/* Страницы */
.page {
    display: none;
    min-height: calc(100vh - 60px);
    padding: 0;
}

.page.active {
    display: block;
    animation: fadeIn 0.6s ease-out;
}

/* Главная страница */
.hero-section {
    position: relative;
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
    background: transparent;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-logo {
    position: absolute;
    width: 100px;
    height: 100px;
    background: url('kazatom-logo.png') no-repeat center center;
    background-size: contain;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.logo-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.logo-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    transform: rotate(45deg);
}

.logo-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    transform: rotate(-45deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.speech-bubble {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 200px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
    backdrop-filter: blur(10px);
}

.speech-bubble p {
    margin: 0;
    font-style: italic;
    line-height: 1.4;
}

.bubble-arrow {
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.95);
}

.kazatom-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--accent-color);
}

.badge-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.trust-item img,
.trust-item i {
    width: 16px;
    height: 16px;
    color: var(--success-color);
}

/* Удаляем синий фильтр */
.image-overlay {
    display: none;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line-1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.title-line-2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.highlight-amount {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 16px 0;
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.amount-icon {
    font-size: 1.2em;
    animation: pulse 2s infinite;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 24px 0;
    line-height: 1.6;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
    padding: 18px 36px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 24px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
}

.cta-button i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: scale(1.1);
}

/* Квиз */
.quiz-container {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.quiz-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 4px;
    margin-right: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 80px;
}

.question-container {
    text-align: center;
}

.question-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.question-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.answers-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 40px;
}

.answer-option {
    background: white;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: left;
}

.answer-option:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
}

.answer-option.selected {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow);
}

.next-button {
    background: var(--primary-color);
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.5;
    pointer-events: none;
}

.next-button.active {
    opacity: 1;
    pointer-events: auto;
}

.next-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Анализ */
.analysis-container {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.analysis-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-animation {
    margin: 40px 0;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(102, 126, 234, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

.loading-bars {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.bar {
    width: 8px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 4px;
    animation: wave 1.5s ease-in-out infinite;
}

.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }
.bar:nth-child(4) { animation-delay: 0.6s; }
.bar:nth-child(5) { animation-delay: 0.8s; }

.analysis-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Результат */
.result-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.result-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    animation: bounce 2s infinite;
}

.result-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.result-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--success-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    animation: pulse 2s infinite;
}

.result-button {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.result-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Форма */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Новые стили для уведомлений */
.alert-section {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reservation-alert, .slots-alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

.reservation-alert {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    border: 2px solid #ff8f00;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.slots-alert {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: 2px solid #117a8b;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.reservation-alert i, .slots-alert i {
    font-size: 1.2em;
}

/* Подпись под формой */
.form-note {
    text-align: center;
    padding: 16px;
    background: rgba(108, 117, 125, 0.1);
    border-radius: var(--radius);
    margin: 24px 0;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-note i {
    color: var(--accent-color);
}

/* Секция партнеров */
.partners-section {
    margin-top: 48px;
    text-align: center;
}

.partners-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.partner-logo {
    transition: var(--transition);
    opacity: 0.8;
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.partner-logo img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.form-banner {
    background: var(--warning-color);
    color: white;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
}

.banner-icon {
    font-size: 1.5em;
}

.banner-text {
    font-weight: 500;
    line-height: 1.4;
}

.application-form {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.timer-section {
    text-align: center;
    margin: 32px 0;
    padding: 24px;
    background: rgba(240, 68, 82, 0.1);
    border-radius: var(--radius);
    border: 2px solid rgba(240, 68, 82, 0.2);
}

.timer-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timer {
    font-size: 2rem;
    font-weight: 800;
    color: #f04452;
    font-family: monospace;
}

.submit-button {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 16px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-bottom: 24px;
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.success-notice {
    text-align: center;
    padding: 20px;
    background: rgba(67, 233, 123, 0.1);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-weight: 500;
    border: 2px solid rgba(67, 233, 123, 0.2);
}

/* FAQ */
.faq-section {
    margin-top: 48px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 24px;
    background: var(--bg-light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-card);
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.faq-answer.active {
    padding: 24px;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-20px) rotate(var(--rotation, 0deg));
    }
}

/* Медиа запросы */
@media (max-width: 768px) {
    .container {
        margin-top: 122px;
        padding: 10px;
    }
    
    .hero-content {
        padding: 15px;
        margin: 10px;
        gap: 15px;
    }
    
    .logo-container {
        top: 46px;
        height: 72px;
        padding: 16px 0;
    }
    
    .logo-wrapper {
        padding: 0 15px;
        gap: 16px;
    }
    
    .logo-image {
        height: 48px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .hero-image {
        margin: 15px auto;
        max-width: 400px;
    }
    
    .main-title {
        gap: 6px;
    }
    
    .title-line-1 {
        font-size: 2rem;
    }
    
    .title-line-2 {
        font-size: 2.2rem;
    }
    
    .highlight-amount {
        font-size: 1.3rem;
        padding: 10px 16px;
        margin: 12px 0;
        gap: 6px;
    }
    
    .trust-badge {
        font-size: 0.9rem;
        padding: 6px 12px;
        gap: 6px;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin: 16px 0;
    }
    
    .speech-bubble {
        top: 15px;
        right: 15px;
        max-width: 160px;
        padding: 12px;
        font-size: 12px;
    }
    
    .trust-indicators {
        gap: 16px;
        margin-top: 24px;
    }
    
    .trust-item {
        font-size: 12px;
        padding: 6px 12px;
        gap: 6px;
    }
    
    .payout-banner {
        height: 46px;
        padding: 8px 16px;
    }
    
    .payout-content {
        gap: 10px;
    }
    
    .payout-icon {
        width: 32px;
        height: 32px;
        border-width: 2px;
        min-width: 32px;
    }
    
    .payout-text {
        font-size: 13px;
    }
    
    .payout-time {
        font-size: 11px;
    }
    
    .payout-check {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }
    
    .payout-check i {
        font-size: 12px;
    }
    
    .quiz-container,
    .analysis-container,
    .result-card,
    .application-form {
        padding: 24px;
    }
    
    /* Адаптивные стили для новых элементов */
    .alert-section {
        margin-bottom: 24px;
        gap: 12px;
    }
    
    .reservation-alert, .slots-alert {
        padding: 12px 16px;
        font-size: 14px;
        gap: 8px;
    }
    
    .form-note {
        padding: 12px;
        font-size: 14px;
        margin: 16px 0;
    }
    
    .partners-section {
        margin-top: 32px;
    }
    
    .partners-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .partners-logos {
        gap: 16px;
        padding: 20px;
    }
    
    .partner-logo img {
        height: 36px;
    }
}

@media (max-width: 480px) {
    .container {
        margin-top: 110px;
        padding: 8px;
    }
    
    .hero-content {
        padding: 12px;
        margin: 8px;
        gap: 12px;
    }
    
    .logo-container {
        top: 42px;
        height: 64px;
        padding: 12px 0;
    }
    
    .logo-wrapper {
        padding: 0 10px;
        gap: 12px;
    }
    
    .logo-image {
        height: 44px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .hero-image {
        max-width: 320px;
    }
    
    .title-line-1 {
        font-size: 1.75rem;
    }
    
    .title-line-2 {
        font-size: 1.9rem;
    }
    
    .highlight-amount {
        font-size: 1.2rem;
        padding: 8px 12px;
        margin: 10px 0;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .subtitle {
        font-size: 1rem;
        margin: 12px 0;
    }
    
    .speech-bubble {
        top: 10px;
        right: 10px;
        max-width: 140px;
        padding: 10px;
        font-size: 11px;
    }
    
    .kazatom-badge {
        bottom: -10px;
        right: 10px;
        padding: 10px;
    }
    
    .badge-logo {
        height: 32px;
        width: 32px;
    }
    
    .trust-indicators {
        gap: 12px;
        margin-top: 20px;
        justify-content: center;
    }
    
    .trust-item {
        font-size: 11px;
        padding: 5px 8px;
        gap: 4px;
        flex: 1 1 auto;
        min-width: 120px;
        max-width: 140px;
    }
    
    .trust-item img,
    .trust-item i {
        width: 14px;
        height: 14px;
    }
    
    .payout-banner {
        height: 42px;
        padding: 6px 12px;
    }
    
    .payout-content {
        gap: 8px;
    }
    
    .payout-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-width: 2px;
    }
    
    .payout-text {
        font-size: 12px;
    }
    
    .payout-time {
        font-size: 10px;
    }
    
    .payout-check {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }
    
    .payout-check i {
        font-size: 11px;
    }
    
    .cta-button,
    .result-button,
    .submit-button {
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    /* Адаптивные стили для мобильных */
    .alert-section {
        margin-bottom: 20px;
        gap: 10px;
    }
    
    .reservation-alert, .slots-alert {
        padding: 10px 12px;
        font-size: 13px;
        gap: 6px;
        flex-direction: column;
        text-align: center;
    }
    
    .reservation-alert i, .slots-alert i {
        font-size: 1em;
    }
    
    .form-note {
        padding: 10px;
        font-size: 13px;
        margin: 12px 0;
        flex-direction: column;
        gap: 4px;
    }
    
    .partners-section {
        margin-top: 24px;
    }
    
    .partners-title {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
    
    .partners-logos {
        gap: 12px;
        padding: 16px;
        flex-direction: column;
    }
    
    .partner-logo img {
        height: 32px;
    }
} 
/* Финальная регистрация */
.final {
  display: block !important;
  margin: 10px 0;
  background: #f9f9f9;
  padding: 24px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}
.final__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}
.final__subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.reg-form__group {
  display: flex;
  flex-direction: column;
}
.reg-form__group span {
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}
.reg-form__group input {
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.reg-form__btn {
  margin-top: 16px;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
  background: transparent;
  border: 2px solid #0350f5;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.reg-form__btn:hover {
  background: #011a8b;
  color: #ffffff;
} */
/* Прогресс-бар – контейнер */
#quiz-progress {
  position: relative; /* для псевдоэлементов */
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

/* Разметка секций – две вертикальные линии */
#quiz-progress::before,
#quiz-progress::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ccc;
}
#quiz-progress::before { left: calc(100% / 3); }
#quiz-progress::after  { left: calc(2 * 100% / 3); }

/* Заполняемая часть */
/* #quiz-progress__bar {
  height: 100%;
  width: 0%;
  background: #af0909;
  transition: width 0.4s ease;
} */
.reg-form__group .error{
  color: rgb(3, 5, 145);
  font-size: 1rem;
  font-weight: normal;
  margin-top: 8px;
  margin-left: 8px;
}
#step4 .form-group {
  position: relative;
  margin-bottom: 15px;
}

#step4 input {
  width: 100%;
  font-size: 16px;
  color: #333;
  position: relative;
  background: rgb(250, 250, 250);
  border: 2px solid rgb(235, 235, 235);
  gap: 4px;
  display: flex;
  flex-flow: row nowrap;
  -webkit-box-align: center;
  align-items: center;
  height: 56px;
  border-radius: 16px;
  padding: 12px 16px;
}

#step4 input:focus {
  outline: none;
  background: rgb(250, 250, 250);
}

#step4 label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  transition: all 0.3s ease;
  pointer-events: none;
}

#step4 input:focus + label,
#step4 input:not(:placeholder-shown) + label {
  top: 0px;
  left: 20px;
  font-size: 14px;
  padding: 0 5px;
  color: #666;
}

#step4 .error {
  position: absolute;
  bottom: -3px;
  left: 10px;
  padding: 0px 6px;
  font-size: 12px;
  border-radius: 5px;
  visibility: hidden;
  opacity: 0;
  background-color: #fff;
  color: #ff0000;
  border: 1px solid #ff0000;
  transition: opacity 0.3s ease-in-out;
}

#step4 .error::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  border: 5px solid transparent;
  border-bottom-color: #ff0000;
}

#step4 .error.active {
  visibility: visible;
  opacity: 1;
}

#step4 button[type="submit"] {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
}

#step4 button[type="submit"]:hover {
  background-color: #666;
}

/* Стили для модального окна */
.universal-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 3000 !important;
  overflow: hidden !important;
}

.universal-modal-content {
  background-color: #ffffff !important;
  padding: 32px 24px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  text-align: center !important;
  max-width: 400px !important;
  position: relative !important;
  margin: 0 10px !important;
  border: none !important;
}

.universal-modal-content p {
  line-height: 140% !important;
  margin: 10px 0 0 !important;
  color: #1c1c1c;
}

.universal-modal-close {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  cursor: pointer !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  color: #777777 !important;
}

.universal-modal-close:hover {
  color: #333333 !important;
}

.universal-modal-close::before,
.universal-modal-close::after {
  content: "" !important;
  position: absolute !important;
  width: 16px !important;
  height: 2px !important;
  background-color: #777777 !important;
}

.universal-modal-close::before {
  transform: rotate(45deg) !important;
}

.universal-modal-close::after {
  transform: rotate(-45deg) !important;
}

.universal-modal-open {
  overflow: hidden !important;
}

/* Modal Form */
.modal-form {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  z-index: 2000 !important;
  overflow: hidden !important;
}

.modal-form_content {
  background-color: rgb(242, 242, 242) !important;
  padding: 70px 16px 32px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  text-align: center !important;
  max-width: 400px !important;
  position: relative !important;
  margin: 0 10px !important;
}

.modal-form .universal-modal-close {
  top: 10px !important;
  right: 10px !important;
}

.modal-form .universal-modal-close::before,
.modal-form .universal-modal-close::after {
  width: 22px !important;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  position: relative !important;
}

span.error {
  position: absolute;
  bottom: 0px;
  left: 0;
  font-size: 12px;
  color: red;
}

@media screen and (max-width: 768px) {
  span.error {
    font-size: 11px;
    bottom: 6px;
  }
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(168 168 168 / 70%);
  z-index: 4000;
}

#loader img {
  position: absolute;
  width: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
