/* ═══════════════════════════════════════════════════
 *  Product styles — homepage "Our Products" section,
 *  /products/ catalogue and individual product pages.
 *  Uses the same palette and type as style.css.
 * ═══════════════════════════════════════════════════ */

.duosolve-solutions {
    --ds-blue: #1d44b8;
    --ds-blue-deep: #0e38b4;
    --ds-cream: #fff8ec;
    --ds-cream-2: #FFF3DD;
    --ds-cream-border: #FFE6B8;
    --ds-cream-text: #fff5e4;
    --shack-violet: #7B6CF6;
    --shack-pink: #E26AA8;
}

/* ── Section shell ──────────────────────────────── */

.duosolve-solutions .product-section {
    display: flex;
    flex-direction: column;
    width: 920px;
    align-items: center;
    gap: 40px;
    position: relative;
    flex: 0 0 auto;
    font-family: "Noto Sans", sans-serif;
    color: #000000;
}

.duosolve-solutions .product-section > [data-products] {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.duosolve-solutions .product-section h2.heading {
    font-family: "Noto Sans", sans-serif;
    font-weight: 800;
    font-size: 32px;
    text-align: center;
}

.duosolve-solutions .product-noscript {
    text-align: center;
    line-height: 24px;
}

.duosolve-solutions .product-noscript a {
    color: var(--ds-blue);
    font-weight: 600;
    text-decoration: underline;
}

/* ── Buttons ────────────────────────────────────── */

.duosolve-solutions .product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.duosolve-solutions .product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 90px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    line-height: normal;
    border: 2px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.duosolve-solutions .product-btn-primary {
    background-color: var(--ds-blue);
    color: #ffffff;
}

.duosolve-solutions .product-btn-primary:hover {
    background-color: var(--ds-blue-deep);
}

.duosolve-solutions .product-btn-light {
    background-color: #ffffff;
    color: var(--ds-blue);
}

.duosolve-solutions .product-btn-light:hover {
    background-color: var(--ds-cream);
}

.duosolve-solutions .product-btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.duosolve-solutions .product-btn-outline:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.duosolve-solutions .product-btn:focus-visible,
.duosolve-solutions .product-card:focus-visible,
.duosolve-solutions .product-filter:focus-visible {
    outline: 2px solid #4a90e2;
    outline-offset: 3px;
}

/* ── Homepage spotlight ─────────────────────────── */

.duosolve-solutions .product-spotlight {
    display: flex;
    gap: 48px;
    padding: 48px;
    border-radius: 30px;
    background-color: var(--ds-blue);
    color: var(--ds-cream-text);
    position: relative;
    overflow: hidden;
}

/* Soft Shack-gradient glow behind the logo */
.duosolve-solutions .product-spotlight::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    left: -80px;
    top: -80px;
    background: radial-gradient(circle, rgba(123, 108, 246, 0.55) 0%, rgba(226, 106, 168, 0.25) 45%, rgba(29, 68, 184, 0) 70%);
    pointer-events: none;
}

.duosolve-solutions .product-spotlight-media {
    position: relative;
    flex: 0 0 auto;
}

.duosolve-solutions .product-spotlight-logo {
    width: 140px;
    height: 140px;
    border-radius: 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    display: block;
}

.duosolve-solutions .product-spotlight-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.duosolve-solutions .product-spotlight-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 90px;
    background-color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.duosolve-solutions .product-spotlight-title {
    font-weight: 800;
    font-size: 26px;
    line-height: 1.3;
    color: #ffffff;
}

.duosolve-solutions .product-spotlight-tagline {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: #ffffff;
}

.duosolve-solutions .product-spotlight-summary {
    line-height: 24px;
    margin: 4px 0 16px;
}

/* ── Product cards / grid ───────────────────────── */

.duosolve-solutions .product-more-heading {
    font-weight: 800;
    font-size: 20px;
}

.duosolve-solutions .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.duosolve-solutions .product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
    border-radius: 20px;
    background-color: var(--ds-cream);
    border: 1px solid var(--ds-cream-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.duosolve-solutions .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(14, 56, 180, 0.12);
}

.duosolve-solutions .product-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 6px;
}

.duosolve-solutions .product-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.duosolve-solutions .product-card-name {
    font-weight: 800;
    font-size: 18px;
}

.duosolve-solutions .product-card-tagline {
    line-height: 22px;
    flex-grow: 1;
}

.duosolve-solutions .product-card-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--ds-blue);
}

.duosolve-solutions .product-badge {
    padding: 3px 10px;
    border-radius: 90px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: var(--ds-blue);
    color: #ffffff;
}

.duosolve-solutions .product-badge[data-status="beta"] {
    background-color: #f2a516;
}

.duosolve-solutions .product-badge[data-status="coming-soon"] {
    background-color: #6b6b6b;
}

.duosolve-solutions .product-view-all {
    display: flex;
    justify-content: center;
}

/* ── Catalogue (/products/) ─────────────────────── */

.duosolve-solutions .product-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.duosolve-solutions .product-search {
    width: 100%;
    max-width: 480px;
    padding: 12px 20px;
    border-radius: 90px;
    border: 1px solid var(--ds-cream-border);
    background-color: #ffffff;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
}

