/* Комбинация трансформерных шрифтов: Stalinist One + Unbounded */
@import url('https://fonts.googleapis.com/css2?family=Stalinist+One&family=Unbounded:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цвета - черный, желтый, светло-серый */
    --yellow-primary: #FFD700;
    --yellow-light: #FFE44D;
    --yellow-dark: #FFC700;
    --yellow-glow: rgba(255, 215, 0, 0.3);
    
    /* Фоны */
    --bg-primary: #000000;
    --bg-secondary: #1A1A1A;
    --bg-card: #1E1E1E;
    --bg-sidebar: #171717;
    
    /* Стекло */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-light: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Текст */
    --text-primary: #E0E0E0;
    --text-secondary: #B0B0B0;
    --text-tertiary: #808080;
    
    /* Тени */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-yellow: 0 4px 20px rgba(255, 215, 0, 0.3);
    
    /* Радиусы */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    
    /* Отступы */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
}

body {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-feature-settings: 'liga' 1, 'kern' 1;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    min-height: calc(100vh - 80px);
    padding-bottom: 120px;
    position: relative;
}

/* Нижняя навигационная панель в стиле Telegram */
.bottom-nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 700px;
    background: rgba(40, 40, 40, 0.7);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 12px max(12px, calc(env(safe-area-inset-bottom) + 2px));
    z-index: 100;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
    min-height: 72px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 4px;
}

.bottom-nav::-webkit-scrollbar {
    display: none;
}

@media (max-width: 640px) {
    .bottom-nav {
        max-width: calc(100% - 32px);
        padding: 10px 8px max(10px, calc(env(safe-area-inset-bottom) + 2px));
        min-height: 68px;
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .bottom-nav {
        bottom: 12px;
        width: calc(100% - 24px);
        border-radius: 36px;
        padding: 10px 6px max(10px, calc(env(safe-area-inset-bottom) + 2px));
        min-height: 64px;
        gap: 0;
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 22px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    min-width: 64px;
    flex: 1;
    max-width: 120px;
    -webkit-tap-highlight-color: transparent;
    border: 0.5px solid transparent;
    height: 56px;
}

@media (max-width: 640px) {
    .nav-item {
        padding: 8px 10px;
        min-width: 56px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .nav-item {
        padding: 8px 8px;
        min-width: 48px;
        gap: 3px;
        height: 52px;
    }
}

.nav-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, color;
}

@media (max-width: 640px) {
    .nav-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .nav-icon {
        width: 22px;
        height: 22px;
    }
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
    transition: inherit;
}

.nav-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Unbounded', sans-serif;
    letter-spacing: -0.1px;
    line-height: 1.2;
    text-align: center;
    will-change: color, font-weight;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .nav-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .nav-label {
        font-size: 9px;
        line-height: 1.1;
    }
}

.nav-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--yellow-primary);
    color: var(--bg-primary);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Unbounded', sans-serif;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
    line-height: 1;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
    .nav-badge {
        top: 1px;
        right: 2px;
        font-size: 9px;
        min-width: 14px;
        height: 14px;
        padding: 1px 4px;
    }
}

.nav-item.active {
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 2px 12px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-item.active .nav-icon {
    color: var(--yellow-primary);
    transform: scale(1.1);
}

.nav-item.active .nav-label {
    color: var(--yellow-primary);
    font-weight: 600;
    transform: scale(1.05);
}

.nav-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.nav-item:hover:not(.active) .nav-icon {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.nav-item:hover:not(.active) .nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.nav-item:active {
    transform: scale(0.96) translateY(0);
    transition: all 0.1s ease;
}

.nav-item:active .nav-icon {
    transform: scale(0.95);
}

/* Контент экранов */
.screen .content {
    animation: slideIn 0.3s ease;
}

/* Многошаговые экраны */
.calculator-step,
.eligibility-step {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 100px;
}

.step-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.step-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.step-header .back-btn {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 16px;
    padding: 10px 18px;
    color: var(--text-primary);
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-header .back-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(-2px);
}

.step-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.step-progress-bar {
    height: 100%;
    background: var(--yellow-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.step-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    gap: var(--spacing-xl);
}

.step-content h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -1px;
}

.step-content h2 em {
    font-style: italic;
    color: var(--yellow-primary);
}

.step-btn {
    margin-top: auto;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
}

.step-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Слайдер */
.slider-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.slider-value-display {
    text-align: center;
    font-family: 'Unbounded', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--yellow-primary);
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.slider-unit {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: 'Unbounded', sans-serif;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 48px;
    margin: var(--spacing-lg) 0;
}

.slider-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}

.slider-fill {
    position: absolute;
    height: 100%;
    background: var(--yellow-primary);
    border-radius: 3px;
    transition: width 0.1s ease;
}

.slider-thumb {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--yellow-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.1s ease;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.4);
    z-index: 2;
}

