/* ===== 管家婆云辉煌ERP页面样式 ===== */

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

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

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

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

.page-banner.banner-erp .page-banner-title {
    font-size: 4rem;
    line-height: 64px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.page-banner.banner-erp .page-banner-desc {
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.page-banner.banner-erp .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-erp .btn-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Section Common ===== */
.erp-section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.erp-section-title .title-highlight {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Introduction Section ===== */
.erp-intro {
    padding: 80px 0;
    background: #fff;
}

.erp-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.erp-intro-text p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-secondary);
}

.erp-intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ===== Core Values Section ===== */
.erp-values {
    padding: 80px 0;
    background: #f8fafc;
}

.erp-values-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.erp-values-tabs {
    background: #2563eb;
    padding: 32px 0;
}

.value-tab {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.value-tab:hover,
.value-tab.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.value-tab .tab-num {
    font-size: var(--text-sm);
    font-weight: 700;
    margin-right: 12px;
    opacity: 0.6;
}

.value-tab.active .tab-num {
    opacity: 1;
}

.value-tab .tab-text {
    font-size: var(--text-base);
    font-weight: 500;
}

.erp-values-content {
    padding: 40px;
}

.value-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.value-panel.active {
    display: grid;
}

.value-panel-text h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.value-panel-text p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-secondary);
}

.value-panel-image img {
    width: 300px;
    height: auto;
    border-radius: 12px;
}

/* ===== Experience Section - 手风琴效果 ===== */
.erp-experience {
    padding: 80px 0;
    background: #fff;
}

.erp-experience-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 手风琴内容面板 */
.experience-panels {
    position: relative;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    min-height: 360px;
    overflow: hidden;
}

.experience-panel {
    display: none;
    position: relative;
    width: 100%;
    min-height: 360px;
    animation: fadeIn 0.3s ease;
}

.experience-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 背景图片层 */
.experience-panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 内容遮罩层 - 让文字更清晰 */
.experience-panel-inner {
    position: relative;
    z-index: 1;
    padding: 48px;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.4) 100%);
}

.experience-panel-content {
    max-width: 500px;
}

.experience-panel-content h3 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.experience-panel-content p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 手风琴切换标签 - 9个 - 背景图方式 */
.experience-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.experience-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 122px;
    min-height: 100px;
    position: relative;
    overflow: hidden;
}

.experience-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
    pointer-events: none;
}

.experience-tab:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.experience-tab:hover::before {
    background: rgba(0, 0, 0, 0.25);
}

.experience-tab.active {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    transform: translateY(-4px);
}

.experience-tab.active::before {
    background: rgba(37, 99, 235, 0.5);
}

.tab-name {
    position: relative;
    z-index: 1;
    font-size: var(--text-sm);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    pointer-events: none;
}

/* ===== Growth Section ===== */
.erp-growth {
    padding: 80px 0;
    background: #f8fafc;
}

.erp-growth-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.growth-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.growth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.growth-image:hover img {
    transform: scale(1.05);
}

/* ===== Versions Section ===== */
.erp-versions {
    padding: 80px 0;
    background: #fff;
}

.erp-versions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.version-card {
    position: relative;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.version-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.version-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.version-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: 20px;
}

.version-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.version-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.version-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.version-features {
    margin-bottom: 24px;
}

.version-features ul {
    list-style: none;
    padding: 0;
}

.version-features li {
    padding: 10px 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-bottom: 1px solid #f1f5f9;
}

.version-features li:before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    margin-right: 8px;
}

.version-card .btn {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.version-card .btn-primary {
    background: var(--primary);
    color: #fff;
}

.version-card .btn-primary:hover {
    background: var(--primary-dark);
}

.version-card .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.version-card .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .page-banner.banner-erp .page-banner-title {
        font-size: var(--text-4xl);
    }
    
    .experience-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .page-banner.banner-erp {
        min-height: 300px;
    }
    
    .page-banner.banner-erp .page-banner-wrap {
        padding: 60px 24px;
    }
    
    .erp-intro-content {
        grid-template-columns: 1fr;
    }
    
    .erp-values-wrapper {
        grid-template-columns: 1fr;
    }
    
    .erp-values-tabs {
        display: flex;
        flex-wrap: wrap;
        padding: 16px;
        gap: 8px;
    }
    
    .value-tab {
        width: auto;
        padding: 10px 16px;
        border-radius: 6px;
    }
    
    .value-panel {
        grid-template-columns: 1fr;
    }
    
    .value-panel-image {
        order: -1;
    }
    
    .erp-versions-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-banner.banner-erp .page-banner-title {
        font-size: var(--text-2xl);
    }
    
    .page-banner.banner-erp .page-banner-desc {
        font-size: var(--text-base);
    }
    
    .erp-section-title {
        font-size: var(--text-xl);
    }
    
    /* Experience手风琴响应式 */
    .experience-panels {
        min-height: 320px;
    }
    
    .experience-panel {
        min-height: 320px;
    }
    
    .experience-panel-inner {
        padding: 32px 24px;
        min-height: 320px;
        background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 60%, rgba(255,255,255,0.6) 100%);
        align-items: flex-start;
    }
    
    .experience-panel-content h3 {
        font-size: var(--text-xl);
    }
    
    .experience-panel-content p {
        font-size: var(--text-sm);
    }
    
    .experience-tabs {
        gap: 8px;
    }
    
    .experience-tab {
        padding: 16px 12px;
        min-width: 80px;
        min-height: 80px;
    }
    
    .tab-name {
        font-size: var(--text-xs);
    }
    
    .erp-growth-content {
        grid-template-columns: 1fr;
    }
}
