/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 10px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    color: #232323;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    word-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #106EEA;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    line-height: 1.1;
}

p {
    margin: 0 0 10px;
}

/* ===== Variables ===== */
:root {
    --theme-color: #106EEA;
    --theme-hover: #0d5bc7;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background .3s, box-shadow .3s;
}

.header.fixed {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 38px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.header.fixed .logo-text {
    color: #232323;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-size: 15px;
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color .3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.header.fixed .nav-menu a {
    color: #555;
}

.header.fixed .nav-menu a:hover,
.header.fixed .nav-menu a.active {
    color: var(--theme-color);
}

.header.fixed .nav-menu a.active::after {
    background: var(--theme-color);
}

.search-icon {
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
    cursor: pointer;
    transition: color .3s;
}

.header.fixed .search-icon {
    color: #555;
}

.search-icon:hover {
    color: var(--theme-color);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: background .3s;
}

.header.fixed .menu-toggle span {
    background: #333;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 660px;
    background: url('https://static.westarcloud.com/5bc693c6a6246306b40f28f5/images/20190119/banner4_163339.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-box {
    background: linear-gradient(90deg, rgba(233, 239, 247, .5) 0%, #2D86EE 100%);
    padding: 30px 56px 48px;
    border-radius: 4px;
}

.hero-title {
    font-size: 40px;
    line-height: 58px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    line-height: 30px;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s;
    text-decoration: none;
}

.btn-hero {
    background: #fff;
    color: var(--theme-color);
    border-color: var(--theme-color);
}

.btn-hero:hover {
    background: var(--theme-color);
    color: #fff;
}

.btn-hero .arrow {
    font-size: 14px;
    transition: transform .2s;
}

.btn-hero:hover .arrow {
    transform: translateX(4px);
}

/* ===== Section Title ===== */
.sec-title {
    text-align: center;
    margin-bottom: 50px;
}

.sec-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #232323;
    margin: 0 0 8px;
}

.sec-title span {
    display: block;
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Products Section ===== */
.products {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: transform .3s, box-shadow .3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(16, 110, 234, .12);
}

.product-card .thumb {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.product-card:hover .thumb img {
    transform: scale(1.08);
}

.product-card .info {
    padding: 20px;
}

.product-card .info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #232323;
    margin: 0 0 10px;
    line-height: 1.4;
}

.product-card .info h3 a {
    color: inherit;
}

.product-card .info h3 a:hover {
    color: var(--theme-color);
}

.product-card .info p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Cases Section ===== */
.cases {
    padding: 80px 0;
    background: #f8fafc;
}

.cases-slider {
    position: relative;
    overflow: hidden;
}

.cases-track {
    display: flex;
    gap: 0;
    transition: transform .5s ease;
}

.case-item {
    flex: 0 0 25%;
    min-width: 25%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.case-item .case-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.case-item .case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.case-item:hover .case-thumb img {
    transform: scale(1.06);
}

.case-item .case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-overlay h3 {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    margin: 0 0 10px;
    line-height: 1.5;
}

.case-overlay .more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    opacity: .8;
    transition: opacity .2s;
}

.case-overlay .more-link:hover {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 110, 234, .25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    border: none;
    font-size: 18px;
    transition: all .3s;
    opacity: 0;
}

.cases-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: rgba(16, 110, 234, .5);
}

.slider-prev {
    left: 12px;
}

.slider-next {
    right: 12px;
}

/* ===== Stats Section ===== */
.stats {
    padding: 100px 0;
    background: url('http://djbte.duojibeng.com/wp-content/uploads/2021/03/Bg-1-1.png') center/cover no-repeat;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item h4 {
    font-size: 16px;
    color: #555;
    margin: 0 0 12px;
    font-weight: 400;
}

.stat-num {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.stat-num .number {
    font-size: 48px;
    font-weight: 700;
    color: var(--theme-color);
    line-height: 1;
}

.stat-num .unit {
    font-size: 16px;
    color: var(--theme-color);
    font-weight: 500;
}

/* ===== Why Choose Us ===== */
.why-us {
    padding: 100px 0;
    background: rgba(201, 227, 255, .13);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 0;
}

.feature-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(16, 110, 234, .1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    transition: all .3s;
}

.feature-card:nth-child(1) .feature-icon {
    color: #7ED1F2;
    border: 2px solid #7ED1F2;
}

.feature-card:nth-child(1):hover .feature-icon {
    background: #7ED1F2;
    color: #fff;
}

.feature-card:nth-child(2) .feature-icon {
    color: #B48BFF;
    border: 2px solid #B48BFF;
}

.feature-card:nth-child(2):hover .feature-icon {
    background: #B48BFF;
    color: #fff;
}

.feature-card:nth-child(3) .feature-icon {
    color: #708DF9;
    border: 2px solid #708DF9;
}

.feature-card:nth-child(3):hover .feature-icon {
    background: #708DF9;
    color: #fff;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #232323;
    margin: 0 0 14px;
}

.feature-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

/* ===== Tab Images Section ===== */
.tab-section {
    padding: 120px 0;
}

.tab-images-wrap {
    display: flex;
    gap: 0;
}

.ti-tabs {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ti-tab-item {
    padding: 24px 30px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all .3s;
    background: transparent;
}

.ti-tab-item:hover {
    background: rgba(16, 110, 234, .03);
}

.ti-tab-item.active {
    border-left-color: var(--theme-color);
    background: rgba(16, 110, 234, .04);
}

.ti-tab-item .tab-icon {
    font-size: 24px;
    color: var(--theme-color);
    margin-bottom: 10px;
}

.ti-tab-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #232323;
    margin: 0 0 10px;
}

.ti-tab-item.active h4 {
    color: var(--theme-color);
}

.ti-tab-item p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

.ti-image-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.ti-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s;
}

.ti-image.active {
    opacity: 1;
    position: relative;
}

.ti-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: #f8fafc;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
    overflow: hidden;
    transition: box-shadow .3s;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(16, 110, 234, .08);
}

.faq-item.active {
    border-left: 3px solid var(--theme-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    transition: background .2s;
}

.faq-question:hover {
    background: rgba(16, 110, 234, .02);
}

.faq-question h3 {
    font-size: 15px;
    font-weight: 600;
    color: #232323;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    padding-right: 16px;
}

.faq-item.active .faq-question h3 {
    color: var(--theme-color);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--theme-color);
    background: rgba(16, 110, 234, .08);
    font-size: 13px;
    transition: all .3s;
}

.faq-item.active .faq-icon {
    background: var(--theme-color);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.faq-answer strong {
    color: #333;
}

/* ===== CTA Section ===== */
.cta {
    padding: 120px 0;
    text-align: center;
    background: url('http://djbte.duojibeng.com/wp-content/uploads/2023/11/2021022308222172-1.jpg') center/cover no-repeat;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 32px;
    line-height: 40px;
    color: #fff;
    font-weight: 600;
    margin: 0 0 30px;
}

.btn-cta {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 14px 36px;
    font-size: 16px;
}

.btn-cta:hover {
    background: #fff;
    color: var(--theme-color);
}

.btn-cta .cta-icon {
    margin-right: 6px;
}

/* ===== Footer ===== */
.footer {
    background: #f5f7fa;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-menu {
    margin-bottom: 10px;
}

.footer-menu a {
    font-size: 14px;
    color: #555;
    transition: color .2s;
}

.footer-menu a:hover {
    color: var(--theme-color);
}

.copyright {
    font-size: 13px;
    color: #999;
}

.copyright a {
    color: #999;
}

.copyright a:hover {
    color: var(--theme-color);
}

/* ===== Floating Action ===== */
.float-action {
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20%;
    display: flex;
    flex-direction: column;
    width: 62px;
}

.float-action .action-item {
    position: relative;
    width: 62px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--theme-color);
    cursor: pointer;
    border-top: 1px solid rgba(255, 255, 255, .15);
    transition: background .2s;
}

.float-action .action-item:first-child {
    border-top: none;
    border-radius: 3px 3px 0 0;
}

.float-action .action-item:last-child {
    border-radius: 0 0 3px 3px;
}

.float-action .action-item:hover {
    background: var(--theme-hover);
}

.float-action .action-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.float-action .action-item span {
    font-size: 11px;
    line-height: 1;
}

.float-action .contact-popup {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 110%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .12);
    border-radius: 4px;
    white-space: nowrap;
    transition: all .3s;
    text-align: center;
    min-width: 180px;
}

.float-action .action-item:hover .contact-popup {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.contact-popup h5 {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px;
}

.contact-popup .phone {
    font-size: 20px;
    font-weight: 700;
    color: #1764ff;
}

/* Mobile footer bar */
.mobile-footer-bar {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 48px;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .06);
    text-align: center;
}

.mobile-footer-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #555;
    font-size: 11px;
}

.mobile-footer-bar a i {
    font-size: 18px;
    margin-bottom: 3px;
}

/* ===== Back to Top ===== */
.back-to-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-box {
        padding: 20px 30px 30px;
    }

    .hero-title {
        font-size: 30px;
        line-height: 40px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-item {
        flex: 0 0 50%;
        min-width: 50%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tab-images-wrap {
        flex-direction: column;
    }

    .ti-image-wrap {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 480px;
        padding: 80px 0;
    }

    .hero-title {
        font-size: 26px;
        line-height: 36px;
    }

    .hero-desc {
        font-size: 15px;
        line-height: 26px;
        margin-bottom: 30px;
    }

    .hero-box {
        padding: 20px 20px 24px;
    }

    .products,
    .cases,
    .why-us {
        padding: 50px 0;
    }

    .stats {
        padding: 50px 0;
    }

    .stat-num .number {
        font-size: 36px;
    }

    .tab-section {
        padding: 60px 0;
    }

    .cta {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .sec-title {
        margin-bottom: 30px;
    }

    .sec-title h2 {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .float-action {
        display: none;
    }

    .mobile-footer-bar {
        display: flex;
    }

    .footer {
        margin-bottom: 50px;
    }
}

/* ===== Animations ===== */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: countUp .6s ease forwards;
}