.slider-input:active + .slider-track .slider-thumb {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'Unbounded', sans-serif;
    padding: 0 var(--spacing-xs);
}

/* Опции транспорта и гражданства */
.transport-options,
.citizenship-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.transport-option,
.citizenship-option {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.transport-option:hover,
.citizenship-option:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.transport-option.selected,
.citizenship-option.selected {
    background: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.transport-icon,
.citizenship-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.transport-label,
.citizenship-label {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    text-align: center;
}

@media (max-width: 480px) {
    .step-content h2 {
        font-size: 28px;
    }
    
    .slider-value-display {
        font-size: 56px;
    }
    
    .slider-unit {
        font-size: 28px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Жидкое стекло - открытое без рамок */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

/* Header главной страницы */
.header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-xl) 0;
}

/* Header для экранов с контентом */
.screen-header {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.header h1 {
    font-family: 'Stalinist One', sans-serif;
    font-size: 64px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.header h1 em {
    font-family: 'Unbounded', sans-serif;
    font-style: normal;
    font-weight: 700;
    color: var(--yellow-primary);
    text-transform: none;
    letter-spacing: -1px;
}

.header h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
    line-height: 1.2;
}

.screen-header h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.8px;
    line-height: 1.3;
    margin: 0;
}

.subtitle {
    font-family: 'Unbounded', sans-serif;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
    margin-top: var(--spacing-sm);
    letter-spacing: -0.1px;
    line-height: 1.6;
}

.subtitle em {
    font-style: italic;
    color: var(--yellow-light);
    font-weight: 500;
}

/* Кнопка назад */
.back-btn {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 16px;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-primary);
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(-2px);
    color: var(--text-primary);
}

/* Grid layout */
.menu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

/* Menu items */
.menu-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.menu-item:hover {
    transform: translateY(-6px);
}

/* Иконки */
.card-icon {
    font-size: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-lg);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
}

