/* Современный дизайн в стиле Neumorphism с элементами Glassmorphism */

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

:root {
    /* Палитра современного дизайна */
    --primary: #667eea;
    --primary-light: #764ba2;
    --primary-dark: #5a67d8;
    --secondary: #f093fb;
    --accent: #4facfe;
    --background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --surface: rgba(255, 255, 255, 0.9);
    --glass-surface: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-backdrop: blur(10px);
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #f8fafc;
    --border: #e2e8f0;
    --border-light: rgba(255, 255, 255, 0.3);
    --success: #38a169;
    --warning: #ecc94b;
    --danger: #e53e3e;
    --info: #4299e1;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Эффекты Glassmorphism */
.glass-effect {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.3);
}

/* Шапка сайта - Современный стиль */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white;
}

.header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 0;
}

/* Карточки тестов - Современный стиль */
.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.test-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.test-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.test-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.test-info {
    margin-bottom: 1.5rem;
}

.test-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Кнопки - Современный стиль */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #48bb78 100%);
}

.btn-success::before {
    background: linear-gradient(135deg, #48bb78 0%, var(--success) 100%);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #f6ad55 100%);
}

.btn-warning::before {
    background: linear-gradient(135deg, #f6ad55 0%, var(--warning) 100%);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #fc8181 100%);
}

.btn-danger::before {
    background: linear-gradient(135deg, #fc8181 0%, var(--danger) 100%);
}

/* Плавающие кнопки для мобильных */
@media (max-width: 768px) {
    .btn {
        padding: 16px 30px;
        font-size: 1.1rem;
        width: 100%;
        margin: 5px 0;
    }
}

/* Формы - Современный стиль */
.form-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.form-control::placeholder {
    color: var(--text-secondary);
}

/* Тестирование - Современный стиль */
.test-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.timer {
    background: rgba(229, 62, 62, 0.1);
    color: var(--danger);
    padding: 15px;
    border-radius: var(--radius);
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    display: none;
    border: 2px solid var(--danger);
}

.timer.active {
    display: block;
}

.timer.warning {
    background: rgba(236, 201, 75, 0.1);
    color: var(--warning);
    border-color: var(--warning);
}

.timer.danger {
    background: rgba(229, 62, 62, 0.2);
    color: var(--danger);
    animation: subtle-pulse 1s infinite;
}

/* Плавающий таймер */
.timer.floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    margin-bottom: 0;
    box-shadow: var(--shadow-lg);
    min-width: 120px;
    padding: 12px 16px;
    font-size: 1.5rem;
}

.timer.floating-top {
    position: static;
    margin-bottom: 2rem;
    box-shadow: none;
    min-width: auto;
    padding: 15px;
    font-size: 1.8rem;
}

@keyframes subtle-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: #f8f9fa;
    border-left: 4px solid var(--primary);
}

.question:hover {
    border-color: var(--primary-light);
    background: #e9ecef;
}

.question-number {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.question-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.options {
    margin-top: 1rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 12px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0.75rem;
}

.option:hover {
    border-color: var(--primary);
    background: #f8f9fa;
}

.option input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.option.selected {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* Результаты - Современный стиль */
.result-container {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.result-message {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--success);
    font-weight: 600;
}

.score {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.score h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.score p {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Админ-панель - Современный стиль */
.admin-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.admin-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white;
}

.nav-tabs {
    display: flex;
    background: white;
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.nav-tab {
    flex: 1;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 1rem;
}

.nav-tab:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.nav-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.table th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1rem;
    text-align: left;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.table tr:hover {
    background: #f8f9fa;
}

.status-completed {
    color: #27ae60;
    font-weight: bold;
}

.status-expired {
    color: #e74c3c;
    font-weight: bold;
}

.status-in-progress {
    color: #f39c12;
    font-weight: bold;
}

/* Статусы - Современный стиль */
.status-completed {
    color: var(--success);
    font-weight: 600;
    background: rgba(56, 161, 105, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.status-expired {
    color: var(--danger);
    font-weight: 600;
    background: rgba(229, 62, 62, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.status-in-progress {
    color: var(--warning);
    font-weight: 600;
    background: rgba(236, 201, 75, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.status-terminated {
    color: var(--warning);
    font-weight: 600;
    background: rgba(230, 126, 34, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

/* Сообщения - Современный стиль */
.alert {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    border: none;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    color: #856404;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Футер - Современный стиль */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* Адаптивность - Стиль Liquid Glass */
@media (max-width: 1200px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .tests-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .form-container {
        padding: 30px;
    }
    
    .test-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 12px;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 20px 0;
        border-radius: 12px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .test-card {
        padding: 24px;
        margin: 8px 0;
        border-radius: 12px;
    }
    
    .form-container {
        padding: 24px;
        margin: 10px;
        border-radius: 12px;
    }
    
    .test-container {
        padding: 24px;
        margin: 10px 0;
        border-radius: 12px;
    }
    
    .timer {
        font-size: 1.8rem;
        padding: 14px;
        border-radius: 10px;
    }
    
    .question {
        padding: 20px;
        border-radius: 12px;
    }
    
    .option {
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        border-radius: 10px;
    }
    
    .nav-tabs {
        flex-direction: column;
        gap: 6px;
        border-radius: 10px;
    }
    
    .nav-tab {
        margin-bottom: 0;
        border-radius: 6px;
    }
    
    .table {
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .table th,
    .table td {
        padding: 14px 10px;
    }
    
    .result-container {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .result-message {
        font-size: 1.8rem;
    }
    
    .score p {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.6rem;
    }
    
    .test-card {
        padding: 20px;
        border-radius: 10px;
    }
    
    .form-container {
        padding: 20px;
        border-radius: 10px;
    }
    
    .test-container {
        padding: 20px;
        border-radius: 10px;
    }
    
    .timer {
        font-size: 1.6rem;
        border-radius: 8px;
    }
    
    .question {
        border-radius: 10px;
    }
    
    .question-number {
        font-size: 1rem;
    }
    
    .question-text {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    
    .result-message {
        font-size: 1.5rem;
    }
    
    .score p {
        font-size: 1.8rem;
    }
}

/* Сенсорные устройства - Liquid Glass */
@media (hover: none) and (pointer: coarse) {
    .test-card:hover,
    .option:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .option:active {
        background: rgba(99, 102, 241, 0.2);
    }
}

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

@keyframes glassPulse {
    0% { box-shadow: var(--glass-shadow); }
    50% { box-shadow: 0 12px 32px rgba(31, 38, 135, 0.3); }
    100% { box-shadow: var(--glass-shadow); }
}

/* Предотвращение горизонтальной прокрутки */
body {
    overflow-x: hidden;
    width: 100vw;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

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

.test-card,
.form-container,
.test-container {
    animation: fadeIn 0.3s ease-out;
}

.glass-pulse {
    animation: glassPulse 2s infinite;
}

/* Стили для полноэкранного слайдера */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto 3rem;
    border-radius: 0;
    overflow: hidden;
    padding-bottom: 60px;
}

.hero-slide {
    display: none;
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 900px;
}

.slide-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.slide-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.prev {
    left: 40px;
}

.next {
    right: 40px;
}

.slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.3);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .hero-slide {
        height: 350px;
    }
    
    .hero-slider {
        width: 100%;
        max-width: 100vw;
        margin: 0 auto 3rem;
        border-radius: 15px;
        padding-bottom: 40px;
    }
}



/* Modal styles for anti-cheat warnings - Liquid Glass */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-container {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    max-width: 400px;
    width: 90%;
    overflow: hidden;
    animation: modalAppear 0.3s ease;
}

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

.modal-header {
    padding: 24px 24px 16px;
    text-align: center;
    background: var(--glass-surface);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 16px 16px 0 0;
}

.modal-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.modal-icon.warning {
    color: var(--warning);
}

.modal-icon.error {
    color: var(--danger);
}

.modal-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-body {
    padding: 24px;
    text-align: center;
}

.modal-body p {
    margin: 0 0 16px 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-body p strong {
    color: var(--text-primary);
}

.warning-text {
    color: var(--warning) !important;
    font-weight: 500;
}

.error-text {
    color: var(--danger) !important;
    font-weight: 500;
}

.attempts-counter {
    margin: 20px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-backdrop);
}

.attempts-counter span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.attempt-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background: rgba(203, 213, 225, 0.5);
    transition: all 0.2s ease;
}

.attempt-dot.used {
    background: var(--danger);
    transform: scale(1.2);
}

.counter-info {
    margin-top: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.modal-footer {
    padding: 16px 24px 24px;
    text-align: center;
}

.btn-close {
    background: rgba(37, 99, 235, 0.2);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    color: var(--primary);
    border: 1px solid var(--glass-border);
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close:hover {
    background: rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

/* Status indicators - Flat & Glass */
.status-completed { color: var(--success); }
.status-expired { color: var(--danger); }
.status-in-progress { color: var(--primary); }
.status-terminated { color: var(--warning); font-weight: bold; }

/* Feature Cards Section */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--text-primary);
    margin: 0 0 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.scroll-to-tests {
    text-align: center;
    margin: 2rem 0 3rem;
}

.btn-scroll-to-tests {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-scroll-to-tests:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.tests-section {
    margin-top: 2rem;
}
    
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
        
    .section-title h2 {
        font-size: 1.8rem;
    }
        
    .section-subtitle {
        font-size: 1rem;
    }
        
    .feature-card {
        padding: 1.5rem;
    }
        
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
        
    .feature-card h3 {
        font-size: 1.2rem;
    }
}
    
@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
        
    .section-title h2 {
        font-size: 1.6rem;
    }
        
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}