/* ==========================================================================
   AddOn Products Catalog & Umbrella Hero Styles
   Enterprise, Modern, Clean, Lightweight & Premium
   ========================================================================== */

:root {
    --catalog-bg: #f8fafc;
    --catalog-navy-dark: #060e18;
    --catalog-navy-deep: #0c1a2e;
    --catalog-navy-mid: #152e4d;
    --catalog-navy-light: #1c3d64;
    --catalog-orange: #f58220;
    --catalog-orange-dark: #d96a0b;
    --catalog-orange-light: #fff4eb;
    --catalog-text: #0f2137;
    --catalog-muted: #5e6f88;
    --catalog-line: #e2e8f0;
    --catalog-card-bg: #ffffff;
    --catalog-logo-bg: #f4f7fb;
}

.product-catalog {
    position: relative;
    overflow: hidden;
    color: var(--catalog-text);
    background: var(--catalog-bg);
    min-height: 100vh;
}

/* --------------------------------------------------------------------------
   Hero & Umbrella Branding Section
   -------------------------------------------------------------------------- */
.product-catalog__hero {
    position: relative;
    padding: 48px 0 68px;
    background: radial-gradient(ellipse 120% 80% at 50% -20%, var(--catalog-navy-mid) 0%, var(--catalog-navy-deep) 52%, var(--catalog-navy-dark) 100%);
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
}

/* Subtle background grid & ambient light */
.product-catalog__hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.product-catalog__hero-glow {
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 860px;
    height: 460px;
    background: radial-gradient(ellipse at center, rgba(245, 130, 32, 0.12) 0%, rgba(21, 46, 77, 0.08) 50%, transparent 75%);
    filter: blur(48px);
    pointer-events: none;
    z-index: 0;
}

.product-catalog__hero-geometry {
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.015), 0 0 0 110px rgba(255, 255, 255, 0.01);
    pointer-events: none;
    z-index: 0;
}

/* Umbrella Brand Showcase Container / 2-Column Hero */
.product-catalog__hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 48px;
    max-width: 1260px;
    margin: 0 auto;
}

.product-catalog__hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.product-catalog__hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-catalog__hero-laptop-wrap {
    position: relative;
    width: 100%;
    max-width: 680px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-catalog__hero-laptop-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.45));
    animation: catalogFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Badge pill */
.product-catalog__badge-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.product-catalog__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 99px;
    background: rgba(245, 130, 32, 0.08);
    border: 1px solid rgba(245, 130, 32, 0.26);
    color: #ffb877;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(245, 130, 32, 0.1);
    animation: catalogFadeDown 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-catalog__badge i {
    color: var(--catalog-orange);
    font-size: 0.85rem;
}

/* Hero Typography */
.product-catalog__hero-title {
    margin: 0 0 14px 0;
    max-width: 650px;
    padding: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-align: left;
    text-wrap: balance;
    background: linear-gradient(180deg, #ffffff 80%, #dce4ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: catalogFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.product-catalog__hero-lead {
    margin: 0 0 24px 0;
    max-width: 620px;
    color: rgba(226, 232, 240, 0.82);
    font-size: clamp(0.92rem, 1.15vw, 1.02rem);
    line-height: 1.62;
    font-weight: 400;
    text-align: left;
    animation: catalogFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* --------------------------------------------------------------------------
   Brand Logo Block (AddOn Business Application)
   -------------------------------------------------------------------------- */
.product-catalog__brand-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 24px;
    animation: catalogScaleUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.product-catalog__brand-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 16px 38px -6px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    overflow: hidden;
}

.product-catalog__brand-glow {
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 130, 32, 0.6), transparent);
    pointer-events: none;
}

.product-catalog__brand-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 22px 46px -6px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.product-catalog__brand-logo {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(15, 33, 55, 0.05));
}

/* --------------------------------------------------------------------------
   Ecosystem Pillars Grid (2x2)
   -------------------------------------------------------------------------- */