/* Желтые акценты для каждой карточки */
.menu-item:nth-child(1) .card-icon {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.menu-item:nth-child(2) .card-icon {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.menu-item:nth-child(3) .card-icon {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.menu-item:nth-child(4) .card-icon {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.menu-item:nth-child(5) .card-icon {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.menu-item:hover .card-icon {
    background: var(--yellow-primary);
    border-color: var(--yellow-primary);
    box-shadow: var(--shadow-yellow);
    transform: scale(1.1);
}

/* Символы в иконках */
.menu-item:nth-child(1) .card-icon::before {
    content: '₽';
    font-size: 32px;
    color: var(--yellow-light);
    font-weight: 700;
}

.menu-item:nth-child(2) .card-icon::before {
    content: '✓';
    font-size: 32px;
    color: var(--yellow-light);
    font-weight: 700;
}

.menu-item:nth-child(3) .card-icon::before {
    content: '?';
    font-size: 32px;
    color: var(--yellow-light);
    font-weight: 700;
}

.menu-item:nth-child(4) .card-icon::before {
    content: 'T';
    font-size: 32px;
    color: var(--yellow-light);
    font-weight: 700;
}

.menu-item:nth-child(5) .card-icon::before {
    content: '★';
    font-size: 32px;
    color: var(--yellow-light);
    font-weight: 700;
}

.menu-item:hover .card-icon::before {
    color: var(--text-primary);
}

.card-content {
    text-align: center;
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.card-content h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    letter-spacing: -0.8px;
    line-height: 1.3;
}

.card-content h3 em {
    font-style: italic;
    color: var(--yellow-primary);
}

.card-content p {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 400;
}

.card-content p em {
    font-style: italic;
    color: var(--yellow-light);
    font-weight: 500;
}

/* Кнопки */
.button-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

button {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 16px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-family: 'Unbounded', sans-serif;
    min-height: 48px;
    letter-spacing: -0.2px;
    line-height: 1.4;
    border: none;
}

button:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(0);
}

button.selected {
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.primary-btn {
    width: 100%;
    background: var(--yellow-primary);
    color: var(--bg-primary);
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 18px;
    font-weight: 600;
    margin-top: var(--spacing-xl);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    min-height: 56px;
    transition: all 0.3s ease;
    font-family: 'Unbounded', sans-serif;
    letter-spacing: -0.2px;
    line-height: 1.4;
}

.primary-btn:hover {
    background: var(--yellow-light);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

/* Модальное окно формы заявки */
.application-form-modal {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.application-form-container {
    padding: var(--spacing-lg);
}

.application-form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--yellow-primary);
    margin-bottom: var(--spacing-sm);
    font-family: 'Unbounded', sans-serif;
}

.application-form-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group-half {
    flex: 1;
}

.form-row {
    display: flex;
    gap: var(--spacing-md);
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Unbounded', sans-serif;
}

.form-input {
    width: 100%;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 16px;
    color: var(--text-primary);
    font-family: 'Unbounded', sans-serif;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--yellow-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-input::placeholder {
    color: var(--text-tertiary);
}

.form-actions {
    margin-top: var(--spacing-lg);
}

.form-submit-btn {
    width: 100%;
    margin-top: 0;
}

.form-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.6;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Экраны */
.screen {
    display: none;
    min-height: calc(100vh - 160px);
}

.screen.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

/* Отображение дохода */
.earnings-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-2xl) 0;
}

.earning-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.earning-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--yellow-primary);
    opacity: 0.5;
}

.earning-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-yellow);
    background: var(--glass-bg-light);
}

.earning-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.earning-value {
    font-family: 'Unbounded', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--yellow-light);
    letter-spacing: -2.5px;
    line-height: 1.05;
    font-stretch: expanded;
}

/* Progress bar */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-top: var(--spacing-xl);
}

.progress-bar {
    height: 100%;
    background: var(--yellow-primary);
    border-radius: 4px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    border-radius: 32px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: var(--spacing-xl);
}

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

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 215, 0, 0.2);
    color: var(--text-primary);
    transform: rotate(90deg);
}

/* FAQ и тесты */
.faq-item, .test-item, .offer-item {
    margin-bottom: var(--spacing-lg);
    cursor: pointer;
    padding: var(--spacing-xl);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover, .test-item:hover, .offer-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
}

.faq-question, .test-title, .offer-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.8px;
    line-height: 1.3;
}

.faq-question em, .test-title em, .offer-title em {
    font-style: italic;
    font-weight: 700;
    color: var(--yellow-primary);
}

.faq-answer, .test-description, .offer-description {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: var(--spacing-md);
    font-weight: 400;
}

.faq-answer em, .test-description em, .offer-description em {
    font-style: italic;
    color: var(--yellow-light);
    font-weight: 500;
}

.test-questions {
    margin-top: var(--spacing-xl);
}

.test-question {
    margin-bottom: var(--spacing-xl);
}

.test-question h4 {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.3;
}

.test-question h4 em {
    font-style: italic;
    font-weight: 700;
    color: var(--yellow-primary);
}

.test-answers {
    display: grid;
    gap: var(--spacing-md);
}

