/* Главная страница — лендинг */

.home-landing-body {
    background: var(--bg, #f4f7fb);
}

.landing-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 56px;
}

.landing-hero {
    background: linear-gradient(118deg, #064e3b 0%, #0f766e 28%, #0d9488 55%, #2dd4bf 88%, #5eead4 100%);
    color: #fff;
    padding: 40px 20px 48px;
    box-shadow: 0 8px 32px rgba(6, 78, 59, 0.25);
}

.landing-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.landing-hero-content {
    text-align: center;
    max-width: 640px;
}

.landing-hero-media {
    width: 100%;
    max-width: 520px;
}

.landing-hero-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.08);
}

.landing-hero-label {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
}

.landing-hero-title {
    margin: 0 auto 16px;
    max-width: 100%;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
}

.landing-hero-text {
    margin: 0 auto 28px;
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.55;
    opacity: 0.95;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.landing-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.landing-btn-primary {
    background: #fff;
    color: #0f766e;
    border: 2px solid #fff;
}

.landing-btn-primary:hover {
    background: #f0fdfa;
    color: #0d6b63;
}

.landing-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.landing-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.landing-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.landing-section-title {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text, #1f2937);
    text-align: center;
}

.landing-section-lead {
    margin: 0 auto 32px;
    max-width: 560px;
    text-align: center;
    color: var(--muted, #6b7280);
    font-size: 15px;
    line-height: 1.5;
}

.landing-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.landing-card {
    display: flex;
    flex-direction: column;
    padding: 24px 26px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.landing-card:hover {
    border-color: #5eead4;
    box-shadow: 0 14px 36px rgba(15, 118, 110, 0.18), 0 4px 10px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

.landing-card--accent {
    border-color: #99f6e4;
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}

.landing-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.landing-card-icon--catalog {
    background: #e0f2fe;
    color: #0369a1;
}

.landing-card-icon--rag {
    background: #ccfbf1;
    color: #0f766e;
}

.landing-card-icon--news {
    background: #fef3c7;
    color: #b45309;
}

.landing-card-icon--blog {
    background: #ede9fe;
    color: #6d28d9;
}

.landing-card-icon--account {
    background: #f1f5f9;
    color: #475569;
}

.landing-card-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text, #1f2937);
}

.landing-card-text {
    margin: 0 0 16px;
    flex: 1;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted, #6b7280);
}

.landing-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent, #0f766e);
}

.landing-section--steps {
    background: #fff;
    border-top: 1px solid var(--border, #e2e8f0);
    border-bottom: 1px solid var(--border, #e2e8f0);
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
}

.landing-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.landing-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.landing-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent, #0f766e);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    font-size: 16px;
}

.landing-step strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--text, #1f2937);
}

.landing-step p {
    margin: 0;
    font-size: 14px;
    color: var(--muted, #6b7280);
    line-height: 1.5;
}

.landing-updates {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.landing-update-block {
    background: var(--card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    padding: 20px 22px;
}

.landing-update-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.landing-update-head h3 {
    margin: 0;
    font-size: 1.1rem;
}

.landing-update-head a {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent, #0f766e);
    text-decoration: none;
}

.landing-update-head a:hover {
    text-decoration: underline;
}

.landing-update-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-update-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.landing-update-list li:last-child {
    border-bottom: none;
}

.landing-update-list a {
    color: var(--text, #1f2937);
    font-weight: 500;
    text-decoration: none;
}

.landing-update-list a:hover {
    color: var(--accent, #0f766e);
}

.landing-update-list time {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted, #6b7280);
}

.landing-cta {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 0;
    text-align: center;
}

.landing-cta-title {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: var(--text, #1f2937);
}

.landing-cta-text {
    margin: 0 0 24px;
    color: var(--muted, #6b7280);
    line-height: 1.5;
}

.landing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
}

.landing-cta-actions .landing-btn {
    min-width: 160px;
    flex: 0 1 auto;
}

@media (min-width: 600px) {
    .landing-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-updates {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .landing-hero {
        padding: 56px 32px 64px;
    }

    .landing-hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        text-align: left;
    }

    .landing-hero-content {
        flex: 1;
        text-align: left;
        max-width: 560px;
    }

    .landing-hero-actions {
        justify-content: flex-start;
    }

    .landing-hero-media {
        flex: 0 1 44%;
        max-width: 480px;
    }

    .landing-section {
        padding: 48px 32px;
    }

    .landing-features {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

/* Кнопки в нижнем блоке — на светлом фоне */
.landing-cta .landing-btn-primary {
    background: var(--accent, #0f766e);
    color: #fff;
    border: 2px solid var(--accent, #0f766e);
}

.landing-cta .landing-btn-primary:hover {
    background: #0d6b63;
    border-color: #0d6b63;
    color: #fff;
}

.landing-cta .landing-btn-secondary {
    background: #fff;
    color: var(--accent, #0f766e);
    border: 2px solid var(--accent, #0f766e);
}

.landing-cta .landing-btn-secondary:hover {
    background: #f0fdfa;
}