.duosolve-solutions .product-search:focus {
    outline: 2px solid var(--ds-blue);
    outline-offset: 1px;
}

.duosolve-solutions .product-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.duosolve-solutions .product-filter {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    padding: 6px 16px;
    border-radius: 90px;
    border: 1px solid var(--ds-cream-border);
    background-color: var(--ds-cream);
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.duosolve-solutions .product-filter[aria-pressed="true"] {
    background-color: var(--ds-blue);
    border-color: var(--ds-blue);
    color: #ffffff;
}

.duosolve-solutions .product-results {
    text-align: center;
    font-size: 14px;
    color: #555555;
}

/* ── Product page ───────────────────────────────── */

/* Product pages have no banner art, so sections sit closer together */
.duosolve-solutions.product-page {
    gap: 64px;
}

.duosolve-solutions.product-page .div {
    margin-bottom: 0;
}

.duosolve-solutions.product-page .FOOTER {
    margin-top: 86px;
}

.duosolve-solutions .vector-link {
    display: inline-flex;
}

.duosolve-solutions .product-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.duosolve-solutions .product-hero-logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(123, 108, 246, 0.3);
}

/* Same type as the section headings ("Who We Are", "How We Work") */
.duosolve-solutions .product-hero-title {
    font-family: "Noto Sans", sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.3;
    color: #000000;
    max-width: 760px;
}

.duosolve-solutions .product-hero-tagline {
    font-weight: 600;
    font-size: 22px;
    line-height: 1.4;
}

.duosolve-solutions .product-hero-text {
    max-width: 720px;
    line-height: 26px;
}

.duosolve-solutions .product-motto {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
}

.duosolve-solutions .product-hero .product-actions {
    justify-content: center;
    margin-top: 16px;
}

/* Store badges / "coming soon" line */
.duosolve-solutions .product-downloads {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.duosolve-solutions .product-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.duosolve-solutions .product-store-badge {
    display: inline-flex;
}

/* Apple's minimum badge height is 40px; all three are shown at that height */
.duosolve-solutions .product-store-badge img {
    height: 40px;
    width: auto;
    display: block;
}

/* Google's PNG includes built-in clear space (~1/3 of its height) */
.duosolve-solutions .product-store-badge[data-store="android"] img {
    height: 60px;
    margin: -10px -9px;
}

.duosolve-solutions .product-coming-soon {
    font-size: 14px;
    font-weight: 600;
    color: #555555;
    text-align: center;
}

/* Why-cards: cream panels like "How We Work" */
.duosolve-solutions .product-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.duosolve-solutions .product-why-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
    border-radius: 30px;
    background-color: var(--ds-cream-2);
    border: 1px solid var(--ds-cream-border);
}

.duosolve-solutions .product-why-icon {
    font-size: 32px;
    line-height: 1;
}

.duosolve-solutions .product-why-title {
    font-weight: 800;
    font-size: 20px;
}

.duosolve-solutions .product-why-text {
    line-height: 24px;
}

/* Feature tags */
.duosolve-solutions .product-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.duosolve-solutions .product-features li {
    padding: 10px 20px;
    border-radius: 90px;
    background-color: #ffffff;
    border: 1px solid var(--ds-cream-border);
    font-weight: 600;
    line-height: normal;
}

/* Closing CTA band */
.duosolve-solutions .product-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    padding: 48px;
    border-radius: 30px;
    background-color: var(--ds-blue);
    color: var(--ds-cream-text);
}

.duosolve-solutions .product-cta-band h2 {
    font-weight: 800;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 8px;
}

.duosolve-solutions .product-cta-band p {
    line-height: 24px;
}

/* ── Responsive (same breakpoints as style.css) ── */

@media (max-width: 1023px) {
    .duosolve-solutions .product-section {
        width: 100%;
        padding: 0 24px;
    }

    .duosolve-solutions .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .duosolve-solutions .product-section {
        padding: 0 16px;
    }

    .duosolve-solutions.product-page {
        gap: 48px;
    }

    .duosolve-solutions .product-spotlight {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
    }

    .duosolve-solutions .product-spotlight-logo {
        width: 96px;
        height: 96px;
        border-radius: 22px;
    }

    .duosolve-solutions .product-spotlight-title {
        font-size: 22px;
    }

    .duosolve-solutions .product-spotlight-tagline {
        font-size: 18px;
    }

    .duosolve-solutions .product-why-grid {
        grid-template-columns: 1fr;
    }

    .duosolve-solutions .product-hero-title {
        font-size: 26px;
    }

    .duosolve-solutions .product-hero-tagline {
        font-size: 18px;
    }

    .duosolve-solutions .product-cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
    }
}

@media (max-width: 479px) {
    .duosolve-solutions .product-grid {
        grid-template-columns: 1fr;
    }

    .duosolve-solutions .product-actions,
    .duosolve-solutions .product-actions .product-btn {
        width: 100%;
    }

    .duosolve-solutions .product-features li {
        padding: 8px 16px;
        font-size: 14px;
    }
}