.test-answer-btn {
    text-align: left;
    padding: var(--spacing-md);
    font-size: 15px;
    min-height: 48px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .menu-cards {
        grid-template-columns: 1fr;
    }
    
    .app-container {
        padding: var(--spacing-md);
    }
    
    .header h1 {
        font-size: 36px;
    }
    
    .header h2 {
        font-size: 24px;
    }
    
    .card-icon {
        width: 56px;
        height: 56px;
    }
    
    .card-content h3 {
        font-size: 18px;
    }
    
    .earnings-display {
        grid-template-columns: 1fr;
    }
    
    .earning-value {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 28px;
    }
    
    .button-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--yellow-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-light);
}

/* Плавные переходы */
a, button, .menu-item, .glass-card {
    -webkit-tap-highlight-color: transparent;
}

/* Дополнительные стили */
.content {
    max-width: 100%;
}

h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -1px;
    line-height: 1.3;
}

h3 em {
    font-style: italic;
    font-weight: 700;
    color: var(--yellow-primary);
}

/* Анимации загрузки */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    border-top-color: var(--yellow-primary);
    animation: spin 0.8s linear infinite;
}

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

/* Успех/Ошибка */
.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22C55E;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
    font-weight: 500;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
    font-weight: 500;
}

/* Главная страница - Премиум дизайн */
#main-menu {
    overflow-x: hidden;
}

.home-hero {
    position: relative;
    padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    overflow: visible;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title-main {
    font-family: 'Stalinist One', sans-serif;
    font-size: clamp(48px, 12vw, 88px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 var(--spacing-lg) 0;
    padding: 0;
    animation: heroTitleAppear 0.8s ease-out;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
}

.hero-title-word {
    font-family: 'Stalinist One', sans-serif;
    font-weight: 400;
    font-size: inherit;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    display: block;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    word-wrap: normal;
}

.hero-title-word-accent {
    color: var(--yellow-primary);
}

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

.hero-subtitle,
h2.hero-subtitle {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(18px, 4.5vw, 24px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
    padding: 0;
    font-weight: 400;
    line-height: 1.5;
    animation: heroSubtitleAppear 0.8s ease-out 0.2s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    letter-spacing: 0.1px;
}

.hero-subtitle em {
    font-style: normal;
    color: var(--yellow-primary);
    font-weight: 500;
    display: inline;
    font-family: 'Unbounded', sans-serif;
}

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

/* Секция кнопки регистрации */
.hero-registration-section {
    margin: var(--spacing-2xl) 0;
    animation: heroRegistrationAppear 0.8s ease-out 0.5s both;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

@keyframes heroRegistrationAppear {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Яркое пульсирующее свечение вокруг кнопки */
.hero-registration-section::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.35) 0%, transparent 70%);
    border-radius: 28px;
    animation: registrationGlow 2.5s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes registrationGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-registration-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: 20px 40px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 50%, #FFB000 100%);
    color: #000;
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 900;
    text-decoration: none;
    border-radius: 20px;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 8px 32px rgba(255, 215, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0 0 4px rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hero-registration-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.hero-registration-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 
        0 16px 48px rgba(255, 215, 0, 0.55),
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 3px 0 rgba(255, 255, 255, 0.4),
        0 0 0 6px rgba(255, 215, 0, 0.15);
    background: linear-gradient(135deg, #FFE44D 0%, #FFD700 50%, #FFC700 100%);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-registration-btn:hover::before {
    left: 100%;
}

.hero-registration-btn:active {
    transform: translateY(-2px) scale(1.01);
}

.hero-registration-btn .btn-emoji {
    font-size: 1.6em;
    line-height: 1;
    animation: btnEmojiFloat 2.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    position: relative;
}

@keyframes btnEmojiFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-8px) rotate(-10deg) scale(1.15);
    }
    50% {
        transform: translateY(-10px) rotate(0deg) scale(1.2);
    }
    75% {
        transform: translateY(-8px) rotate(10deg) scale(1.15);
    }
}

.hero-registration-btn:hover .btn-emoji {
    animation: btnEmojiSpin 0.5s ease-in-out;
}

@keyframes btnEmojiSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.3);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.hero-registration-btn .btn-text {
    position: relative;
    z-index: 1;
    font-weight: 900;
}

