/* 页面公共 */
.section-header {margin-bottom: 60px;text-align: center;}
.section-header h3 {font-size: 13px;font-weight: 700;color: var(--base-color);letter-spacing: 2px;text-transform: uppercase;margin-bottom: 15px;display: block;}
.section-header h2 {font-size: 36px;font-weight: 800;color: var(--brand-dark);margin-bottom: 20px;}
.section-header p {font-size: 16px;color: var(--text-gray);max-width: 700px;margin: 0 auto;}

/* 首屏视角 */
.banner-desc-box-content {text-align: center;}
.banner-desc-box-content h2 { display: inline-block; background: var(--base-color); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; margin-bottom: 25px; }
.banner-desc-box-content h1 { font-size: 48px; font-weight: 800; margin-bottom: 25px; line-height: 1.2; text-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.banner-desc-box-content p { font-size: 18px; opacity: 0.9; max-width: 800px; margin: 0 auto 40px; line-height: 1.6; }

.btn-pink { margin: 0 auto;display: inline-flex; align-items: center; justify-content: center; background: var(--base-color); color: #fff; padding: 14px 36px; border-radius: 30px; font-weight: 600; cursor: pointer; border: none; transition: 0.3s; }
.btn-pink:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(244, 114, 182, 0.3); }

/* ================= 2. 盒型目录矩阵 (图2_2) ================= */
.directory-section { background: var(--bg-light); border-bottom: 1px solid var(--border-color); }
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

.dir-card { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.dir-card:hover, .dir-card.active { border-color: var(--base-color); transform: translateY(-5px); box-shadow: 0 15px 35px rgba(244, 114, 182, 0.08); }

.dir-img { height: 200px; padding: 10px; background: #fff; }
.dir-img img { width: 100%;height: 100%;object-fit: cover;border-radius: 8px; }
.dir-card.active .dir-img .placeholder-img, .dir-card:hover .dir-img .placeholder-img { background: var(--good-bg); color: var(--base-color); }

.dir-content { padding: 25px 20px; flex: 1; display: flex; flex-direction: column; }
.dir-content h3 { font-size: 18px; font-weight: 800; color: var(--brand-dark); margin-bottom: 10px; }
.dir-content p { font-size: 13.5px; color: var(--text-gray); line-height: 1.5; margin-bottom: 20px; flex: 1; }
.view-specs { font-size: 14px; font-weight: 700; color: var(--base-color); display: inline-flex; align-items: center; gap: 5px; cursor: pointer; transition: 0.3s; }
.view-specs:hover { gap: 10px; }

/* ================= 3. 定制选项 (图3_2) ================= */
.packaging-section {
    width: 100%;
    padding: 100px 20px 50px;
}
@media(min-width:768px) and (max-width:1365px) {
    .packaging-section {
        padding: 50px 15px 50px;
    }
}
@media(max-width:767px) {
    .packaging-section {
        padding: 0px 15px 50px;
    }
}
.packaging-section-title {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}
.packaging-section-title h2 {
    font-weight: 700;
}
@media(min-width:768px) and (max-width:1365px) {
    .packaging-section-title h2 {
        font-size: 28px;
    }
}
@media(max-width:767px) {
    .packaging-section-title h2 {
        font-size: 24px;
    }
}
.packaging-section-title p {
    font-size: 18px;
}
@media(min-width:768px) and (max-width:1365px) {
    .packaging-section-title p {
        font-size: 16px;
    }
}


@media(max-width:767px) {
    .packaging-section-title p {
        font-size: 14px;
    }
}

.fcs-tabs-nav {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 40px;
    display: flex;
    /* For centering the ul if it doesn't fill width */
    justify-content: center;
    /* Center tabs */
}

.fcs-tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    /* Allow tabs to wrap on smaller screens */
    justify-content: center;
    gap: 5px;
    /* Gap between tab items */
}

.fcs-tab-item {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.fcs-tab-item:hover {
    background-color: #e9e9e9;
    color: #000;
}

.fcs-tab-item.active {
    background-color: #fff;
    color: #000;
    border-bottom: 2px solid #000;
}

.fcs-content-area {
    /* Styles for the content area if needed */
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
}

@media(min-width:768px) and (max-width:1365px) {
    .fcs-content-area {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .fcs-content-area {
        padding: 0;
    }
}


.fcs-tab-content {
    display: none;
    /* Hide all tab content by default */
}

.fcs-tab-content.active {
    display: block;
    /* Show only the active tab content */
}

.fcs-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.fcs-item-card {
    background-color: #fff;
    /* Card background */
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
    /* Optional: soft shadow for cards */
    text-align: left;
}

.fcs-item-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Maintain aspect ratio for images */
    background-color: #f0f0f0;
    /* Placeholder background for image */
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.fcs-item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fcs-item-title {
    font-size: 18px;
    color: #000;
    margin: 15px 15px 8px 15px;
    text-align: center;
    font-weight: 400;
}

@media(min-width:768px) and (max-width:1365px) {
    .fcs-item-title {
        font-size: 16px;
    }
}



.fcs-item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 15px 15px 15px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .fcs-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .fcs-tab-item {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .fcs-main-title {
        font-size: 28px;
    }

    .fcs-subtitle {
        font-size: 15px;
    }

    .fcs-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fcs-tabs-list {
        justify-content: center;
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        width: 100%;
    }

    .fcs-tabs-nav {
        padding-right: 0;
        padding-left: 0;
    }

    .fcs-tab-item {
        flex-shrink: 0;
        /* Prevent tabs from shrinking when scrolling */
    }
}

@media (max-width: 767px) {
    .fcs-items-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Or 1fr for single column */
        gap: 15px;
    }

    .fcs-main-title {
        font-size: 24px;
    }

    .fcs-item-title {
        font-size: 14px;
    }

    .fcs-item-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fcs-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fcs-tab-item {
        padding: 8px 5px;
        font-size: 13px;
    }
}

/* ================= 4. 包装工程实力 (图4) ================= */
.engineering-section { background: var(--bg-light); border-bottom: 1px solid var(--border-color); }
.eng-layout { display: flex; align-items: center; gap: 80px; }
.eng-visual { flex: 1; height: 500px; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.eng-visual img {width: 100%;height: 100%;object-fit: cover;}

.engineering-section .section-header p {
    margin: unset;
}

.eng-content { flex: 1.2; }
.eng-content h2 { font-size: 38px; font-weight: 800; color: var(--brand-dark); line-height: 1.2; margin-bottom: 20px; }
.eng-content > p { font-size: 16px; color: var(--text-gray); margin-bottom: 40px; line-height: 1.7; }

.eng-list { display: flex; flex-direction: column; gap: 30px; }
.eng-item { display: flex; align-items: flex-start; gap: 20px; }
.eng-icon { width: 45px; height: 45px; background: var(--good-bg); color: var(--base-color); border-radius: 10px; display: flex; justify-content: center; align-items: center; font-size: 20px; font-weight: bold; flex-shrink: 0; }
.eng-icon img {width: 100%;height: 100%;object-fit: cover;}
.eng-text h4 { font-size: 18px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.eng-text p { font-size: 14.5px; color: var(--text-gray); line-height: 1.6; }



/* ================= 客户案例 ================= */
.cases-section .section-header h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--base-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}
.case-carousel-wrapper {
    position: relative;
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
    padding: 50px;
    min-height: 550px;
}
/* 独立幻灯片 */
.case-slide {display: none; /* 默认隐藏 */align-items: stretch;gap: 60px;animation: fadeSlideIn 0.6s ease forwards;}
.case-slide.active {display: flex;}
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 左侧：大图视觉 */
.case-visual {
    flex: 1;
    position: relative;
}
.case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-visual .placeholder-img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 悬浮品牌名牌 */
.brand-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--brand-dark);
    color: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.brand-badge h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.brand-badge span { font-size: 12px; color: #9ca3af; }

/* 右侧：深度内容拆解 */
.case-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 客户原话引用 */
.case-quote {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-dark);
    line-height: 1.5;
    margin-bottom: 40px;
    position: relative;
    padding-left: 30px;
}
.case-quote::before {
    content: '"';
    font-size: 60px;
    color: var(--base-color);
    font-family: Georgia, serif;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    line-height: 1;
}

/* 痛点与方案拆解 (Mini Case Study) */
.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.bd-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--border-color);
}
.bd-item.highlight {
    border-left-color: var(--base-color);
    background: #fdf2f8; /* 极淡的粉色 */
}
.bd-item h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.bd-item.highlight h5 { color: var(--base-color); }
.bd-item p { font-size: 14.5px; color: var(--brand-dark); }

/* 商业成果标签 */
.impact-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.impact-tag {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.impact-tag span { color: var(--base-color); margin-right: 5px; }

/* ================= 轮播控制按钮 ================= */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}
.ctrl-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--brand-dark);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    user-select: none;
}
.ctrl-btn:hover {
    border-color: var(--base-color);
    color: var(--base-color);
    box-shadow: 0 4px 10px rgba(244, 114, 182, 0.1);
}
.dots {
    display: flex;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active {
    background: var(--base-color);
    transform: scale(1.3);
}

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
    .case-slide { flex-direction: column; gap: 40px; }
    .case-visual { height: 400px; }
    .brand-badge { bottom: 20px; right: 20px; }
}
@media (max-width: 600px) {
    .case-carousel-wrapper { padding: 30px 20px; }
    .section-header h2 { font-size: 28px; }
    .case-visual { height: 250px; }
    .case-quote { font-size: 16px; margin-bottom: 30px; }
}

/* 联系我们 */

.factory-form {
    width: 100%;
    padding: 45px 0;
    background-color: #EFEFEF;
    display: flex;
}
.factory-form-container {
    /*width: 100%;*/
    flex: 1;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.factory-form-title {
    /*width: 230px;*/
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media(min-width:768px) and (max-width:1365px) {
    .factory-form-container {
        flex-direction: column;
        gap: 20px;
    }

    .factory-form-title {
        width: 100%;
    }

    .factory-form-title h2 {
        font-size: 28px;
        text-align: center;
        width: 100%;
    }
}

@media(max-width:767px) {
    .factory-form-container {
        flex-direction: column;
        padding: 0 15px;
    }

    .factory-form-title h2 {
        font-size: 24px;
    }
}

#app {
    flex: 1;
}
