:root {
    --main-color: #fff;
    --accent-color: #3bb3e0;
    --bg-color: #f8f9fa;
    --text-color: #222;
    --card-bg: #fff;
    --border-radius: 12px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', '微软雅黑', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    padding-top: 72px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5vw 12px 5vw;
    background: var(--main-color);
    color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    height: 72px;
    transition: height 0.2s;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo img {
    height: 40px;
    width: auto;
}

.company-title {
    font-size: 1.2em;
    font-weight: 500;
}

.header-icons {
    display: flex;
    gap: 18px;
    align-items: center;
    position: relative;
}

.icon-btn {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.icon-btn img.icon {
    width: 24px;
    height: 24px;
    display: block;
}

.qr-popup {
    display: none;
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    background: #f7f7f7;
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 10;
    min-width: 120px;
    text-align: center;
}

.icon-btn:hover .qr-popup {
    display: block;
}

.qr-popup img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 4px;
}

.qr-popup span {
    color: var(--main-color);
    font-size: 0.95em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.carousel-wrapper {
    margin: 32px 0 0 0;
}

.carousel {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eaf6f3;
    position: relative;
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.company-intro-wrapper {
    margin: 40px 0;
}

.company-intro {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px 40px 0 40px;
}

.intro-content {
    display: flex;
    gap: 40px;
}

.intro-text {
    flex: 0 0 300px;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.intro-text h2 {
    margin: 0 0 20px 0;
    font-size: 1.8em;
    color: var(--accent-color);
}

.intro-text p {
    margin: 0 0 15px 0;
    line-height: 1.8;
    color: #666;
}

.intro-images-container {
    position: relative;
    flex: 1;
    max-width: 800px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    padding: 0;
}

.intro-images {
    display: flex;
    transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    transform: translateX(-100%);
}

.intro-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-slide.clone {
    -webkit-user-select: none;
    user-select: none;
}

.intro-slide img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.slide-content {
    width: 100%;
    padding: 20px;
    text-align: center;
    background: var(--card-bg);
}

.slide-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.4em;
    color: var(--text-color);
}

.slide-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.intro-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.intro-nav button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.intro-nav button.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.intro-arrow {
    position: absolute;
    top: 120px;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: all 0.3s;
    padding: 0;
}

.intro-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.intro-arrow.prev {
    left: 20px;
}

.intro-arrow.next {
    right: 20px;
}

.intro-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 40px 0;
}

.feature-item {
    flex: 0 0 calc(25% - 18px);
    min-width: 200px;
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h3 {
    color: var(--accent-color);
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.feature-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95em;
}

@media (max-width: 900px) {
    .container {
        padding: 0 15px;
    }
    .carousel-wrapper {
        margin: 20px 0 0 0;
    }
    .carousel-slide {
        height: 140px;
    }
    .company-intro-wrapper {
        margin: 30px 0;
    }
    .company-intro {
        padding: 30px 20px;
    }
    .intro-content {
        flex-direction: column;
        gap: 30px;
    }
    .intro-text {
        flex: none;
        width: 100%;
        max-width: none;
        text-align: center;
    }
    .intro-text h2 {
        font-size: 1.6em;
    }
    .intro-images-container {
        width: 100%;
        max-width: none;
    }
    .intro-slide img {
        height: 200px;
    }
    .intro-arrow {
        top: 100px;
    }
    .slide-content {
        padding: 15px;
    }
    .slide-content h3 {
        font-size: 1.2em;
    }
    .company-intro,
    footer {
        flex-direction: column;
        gap: 20px;
    }
    .features {
        gap: 15px;
        padding: 0 10px;
    }
    .feature-item {
        flex: 0 0 calc(50% - 8px);
        min-width: unset;
        padding: 15px 10px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
    .feature-item h3 {
        font-size: 1em;
        margin-bottom: 5px;
    }
    .feature-item p {
        font-size: 0.8em;
        line-height: 1.4;
    }
    .products {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    header {
        height: 56px;
        padding: 8px 3vw 8px 3vw;
    }
    .header-icons {
        display: none;
    }
    .company-title {
        display: none;
    }
    .logo img {
        height: 32px;
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
    }
    .carousel-dots {
        bottom: 12px;
    }
}

.product-category {
    margin: 40px 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.product-category h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.category-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 8px 20px;
    border: none;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

.tab-btn.active {
    background: var(--accent-color);
    color: #fff;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.product-card {
    width: 100%;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    margin: 0 0 8px 0;
    color: var(--accent-color);
}

.product-info p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

@media (max-width: 900px) {
    .product-category {
        margin: 30px 0;
        padding: 0 15px;
    }
    .product-category h2 {
        margin-bottom: 20px;
        font-size: 1.6em;
    }
    .category-tabs {
        margin: 0 -15px 20px -15px;
        padding: 0 15px;
    }
    .products {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .product-card img {
        height: 150px;
    }
    .product-info {
        padding: 10px;
    }
    .product-info h3 {
        font-size: 1em;
        margin-bottom: 5px;
    }
    .product-info p {
        font-size: 0.8em;
    }
}

@media (max-width: 600px) {
    .product-category {
        padding: 0 10px;
    }
    .category-tabs {
        margin: 0 -10px 15px -10px;
        padding: 0 10px;
    }
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


/* 隐藏的产品卡片 */

.product-card.hidden {
    display: none;
}

footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column p {
    margin: 10px 0;
    color: #ecf0f1;
    line-height: 1.6;
}

.footer-qr {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shop-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-link {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    padding: 5px 0;
}

.shop-link:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 20px;
        padding: 0 15px;
    }
    .footer-column {
        min-width: 30%;
        flex: 1;
        padding-bottom: 0;
        border-bottom: none;
    }
    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .footer-column p {
        font-size: 13px;
        margin: 5px 0;
        line-height: 1.4;
    }
    .wechat-section {
        gap: 8px;
    }
    .footer-qr {
        width: 80px;
        height: 80px;
    }
    .shop-links {
        gap: 8px;
    }
    footer {
        padding: 20px 0;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 15px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .footer-column {
        min-width: 0;
        margin-bottom: 0;
    }
    .footer-column:first-child {
        grid-column: 1 / -1;
    }
    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .footer-column p {
        font-size: 12px;
        margin: 3px 0;
        line-height: 1.3;
    }
    .footer-qr {
        width: 70px;
        height: 70px;
    }
    .shop-links {
        display: flex;
        flex-direction: row;
        gap: 15px;
    }
    footer {
        display: none;
    }
}

@media (max-width: 360px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .footer-column {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .footer-column h4 {
        margin: 0;
        min-width: 70px;
    }
    .wechat-section {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .footer-qr {
        width: 60px;
        height: 60px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: all 0.3s;
    padding: 0;
}

.carousel-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
}

.carousel-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:hover img {
    filter: brightness(1) contrast(1.2);
}

.carousel-btn.left {
    left: 20px;
}

.carousel-btn.right {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.wechat-section {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
}

.wechat-section p {
    margin-bottom: 15px;
}

.copyright {
    background-color: #1a2634;
    padding: 15px 0;
    text-align: center;
}

.copyright-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 480px) {
    footer {
        display: none;
    }
    .copyright {
        padding: 12px 0;
    }
    .copyright p {
        font-size: 12px;
    }
}