/* ========================================
   管家婆云辉煌智造Q5 - 产品详情页样式
   ======================================== */

/* ===== Banner Section - 与ERP页面保持一致结构 ===== */
.page-banner.banner-yhhq5 {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    overflow: hidden;
    padding-top: 64px;
}

.page-banner.banner-yhhq5 .page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/product-yhhq5/yhhq5-banner-bg.png');
    background-size: cover;
    background-position: center;
}

.page-banner.banner-yhhq5 .page-banner-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.page-banner.banner-yhhq5 .page-banner-content {
    text-align: left;
    margin: 0 auto;
}

.page-banner.banner-yhhq5 .page-banner-title {
    font-size: var(--text-5xl);
    line-height: 42px;
    font-weight: 700;
    color: #383838;
    margin-bottom: 16px;
}
.page-banner.banner-yhhq5 .page-banner-title strong {
    font-weight: 700;
    color: #2563eb;
}

.page-banner.banner-yhhq5 .page-banner-desc {
    display: block;
    width: 400px;
    font-size: var(--text-base);
    line-height: 24px;
    color:#63676F;
    margin-bottom: 32px;
}
.page-banner.banner-yhhq5 .page-banner-desc strong {
    font-weight: 700;
    color: #2563eb;
}

.page-banner.banner-yhhq5 .cta-buttons {
    display: inline;
}

.page-banner.banner-yhhq5 .btn-banner {
    display: inline-block;
    background: #fff;
    color: #2563eb;
    padding: 14px 40px;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-banner.banner-yhhq5 .btn-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Pain Points Section */
.pain-points-section {
    padding: 48px 0;
    background: url('../images/product-yhhq5/yhhq5-problem-bg.png') no-repeat top center;
    background-size: cover;
}

.pain-points-section .section-title {
    text-align: center;
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Pain Points Visual Layout */
.pain-points-visual {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 464px;
    margin: 0 auto 8px;
}

/* 背景圆环 */
.pain-points-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 464px;
    height: 464px;
    z-index: 0;
}

.pain-points-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 中心问号图标 */
.pain-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    z-index: 1;
}

.pain-center-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 痛点项目定位 */
.pain-item {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    z-index: 2;
}

/* 左上 */
.pain-item-tl {
    top: 140px;
    left: 100px;
    flex-direction: row;
    align-items: flex-start;
}

/* 右上 */
.pain-item-tr {
    top: 100px;
    right: 120px;
    flex-direction: row-reverse;
    align-items: flex-start;
    text-align: right;
}

/* 左下 */
.pain-item-bl {
    bottom: 10px;
    left: 200px;
    flex-direction: row;
    align-items: flex-start;
}

/* 右下 */
.pain-item-br {
    bottom: 80px;
    right: 120px;
    flex-direction: row-reverse;
    align-items: flex-start;
    text-align: right;
}

/* 小图标 */
.pain-icon-small {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-icon-small svg {
    width: 24px;
    height: 24px;
}

/* 痛点内容 */
.pain-content {
    max-width: 320px;
    text-align: center;
}

/* 标题标签 - 蓝色圆角标签 */
.pain-title-tag {
    display: inline-block;
    background: #4285F4;
    color: #fff;
    font-size: var(--text-base);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* 描述文字 */
.pain-desc-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 4px;
}

/* 底部标语 */
.solution-slogan {
    text-align: center;
}

.solution-slogan img {
    max-width: 500px;
    height: auto;
}

/* Solution Section */
.solution-section {
    padding: 48px 0;
    background:url('../images/product-yhhq5/yhhq5-solution-bg.png') no-repeat top center;
    background-size: cover;
}

.solution-section .section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.solution-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 左侧流程图 */
.solution-flow {
    flex: 1;
}

.flow-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.flow-tab {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: #666;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flow-tab.active,
.flow-tab:hover {
    background: #4285F4;
    color: #fff;
}

.flow-diagram {
    text-align: center;
}

.flow-diagram img {
    max-width: 100%;
    height: auto;
}

/* 右侧功能卡片 */
.solution-features-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.solution-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.solution-card-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.solution-card-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Industries Section */
.industries-section {
    padding: 48px 0;
    background: #1a1a2e;
}

.industries-section .section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
}

/* 12大行业图标网格 */
.industries-icons-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.industry-icon-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.industry-icon-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.3);
}

