/* ===== HOME PAGE STYLES ===== */

/* 🔹 Глобальные переменные */
:root {
    --bg: #ffffff;
    --text: #1f2937;
    --text-light: #6b7280;
    --primary: #5c6bc0;
    --primary-dark: #3f51b5;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --radius: 12px;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f172a;
        --text: #f3f4f6;
        --text-light: #9ca3af;
        --border: #374151;
        --shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
}

/* 🔹 Базовые стили страницы */
.home-page {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

/* 🔹 Hero-секция */
.hero {
    background: linear-gradient(135deg, rgba(92,107,192,0.05) 0%, rgba(255,255,255,0) 100%);
    padding: 100px 0 80px;
    text-align: center;
}
.hero-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 32px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 🔹 Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-white {
    background: white;
    color: var(--primary);
}
.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

/* 🔹 Преимущества */
.features {
    padding: 80px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* 🔹 Шаги */
.steps {
    padding: 60px 0 80px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    text-align: center;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.step h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.step p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* 🔹 CTA-секция */
.cta {
    background: var(--primary);
    color: white;
    padding: 70px 0;
    text-align: center;
}
.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}
.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

/* 🔹 Адаптив */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }
    .features-grid,
    .steps-grid {
        gap: 20px;
    }
}
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    .btn-lg {
        width: 100%;
    }
}