.hero-registration-btn .btn-arrow {
    font-size: 1.3em;
    transition: transform 0.3s;
    z-index: 1;
}

.hero-registration-btn:hover .btn-arrow {
    transform: translateX(6px);
}

.hero-stats-flow {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl) var(--spacing-2xl);
    animation: heroStatsAppear 0.8s ease-out 0.4s both;
    padding: 0;
}

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

.hero-stat-flow {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: nowrap;
}

.hero-stat-number {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(46px, 10vw, 72px);
    font-weight: 700;
    color: var(--yellow-primary);
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -1px;
}

.hero-stat-text {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(14px, 3vw, 17px);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    white-space: nowrap;
    line-height: 1.4;
    letter-spacing: 0px;
}

.home-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-lg);
    padding-bottom: var(--spacing-2xl);
    overflow-x: hidden;
    max-width: 900px;
    margin: 0 auto;
}

/* Крупные блоки функций */
.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.feature-block {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.feature-block:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2);
}

.feature-block-large {
    min-height: 280px;
    background: rgba(30, 30, 30, 0.8);
}

.feature-blocks-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.feature-block-medium {
    min-height: 200px;
    background: rgba(30, 30, 30, 0.8);
}

.feature-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.feature-bg-gradient-1 {
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-light) 100%);
}

.feature-bg-gradient-2 {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
}

.feature-bg-gradient-3 {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
}

.feature-block:hover .feature-bg-gradient {
    opacity: 0.5;
}

.feature-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-2xl);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    animation: iconFloat 3s ease-in-out infinite;
}

.feature-icon-large svg {
    width: 100%;
    height: 100%;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-info {
    flex: 1;
}

.feature-label {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.feature-title-small {
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.feature-description {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.feature-description-small {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.feature-arrow {
    font-size: 32px;
    color: var(--yellow-primary);
    font-weight: 300;
    margin-top: auto;
    align-self: flex-end;
    transition: transform 0.3s ease;
}

.feature-block:hover .feature-arrow {
    transform: translateX(8px);
}

.feature-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--yellow-primary);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Интерактивные карточки */
.interactive-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.interactive-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.interactive-card:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.04);
}

.interactive-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.interactive-card:hover .interactive-pattern {
    opacity: 0.8;
}

.interactive-pattern-2 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.interactive-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.interactive-number {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    color: var(--yellow-primary);
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.interactive-number svg {
    width: 24px;
    height: 24px;
}

.interactive-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.interactive-text strong {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.interactive-text span {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
    .hero-stats {
        gap: var(--spacing-md);
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .feature-blocks-row {
        grid-template-columns: 1fr;
    }
    
    .feature-block-large {
        min-height: 240px;
    }
    
    .feature-block-medium {
        min-height: 180px;
    }
}

/* FAQ и Тесты на главной странице */
.faq-section-home,
.tests-section-home {
    margin-top: var(--spacing-xl);
}

.faq-header-home,
.tests-header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.faq-header-home h3,
.tests-header-home h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.8px;
}

.faq-show-all,
.tests-show-all {
    background: transparent;
    border: none;
    color: var(--yellow-primary);
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.faq-show-all:hover,
.tests-show-all:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

.faq-preview {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-preview-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: var(--spacing-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-md);
}

.faq-preview-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

.faq-preview-question {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.faq-preview-answer {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.tests-preview {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.test-preview-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: var(--spacing-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.test-preview-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

.test-preview-content {
    flex: 1;
}

.test-preview-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.test-preview-description {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.test-preview-arrow {
    width: 24px;
    height: 24px;
    color: var(--yellow-primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.test-preview-item:hover .test-preview-arrow {
    transform: translateX(4px);
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 56px;
    }
    
    .feature-title {
        font-size: 24px;
    }
    
    .nav-item {
        min-width: 48px;
        padding: 8px 6px;
    }
    
    .nav-label {
        font-size: 9px;
    }
    
    .faq-header-home h3,
    .tests-header-home h3 {
        font-size: 20px;
    }
}