.product-catalog__pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 0;
    margin-bottom: 28px;
    max-width: 650px;
    animation: catalogFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.product-catalog__pillar-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(13, 27, 46, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-catalog__pillar-chip:hover {
    background: rgba(20, 39, 65, 0.85);
    border-color: rgba(245, 130, 32, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.product-catalog__pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(245, 130, 32, 0.12);
    border: 1px solid rgba(245, 130, 32, 0.24);
    color: #ff9d47;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.product-catalog__pillar-info strong {
    display: block;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.25;
    margin-bottom: 2px;
}

.product-catalog__pillar-info span {
    display: block;
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.7rem;
    line-height: 1.35;
}

/* Hero Action CTA */
.product-catalog__hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 0;
    animation: catalogFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.product-catalog__hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--catalog-orange) 0%, var(--catalog-orange-dark) 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(245, 130, 32, 0.4);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-catalog__hero-cta:hover,
.product-catalog__hero-cta:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 130, 32, 0.5);
}

/* --------------------------------------------------------------------------
   Seamless Transition Band
   -------------------------------------------------------------------------- */
.product-catalog__transition {
    position: relative;
    height: 48px;
    background: linear-gradient(180deg, var(--catalog-navy-dark) 0%, var(--catalog-navy-deep) 30%, var(--catalog-bg) 100%);
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Product Groups & Section Headings
   -------------------------------------------------------------------------- */
.product-catalog__body {
    position: relative;
    padding: 24px 0 110px;
}

.product-catalog__group {
    padding: 40px 0 20px;
}

.product-catalog__group-head {
    display: grid;
    grid-template-columns: auto minmax(80px, 1fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 26px;
}

.product-catalog__group-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-catalog__group-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--catalog-orange);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.product-catalog__group-eyebrow i {
    font-size: 0.72rem;
}

.product-catalog__group-heading {
    margin: 0;
    color: var(--catalog-text);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.product-catalog__group-line {
    height: 2px;
    border-radius: 2px;
    margin-bottom: 6px;
    background: linear-gradient(90deg, rgba(245, 130, 32, 0.7), rgba(15, 33, 55, 0.08) 40%, transparent);
}

/* --------------------------------------------------------------------------
   Product Cards Layout & Styling
   Desktop: 3 columns per row
   Tablet: 2 columns per row
   Mobile: 1 column per row
   -------------------------------------------------------------------------- */
.product-catalog__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-catalog__card {
    position: relative;
    display: flex;
    min-height: 114px;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    color: inherit;
    background: #ffffff;
    box-shadow:
        0 4px 16px -2px rgba(15, 33, 55, 0.04),
        0 1px 3px rgba(15, 33, 55, 0.02);
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.5s ease var(--reveal-delay, 0ms),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
    box-sizing: border-box;
}

.product-catalog__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--catalog-orange), #ffab66);
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 2;
}

.product-catalog__card.is-visible {
    opacity: 1;
    transform: none;
}

.product-catalog__card:hover,
.product-catalog__card:focus-visible {
    color: inherit;
    border-color: rgba(245, 130, 32, 0.38);
    outline: none;
    box-shadow:
        0 18px 36px -4px rgba(15, 33, 55, 0.1),
        0 4px 12px rgba(15, 33, 55, 0.03);
    transform: translateY(-3px);
}

.product-catalog__card:hover::before,
.product-catalog__card:focus-visible::before {
    opacity: 1;
}

.product-catalog__card--static {
    cursor: default !important;
}

.product-catalog__card--static:hover,
.product-catalog__card--static:focus-visible {
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 16px -2px rgba(15, 33, 55, 0.04), 0 1px 3px rgba(15, 33, 55, 0.02) !important;
    transform: none !important;
}

.product-catalog__card--static:hover::before,
.product-catalog__card--static:focus-visible::before {
    opacity: 0 !important;
}

.product-catalog__card--static:hover .product-catalog__logo img,
.product-catalog__card--static:focus-visible .product-catalog__logo img {
    transform: none !important;
}

/* Card Logo Area - Compact, Clean & Balanced (100% White) */
.product-catalog__logo {
    position: relative;
    display: flex;
    width: 100%;
    height: 112px;
    min-height: 112px;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: #ffffff;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-sizing: border-box;
}

