/* 金蝶AI HR 人力云页面样式 */

/* 基础样式 */
.product-info {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

.container {
    max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1500px) {
  .product-info,
  .container,
  .product_xc_banner .w1440,
  .page-nav-inner,
  .section-cta .container {
    max-width: 1200px;
  }
}

/* 通用区块样式 */
.section {
    padding: 60px 0;
    position: relative;
}

/* Banner区域 */
.product_xc_banner {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a6b 0%, #0d47a1 50%, #1565c0 100%);
}

.product_xc_banner .banner_pc {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_xc_banner .text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.product_xc_banner .w1440 {
    max-width: 1440px;
    padding: 0 20px 0 133px;
    color: #fff;
    margin: 0;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: 2px;
}

.banner-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
}

.banner-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: #1565c0;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #0d47a1;
}

.btn-link {
    display: inline-block;
    padding: 14px 30px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 页面导航 */
.page-nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-nav-list li {
    margin: 0;
}

.page-nav-list a {
    display: block;
    padding: 18px 30px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.page-nav-list a:hover,
.page-nav-list a.active {
    color: #1565c0;
}

.page-nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #1565c0;
}

/* 概述区域 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    justify-content: normal !important;
}

.section-title-center {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 40px;
    text-align: center;
}

.section-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* 八大创新Tab菜单导航 */
.innov-tabs {
    margin-top: 40px;
}

.innov-tabs-bar {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.innov-tab-item {
    flex: 1;
    padding: 15px 10px 18px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.innov-tab-item:hover .innov-tab-title,
.innov-tab-item.active .innov-tab-title {
    color: #1565c0;
}

.innov-tab-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.innov-tab-subtitle {
    font-size: 14px;
    color: #1565c0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.innov-tab-item:hover .innov-tab-subtitle,
.innov-tab-item.active .innov-tab-subtitle {
    opacity: 1;
    max-height: 40px;
}

/* Tab底部蓝色指示条 */
.innov-tabs-indicator {
    position: relative;
    height: 3px;
    margin-top: -3px;
    z-index: 2;
}

.innov-tabs-indicator span {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #1565c0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 八大创新内容面板（两栏布局） */
.innov-panels {
    margin-top: 50px;
}

.innov-panels .innov-panel {
    display: none !important;
}

.innov-panels .innov-panel.active {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 20px 0;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.innov-panel.active .innov-panel-img {
    flex: 0 0 55%;
    width: 55%;
    min-width: 0;
}

.innov-panel.active .innov-panel-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

.innov-panel.active .innov-panel-content {
    flex: 0 0 calc(45% - 60px);
    width: calc(45% - 60px);
}

.innov-panel-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px;
}

.innov-panel-sub {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    margin: 0 0 25px;
}

.innov-panel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.innov-panel-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.innov-panel-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: #1565c0;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
}

.btn-watch {
    display: inline-block;
    padding: 12px 36px;
    background: #1565c0;
    color: #fff;
    border-radius: 30px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-watch:hover {
    background: #0d47a1;
}

/* 应用架构区域 */
.section-architecture {
    background: #fff;
}

.arch-img {
    text-align: center;
}

.arch-img img {
    max-width: 100%;
    height: auto;
}

/* 产品详情区域 */
.section-detail {
    background: #fff;
}

.detail-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 60px;
    padding: 60px 0;
}

.detail-row.reverse {
    flex-direction: row-reverse !important;
}

.detail-row-img {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50%;
}

.detail-row-img img {
    width: 100% !important;
    height: auto;
    display: block;
    border-radius: 16px;
    background: #f5f7fa;
}

.detail-row-content {
    flex: 1 !important;
    min-width: 0;
    width: 50%;
}

.detail-row-title {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    line-height: 1.5;
}

.detail-row-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 28px;
}

.detail-row-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 40px;
}

.detail-row-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.detail-row-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #1565c0;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 40px;
    background: transparent;
    color: #1565c0;
    border: 1px solid #1565c0;
    border-radius: 30px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #1565c0;
    color: #fff;
}

/* CTA区域电话号码放大 */
.spc-cta .btn-outline {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* CTA横幅区域 */
.section-cta {
    background: #fff url("/static/cosmic_hr_img/cta_bg.jpg") no-repeat center center / cover;
    padding: 40px 0;
}

.section-cta .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.cta-title {
    font-size: 36px;
    font-weight: 400;
    color: #252B3A;
    text-align: left;
    margin: 0;
    line-height: 1.5;
}

.btn-cta {
    display: block;
    width: 196px;
    height: 40px;
    line-height: 40px;
    margin: 35px 0 0 0;
    padding: 0;
    background: linear-gradient(135deg, #0068dd 0%, #00aeee 100%);
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
}

.btn-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 资源中心区域 */
.section-resources {
    background: #fff;
}

.resource-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.resource-section-title h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px;
}

.resource-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.resource-tabs .tab {
    font-size: 16px;
    color: #999;
    cursor: pointer;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.resource-tabs .tab.active {
    color: #1565c0;
    border-bottom-color: #1565c0;
}

.resource-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.resource-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.resource-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px;
    line-height: 1.5;
}

.resource-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px;
}

.resource-item .btn-watch {
    padding: 10px 28px;
    font-size: 14px;
}

/* 常见问题区域 */
.section-faq {
    background: #f8f9fa;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #1565c0;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 15px;
    font-size: 20px;
    color: #1565c0;
    font-weight: 300;
}

.faq-question h3 {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    margin: 0;
    flex: 1;
}

.faq-answer {
    display: none;
    padding: 0 0 25px 40px;
}

.faq-answer p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .innov-tabs-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .innov-tab-item {
        flex: 0 0 160px;
    }
    
    .innov-panel.active {
        flex-direction: column;
        gap: 30px;
    }
    
    .innov-panel-img,
    .innov-panel-content {
        width: 100%;
    }
    
    .resource-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-row,
    .detail-row.reverse {
        flex-direction: column !important;
        gap: 30px;
        padding: 40px 0;
    }
    
    .detail-row-img {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100%;
    }
    
    .detail-row-content {
        width: 100%;
    }
    
    .detail-row-list {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 32px;
    }
    
    .banner-text {
        font-size: 16px;
    }
    
    .page-nav-list {
        overflow-x: auto;
    }
    
    .page-nav-list a {
        padding: 15px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-title-center {
        font-size: 24px;
    }
    
    .innov-tab-item {
        flex: 0 0 140px;
        padding: 12px 8px 15px;
    }
    
    .innov-tab-title {
        font-size: 16px;
    }
    
    .innov-panel-title {
        font-size: 26px;
    }
    
    .innov-panel-sub {
        font-size: 16px;
    }
    
    .detail-row-title {
        font-size: 22px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .detail-row-list {
        grid-template-columns: 1fr;
    }
    
    .resource-list {
        grid-template-columns: 1fr;
    }
    
    .banner-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* EPM 产品推荐分页点：放到卡片下方（覆盖页面内嵌 plm_css/swiper.min.css 的绝对定位） */
.sw_epm > .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 30px;
}

