/* Products Page — Modern hero + banner */
.products-page {
    background: #ffffff;
    color: #1e293b;
}

.products-hero {
    position: relative;
    padding: calc(83px + 2rem) 0 2.5rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    overflow: hidden;
}

.products-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.products-hero-bg::before,
.products-hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
}

.products-hero-bg::before {
    width: min(460px, 80vw);
    height: min(460px, 80vw);
    top: -120px;
    right: -80px;
    background: rgba(59, 130, 246, 0.12);
}

.products-hero-bg::after {
    width: min(340px, 65vw);
    height: min(340px, 65vw);
    bottom: -90px;
    left: -50px;
    background: rgba(56, 189, 248, 0.1);
}

.products-hero .container {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.products-hero-breadcrumb {
    margin-bottom: 1.5rem;
}

.products-hero-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 0.875rem;
}

.products-hero-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.products-hero-breadcrumb .breadcrumb-item a:hover {
    color: #2563eb;
}

.products-hero-breadcrumb .breadcrumb-item.active {
    color: #1e3a8a;
    font-weight: 600;
}

.products-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #94a3b8;
}

/* Grid layout */
.products-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: center;
}

.products-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.95rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 999px;
}

.products-hero-badge i {
    font-size: 0.85rem;
}

.products-hero-copy h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.85rem, 3.8vw, 2.65rem);
    font-weight: 800;
    line-height: 1.12;
    color: #1e3a8a;
    letter-spacing: -0.02em;
}

.products-hero-accent {
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.products-hero-lead {
    margin: 0 0 1.35rem;
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    line-height: 1.65;
    color: #475569;
    max-width: 34rem;
}

.products-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.products-hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.products-hero-chips i {
    color: #2563eb;
    font-size: 0.82rem;
}

/* Banner showcase */
.products-hero-visual {
    width: 100%;
}

.products-hero-banner-frame {
    position: relative;
    border-radius: 20px;
    padding: 0.45rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.25));
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 22px 48px rgba(30, 58, 138, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.products-hero-banner-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.products-hero-banner-frame:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 16px rgba(15, 23, 42, 0.06),
        0 28px 56px rgba(30, 58, 138, 0.18);
}

.products-hero-banner-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    border-radius: 16px;
    background: #ffffff;
}

.products-hero-banner-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
}

.products-hero-banner-caption i {
    color: #2563eb;
}

/* Tablet */
@media (max-width: 991.98px) {
    .products-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .products-hero-copy {
        text-align: center;
    }

    .products-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .products-hero-chips {
        justify-content: center;
    }

    .products-hero-visual {
        order: 2;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .products-hero {
        padding: calc(76px + 1.25rem) 0 1.75rem;
    }

    .products-hero-breadcrumb {
        margin-bottom: 1rem;
    }

    .products-hero-breadcrumb .breadcrumb {
        font-size: 0.8rem;
    }

    .products-hero-copy h1 {
        font-size: 1.65rem;
    }

    .products-hero-chips span {
        font-size: 0.72rem;
        padding: 0.38rem 0.7rem;
    }

    .products-hero-banner-frame {
        border-radius: 16px;
        padding: 0.3rem;
    }

    .products-hero-banner-img {
        border-radius: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-hero-banner-frame {
        transition: none;
    }

    .products-hero-banner-frame:hover {
        transform: none;
    }
}
