/* 进销存解决方案页面专用样式 */
.purchase-solution {
    background: #fff;
}

/* 横幅区域 */
.solution-banner {
    background: url('/static/images/erp_barnner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 90px 0;
    text-align: center;
    margin-top: 80px;
}

.banner-content h1 {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #fff;
}

.banner-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #fff;
}

.banner-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
}

.icon-check:before {
    content: "✓";
    font-weight: bold;
}

/* 通用标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.section-title p {
    font-size: 16px;
    color: #444;
}

/* 功能模块区域 */
.solution-modules {
    padding: 80px 0;
    background: #f8f9fa;
}

.modules-tabs{margin-bottom:40px}
.tabs-nav{
    display:flex;
    gap:15px;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:30px;
    border-bottom: 2px solid #eee;
}
.tabs-nav li{
    padding:10px 20px;
    background:#f8f9fa;
    color:#6b7280;
    cursor:pointer;
    font-weight: 800;
}
.tabs-nav li:hover{
    color:#bd0808;
}
.tabs-nav li.active{
    margin-bottom: -1px;
    color:#bd0808;
    font-weight:600;
    border-bottom: 2px solid #bd0808;
}
.tabs-panels{
    margin:0 auto;
    height: 380px;
}

/* Tab面板通用样式 */
.tab-panel{
    display:none;
    padding:32px;
    transform:translateY(12px);
    transition:all .4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

/* 调拨Tab特殊样式 */
#tab-transfer {
    margin-top: 30px;
}

/* 图片容器样式 - 替代内联样式 */
.tab-image {
    width: 500px;
    padding: 10px;
}

.tab-image img {
    width: 100%;
    display: block;
}

/* 采购Tab图片特殊宽度 */
#tab-purchase .tab-image {
    width: 560px;
}

.tab-panel > div:first-child{
    float: left;
    width: 500px;
    opacity: 0;
    transform: translateX(-200px);
}

.tab-panel > div:last-child{
    float: right;
    width: calc(100% - 650px);
    opacity: 0;
    transform: translateX(200px);
}

