/* ===== HOME.CSS - УНИКАЛЬНЫЕ СТИЛИ ТОЛЬКО ДЛЯ ГЛАВНОЙ СТРАНИЦЫ ===== */
/* Базовые стили (header, footer, переменные) уже в base.css */

/* Секция скриншотов */
.screenshots-section {
    text-align: center;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Дополнительное центрирование для видео (если нужно переопределить) */
.content-section--centered .video-container {
    margin-left: auto;
    margin-right: auto;
}

/* Специфичные стили для карточек на главной (если отличаются от cards.css) */
.feature-card {
    background: var(--background-light);
    border-radius: var(--border-radius-sm);
    padding: 25px;
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-card p {
    flex: 1;
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.5;
}

/* Модели (психологические модели) */
.psychological-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.model-card {
    background: var(--background-light);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid var(--border-color);
}

.model-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.model-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.model-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.model-card div:last-child {
    font-size: 14px;
    color: var(--light-text);
}

/* ===== МЕДИА-ЗАПРОСЫ (ТОЛЬКО ДЛЯ УНИКАЛЬНЫХ ЭЛЕМЕНТОВ) ===== */

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .psychological-models {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 32px;
    }
    
    .feature-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .psychological-models {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 20px;
    }
}