/* Standard product detail pages */

.product-page {
    --product-accent: #60a5fa;
    --product-accent-rgb: 96, 165, 250;
}

.product-page.product-payroll-system {
    --product-accent: #a78bfa;
    --product-accent-rgb: 167, 139, 250;
}

.product-page.product-bentabuddy {
    --product-accent: #f59e0b;
    --product-accent-rgb: 245, 158, 11;
}

.product-page.product-nexus-ml-directory {
    --product-accent: #f472b6;
    --product-accent-rgb: 244, 114, 182;
}

.product-hero-section {
    display: flex;
    align-items: center;
    min-height: 650px;
    padding-top: 170px;
    padding-bottom: 110px;
    overflow: clip;
    background:
        radial-gradient(circle at 82% 28%, rgba(var(--product-accent-rgb), 0.16), transparent 32%),
        linear-gradient(180deg, rgba(11, 19, 34, 0.94), rgba(7, 12, 23, 0.45));
}

.product-hero-section::after {
    position: absolute;
    inset: auto 8% 8% auto;
    width: min(34vw, 420px);
    aspect-ratio: 1;
    border: 1px solid rgba(var(--product-accent-rgb), 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(var(--product-accent-rgb), 0.035),
        0 0 0 90px rgba(var(--product-accent-rgb), 0.02);
    content: "";
    pointer-events: none;
}

.back-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 52px;
    color: #aebcd0;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
    color: #fff;
    transform: translateX(-3px);
}

.product-detail-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 28px;
    place-items: center;
    border: 1px solid rgba(var(--product-accent-rgb), 0.38);
    border-radius: 19px;
    background: rgba(var(--product-accent-rgb), 0.12);
    color: var(--product-accent);
    box-shadow: 0 20px 60px rgba(var(--product-accent-rgb), 0.12);
    font-size: 1.65rem;
}

.product-category,
.product-page .section-label {
    display: inline-block;
    color: var(--product-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.product-detail-title {
    max-width: 900px;
    margin: 13px 0 10px;
    color: #f8fbff;
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.92;
}

.product-full-name {
    max-width: 680px;
    margin: 0 0 28px;
    color: #bdc9d9;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.product-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(var(--product-accent-rgb), 0.28);
    border-radius: 999px;
    background: rgba(var(--product-accent-rgb), 0.09);
    color: var(--product-accent);
    font-size: 0.76rem;
    font-weight: 700;
}

.product-status::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
    content: "";
}

.product-detail-section {
    padding-top: 120px;
    padding-bottom: 120px;
    background: rgba(4, 9, 18, 0.46);
}

.product-detail-section h2,
.ccms-highlight-section h2 {
    max-width: 760px;
    margin: 18px 0 25px;
    color: #f7faff;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.product-long-description,
.ccms-highlight-section p {
    max-width: 720px;
    color: #9eacc0;
    font-size: 1.04rem;
    line-height: 1.9;
}

.feature-panel,
.achievement-card {
    height: 100%;
    padding: 34px;
    border: 1px solid rgba(var(--product-accent-rgb), 0.18);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(var(--product-accent-rgb), 0.08), rgba(255, 255, 255, 0.018));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
}

.feature-panel h3 {
    margin-bottom: 25px;
    color: #f7faff;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.feature-list {
    display: grid;
    gap: 14px;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    line-height: 1.55;
}

.feature-list-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.feature-list-item i {
    margin-top: 3px;
    color: var(--product-accent);
}

.ccms-highlight-section {
    padding-top: 0;
    padding-bottom: 120px;
    background: rgba(4, 9, 18, 0.46);
}

.achievement-card {
    height: auto;
    padding: clamp(32px, 6vw, 68px);
}

@media (max-width: 767px) {
    .product-hero-section {
        min-height: auto;
        padding-top: 132px;
        padding-bottom: 76px;
    }

    .product-hero-section::after {
        right: -18%;
        bottom: 12%;
        width: 72vw;
        opacity: 0.55;
    }

    .back-link {
        margin-bottom: 38px;
    }

    .product-detail-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 23px;
        border-radius: 16px;
        font-size: 1.35rem;
    }

    .product-detail-title {
        font-size: clamp(3rem, 15vw, 4.3rem);
    }

    .product-detail-section {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .product-detail-section h2,
    .ccms-highlight-section h2 {
        font-size: clamp(2.25rem, 11vw, 3.3rem);
    }

    .feature-panel {
        padding: 25px 22px;
        border-radius: 19px;
    }

    .ccms-highlight-section {
        padding-bottom: 78px;
    }

    .achievement-card {
        padding: 28px 22px;
        border-radius: 19px;
    }
}