.tab-panel.active > div:first-child{
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tab-panel.active > div:last-child{
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tab-panel .text h2{
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.tab-panel .text .subtitle{
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.tab-panel .text .feature-section{
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #bd0808;
}

.tab-panel .text h4{
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    margin-top: 15px;
    padding-left: 12px;
    position: relative;
}

.tab-panel .text h4::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background-color: #bd0808;
    border-radius: 2px;
}

.tab-panel .text p{
    color: #555;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.6;
}

.tab-panel .text .highlight{
    margin-top: 25px;
    padding: 15px;
    background: linear-gradient(135deg, #bd0808 0%, #ff6b6b 100%);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-align: center;
}

.tab-panel .text .highlight p{
    color: white;
    font-size: 15px;
    margin: 0;
}

.tab-panel::after{
    content: '';
    display: table;
    clear: both;
}

.reporting-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reporting-features li {
    padding: 8px 0;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
}

.reporting-features li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
@keyframes gradientMove{
    0%{background-position:0% 0%}
    100%{background-position:200% 0%}
}
.tab-panel.active{
    display:block;
    opacity:1;
    transform:none;
}
.tab-panel h3{
    font-size:24px;
    margin-bottom:15px;
    color:#333;
    font-weight:600;
    position:relative;
    padding-left:20px;
}
.tab-panel h3::before{
    content:'';
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:4px;
    height:24px;
    background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius:2px;
}
.tab-panel p{
    color:#666;
    margin-bottom:15px;
    font-size:15px;
    padding-left:20px;
}
.tab-panel .feature-groups{
    display:flex;
    flex-direction:column;
    margin-top:30px;
    padding:0;
}

/* 通用功能组样式 - 极简列表布局 */
.feature-group{
    display:flex;
    gap:25px;
    padding:25px 0;
    background:#fff;
    border-bottom:1px solid #e5e7eb;
    overflow:hidden;
}
.feature-group:last-child{
    border-bottom:none;
}

/* 图片容器 - 固定宽度 */
.feature-image{
    flex-shrink:0;
    width:120px;
    height:120px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    opacity:1;
    transform:translateX(0);
}

/* 内容区域 */
.feature-content{
    flex:1;
    min-width:0;
    opacity:1;
    transform:translateX(0);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 功能组内部内容布局 - 左右分布 */
.feature-content-main{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.feature-content-left{
    flex: 1;
    min-width: 0;
}

.feature-content-right{
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    opacity: 0;
    transform: translateX(50px);
}

.feature-content-main.loaded .feature-content-right{
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.feature-content-main.loaded .feature-content-left{
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 滑入动画关键帧 */
@keyframes slideFromLeft {
    0% {
        transform: translateX(-35px);
        opacity: 0;
    }
    60% {
        transform: translateX(8px);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromRight {
    0% {
        transform: translateX(35px);
        opacity: 0;
    }
    60% {
        transform: translateX(-8px);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 通过类名触发动画 */
.feature-image.animate-image{
    animation: slideFromLeft .6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.feature-content.animate-content{
    animation: slideFromRight .6s cubic-bezier(0.4, 0, 0.2, 1) .05s forwards;
}

/* 内容Tab切换样式 */
.content-tabs{
    width:100%;
}

.tab-header{
    position:relative;
    display:inline-block;
    margin-bottom:15px;
}

.tab-title{
    font-size:18px;
    font-weight:600;
    color:#111827;
    cursor:pointer;
    transition:color .3s ease;
    display:block;
}

.tab-title:hover{
    color:#667eea;
}

.tab-underline{
    display:block;
    height:2px;
    background:#e5e7eb;
    margin-top:8px;
    transition:all .3s ease;
}

.feature-group:hover .tab-underline{
    background:linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.tab-content-wrapper{
    margin-top:15px;
}

.tab-content{
    display:none;
    animation:fadeIn .3s ease;
}

.tab-content.active{
    display:block;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(5px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* 悬停时标题和文字的额外动画效果 */
.feature-group h4,
.feature-group p,
.feature-group li{
    transition:transform .3s ease;
}

.feature-group:hover h4{
    transform:translateX(5px);
}
.feature-group:hover p{
    transform:translateX(5px);
}
.feature-group:hover li{
    transform:translateX(5px);
}

/* 功能组标题 */
.feature-group h4{
    font-size:18px;
    margin-bottom:10px;
    font-weight:600;
    color:#111827;
}

/* 描述文字 */
.feature-group p{
    color:#6b7280;
    font-size:14px;
    margin-bottom:12px;
    line-height:1.6;
}

/* 列表样式 */
.feature-group ul{
    list-style:none;
    padding:0;
    margin:0;
}

.feature-group li{
    padding:6px 0;
    color:#4b5563;
    font-size:14px;
    display:flex;
    align-items:flex-start;
    gap:8px;
    line-height:1.6;
}
.feature-group li i{
    color:#667eea;
    font-size:14px;
    flex-shrink:0;
    margin-top:3px;
}
.feature-group li i::before{
    content:"•";
}

/* 子项内容UI - 参考站风格的胶囊卡片网格 */
.feature-list-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:8px}
.feature-item{background:#f8f9ff;border:1px solid #e5e7ff;border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:10px;transition:all .25s}
.feature-item .fi-icon{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0}
.feature-item .fi-text{color:#333;font-size:14px;font-weight:600}
.feature-item:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(102,126,234,.15);border-color:#667eea;background:#fff}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.module-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.module-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.module-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.module-card > p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.module-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.module-features li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-dot:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    font-size: 20px;
}

/* 仅在核心功能模块内，把列表渲染为胶囊卡片网格 */
.solution-modules .feature-group ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.solution-modules .feature-group li{background:#f8f9ff;border:1px solid #e5e7ff;border-radius:12px;padding:12px 14px;align-items:center;gap:10px;transition:all .25s}
.solution-modules .feature-group li i{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;display:flex;align-items:center;justify-content:center;margin-top:0}
.solution-modules .feature-group li:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(102,126,234,.15);border-color:#667eea;background:#fff}

/* 优势区域 */
.solution-advantages {
    padding: 80px 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f15b1f 0%, #8d0909 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.advantage-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 应用场景 */
.application-scenarios {
    padding: 80px 0;
    background: #f8f9fa;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.scenario-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.scenario-item:hover {
    transform: translateY(-5px);
}

.scenario-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.scenario-item h4 {
    padding: 20px 20px 10px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.scenario-item p {
    padding: 0 20px 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 多样化数据报表 */
.reporting-solutions {
    padding: 80px 0;
    background: url("/static/images/erp-report.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.reporting-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.reporting-main {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.reporting-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reporting-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.reporting-content h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: bold;
}

.reporting-content > p {
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.6;
}
.reporting-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 20px;
}

/* 报表图片样式 - 替代内联样式 */
.report-image {
    padding-right: 30px;
}

.report-image img {
    width: 420px;
    display: block;
}

.feature-group h4 {
    font-size: 16px;
    color: #667eea;
    margin-bottom: 12px;
    font-weight: bold;
}

.feature-group ul {
    list-style: none;
    padding: 0;
}



.reporting-preview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
}

.preview-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-card-detail {
    display: flex;
    justify-content: space-between;
}

.preview-card-detail ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    flex-direction: column;
}

.preview-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-header i {
    width: 24px;
    height: 24px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-style: normal;
}

.card-header span {
    font-weight: bold;
    color: #333;
}

.card-content p {
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.card-content small {
    color: #666;
    font-size: 12px;
}

.icon-receipt:before { content: "🧾"; }
.icon-inventory:before { content: "📦"; }
.icon-finance:before { content: "💰"; }

/* 客户案例 */
.customer-cases {
    padding: 80px 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.case-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid #667eea;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.case-header h4 {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.case-tag {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.case-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.case-metrics {
    display: flex;
    gap: 30px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.metric-label {
    font-size: 12px;
    color: #666;
}

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 28px;
    }

    .banner-features {
        gap: 15px;
    }

    .tabs-nav {
        padding: 10px;
        gap: 10px;
    }

    .tabs-nav li {
        padding: 10px 16px;
        font-size: 18px;
    }

    .tab-panel {
        padding: 20px;
    }

    .tab-panel .feature-groups {
        margin-top:20px;
    }

    .feature-group {
        flex-direction:column;
        gap:15px;
        padding:20px 0;
    }

    .feature-image {
        width:100%;
        height:180px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }
    .solution-modules .feature-group ul{grid-template-columns:1fr}
    .feature-list-grid{grid-template-columns:1fr}

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .reporting-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reporting-main {
        flex-direction: column;
        text-align: center;
    }

    

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 200px;
    }
}

/* 添加触摸设备支持 */
@media (hover: none) and (pointer: coarse) {
    .tabs-nav li {
        padding: 12px 20px;
        font-size: 15px;
    }

    .tabs-nav li:hover {
        transform: none;
    }

    .tabs-nav li.active {
        transform: none;
    }
}

/* 加载动画增强 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel.active {
    animation: fadeInUp 0.5s ease-out;
}

/* 光晕效果 */
.tabs-nav li.active {
    position: relative;
}

.tabs-nav li.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 27px;
    opacity: 0.5;
    filter: blur(8px);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}
