/* ==========================================
   产品矩阵子页面 - 样式
   ========================================== */

/* ---------- 页面头部 ---------- */
.page-hero {
    position: relative;
    height: 320px;
    background: #0f172a url('../media/hero-fallback.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.85;
}

/* ---------- 产品详情模块 ---------- */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.product-detail-grid.reverse {
    direction: initial;
}

.product-detail-image img {
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--color-bg-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ---------- 团队介绍 ---------- */
.team-member-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.team-member-grid.reverse {
    grid-template-columns: 2fr 1fr;
}

.team-member-grid:last-child {
    margin-bottom: 0;
}

.team-member-photo {
    max-width: 320px;
    margin: 0 auto;
}

.team-member-photo img {
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--color-bg-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.product-badge {
    display: inline-block;
    font-size: 13px;
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-weight: 500;
}

.product-detail-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.product-slogan {
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 20px;
}

.product-detail-info > p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 28px;
}

.product-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.product-features li {
    font-size: 14px;
    color: var(--color-text);
    padding-left: 24px;
    position: relative;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* ---------- 公司介绍（全幅背景图） ---------- */
.company-intro {
    position: relative;
}

.company-intro-bg {
    display: block;
    width: 100%;
    height: auto;
}

.company-intro-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 40px) 0 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.2) 50%, rgba(15, 23, 42, 0.1) 100%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.2) 50%, rgba(15, 23, 42, 0.35) 100%);
}

.company-intro-overlay .container {
    width: 100%;
}

.company-intro-header {
    text-align: center;
    margin-bottom: 48px;
}

.company-intro-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.company-hero-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.company-intro-content {
    max-width: 500px;
    text-align: left;
    color: #ffffff;
}

.company-intro-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.company-slogan {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 32px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.company-desc {
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.85;
    max-width: 440px;
    margin: 0 0 16px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .page-hero {
        height: 220px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .product-detail-info h2 {
        font-size: 28px;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .team-member-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-member-grid.reverse {
        grid-template-columns: 1fr;
    }

    .team-member-photo {
        max-width: 240px;
    }

    .company-intro-header h1 {
        font-size: 28px;
    }

    .company-intro-content h2 {
        font-size: 22px;
    }

    .company-intro-overlay {
        padding: 60px 0;
    }
}