.industry-icon-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-icon-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 500;
    text-align: center;
}

/* 行业案例详情卡片 */
.industries-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-case-card {
    background: url('../images/product-yhhq5/yhhq5-industry-voicebg.png') no-repeat top center;
    background-size: cover;
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
}

.industry-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.case-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.case-content p {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.case-content p:last-child {
    margin-bottom: 0;
}

.case-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.industries-more {
    text-align: center;
}

.industries-more .btn-outline-primary {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid #4285F4;
    color: #4285F4;
    border-radius: 6px;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.industries-more .btn-outline-primary:hover {
    background: #4285F4;
    color: #fff;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: url('../images/product-yhhq5/yhhq5-why-bg.png') top center no-repeat;
    background-size: cover;
}

.why-choose-section .section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-choose-card {
    text-align: center;
    padding: 40px 32px;
}

.why-choose-icon {
    width: 155px;
    height: 166px;
    margin: 0 auto 24px;
}

.why-choose-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.why-choose-title {
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.why-choose-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section-yhhq5 {
    padding: 48px 0;
    background:url(../images/comm-cta-bg.png) top center no-repeat;
    text-align: center;
}

.cta-section-yhhq5 .section-title {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-buttons .btn {
    padding: 14px 40px;
    font-size: var(--text-base);
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: #4285F4;
    color: #fff;
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: #3367D6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: #4285F4;
    border: 1px solid #4285F4;
}

.cta-buttons .btn-outline:hover {
    background: #4285F4;
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-banner.banner-yhhq5 {
        min-height: 420px;
    }

    .page-banner.banner-yhhq5 .page-banner-title {
        font-size: var(--text-6xl);
        line-height: 52px;
    }

    /* Pain Points Responsive */
    .pain-points-visual {
        height: auto;
        min-height: 600px;
    }

    .pain-points-bg {
        width: 300px;
        height: 300px;
    }

    .pain-center-icon {
        width: 80px;
        height: 80px;
    }

    .pain-item-tl,
    .pain-item-tr,
    .pain-item-bl,
    .pain-item-br {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 24px;
        flex-direction: row;
        text-align: left;
    }

    .solution-wrapper {
        flex-direction: column;
    }

    .solution-flow {
        margin-bottom: 24px;
    }

    .flow-header {
        flex-wrap: wrap;
    }

    .flow-tab {
        flex: 1 1 calc(33.333% - 6px);
        min-width: 80px;
    }

    /* Industries Responsive */
    .industries-icons-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .industries-cases {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner.banner-yhhq5 {
        min-height: 360px;
    }

    .page-banner.banner-yhhq5 .page-banner-title {
        font-size: var(--text-4xl);
        line-height: 40px;
    }

    .page-banner.banner-yhhq5 .page-banner-desc {
        font-size: var(--text-base);
    }

    /* Pain Points Mobile */
    .pain-points-visual {
        min-height: auto;
        padding: 20px 0;
    }

    .pain-points-bg,
    .pain-center-icon {
        display: none;
    }

    .pain-item {
        position: relative;
        margin-bottom: 20px;
    }

    .pain-content {
        max-width: 100%;
    }

    .pain-title-tag {
        font-size: var(--text-sm);
        padding: 6px 12px;
    }

    .pain-desc-text {
        font-size: var(--text-sm);
    }

    .solution-slogan img {
        max-width: 100%;
    }

    /* Solution Mobile */
    .solution-features-grid {
        grid-template-columns: 1fr;
    }

    .flow-tab {
        font-size: var(--text-xs);
        padding: 8px 4px;
    }

    .pain-points-grid {
        grid-template-columns: 1fr;
    }

    /* Industries Mobile */
    .industries-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .industry-icon-name {
        font-size: var(--text-xs);
        padding: 8px 4px;
    }

    .industries-cases {
        grid-template-columns: 1fr;
    }

    .industry-case-card {
        padding: 20px;
    }

    .case-title {
        font-size: var(--text-md);
        margin-bottom: 16px;
    }

    .case-content p {
        font-size: var(--text-sm);
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
