﻿.products-index-page {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 14%, #f8fafc 100%);
}

.section-hero {
    position: relative;
    padding: 72px 0 40px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 28%), linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    overflow: hidden;
}

.section {
    padding: 72px 0;
}

.products-index__hero-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}

.products-index__hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.products-index__hero-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.03em;
    max-width: 720px;
    color: #0f172a;
}

.products-index__hero-text {
    max-width: 720px;
    font-size: 16px;
    line-height: 1.9;
    color: #475569;
}

.products-index__hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.products-index__hero-side {
    display: grid;
    gap: 14px;
}

.products-index__hero-panel {
    padding: 28px;
    border-radius: 26px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    color: #ffffff;
}

    .products-index__hero-panel .products-index__card-title {
        margin-bottom: 12px;
        color: #ffffff;
        font-size: 20px;
    }

    .products-index__hero-panel p {
        margin: 0;
        color: rgba(255, 255, 255, 0.84);
        font-size: 15px;
        line-height: 1.8;
    }

.products-index__hero-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.products-index__hero-mini-card {
    padding: 18px 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

    .products-index__hero-mini-card strong {
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
        line-height: 1.3;
        color: #0f172a;
    }

    .products-index__hero-mini-card span {
        display: block;
        font-size: 14px;
        line-height: 1.65;
        color: #64748b;
    }

.page-head {
    margin-bottom: 32px;
}

.products-index__section-title {
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: #0f172a;
}

.page-text {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.85;
    color: #475569;
}

.page-head .page-text {
    max-width: 820px;
    font-size: 16px;
    line-height: 1.9;
    color: #64748b;
}

.products-index__intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.products-index__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.products-index__card-title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.card,
.empty-box {
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.card {
    padding: 28px;
}

    .card p,
    .empty-box {
        font-size: 15px;
        line-height: 1.85;
        color: #64748b;
    }

.empty-box {
    padding: 28px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.chip {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #ffffff;
    color: #475569;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn,
.btn.btn--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: 1px solid transparent;
    color: #ffffff;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
    }

    .btn.btn--secondary {
        background: #ffffff;
        color: #0f172a;
        border: 1px solid rgba(148, 163, 184, 0.24);
    }

        .btn.btn--secondary:hover {
            border-color: rgba(37, 99, 235, 0.24);
            color: #1d4ed8;
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
        }

.products-index__cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
    color: #0f172a;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

    .products-index__cta-band::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 26%), radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.03), transparent 24%);
        pointer-events: none;
    }

    .products-index__cta-band .container {
        position: relative;
        z-index: 1;
    }

    .products-index__cta-band .page-title {
        color: #0f172a;
    }

    .products-index__cta-band .page-text {
        color: #475569;
    }

    .products-index__cta-band .eyebrow {
        background: rgba(15, 23, 42, 0.05) !important;
        color: #334155 !important;
        border: 1px solid rgba(148, 163, 184, 0.16);
    }

    .products-index__cta-band .btn {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        color: #ffffff;
        box-shadow: 0 10px 28px rgba(37, 99, 235, 0.16);
    }

        .products-index__cta-band .btn.btn--secondary {
            background: #ffffff;
            color: #1e293b;
            border-color: rgba(148, 163, 184, 0.22);
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
        }

.products-index__cta-note {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}

@media (max-width: 991px) {
    .section {
        padding: 56px 0;
    }

    .section-hero {
        padding: 48px 0 28px;
    }

    .products-index__hero-wrap,
    .products-index__intro-grid,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 18px !important;
    }

    .card,
    .empty-box,
    .products-index__hero-panel {
        padding: 24px;
        border-radius: 22px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 44px 0;
    }

    .section-hero {
        padding: 40px 0 24px;
    }

    .products-index__section-title {
        font-size: 24px;
    }

    .products-index__hero-title {
        font-size: 28px;
    }

    .products-index__hero-text,
    .page-text,
    .page-head .page-text,
    .card p,
    .empty-box {
        font-size: 15px;
        line-height: 1.8;
    }

    .products-index__hero-mini-grid {
        grid-template-columns: 1fr;
    }

    .page-head {
        margin-bottom: 24px;
    }

    .actions {
        flex-direction: column;
        margin-top: 22px;
    }

    .btn,
    .btn.btn--secondary {
        width: 100%;
    }

    .chip-row,
    .products-index__hero-chips {
        gap: 8px;
    }

    .chip {
        font-size: 12px;
        padding: 9px 12px;
    }
}