.product-catalog__logo img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 82%;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    object-position: center;
    margin: auto;
    filter: drop-shadow(0 1px 3px rgba(15, 33, 55, 0.04));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-catalog__card:hover .product-catalog__logo img,
.product-catalog__card:focus-visible .product-catalog__logo img {
    transform: scale(1.04);
}

/* Card Content Area - Compact, Center-Aligned & Readable */
.product-catalog__card-copy {
    display: flex;
    min-height: auto;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 13px 16px 14px;
    background: #ffffff;
}

.product-catalog__card-copy h3 {
    margin: 0;
    color: var(--catalog-text);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-align: center;
}

.product-catalog__card-copy > span {
    margin-top: 5px;
    color: var(--catalog-orange);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.product-catalog__card:hover .product-catalog__card-copy > span,
.product-catalog__card:focus-visible .product-catalog__card-copy > span {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes catalogFadeDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes catalogFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes catalogScaleUp {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .product-catalog__hero {
        padding: 40px 0 54px;
    }
    .product-catalog__hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .product-catalog__hero-content {
        text-align: center;
    }
    .product-catalog__badge-wrap {
        justify-content: center;
    }
    .product-catalog__hero-title {
        text-align: center;
        margin: 0 auto 20px;
    }
    .product-catalog__hero-lead {
        text-align: center;
        margin: 0 auto 20px;
    }
    .product-catalog__brand-wrap {
        justify-content: center;
        margin-top: 22px;
    }
    .product-catalog__pillars {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 0 auto 24px;
    }
    .product-catalog__hero-actions {
        justify-content: center;
    }
    .product-catalog__hero-visual {
        max-width: 580px;
        margin: 0 auto;
    }
    .product-catalog__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .product-catalog__brand-card {
        padding: 14px 28px;
    }
    .product-catalog__brand-logo {
        max-width: 260px;
        max-height: 56px;
    }
}

@media (max-width: 767.98px) {
    .product-catalog__hero {
        padding: 32px 0 44px;
    }
    .product-catalog__badge {
        font-size: 0.66rem;
        padding: 5px 13px;
        margin-bottom: 16px;
    }
    .product-catalog__brand-wrap {
        margin-top: 18px;
    }
    .product-catalog__brand-card {
        padding: 12px 22px;
        border-radius: 16px;
    }
    .product-catalog__brand-logo {
        max-width: 220px;
        max-height: 48px;
    }
    .product-catalog__hero-title {
        font-size: clamp(1.6rem, 6.2vw, 2.2rem);
    }
    .product-catalog__hero-lead {
        font-size: 0.88rem;
        line-height: 1.62;
        margin-top: 12px;
    }
    .product-catalog__pillars {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }
    .product-catalog__pillar-chip {
        padding: 11px 14px;
    }
    .product-catalog__hero-cta {
        width: 100%;
        justify-content: center;
    }
    .product-catalog__body {
        padding: 16px 0 100px;
    }
    .product-catalog__group {
        padding: 30px 0 15px;
    }
    .product-catalog__group-head {
        grid-template-columns: auto minmax(30px, 1fr);
        gap: 14px;
        margin-bottom: 18px;
    }
    .product-catalog__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .product-catalog__card {
        min-height: 88px;
        border-radius: 14px;
    }
    .product-catalog__logo {
        height: 86px;
        min-height: 86px;
        padding: 10px 14px;
        border-radius: 14px;
    }
    .product-catalog__logo img {
        max-width: 84%;
        max-height: 38px;
    }
    .product-catalog__card-copy {
        padding: 11px 14px 12px;
    }
    .product-catalog__card-copy h3 {
        font-size: 0.86rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .product-catalog__badge,
    .product-catalog__brand-wrap,
    .product-catalog__brand-card,
    .product-catalog__hero-title,
    .product-catalog__hero-lead,
    .product-catalog__pillars,
    .product-catalog__hero-actions,
    .product-catalog__card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .product-catalog__card::before,
    .product-catalog__card-copy > span,
    .product-catalog__logo img {
        transition: none !important;
    }
}
